Microformats Parser (PHP) v0.5.0
HTML
<article class="hentry"> <section class="entry-content"> <p class="entry-summary">This is a summary</p> <p>This is <a href="/tags/mytag" rel="tag">mytag</a> inside content. </p> </section> </article>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": { "summary": [ "This is a summary" ], "category": [ "mytag" ], "content": [ { "html": "<p class=\"entry-summary p-summary\">This is a summary</p> \n <p>This is <a href=\"/tags/mytag\" rel=\"tag\">mytag</a> inside content. </p>", "value": "This is a summary\nThis is mytag inside content." } ] } } ], "rels": { "tag": [ "/tags/mytag" ] }, "rel-urls": { "/tags/mytag": { "text": "mytag", "rels": [ "tag" ] } }, "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