Microformats Parser (PHP) v0.5.0
HTML
<div class="h-entry h-review"> <div class="content e-content"> <div class="summary"> <data class="p-read-status" value="finished">Finished reading</data>: <span class="p-read-of p-item h-cite"><cite class="p-name">A Prayer for Owen Meany</cite> by <span class="p-author">John Irving</span><div class="isbn">ISBN: <a href="/isbn/9780062204103" class="p-uid">9780062204103</a></div> </span></div> <data class="p-rating" value="5">★★★★★</data> <div class="date"> <a href="https://gregorlove.com/2018/06/finished-reading-a-prayer-for/" class="u-url u-uid"><time class="dt-published" datetime="2018-06-11 21:17:05-07:00">June 11, 2018 9:17pm -07:00</time></a> </div> </div> </div>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry", "h-review" ], "properties": { "read-status": [ "finished" ], "rating": [ "5" ], "url": [ "https://gregorlove.com/2018/06/finished-reading-a-prayer-for/" ], "uid": [ "https://gregorlove.com/2018/06/finished-reading-a-prayer-for/" ], "published": [ "2018-06-11 21:17:05-07:00" ], "content": [ { "html": "<div class=\"summary\">\n\t\t\t<data class=\"p-read-status\" value=\"finished\">Finished reading</data>: <span class=\"p-read-of p-item h-cite\"><cite class=\"p-name\">A Prayer for Owen Meany</cite> by <span class=\"p-author\">John Irving</span><div class=\"isbn\">ISBN: <a href=\"/isbn/9780062204103\" class=\"p-uid\">9780062204103</a>\n</div>\n\t\t</span>\n</div>\n<data class=\"p-rating\" value=\"5\">★★★★★</data>\n\n\t\t<div class=\"date\">\n\t\t\t<a href=\"https://gregorlove.com/2018/06/finished-reading-a-prayer-for/\" class=\"u-url u-uid\"><time class=\"dt-published\" datetime=\"2018-06-11 21:17:05-07:00\">June 11, 2018 9:17pm -07:00</time></a>\n\t\t</div>", "value": "Finished reading: A Prayer for Owen Meany by John IrvingISBN: 9780062204103 \u2605\u2605\u2605\u2605\u2605 June 11, 2018 9:17pm -07:00" } ], "read-of": [ { "type": [ "h-cite" ], "properties": { "name": [ "A Prayer for Owen Meany" ], "author": [ "John Irving" ], "uid": [ "9780062204103" ] }, "value": "A Prayer for Owen Meany" } ], "item": [ { "type": [ "h-cite" ], "properties": { "name": [ "A Prayer for Owen Meany" ], "author": [ "John Irving" ], "uid": [ "9780062204103" ] }, "value": "A Prayer for Owen Meany" } ] } } ], "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