Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

A simple feed finder for node.js, inspired by the python script originally written by Mark Pilgrim and currently maintained by Aaron Swartz

License

Notifications You must be signed in to change notification settings

tvishwanadha/node-feedfinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple feed finder for node.js, inspired by the python script originally written by Mark Pilgrim and currently maintained by Aaron Swartz

How it works

  1. Checks if resource is a feed
  2. Looks for link tags

Usage

Much like the python inspiration, offers two functions, feed and feeds.

var feedfinder = require('./lib/feedfinder');
var log = function (err,res) { if (err) console.error(err); else console.log(res); };
feedfinder.feed('http://googleblog.blogspot.com/', log);
// http://googleblog.blogspot.com/feeds/posts/default
feedfinder.feeds('http://googleblog.blogspot.com/', log);
// [ 'http://googleblog.blogspot.com/feeds/posts/default',
//   'http://googleblog.blogspot.com/feeds/posts/default?alt=rss' ]

Todo List

  • RDF/RSS1.0 support
  • hAtom support

About

A simple feed finder for node.js, inspired by the python script originally written by Mark Pilgrim and currently maintained by Aaron Swartz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published