Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use a basic JSON data structure with some Go code that reads it, filters on various things (primarily date ranges at the moment), and outputs it via a template to HTML.

For multi descriptions, I'd change the description key from a string to a hash and then have an option to select those of a particular "flavour".

Something like:

    d: {"ml":"I made funny carrot names with ML", "data":"Extensive processing of botanical nomenclature", "mba":"Some guff about something business processes"}
And then something like:

    ./gencv -flavour ml > ml.html # uses ml.tmpl
    ./gencv -flavour data > data.html # uses data.tmpl
    #etcetcetc
You could even lash it up in shell with `jq` and `sed`...


Nice! any plans to opensource your code :) ?


Oh, I can do but I promise you that it's rough as a badger's arse because it was a quick lash up. I'll see if I can throw it up somewhere later today.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: