Microformats Parser (PHP) v0.5.0
HTML
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>mention.tech</title> <link rel="shortcut icon" href="/static/logo.jpg" /> <meta name="mobile-web-app-capable" content="yes" /> <link rel="apple-touch-icon" href="/static/logo.jpg" /> <link href="/static/style.css" media="all" rel="stylesheet" type="text/css" /> <link rel="webmention" href="http://mention-tech.appspot.com/webmention" /> <script>var loc = window.location.href; if (loc.includes('genius.it')) { offset = loc.indexOf('genius.it'); newloc = loc.slice(0,offset)+ loc.slice(offset+'genius.it/'.length); window.location.replace(newloc); } </script> </head> <body > <nav><img class="u-logo" src="/static/logo.jpg" /><a href="/" >Home</a></nav> <div class="h-entry"> <h2 class="p-name">Test page for pinging webmention.rocks from</h2> <ul class="e-content"> <li><a href="https://webmention.rocks/test/1">Test 1</a> <li><a href="https://webmention.rocks/test/2">Test 2</a> <li><a href="https://webmention.rocks/test/3">Test 3</a> <li><a href="https://webmention.rocks/test/4">Test 4</a> <li><a href="https://webmention.rocks/test/5">Test 5</a> <li><a href="https://webmention.rocks/test/6">Test 6</a> <li><a href="https://webmention.rocks/test/7">Test 7</a> <li><a href="https://webmention.rocks/test/8">Test 8</a> </ul> <a href="#" class="u-url"><time class="dt-published">2016-04-11</time></a> <div class="p-author h-card"><a href="/" class="p-org p-name"><img class="u-logo" alt="" src="/static/logo.jpg" />mention.tech</a></div> </div> <footer >A webmention experiment by <a class="h-card" href="http://kevinmarks.com">Kevin Marks</a> code at <a href="https://github.com/kevinmarks/mentiontech">github</a> <a rel="me" href="https://twitter.com/mention_tech/">@mention_tech</a></footer> </body> </html>
Base URL
Save HTML?
(Note: Data older than 72 hours may be purged)
Render HTML in page?
JSON
{ "items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Test page for pinging webmention.rocks from" ], "url": [ "http://mention-tech.appspot.com/#" ], "published": [ "2016-04-11" ], "content": [ { "html": "<li>\n<a href=\"https://webmention.rocks/test/1\">Test 1</a>\n</li><li>\n<a href=\"https://webmention.rocks/test/2\">Test 2</a>\n</li><li>\n<a href=\"https://webmention.rocks/test/3\">Test 3</a>\n</li><li>\n<a href=\"https://webmention.rocks/test/4\">Test 4</a>\n</li><li>\n<a href=\"https://webmention.rocks/test/5\">Test 5</a>\n</li><li>\n<a href=\"https://webmention.rocks/test/6\">Test 6</a>\n</li><li>\n<a href=\"https://webmention.rocks/test/7\">Test 7</a>\n</li><li>\n<a href=\"https://webmention.rocks/test/8\">Test 8</a>\n</li>", "value": "Test 1 Test 2 Test 3 Test 4 Test 5 Test 6 Test 7 Test 8" } ], "author": [ { "type": [ "h-card" ], "properties": { "org": [ "mention.tech" ], "name": [ "mention.tech" ], "logo": [ { "value": "http://mention-tech.appspot.com/static/logo.jpg", "alt": "" } ] }, "value": "mention.tech" } ] } }, { "type": [ "h-card" ], "properties": { "name": [ "Kevin Marks" ], "url": [ "http://kevinmarks.com" ] } } ], "rels": { "shortcut": [ "http://mention-tech.appspot.com/static/logo.jpg" ], "icon": [ "http://mention-tech.appspot.com/static/logo.jpg" ], "apple-touch-icon": [ "http://mention-tech.appspot.com/static/logo.jpg" ], "stylesheet": [ "http://mention-tech.appspot.com/static/style.css" ], "webmention": [ "http://mention-tech.appspot.com/webmention" ], "me": [ "https://twitter.com/mention_tech/" ] }, "rel-urls": { "http://mention-tech.appspot.com/static/logo.jpg": { "rels": [ "apple-touch-icon", "icon", "shortcut" ] }, "http://mention-tech.appspot.com/static/style.css": { "media": "all", "type": "text/css", "rels": [ "stylesheet" ] }, "http://mention-tech.appspot.com/webmention": { "rels": [ "webmention" ] }, "https://twitter.com/mention_tech/": { "text": "@mention_tech", "rels": [ "me" ] } }, "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