Microformats Parser (PHP) v0.5.0
HTML
<div class="h-entry"> <a class="u-example-one" href="https://example.com/1">Example</a> <a class="u-example-two h-card" href="https://example.com/2">Example</a> <a class="p-example-three h-card" href="https://example.com/3">Example</a> </div>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": { "example-one": [ "https://example.com/1" ], "example-two": [ { "type": [ "h-card" ], "properties": { "name": [ "Example" ], "url": [ "https://example.com/2" ] }, "value": "https://example.com/2" } ], "example-three": [ { "type": [ "h-card" ], "properties": { "name": [ "Example" ], "url": [ "https://example.com/3" ] }, "value": "Example" } ] } } ], "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