Microformats Parser (PHP) v0.5.0
HTML
<html class="h-full"> <div class="h-entry"> <div class="e-content">Hello World</div> <a href="https://example.com/post" class="u-url">permalink</a> </div> </html>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-full" ], "properties": {}, "children": [ { "type": [ "h-entry" ], "properties": { "url": [ "https://example.com/post" ], "content": [ { "html": "Hello World", "value": "Hello World" } ] } } ] } ], "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