Where can I download the schema (or DTD) for the layout of the WordPress import/export file format?
Leave a Reply
You must be logged in to post a comment.
Where can I download the schema (or DTD) for the layout of the WordPress import/export file format?
You must be logged in to post a comment.
As far as I know no one ever [publicly] documented it and all questions about that are met with “it’s like RSS, want documentation – do it yourself”.
It seems to be an RSS Feed http://en.wikipedia.org/wiki/RSS
extended with some of WordPress’s own extensions.
Unfortunately, it applies only to posts and pages. I was thinking about using it to migrate data from PHP-Fusion to WordPress, but it would only be a partial solution.
I tried some of the naemspaces below in the browser to see if they would give me a schema or DTD, but they did not.
Here’s an example:
Here you can find an example with most important tags of a DTD used for example by InDesign for testing purposes. By reading the WordPress XML exported (WP v3.2.1), it is easy to choose and add the right tags in the right place.
A reference link for DTD