Skip to content

WXR Node.js module - for interacting with the Wordpress eXtended Rss format

License

Notifications You must be signed in to change notification settings

benrhughes/wxr.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##WXR node.js module

This module creates files in the Wordpress eXtended Rss format (WXR).

This is an example of what the API may look like when it's done.

var wxr = require('wxr');

var site = wxr.site('Test Site', 'A site for testing');

var post = wxr.post('First!', 'My first post', 'Ben', new Date());;
post.content = "This if my very first post, I'm <b>really</b> proud of it";
post.categories.push(wxr.category('My Stuff', 'stuff'));

site.posts.push(post);

console.log(wxr.generate(site)); 

About

WXR Node.js module - for interacting with the Wordpress eXtended Rss format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published