wordpress-posts

A simple tool that retrieves the last posts from a wordpress blog, given the blog url

npm install wordpress-posts
20 downloads in the last week
40 downloads in the last month

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

npm loves you