PHP Classes
Icontem

Class: RSS 1.0 creator


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
      Classes of Aral Balkan  >  RSS 1.0 creator  >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

    Picture of Aral Balkan
    Name: Aral Balkan <e-mail contact>
    Published packages: 1
    Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
    Home page: ???
    Age: ???
    All time rank: 575
    Week rank: 934

    Browse this author's classes

  • Groups:

    Group folder image XML XML parsing and generation View top rated classes
    Group folder image Content management Components and tools to manage content View top rated classes
  • Detailed description:

    Creates a valid RSS 1.0 document.

    Usage:
    new RSS ( void )

    Methods:

    addDataSource ( dataSource ) - add new dataSource to RSS instance
    dataSource: array of associated arrays (item)
    item: associated array:
    -> title : title of item (str, suggest. max 100 chars for RSS 0.91 compatiblity)
    -> link : url that item links to (str, suggest. max 500 chars for RSS 0.91 compatiblity)
    -> description : info about item (str, suggest. max 500 chars for RSS 0.91 compatiblity)

    addChannel ( channel ) - add Channel info
    channel : associated array
    -> about: url where this channel will be located (url of RSS file)
    -> title: title of channel (str, suggest. max 40 chars for RSS 0.91 compatiblity)
    -> link: link to root of site / section that this RSS serves (str, suggest. max 500 chars for RSS 0.91 compatiblity)
    -> description: info about this channel (str, suggest. max 500 chars for RSS 0.91 compatiblity)

    addImage ( image ) - add Image info (optional)
    image : associated array
    -> title : title of image (str, suggest. max 100 chars for RSS 0.91 compatiblity)
    -> link : url where image should link to (str, suggest. max 500 chars for RSS 0.91 compatiblity)
    -> url : url where image is located (str, suggest. max 500 chars for RSS 0.91 compatiblity)

    addItem ( item ) - adds a single item to the RSS, see item structure, above.

    get( void ) - returns the RSS document as a string

    Limitations:
    * Currently does not support the optional <textInput> core element.
    * Arguments are not validated
  • User ratings:

    Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Good (85.7%)
    Sufficient (73.2%)
    -
    Good (80.8%)
    -
    -
    Not sure (58.3%)
    718
    Month:
    Not yet rated by the users
  • Applications that use this class:

    No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

    File Role Description
    Plain text file class_rss.php Class RSS 1.0 creator class
    Plain text file class_rss_test.php Example Test file for class_rss - creates the basic sample RSS 1.0 document in the official RSS specification document
    Plain text file license.txt Lic. This class is released under the modified BSD license. Please see license.txt.
    Download all files: class_rss.tar.gz class_rss.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products