web.instata - turns CSV file into HTML5+Schema.org document

62 views
Skip to first unread message

Michael Hausenblas

unread,
Aug 1, 2011, 2:45:28 AM8/1/11
to schemaorg-...@googlegroups.com
Over the weekend I hacked together web.instata, a Python script that turns your plain old tabular data (POTD) into Web data. Essentially web.instata takes a CSV file as input and generates an HTML5 document - the data items are marked up with Schema.org terms. 

Additionally, based on the official DBpedia2Schema.org mapping, web.instata tries to match the CSV columns with DBpedia terms.

The output per default is HTML5+microdata but is highly customizable as it is based on a templating system. Hence, one can output, for example, RDFa simply by changing the templates/base.tpl file. 

Eventually, as I'm using the jQuery plug-in, DataTables [3], the resulting HTML table offers some useful functions (sort, filter, pagination, etc.). Below you see an example screenshot along with the generated HTML source ...

Cheers,
Michael
Reply all
Reply to author
Forward
0 new messages