Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including daverss with all npm packages installed. Try it out:

var daverss = require("daverss")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

daverss v0.5.29

This is where I put my code to generate RSS feeds from server apps.

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.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free