Importer progress...

2026-01-14 10:19 PM

#code #blogging #python

I spent some time tonight putting together a script to import all of my existing blog posts. They're in a directory of files, some exported from Wordpress way back when formatted as reStructuredText while most everything from the last two years is in Markdown files. This has been tough because the docutils library has less than clear documentation on how to use it. I think I've finally turned a corner and the end is in sight.

There's some more to do here for a clean rollover, like getting post categories set up, but that won't be hard at all because the groundwork is already laid. I also need to do some work either having post URLs include year and month URL paths or learning about how to do that on the server with a URL rewrite.

Share this post