LH Rdf is back!!
Yes development has started again and the first stop is to add additional formats to the output. Previously Lh Rdf only supported RDF-xml and has been designed almost exclusively around that. Therefore to add other formats I have bundled the Easyrdf library into the plugin. When the query string lhrdf is added to the feed URL the Easyrdf parser is invoked to parse the rdf xml output string and the output is then available in various triple formats.
See code extract:
$graph = new EasyRdf_Graph();
$data = $graph->serialise($_GET[‘lhrdf’]);
The format chosen by value of the lhrdf variable E.G.
As well as simply being cool, having an option to output JSON is the main benefit as the triples are now no longer imprisoned by the same domain policy.
LH Rdf is back!! Yes development has started again and the first stop is to add additional formats to the output. Previously... https://shawfactor.com/?p=150667
2 thoughts on “LH RDF not just xml anymore”
Heh, I updated the plugin earlier today without realising that development had been on pause 🙂 Thanks!
Great idea of Peter Shaw to implement webmentions