Recommend this page to a friend! |
All class groups | > | All authors | > | Classes of Aral Balkan (1) | > | Mission progress status | > | Reputation |
|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
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 |
Ratings | Utility | Consistency | Documentation | Examples | Tests | Videos | Overall | Rank |
All time: | 86% | 75% | - | 82% | - | - | 59% | 1351 |
Month: | Not yet rated by the users |
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |