I finally finished restructuring my curriculum. It needed to have two properties:
- I only want to maintain information once, without copying around and information getting outdated.
- I need translations, and I want to translate using smart tools.
Here's how it works now:
- It all starts with informations scattered around the file system.
- Some Ruby scripts go around digging for them and generate some XML files.
- The XML files have tags with special markers so that intltool can extract the strings inside and generate .pot files with them.
- I translate .pot files with all the tools one normally uses with them.
- Intltool generates multiple XML versions with clean tags and translated strings.
- At this point, I have XSLT sheets that can generate:
- My CV
- The Talks page
- A page with a summary of the free software projects I'm involved in
...and it's all driven by Makefiles.
The day I feel like it, I'll add an XSLT to generate a CV in OpenDocument format.
Javier Candeira called this "Rube Goldberg Hacking", but then noone could figure out simpler ways of doing it with the properties I wanted.
Scripts available on request if someone is crazy enough to walk along a similar path.