-
Notifications
You must be signed in to change notification settings - Fork 0
A PHP Class for parsing JSON Datasets
WebOrganics/DatasetParser
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
= DatasetParser Version: 1.3 =
Updated: Tuesday, 13th July 2010
Usage:
include_once("Dataset_Transformr.php"); # include Dataset_Transformr class
$dataset = new Dataset_Transformr; # start a new dataset instance
# $dataset->output_as_xml = 1; # optional default output as RDF
if (isset($_GET['url'])) print $dataset->asRDF(); # if ?url=... return dataset as RDF.
See also http://weborganics.co.uk/dataset/
Also Included are various examples of dataset transformations including all HTML and JSON