brik.ipa.feed

0.1.2 • Public • Published

ipa.feed is a feed module for IPA. It takes an array of feeds and returns a function that will read them and send any new articles to IPA.

Example

var ipaServerUrl = 'http://localhost:4567';
var feeds = [
  'https://github.com/brikteknologier.atom',
  'https://github.com/jonpacker.atom',
  'https://github.com/deestan.atom'
];
var updateFeeds = require('ipa.feed')(ipaServerUrl, feeds);
 
updateFeeds(function(err) {
  if (!err) console.log('Feeds have been updated!');
 
  // Send any new articles to the ipa server after 60 seconds (60000ms)
  setTimeout(function() { updateFeeds() }, 60000);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    1
  • 0.0.1
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i brik.ipa.feed

Weekly Downloads

1

Version

0.1.2

License

none

Last publish

Collaborators

  • jonpacker