|
|
|
|
Functions
Events
Variables
Libraries
|
|
Syntax
| xmlfeed_load(URL, Callback) |
Parameters
| STRING | URL | URL to the RSS feed.
| | STRING | Callback | Name of a JavaScript function to be called when the feed is downloaded and ready to use. |
Return value
| Array containing all the fields of the RSS feed. |
Description
Downloads an RSS feed and parse it into an array.
This function is an easy way to download any kind of RSS feeds and to display them as you need.
You can limit the number of news items to be stored in the array. Limiting the number of items makes it possible to prevent old items to be considered as unread. The default value is 100.
More info: MAX_NEWS_PER_FEED
The information of the feed and the headlines is stored in a JavaScript array and is documented here: xmlFeed.js |
|
|
|