I wrote my first non-trivial piece of javascript today. It passes a handful of the GRDDL tests; i.e. the ones that only use the GRDDL XML attribute from section http://www.w3.org/TR/grddl/#grddl-xml, like http://www.w3.org/2001/sw/grddl-wg/td/xmlWithGrddlAttribute.xml http://www.w3.org/2001/sw/grddl-wg/td/titleauthor.html http://www.w3.org/2001/sw/grddl-wg/td/projects.xml It's about 100 lines of javascript on top of the tabulator RDF parser, assuming firefox XSLT support and such. raw notes as I developed it: http://chatlogs.planetrdf.com/swig/2007-08-10#T15-41-16 thru http://chatlogs.planetrdf.com/swig/2007-08-10#T20-59-54 Source code: http://homer.w3.org/~connolly/projects/grddljs/ changeset: 14:0800f2bcb2f3 date: Fri Aug 10 15:51:58 2007 -0500 somewhat edited dev notes and such: http://homer.w3.org/~connolly/projects/grddljs/raw-file/tip/runner.html Still todo: handle rel="transformation" in XHTML, and then do the recursive bits (namespaces, profiles). -- Dan Connolly, W3C http://www.w3.org/People/Connolly/Received on Friday, 10 August 2007 21:07:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:50 GMT