Mallarmé: Automated XML file creation script done
Posted by mholmes on 26 Jan 2012 in Activity log
I've created a setup script which creates a .desktop file. If you drag and drop a text file containing a transcription of a poem onto the desktop launcher, it creates an XML file, then marks it all up with segs, transforms it to HTML, and opens the XML in oXygen and the HTML in your web browser. It now takes less than a minute to copy/paste a poem and create the XML markup for it. You can also modify the XML (for instance adding your own readings), and then drop that on the launcher to create a new HTML file. New XML files are automatically added to SVN, and existing ones are backed up before being changed.
This model looks to be very powerful for a variety of contexts; I think this code will get re-used quite a bit.