wordpress-posts
v1.0.1
Published
A simple tool that retrieves the last posts from a wordpress blog, given the blog url
Downloads
31
Readme
wordpress-posts
A simple node.js tool to retrieve the posts from a wordpress blogs (through the rss feed)
Installation
npm install wordpress-postsUsage
var wordpressPosts = require('wordpress-posts');
var feedUrl = "http://wordpress.org/news/feed/";
var posts = 4;
var posts = wordpressPosts.get(feedUrl, posts, function(err, data){
console.log(data);
});