Export blog pages to Wordpress

From Organic Design wiki
Revision as of 20:13, 9 April 2019 by Nad (talk | contribs) (Job description)
Info.svg This page is about the task of migrating the blog pages into a Wordpress.


Job description

I need the blog moved into a Wordpress. To test your export/import you can export say ten of the last blog items or something. The very old blog items such as Mum & Dad's 2018 Brazil holiday were just a single long page, so I need to edit the XML export and change those into individual posts.

You'll need to parse the XML output to get the article meta information such as title and creation data, and also convert the wikitext into the format for importing into Wordpress. But only a small fraction of the wikitext is required, because the blog posts are quite similar in format. For example, all images are of the format [[File:<FILENAME>.jpg|<SIZE>px]], and these are either standalone or in a {{table...}} syntax which just puts them side by side but wrapping onto the next line depending on window size. There are a few right aligned images, but these could probably be dealt with manually afterwards. There are no headings or bullet lists, and the only styling at all is bold and italic.

Resources

See also