#dev 2025-04-26

2025-04-26 UTC
grufwub, CRISPR, thegreekgeek and maxb1 joined the channel
#
maxb1
hey so, if anyone has the time to respond i had another question trying to enable my site. i've tried stripping down my example quite a bit in order to debug. i'm currently trying to send a reply to https://webmention.rocks/test/2, with my test site https://serious-rambunctious-raft.glitch.me/, but webmention.rocks is rejecting it with "no_link_found", even though AFAICT, the link is there. The parser seems to find the in-reply-to link:
#
aaronpk
oh, fun times with microformats
#
aaronpk
generally microformats consumers expect to find a single microformats object on the page
#
aaronpk
if you look at the pin13 parsed result, you see two objects
#
aaronpk
the u-url of the h-card matches the URL of the page being parsed, so basically only the h-card is being seen by the consumer
#
aaronpk
in other words, it's unusual that a URL that has a path of "/" is actually a permalink of a post, usually that would be the home page of the user
#
Loqi
[preview] [Alice Foo] @post: Nice post! permalink
#
maxb1
Oh, I see, thanks for the information!
maxb1 joined the channel
#
maxb1
I'll try out the changed example
[tantek] joined the channel
#
maxb1
Huh, it seems to work when I use the pin13.net site with the embedded HTML, but when I try putting it on my own page (https://serious-rambunctious-raft.glitch.me/send.html), it doesn't. Very confusing...
#
maxb1
*use the pin13.net site as the source in the webmention
#
aaronpk
your markup on the glitch site looks right to me, what error are you getting?
#
aaronpk
xray is an example of what a typical microformats consumer will see, rather than just the microformats parsing stage shown on pin13
#
maxb1
^^ good tip
#
maxb1
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "source=https://serious-rambunctious-raft.glitch.me/send.html&target=https://webmention.rocks/test/2" https://webmention.rocks/test/2/webmentionno_link_found The source document does not contain a link to the target URL. The source URL returned an HTTP 403 response. The source document must contain an <a> tag with an href attribute matching the target URL specified.
#
aaronpk
oh, 403 is interesting
#
aaronpk
glitch might be blocking the webmention.rocks server entirely
#
maxb1
Yeah... that would be annoying
#
aaronpk
that is in fact annoying
#
maxb1
They say they "<3 the open social web" so that would be kinda funny
#
aaronpk
well you should be able to use this URL for the next 72 hours https://pin13.net/mf2/?id=20250426025924961
#
Loqi
[preview] [Alice Foo] @post: Nice post! permalink
#
maxb1
I guess I'll try another hosting service... stupid obstacles!
#
maxb1
And thanks for the link
#
aaronpk
no i mean use that as the source URL
#
aaronpk
because it also renders the HTML
#
maxb1
Hmm that's a good point - I could abuse that for tests
srxl joined the channel
#
maxb1
But I will try to make it work on my real site like a rational person haha
bterry1 joined the channel
#
sknebel
what is WAF?
#
Loqi
A web application firewalls is software that inspects HTTP requests and tries to block malicious or suspect requests, often with a high risk of false positives due to broad defaults, and limited effectiveness against a motivated attacker https://indieweb.org/WAF
#
sknebel
2ß25-04-26 example of overeager filters: security-relevant filenames filtered as "suspicious" when attempting to write blogposts about them: https://scalewithlee.substack.com/p/when-etchsts-breaks-your-substack
#
sknebel
WAF << 2025-04-26 example of overeager filters: security-relevant filenames filtered as "suspicious" when attempting to write blogposts about them: https://scalewithlee.substack.com/p/when-etchsts-breaks-your-substack
#
Loqi
ok, I added "2025-04-26 example of overeager filters: security-relevant filenames filtered as "suspicious" when attempting to write blogposts about them: https://scalewithlee.substack.com/p/when-etchsts-breaks-your-substack" to the "See Also" section of /web_application_firewall https://indieweb.org/wiki/index.php?diff=101093&oldid=100673
nemonical, geoffo_, ttybitnik, balintm and Tiffany joined the channel
#
[tantek]
Is that really a WAF problem or a Substack silo problem?
ttybitnik, h4kor, bret and khurtwilliams joined the channel
#
perryflynn
hm... I don't get it. Test #23 does not work. It discovers the endpoint with the indieweb/mention-client-php correctly but send, for some reason, sends the mention to my webmentions endpoint instead to webmention.rocks... does anyone of you have an idea why? https://pastebin.com/VZqWBykN
#
perryflynn
tests #1 to #22 are working perfectly.
#
aaronpk
oh yeah that's a tricky one
#
aaronpk
i think the log is showing that it's actually sending two separate webmentions
#
aaronpk
i'm not sure why it's not sending the first one
#
aaronpk
notice how there's only one "Sending webmention now!"
#
perryflynn
yep. and #23 is the only one where it tries to send a webmention to my author-info page. :-D
#
aaronpk
also i was pretty sure mention-client-php passed all the tests before
[fluffy] joined the channel
#
perryflynn
by the way, I found another issue, the composer install does not work. I had to include the class by hand into my project: https://github.com/indieweb/mention-client-php/issues/43
#
aaronpk
hmm probably needs some updates for php 8.1
#
Loqi
[preview] [perryflynn] #43 composer install fails
#
perryflynn
I think the problem is the phpunit symlink. composer tries to move that and this fails for some reason. quick fix would be to remove the symlink from the repo.
#
[artlung]
right now composer says it's >=5.6
#
aaronpk
yeah feel free to delete that in a PR
#
perryflynn
will do. 👍
xgpt joined the channel
#
Loqi
[preview] [perryflynn] #44 remove phpunit symlink
#
perryflynn
I skipped test #23 for now, no clue why this is happening.
gRegor joined the channel
#
gRegor
what is indienews
#
Loqi
IndieNews is an indieweb-specific news aggregator which only accepts submissions via webmention, and is for syndicating posts relevant to the indieweb https://indieweb.org/IndieNews
#
gRegor
what is WordPress IndieNews
#
Loqi
It looks like we don't have a page for "WordPress IndieNews" yet. Would you like to create it? (Or just say "WordPress IndieNews is ____", a sentence describing the term)
h4kor joined the channel
#
gRegor
what is WordPress IndieNews
#
Loqi
WordPress Plugins are recommended plugins that can help make your site more IndieWeb friendly https://indieweb.org/WordPress_IndieNews
barnaby, CRISPR and rrix joined the channel
#
Loqi
[preview] [Khürt Williams] Claiming My Identity on Bluesky
#
gRegor
At a glance I didn't find any php-mf2 fixes for u-syndication, so I don't think it's an outdated dependency in xray
#
gRegor
Will post on github
#
gRegor
Ooh, wait. Noticed `"source-format": "activity+json"` in xray. Wonder if there's an ActivityPub plugin and xray is fetching from that instead of mf2+html?
barnabywalters joined the channel
#
Loqi
[preview] [gRegorLove] The original post looks like it's parsing h-entry with u-syndication now (trimmed [parse from pin13](https://pin13.net/mf2/?url=https%3A%2F%2Fislandinthenet.com%2Fclaiming-my-identity-on-bluesky%2F)): ```json "type": [ "h-entry" ], "properties":...
vladimirslepnev and khurtwilliams joined the channel
#
khurtwilliams
I am stumped.
#
khurtwilliams
@gRegor yes, I have ActivytPub plugin installed. Is this a known issue?
#
gRegor
I just commented. You're fine right now, we probably need to make the change I described in IndieNews so it prefers HTML from your site instead of the AS JSON.
#
khurtwilliams
I deactivated the ActivityPub plugin and things worked as expected.
#
gRegor
Nice! That definitely shouldn't be required, though. We can work around it. :)
#
khurtwilliams
thanks @gRegorLove and @aaronpk for the help! disabling the ActivityPub plugin fixed it. also cleaned up the child theme markup. webmention worked after that and the post showed up on IndieNews. really appreciate the assist.