How to install
npm install daverss
I need to document the data structure, however in the meantime, here are examples of the two data structures you have to send to
buildRssFeed to get it to build an RSS feed for you:
These examples are from a snapshot of the data for my Radio3 linkblog feed, which is built using this code.
v0.5.4 -- 7/4/17 by DW
Bring in support for Facebook Instant Articles feeds.
v0.4.14 -- 6/9/17 by DW
Per Dan MacTough's suggestion, in the JSON version, the length attribute on enclosure should be a number. If it coerces to a number, great, if there's an error, leave out the length property.
v0.4.8 -- 5/29/17 by DW
Change name of rss.getRssEnclosureInfo to rss.getEnclosureInfo.
v0.4.2 -- 5/29/17 by DW
Major code review, bring it up to date with my latest software. Also includes buildJsonFeed which generates a 1-1 equivalent of the RSS feed, but using JSON instead of XML. I plan to support this format in Scripting News.