Best utility/language to convert text files
October 19, 2007 5:49 AM
Subscribe
What is the best programming language to learn or (open) software to use for converting between text formats?
I am trying to educate myself on the wily ways of moving between formats that I've used for writing (mostly journals) in the past. Some of what I've written is in Word files, some in proprietary software (LifeJournal, TheJournal...stored in a database of some kind with IDX, BLB, and DAT files but with an export function), some in a wiki (which can export to HTML), some in other notetaking software that exports to XML.
I'm pretty sure I can export/import everything from either RTF-like or XML-like documents. My question is: what is the best way to "clean them up" so that one fits into the other? Is there some some common utility to do this, or does it require learning a language? If so, which one? (I'm currently learning Python--fingers crossed on that one).
Extra bonus question: where is page data stored in a wiki like MediaWiki? I know they render as HTML, but where is the data coming from? A MySQL table?
posted by mjklin to computers & internet (13 comments total)
2 users marked this as a favorite
ruby is a little bit less powerful here, but is much easier to learn (and read when you have to go back in and change your program).
i never really got into python, but i'm sure you could make it work.
posted by ArgentCorvid at 6:07 AM on October 19, 2007