My favorites | Sign in
Project Home Downloads Wiki
Project Information
Members
Featured
Downloads
Wiki pages
Links

Features

  • Different XSLT engines can be used
  • Merging of RDF/XML results
  • Pretty close to passing GRDDL test suite
    • Passes everything but the xml:base related cases!
  • Lives in PEAR (along with it's source)!

How do I install it?

pear install -f XML_GRDDL

How does it work?

See the UsageExample for more details.

/**
 * Example: Discover if there are any GRDDL transformations
 * from Dan Connolly's w3 homepage.
 */

require_once 'XML/GRDDL.php';

$url = 'http://www.w3.org/People/Connolly/';

$grddl = XML_GRDDL::factory('Xsl');

try {
    print $grddl->crawl($url);
} catch (Exception $e) {
    print $e->getMessage();
}

... produces an RDF/XML representation of a page with GRDDL transformations.

Powered by Google Project Hosting