benrhughes / wxr.net

A .NET library for creating files to be imported into Wordpress, using the WXR format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A .NET library for creating files to be imported into Wordpress, using the WXR format.

License:MIT License


Languages

Language:C# 100.0%