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.