On Mon, 25 Jun 2007 08:48:47 +0100, Stefano Mazzocchi <[EMAIL PROTECTED]> wrote:
> So, the question is: is there a jsonp-equivalent trick for an iframe > that we can use to route around the security exception requirements? > I don't know of any javascript tricks to do this, but you can pipe the url of an eRDF document through, eg: http://triplr.org (to convert it to RDF/XML ), and Exhibit can now convert that on the fly to jsonp (by piping it through babel). There are two things that could be nicer about this though: if the resources don't have rdfs:labels, the exhibit label is a long generated id, and blank nodes can clash, so, if you look at http://semwebdev.keithalexander.co.uk/exhibit/rdf-remote.html Art Barstow is a Person, and a Beer. The latter isn't a problem for eRDF, which doesn't have blank nodes, but is a problem for RDF powered exhibits generally. For the former, it would be nice if babel could try to fall back on dc:title, or other known properties that inherit from rdfs:label like foaf:name - if it generally tried a bit harder to generate human readable labels. It might also be nice if Babel could transform html tables into exhibits, as ecmanaut's importer does - then this could be done cross-domain as well. Cheers, Keith ps: RDFa can also be passed through triplr if you use the newly minted profile uri -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________ General mailing list General@simile.mit.edu http://simile.mit.edu/mailman/listinfo/general
