node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

wordpress-posts

wordpress-posts Build Status

NPM

A simple node.js tool to retrieve the posts from a wordpress blogs (through the rss feed)

Installation

    npm install wordpress-posts

Usage

get(url [, maxPosts], callback)

var wordpressPosts = require('wordpress-posts');
var wordpressSiteUrl = "http://wordpress.org/";
var posts = 4;
 
wordpressPosts.get(wordpressSiteUrl, posts, function(err, data){
    console.log(data);
});

License

MIT

Bitdeli Badge