What's new? | Help | Directory | Sign in
Google
xmlgrddl
XML_GRDDL - a PHP5 implementation of the GRDDL specification
  
  
  
  
    
Code License: New BSD License
Labels: php, xml, grddl, rdf
Show all Featured Downloads:
XML_GRDDL-0.1.1.tgz
Join project
Project owners:
  daniel.oconnor

Features

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.