Microformats Parser (PHP) dev-master
HTML
<article class="h-entry"> <div class="e-content"> <p>Hello<br> World</p> <pre> this is some pre formatted text this is more pre formatting </pre> </div> </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": "<p>Hello<br>\n World</p>\n <pre>\n this is some pre formatted text\n\n\tthis is more pre formatting\n </pre>", "value": "Hello\nWorld this is some pre formatted text this is more pre formatting" } ] } } ], "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