Closed thedod closed 9 years ago
Fixed WebmentionDressing to use source
instead of [sometimes missing] data.url
.
I see you've closed aaronpk/self#3, so I've reopened it as indieweb/wiki#18 :wink:
It is expected that "data" is blank for the Github URL, since the data object is populated by parsing the microformats2 markup on the page. If none is found, it will be empty. It should have found some microformats on the indiewebcamp URL so I'll look into that.
the data object is populated by parsing the microformats2 markup on the page
Thanks. So using source
is not a bad choice then (although I guess the proper thing would be to prefer data.url
and use source
as a fallback).
Yeah, I'd recommend using data.url
if it's there, and fall back to source
. This is especially apparent with bridgy, where the source will be the brid.gy URL and the data.url will be the actual Twitter URL for example.
Pushed this, and I see the difference at the demo on the 15 Dec 2014 00:41:37 GMT
fav by marek 'saji' aug.
. The link is to the tweet. The older twitter favs point to brid.gy items. Probably something changed as brid.gy (or webmention.io's mf2 parser) early December.
It should have found some microformats on the indiewebcamp URL so I'll look into that
I leave the issue open in case you want it left as a reminder for that "mf2 mystery", but as far as I'm concerned, feel free to close it. indieweb/wiki#18 is the one that counts, especially now that the code is "even better then before" :wink:
As mentioned here, I tried to webmention from github, got a 202, and nothing happened.
I tried again now, got the 202 below,
but this time (4 days and many commits later), it does appear, but both this webmention and the one preceding it (which was fine yesterday) don't have name, content or URL in the JSON: