The ward is a factory for the Combine
HOWTO: Import into WordPress.com from another weblog using command line tools
Meanwhile the WordPress.com importers plugins are disabled before to be released into production, those of us familiar with command line may want try to automate a migration procedure instead of copy-pasting each post.
It’s especially tempting if you started your original blog not yesterday and it has a number of old posts you want to get in WP.com If the original blog you want to move from has an ability to export post into some readable text format (XML, MT) you can try to do it by means of stand-alone command line utilities which can post to WP via XML-RPC API.
To my surprise, I happened to find the only utility of such sort. It is a mtsend.py by Scott Yang.
It is rather strange that there’s no signs something like: RSS2Blogger, RSS2MT or RSS2WP. Let me know if you aware about something alike.
mtsend.py is a command line tool for Movable Type written in Python — so, you’ll need a working copy of Python interpreter in case the OS you to deal with doesn’t have it preinstalled. Most *nix clones do have, MS Windows™ users may download a standard Python software on its site (there are binaries with installer).
As we can guess from its name mtsend.py originally has been written to post into Movable Type based blogs, but since WordPress also implements XML-RPC API (MT, Blogger, MetaWebLog), the tool works fine in WordPress as well.
To post entries via mtsend.py data needs to be in a specific format. The format is very close to the Movable Type’s import/export format.
If your source blog has an XML-RPC interface — you’re almost done. The only things you have to do:
- make a simple config file,
- in a batch run retrieve all your post from old weblog with mtsend.py saved into text files (file per post) for review,
- send its contents back to WordPress.com
to be continued…