Microformats Parser (PHP) v0.5.0
HTML
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Hello World</title> </head> <body> <div class="h-entry"> <h1 class="p-name">A post with embedded markup in</h1> <div class="e-content"> <p>Blah blah blah blah blah.</p> <p>Blah.</p> <p>Blah blah blah.</p> </div> </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": { "name": [ "A post with embedded markup in" ], "content": [ { "html": "<p>Blah blah blah blah blah.</p>\n <p>Blah.</p>\n <p>Blah blah blah.</p>", "value": "Blah blah blah blah blah.\nBlah.\nBlah blah blah." } ] } } ], "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