Microformats Parser (PHP) v0.5.0
HTML
<html> <body > <ul class="sidebar"> <li><a href="/">Home</a></li> <li><a href="/blog">Blog</a></li> </ul> <div class="h-entry"> <p class="e-content">This is the contents of a post</p> by <a class="h-card" href="https://loqi.me">Loqi</a> </div> </body> </html>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": { "content": [ { "html": "This is the contents of a post", "value": "This is the contents of a post" } ] }, "children": [ { "type": [ "h-card" ], "properties": { "name": [ "Loqi" ], "url": [ "https://loqi.me" ] } } ] } ], "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