Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
feed updater for ipa
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
ipa.feed.js
package.json

README.md

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);
});
Something went wrong with that request. Please try again.