- From: Dan Brickley <danbri@google.com>
- Date: Wed, 17 Sep 2014 11:42:03 +0100
- To: Ivan Herman <ivan@w3.org>
- Cc: W3C CSV on the Web Working Group <public-csv-wg@w3.org>
On 10 September 2014 08:58, Ivan Herman <ivan@w3.org> wrote: > > As a followup on my previous mail... > > I wanted to see whether it is complicated to implement a very simple template (Alternative 2.5 in [1]) using existing tools, ie, to make it quickly available, with some extra work, to the community at large. I think the answer is yes; Personal opinion: I think the answer is 'yes' too, after some similar experimentation and talking to a bunch of people. I believe we have a very good chance of doing substantially better than 100% mechanistic mappings, roughly around the level of Mustache ("Logic-less", but with simple conditionals) with some regex pre-processing and a few W3C-oriented supporting functions. I believe there is also a very good chance that a *simple* technology like this will be picked up by search engines as a way of getting graph-oriented data (schema.org and suchlike). But I also believe that we could find this effort bedevilled by creeping complexity and that there's some risk it might not make it to W3C REC. It's worth trying though! </opinion> Dan > look at: > > https://github.com/w3c/csvw/tree/gh-pages/experiments/simple-templates-jquery > > for further details. See > > https://github.com/w3c/csvw/tree/gh-pages/experiments/simple-templates-jquery/simple_test > > for the test I used so far. > > The implementation is rough at the edges, and I am still in the process to make it a bit better code-wise. But that still gives, I hope, an idea of where this *may* go. > > [1] http://lists.w3.org/Archives/Public/public-csv-wg/2014Sep/0006.html > > ---- > Ivan Herman, W3C > Digital Publishing Activity Lead > Home: http://www.w3.org/People/Ivan/ > mobile: +31-641044153 > GPG: 0x343F1A3D > WebID: http://www.ivan-herman.net/foaf#me > > > > >
Received on Wednesday, 17 September 2014 10:42:35 UTC