Microformats Parser (PHP) dev-master
HTML
<section class="h-event"> <p><span class="p-name">The 4th Microformat party</span> will be on:</p> <ul> <li><time class="dt-start" datetime="2009-06-26T19:00-08:00">26 July</time></li> <li><time class="dt-start" datetime="2009-06-26T19:00-08">26 July</time></li> <li><time class="dt-start" datetime="2009-06-26T19:00-0800">26 July</time></li> <li><time class="dt-start" datetime="2009-06-26T19:00+0800">26 July</time></li> <li><time class="dt-start" datetime="2009-06-26T19:00+08:00">26 July</time></li> <li><time class="dt-start" datetime="2009-06-26T19:00Z">26 July</time></li> <li><time class="dt-start" datetime="2009-06-26t19:00-08:00">26 July</time></li> <li><time class="dt-start" datetime="2009-06-26 19:00:00-08:00">26 July</time></li> </ul> </section>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-event" ], "properties": { "name": [ "The 4th Microformat party" ], "start": [ "2009-06-26T19:00-08:00", "2009-06-26T19:00-08", "2009-06-26T19:00-0800", "2009-06-26T19:00+0800", "2009-06-26T19:00+08:00", "2009-06-26T19:00Z", "2009-06-26t19:00-08:00", "2009-06-26 19:00:00-08:00" ] } } ], "rels": {}, "rel-urls": {}, "debug": { "package": "https://packagist.org/packages/mf2/mf2", "version": "dev-master", "note": [ "This output was generated from the php-mf2 library available at https://github.com/indieweb/php-mf2", "Using the masterminds/html5 HTML parser", "Please file any issues with the parser at https://github.com/indieweb/php-mf2/issues" ] } }
Parse