ObjectFS storage wrapper for RSS/Atom/etc. feeds.
Only RSS reading works for now.
// Go over all items in a RSS feed:
var feeds = require("ofs-feeds");
feeds.connect({scheme:"rss",path:"/path/to/local/file.xml"});
for each (var item in feeds.iterate()) {
print("RSS feed item", item.title, item.link);
}
void | connect (URI) | Configure the module instance to use a specific feed file. |
Object | read (ID) | Read one record from the specified storage. |
Iterator | iterate (filter, options) | A generator function that returns an iterator over all records in the storage matching the criteria. |
void | setCallback (callback) | Specify a function that gets executed when an object for a RSS item is fully constructed. |
This is free software, and you are welcome to redistribute it under certain conditions; see LICENSE.txt for details.
Emilis Dambauskas [email protected], http://emilis.github.com/