#dev 2021-04-28
2021-04-28 UTC
[KevinMarks], [tw2113_Slack_], [mapkyca] and jeremy joined the channel
#
@tomlarkworthy ↩️ It's a feature in my notebooks, I am adding a load of IndieAuth stuff (including a server) in https://observablehq.com/collection/@endpointservices/indieauth/2 (twitter.com/_/status/1387302386503401474)
loicm, Seirdy, [Rose], Paul[m]2, smacko[m], reed, Caleb[m]1, jamietanna[m], edsu, Salt[m], astrojl_matrix, forest[m], JackyAlcin[m], fredcy_, batkin[m], Ethan[m] and [Murray] joined the channel
#
[Murray] @petermolnar it's a bit cursed, but I've seen fallbacks that use `background-image` to place the png, which is then covered up by the SVG for browsers that support it. There may be a way to combo that with CSS `@supports` so that it is removed for more modern browsers, or you could always use JS to remove that style.
[KevinMarks] joined the channel
#
[KevinMarks] can you use the src vs srcset technique?
#
[KevinMarks] put the svg in srcset, and the old browser will use src?
#
[KevinMarks] more techniques here https://css-tricks.com/a-complete-guide-to-svg-fallbacks/
[grantcodes] and minoru_shiraeesh joined the channel
#
petermolnar the <image> trick looks interesting
barnabywalters, shoesNsocks1 and [schmarty] joined the channel
#
[schmarty] snarfed++ for the excellent glitch.com custom domain sleuthing
#
[schmarty] i got a big hint visiting the http:// version of the site which showed not `found: kapowski.schmarty.net`
#
[schmarty] so i went to my project and removed the custom domain, then added it back, and 🎉 it works again. 🤷♂️
[snarfed] joined the channel
[aciccarello], [tantek] and [calumryan] joined the channel
[schmarty] joined the channel
#
[schmarty] tantek: that was the spirit in which I tried it 😂
[KevinMarks], [grantcodes], shoesNsocks, shoesNsocks1, tomlarkworthy, jamietanna, alex11, Poorchop and [chrisaldrich] joined the channel
#
Poorchop I could use some tips regarding an implementation for sending webmentions - I was thinking of aggregating all of my posts in an xml file that gets autoupdated with every new post, then writing a script to parse that file depending on the depth/number of items that I specify which I call after pushing changes to my site
#
Poorchop I'm not really sure how to implement sending webmentions for updated posts though
#
Poorchop do I need to create a database of all sent webmentions with associated URLs and then regularly check if the URL has changed in order to decide whether to re-send webmentions?
#
Poorchop a lot of this sounds prohibitively confusing for the average layman
#
barnabywalters greetings Poorchop!
#
Poorchop oh I thought that was referring to updates on the receiving end
#
Poorchop as in a post that I mentioned in the past was updated or moved to a new location
#
Poorchop I don't know if I'm going to implement receiving webmentions, it's incredibly tough for someone like me to write an implementation
#
barnabywalters Poorchop: I suppose you know about https://webmention.io/?
#
Poorchop I figured that it would just be easier to send them once I work out the logic for updating my posts
#
Poorchop yes
#
Poorchop I just don't want to rely on a third party service, that's a major reason why I host my own site in the first plac
#
Poorchop yeah but I was approaching this from the perspective as being something that the average person on geocities could've implemented back in the day
#
Poorchop that's definitely not the case
#
barnabywalters well, if you don’t want to implement your own incoming webmention handling, then relying on webmention.io is a reasonable compromise for still being able to show reactions to your posts
#
Poorchop true
#
Poorchop I'm not too concerned with receiving webmentions anyway, I don't want to know who is reading my site - I just want to let other people know that I'm reading their stuff so that they don't disappear
#
[KevinMarks] What is your site coded in? There may be an existing webmention receiving library you can use
#
Poorchop it's just html and css with some python scripts handling some automation
#
Poorchop I saw mf2util and I think that I'll need to use it for sending mentions
#
Poorchop in order to parse for the endpoint or whatever
#
Poorchop it's a weird process because I make changes locally and then upload via ftp, so I gotta remember to run the webmention script on the server when everything is in finally in the right place
Seirdy, tomlarkworthy1 and [Ana_Rodrigues] joined the channel
#
Poorchop is there a test endpoint that automatically deletes received mentions after some time? I don't want my test to be on https://aaronparecki.com/2018/06/30/11/your-first-webmention forever
[tw2113_Slack_] joined the channel
#
barnabywalters you can delete webmentions by sending a webmention again, but having the source URL return a 410 Gone response
#
barnabywalters …in theory. not sure how many implementations actually support that
#
barnabywalters mine definitely doesn, yet
alex11 joined the channel
#
petermolnar (so, this is not for -chat) for HWC Europe: https://github.com/eentzel/htmltruncate.py - this is what I used to truncate HTML instead of a full fledged parsing unit
#
[KevinMarks] did Quill's email support go away?
#
[KevinMarks] https://quill.p3k.io/email says not available
#
[KevinMarks] poorchop: we have a couple of webmention receiving implementations in python
#
Poorchop thanks
minoru_shiraeesh, [calumryan], __minoru__shirae, Seirdy and [snarfed] joined the channel
#
[snarfed] also https://github.com/Ryuno-Ki/webmention-tools and https://github.com/snarfed/webutil/blob/master/webmention.py (very new and immature)
shoesNsocks and shoesNsocks1 joined the channel
#
Poorchop I'm getting "HTTP/1.1 405 Method Not Allowed" when sending a webmention via curl as described in the your-first-webmention post
#
Poorchop trying to send it to webmention.rocks/test/4
#
Poorchop it definitely looks like I typed everything correct - could the problem be using the in-reply-to class?
#
Poorchop u-in-reply-to*
#
aaronpk for #4, the webmention endpoint is https://webmention.rocks/test/4/webmention not https://webmention.rocks/test/4
#
Poorchop sending it to the URL with the webmention endpoint as the target
#
Poorchop oh
#
Poorchop awesome, it mostly worked thanks
#
Poorchop "The post did not provide a URL, using source instead" not sure what I missed
#
Poorchop but it showed up at least
#
Poorchop I'm guessing because I didn't add a timestamp
#
Poorchop got it
#
barnabywalters I like how webmention.rocks is sneakily also a basic h-entry validator
#
barnabywalters come to test webmentions, leave with valid h-entry markup because your test report looked so much prettier that way
#
Poorchop can I provide a u-url without wrapping it around a time tag?
#
Poorchop or is that a webmention violation or something
#
barnabywalters you can provide u-url however you want
#
Poorchop thanks
#
barnabywalters just add class="u-url" to an <a> element on the page which contains the canonical URL of the post
#
barnabywalters (where “contains” means “is in the href attribute”, ovbiously)
#
Poorchop even though I do this in the RSS feed, it's kind of funny referencing the URL of a post that doesn't exist yet before pushing to the server
#
barnabywalters you can see how your page gets parsed for microformats here: http://pin13.net/mf2/?url=http%3A%2F%2Funseensounds.com%2Fnotes%2F2021%2F04%2F28%2Freply.html
#
Poorchop nice
#
Poorchop yeah I was just about to add it as "permalink" text
#
barnabywalters I suppose a <link> element would be more appropriate for truly hidden links
#
barnabywalters but having hidden data is a microformats anti-pattern anyway
[chrisaldrich] joined the channel
#
Poorchop I've spent hours trying to get the layout right versus minutes on trying to actually send a mention
#
Poorchop CSS is once again the final boss
#
@LyricDominick Me: Let's rewrite the CSS My site: https://pbs.twimg.com/media/EzMHLhIVgBgkZSI.png (twitter.com/_/status/1383457409495011330)
#
petermolnar ok, I burst into laugh
tomlarkworthy and [aciccarello] joined the channel
