Using RDF as a model would have its advantages:<br><br>* the W3C test harness could be reused<br>* it&#39;s straightforward<br>* some of the modelling has already been done<br>* Semantic Web integration comes free<br><br>at <a href="http://esw.w3.org/topic/CustomRdfDialects">http://esw.w3.org/topic/CustomRdfDialects</a><br>
there are links to several microformat2rdfxml XSLT transformations - at least some of them are less-than-perfect, but should be good enough to bootstrap<br><br>(incidentally a lot of the material there originated on a page called <a href="http://esw.w3.org/topic/MicroModels">http://esw.w3.org/topic/MicroModels</a> - it got rebranded :-)<br>
<br>SPARQL-capable RDF tools are available for pretty much every language/platform, and test SPARQL would be pretty easy to write. SPARQL results can appear in XML or JSON - which could be handy in this context.<br><a href="http://www.w3.org/TR/rdf-sparql-json-res/">http://www.w3.org/TR/rdf-sparql-json-res/</a><br>
<br>There&#39;s also a JSON syntax for RDF, and at least two online converters:<br><br><a href="http://n2.talis.com/wiki/RDF_JSON_Specification">http://n2.talis.com/wiki/RDF_JSON_Specification</a><br><a href="http://triplr.org">http://triplr.org</a><br>
<a href="http://convert.test.talis.com/">http://convert.test.talis.com/</a><br><br>The RDF/JSON result would no doubt look different from the intended microformat/JSON, but&nbsp; it shouldn&#39;t take much script to convert for testing purposes.<br>
<br>On 15/04/2008, <b class="gmail_sendername">Manu Sporny</b> &lt;<a href="mailto:msporny@digitalbazaar.com">msporny@digitalbazaar.com</a>&gt; wrote:<div><span class="gmail_quote"></span><div><br>Sorry Manu, nitpicking, expanding your shorthand -<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> - Agree on a serialization format for Microformats (JSON/XML/N3/etc).</blockquote>
<div><br>presumably=&gt;<br>Agree on a Microformats model<br>Agree on a serialization format for Microformats model (JSON/XML/N3/etc).<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 - Agree on a serialization format: RDF</blockquote><div><br>presumably=&gt;<br>Agree on an RDF model : RDF&nbsp; (easy one that)<br>Agree on a serialization format for RDF model : RDF/XML (I&#39;m assuming)<br><br></div></div>
<br>Cheers,<br>Danny.<br><br>-- <br><a href="http://dannyayers.com">http://dannyayers.com</a><br>~<br><a href="http://blogs.talis.com/nodalities/this_weeks_semantic_web/">http://blogs.talis.com/nodalities/this_weeks_semantic_web/</a>