feedtitles
Extract titles from rss feeds
Last updated 6 years ago by tjkrusinski .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install feedtitles 
SYNC missed versions from official npm registry.

Feed Titles

Installation

$ npm install feedtitles

Usage


var Titles = require('feedtitles');

var titles = new Titles('http://feeds.reuters.com/Reuters/worldNews');

titles.on('title', function(title){
  // string title
});

titles.on('titles', function(titleArray){
  console.log(titleArray);
  // a list of title node text from the rss feed
});

// give me moar!
// calling `Titles#feed` will load up a new feed and spit things out again
titles.feed('http://feeds.reuters.com/Reuters/domesticNews');

Tests

Tests use mocha

$ npm test

Current Tags

  • 1.0.0                                ...           latest (6 years ago)

1 Versions

  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2017 © taobao.org |