A .NET library for creating files to be imported into Wordpress, using the WXR format.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
WxrTests
wxr.net
.gitignore
MIT_License.txt
README.md
wxr.net.sln

README.md

#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.