sneak preview
17 October 2006Letting all the overall agenda aside, how does this sound?
js> ds = new RDFSimpleTripleDataStore();
js> em = new RDF.Vocabulary('urn:x-moz:em#');
js> ds.assert(RDF.resources[document.location], em.title,
RDF.getLiteral("Some English string", null, "en-US"));
js> c = ''; ds.forEach(function(t) {c += t;}); c
<about:blank> <urn:x-moz:em#title> "Some English string"@en-US.
3 Responses to “sneak preview”
October 17th, 2006 at 3:17 pm
Did you mean |js> em = new RDF.Vocabulary(’urn:x-moz:em#’);|?
October 17th, 2006 at 3:23 pm
Yes, I did.
October 18th, 2006 at 12:45 pm
[...] Fortunately, a sneak preview in Pike’s blog shows that the new API will be a great step towards remedying that problem. del.icio.us this! [...]