|
|
hkit is a simple PHP5 tool for extracting common microformats from a page.
The page can be presented as a string or a URL, and the result is handed back as a standard PHP array structure. hkit uses SimpleXML for parsing, and therefore requires PHP5.
You can download the newest stable release or get the latest updates from SVN. (See WhatsNew)
Simple to use
<?php
include('hkit.class.php');
$hKit = new hKit;
$result = $hKit->getByURL('hcard', 'http://microformats.org/');
print_r($result);
?>Try it out
Try out a live version of hkit against your own pages.
