Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 702 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 702 Bytes

#wxr.net

wxr.net is a simple API for creating files to be imported into Wordpress, using the WXR format.

Usage

var site = new Site { Title = "A Test Site" };

var post = new Post
{
		Title = "My First Post",
		Date = DateTime.Now,
		Description = "A post, that was first",
		Content = @"<b>First!</b>"
};

site.Posts.Add(post);

site.Save(@"c:\users\admin\desktop");

Status

wxr.net currently produces valid, importable XML for sites, posts, tags and categories.

Comments, authors, media etc will be coming soon.

Installation

For now you will need to build the project yourself. It uses XMLGuy, but is otherwise has no dependencies.