Microformats Parser (PHP) v0.5.0
HTML
<article class="h-entry"> ...snip... <span class="h-cite"> <a class="u-in-reply-to u-url" href="https://twitter.com/statuses/1234">in reply to</a> <a class="p-author h-card" href="https://twitter.com/SomeGuy">SomeGuy</a> </span> </article>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": {}, "children": [ { "type": [ "h-cite" ], "properties": { "in-reply-to": [ "https://twitter.com/statuses/1234" ], "url": [ "https://twitter.com/statuses/1234" ], "author": [ { "type": [ "h-card" ], "properties": { "name": [ "SomeGuy" ], "url": [ "https://twitter.com/SomeGuy" ] }, "value": "SomeGuy" } ] } } ] } ], "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