|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
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. |