Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

daverss

0.5.29 • Public • Published

rss

This is where I put my JavaScript code to generate RSS feeds from my apps, running in the browser and in Node.

Example app

I put together a simple test app that includes an example of the data you would send to daverss, as a pair of JavaScript objects, to build a feed.

It comes from my Radio3 linkblog, which is a real feed, still updated daily in January 2020.

Updates

v0.5.20 -- 1/14/20 by DW

Added a test app that illustrates how to use the package in a Node app.

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.

Keywords

none

Install

npm i daverss

DownloadsWeekly Downloads

7

Version

0.5.29

License

MIT

Unpacked Size

24.1 kB

Total Files

4

Last publish

Collaborators

  • avatar