Microformats Parser (PHP) v0.5.0
HTML
<div class="h-entry"> <div class="u-in-reply-to h-cite"> <a class="u-url" href="https://twitter.com/AndreJaenisch/status/123456789">Former tweet</a> </div> <div class="u-in-reply-to"> <a class="u-url" href="https://example.com/">The article I replied to</a> </div> </div>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": { "in-reply-to": [ "The article I replied to", { "type": [ "h-cite" ], "properties": { "url": [ "https://twitter.com/AndreJaenisch/status/123456789" ], "name": [ "Former tweet" ] }, "value": "https://twitter.com/AndreJaenisch/status/123456789" } ], "url": [ "https://example.com/" ] } } ], "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