2 Sep 2012 ralsina   » (Master)

New Nikola Feature: wordpress.com Importer

I implemented a first drat of a wordpress.com importer for my Nikola static site/blog generator It's a work in progress but it works well enough that it can turn this blog into this blog

What works:

  • Posts
  • Pages
  • Drafts
  • Tags
  • Personal information

What doesn't work:

  • Comments
  • Links across posts/pages are left untouched
  • The output is pretty generic

This needs testing, so feel free to get master and try it. Asuming foo.xml is your data from wordpress.com:

nikola_import_wordpress foo.xml
cd new_site
doit && doit serve

And point your browser to http://localhost:8000 to see the result :-)

Minor tweaking of the generated conf.py is generally needed for improved results.


Syndicated 2012-09-02 15:22:53 from Lateral Opinion

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!