Insert content into TiddlyWikis with this Python script
Thursday, April 17th, 2008I’ve been generating many figures, and I want to be able to find them again and browse them easily. Organizing them on disk just isn’t cutting it. My solution for now is to use a local TiddlyWiki as the glue for my figures, since I can embed figures in tiddlers (the microcontent entries that are the bread and butter of TiddlyWikis), and tag and search those entries. Bonus: I can zip everything up and send TiddlyWiki + images to my advisor so he can browse and search them as well.
Try this Python script, addtiddler.py, to insert tiddlers into an existing TiddlyWiki. You can optionally specify an image name (relative to the output file, see the documentation in the source code) to be embedded. You can use this script from the command line using options, or import it into another script.
I tried to add lots of comments so you can modify it for your own needs. Let me know if you find bugs so I can fix them.