Useful scripts: xbel2moin.py

Add new comment
Your name - will be displayed with your comment. Required
Your email address - will not be displayed. Required
Your homepage URL - your name will link to this. Optional
Your comment - textile syntax, 1000 chars max. Required

While working on the TurboGears documentation wiki, I wanted to provide a link list for useful TurboGears resources. To make it easier to update and re-use this list, I decided to keep it in the XBEL format.

So I created a little Python script to convert the XBEL bookmarks into a MoinMoin wiki page. Using the excellent ElementTree library, this was a task of thirty minutes.

I uploaded the script, called xbel2moin.py, to the Converter Market on the official MoinMoin wiki, so others can make use of it too. It would be rather easy to change the output from MoinMoin syntax to some other text-based format, for example reST. But that's another script.

Share & Enjoy

Reader comments

There are no comments on this article yet. Add a comment now...