Microformats Parser (PHP) v0.5.0
HTML
<div class="h-entry"> <h2 class="p-name">Liked this</h2> <time class="dt-published" datetime="2015-11-07T12:00:00-0500"></time> <a href="http://example.com/target/entry" class="u-like-of"></a> <a href="/" class="u-author">Source Author</a> </div>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Liked this" ], "like-of": [ "http://example.com/target/entry" ], "author": [ "http://source.example.org/" ], "published": [ "2015-11-07T12:00:00-0500" ] } } ], "rels": {}, "rel-urls": {}, "debug": { "package": "https://packagist.org/packages/mf2/mf2", "source": "https://github.com/indieweb/php-mf2", "version": "v0.5.0", "note": [ "This output was generated from the php-mf2 library available at https://github.com/indieweb/php-mf2", "Please file any issues with the parser at https://github.com/indieweb/php-mf2/issues", "Using the Masterminds HTML5 parser" ] } }
Parse