wordpress-posts

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i wordpress-posts

Weekly Downloads

6

Version

1.0.1

License

MIT

Last publish

Collaborators

  • matteofigus