#dev 2023-08-17

2023-08-17 UTC
ender1, eitilt, bterry1, btrem, gRegorLove_, [0x3b0b], jjuran, gRegor, [Jo], [KevinMarks], tei_ and gerben joined the channel
#
[schmarty]
what are maps?
#
Loqi
🗺 Maps are representations of the real world that are often used to display the location of a post, especially for checkins, and sometimes an aspect of archive pages, showing locations (or animating travel) during the month or other time period https://indieweb.org/maps
#
[schmarty]
oh that's not what i expected, interesting.
[benatwork], btrem, eitilt and [snarfed] joined the channel
#
[snarfed]
[Jo] what's the http://webmentio.io status page for that failed webmention? (http://wm.io returns it in the Location header.) we can maybe take a look
[aciccarello] and nertzy joined the channel
#
[Jo]
Didnt want to potentially send someone a useless mention just now so heres me trying to send a mention to a site that is definitely linked in my navigation
#
[snarfed]
[Jo] got it. could be that http://wm.io doesn't support relative target URLs? https://github.com/aaronpk/webmention.io/issues/123 , cc [aaronpk]
#
[snarfed]
(I understand that probably wasn't the problem with your original wm)
#
[snarfed]
feel free to send your original wm again and post that status URL
#
aaronpk
relative URLs are tricky with webmention
#
aaronpk
if you want to do that, you need to send the relative URL as the target, because the webmention spec says to check for an exact match of the target URL in the source doc
#
aaronpk
so if you send a webmention with `target=https://dead.garden/art` but the page has `/art` in it, it will correctly fail
#
aaronpk
theoretically it is allowed to send `target=/art` but I'm not sure if that actually will work well in practice
tei_ joined the channel
#
[snarfed]
interesting ok. yeah the spec is light on language for this, but I guess this is close: "The source document MUST have an exact match of the target URL provided in order for it to be considered a valid Webmention." https://webmention.net/draft/#webmention-verification
#
[snarfed]
[aaronpk] while we're on the topic of http://wm.io, https://github.com/aaronpk/XRay/pull/120 ?
#
[snarfed]
I'll defer to you on deploy etc
#
aaronpk
should be live
#
[snarfed]
CD? fast!
#
aaronpk
nah manual pull
#
capjamesg
manual_pull++
#
Loqi
manual_pull has 1 karma over the last year
#
aaronpk
webmention.io calls out to xray.p3k.app for it so should work
[campegg] and [jamietanna] joined the channel
#
[jamietanna]
👏 Amazing, thanks snarfed++ aaronpk++
#
Loqi
aaronpk has 29 karma in this channel over the last year (92 in all channels)
eitilt joined the channel
#
[schmarty]
aaronpk++ yay looking forward to updating xray! snarfed++
#
Loqi
aaronpk has 30 karma in this channel over the last year (93 in all channels)
#
Loqi
snarfed has 102 karma in this channel over the last year (153 in all channels)
tei_ joined the channel
#
gRegor
Huh, didn't realize that about relative URLs in the spec. I have a mix of relative and absolute internal links on my site, so I made my webmention plugin resolve relative URLs in the page when verifying.
#
[schmarty]
Yeah interesting if webmention verification doesn't resolve relative URLs to the source or base or whatever
#
[snarfed]
might be worth some new (maybe non-normative) language in the spec?
#
GWG
WordPress also turns relative into absolute
#
GWG
And we consider http and https the same url