A node.js package for dynamically loading feeds with google feed api. This module will append google feed api script to document and load feed api asynchronously.
npm install git+https://github.com/zenoplex/node-google-feed-api.git --save
Param | Type |
---|---|
url | string |
entriesNum | number |
load feed/rss
Param | Type |
---|---|
callback | function |
var GoogleFeedApi = require('node-google-feed-api');
var feed = new GoogleFeedApi('http://www.example.com/rss', 10);
feed.load(function(result){
console.log(result);
});
# watch
npm run watch
# build
npm run build
# test
npm run test
MIT