Tag clouds, part 8 – The Python Way

wpTags is what I call the python script that is supposed to manage the tag cloud on your wordpress.com blog. Download it from box.net.

The script is released under under GNU GPL v3. To use it, you need to have Python installed on your system. It is available by default on nearly every Linux pc. For others, get it from the Python website. Some part of the code is based on my unreleased .net 2.0 application and some more parts are based on a couple of functions from the wordpress.org php code.

Using the script

  • Open the script in a text editor and read the NOTICE at the beginning of the file.
  • Before running the script, you need to create a special page on your wordpress.com blog with a little bit of text so that you can save it. Whatever you name it, note its page id (the number after the ?p= part – you can find it in the dashboard under Manage Page when you hover the mouse cursor over the page title). If you provide the wrong id, you might end up with a MAJOR HEADACHE. Once this is done, things are somewhat easy.
  • Put the script in a separate folder, run it, and provide the information it asks for. And wait as it downloads ALL your posts and updates the cloud.
  • If you want to change some settings, delete the settings.wpbx file in the script folder, and you can start with the slate clean. I know that this sounds stupid, but this is the first version and I was in a hurry to get it working. Will provide a cleaner method when I next update it.

I haven’t tested it much, but it seems to work fine as of now. I don’t recommend this for serious use, but if you want to try it out just like that, you are welcome to do so.

Trackbacks are closed, but you can post a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s