aaronpk / webmention.io

Easily enable webmentions on any web site
https://webmention.io/
Other
784 stars 39 forks source link

Return absolute URLs #19

Closed bcomnes closed 9 years ago

bcomnes commented 10 years ago

Right now sometimes webmention.io serves up relative urls in the jsonp api data: http://bret.io/2014/06/15/likes/

kylewm commented 10 years ago

The mf2 library should resolve these urls. I think the problem is just that webmention.io is using the news.indiewebcamp.com/parse endpoint to do its mf2 parsing, and the mf2 dependency is out of date.

aaronpk commented 10 years ago

Will be fixed after switching to the Ruby mf2 parser in #26

aaronpk commented 9 years ago

Turns out the ruby parser doesn't automatically resolve relative URLs. In the mean time, I added a manual resolving step. Issue filed on the Ruby parser: https://github.com/G5/microformats2/issues/32