Microformats Parser (PHP) dev-master
HTML
<div class="hfeed"> <div class="hentry"> <h1 class="entry-title"><a href="/one" rel="bookmark">One</a></h1> </div> <div class="hentry"> <h1 class="entry-title"><a href="/two" rel="bookmark">Two</a></h1> </div> </div>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-feed" ], "properties": {}, "children": [ { "type": [ "h-entry" ], "properties": { "name": [ "One" ], "url": [ "/one" ] } }, { "type": [ "h-entry" ], "properties": { "name": [ "Two" ], "url": [ "/two" ] } } ] } ], "rels": { "bookmark": [ "/one", "/two" ] }, "rel-urls": { "/one": { "text": "One", "rels": [ "bookmark" ] }, "/two": { "text": "Two", "rels": [ "bookmark" ] } }, "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