Python Script to Import Simple Tagging tags to Wordpress 2.3

Wordpress 2.3 database now supports tags. For some reason, the Wordpress importer for Simple Tagging doesn't work for me, it imports only halfway.

I wrote this python script to import the tags to Wordpress 2.3 database.

[~]$ python

The script will ask for the Wordpress database name, the database user and password, and the Wordpress database tables prefix (default is wp) to import the tags. Tested on my database.

Database: dbname

Database user: dbuser

dbuser Password:

Wordpress table prefix [wp]: wp

215 tags imported.


blog comments powered by Disqus