Microformats Parser (PHP) v0.5.0
HTML
<div class="h-entry"><p class="e-content p-name">Hello World <img src="example.jpg"></p></div>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Hello World http://example.com/example.jpg" ], "content": [ { "html": "Hello World <img src=\"http://example.com/example.jpg\">", "value": "Hello World http://example.com/example.jpg" } ], "photo": [ "http://example.com/example.jpg" ] } } ], "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