Microformats Parser (PHP) dev-master
HTML
<article class="h-entry"> <div class="e-content"> <span>Hello</span><br/> <p>World</p> </article>
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": "<span>Hello</span><br>\n <p>World</p>", "value": "Hello\n\nWorld" } ] } } ], "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
Rendered HTML
Hello
World