[wp-hackers] WXR format documentation

Harish Narayanan harish.mlists at gmail.com
Tue Sep 1 15:36:58 UTC 2009


I have an old photo blog running a really old version of WordPress (some
Frankensteinian hybrid of b2 and 1.0, I think). I would like to export
its content to my current journal performing some useful transformations
(like moving old categories to corresponding tags, working around some
hacks that I did to store just an image URL and its title as my post
content etc.).

I was wondering if someone could point me to the canonical documentation
on the WordPress WXR file format so I could construct it and suitably
import it into my journal.

(I thought about upgrading 1.0 -> 1.2 -> 1.5 ... until I reach a
WordPress version that can export itself as an XML file, but I must
transform the file heavily anyway afterwards. It seems easier to
construct an appropriate XML export directly from the database.)

Thanks,
Harish


More information about the wp-hackers mailing list