#dev 2024-01-18

2024-01-18 UTC
jjuran, Xe, bterry1, gxt and jacky joined the channel
#
[0x3b0b]
SSL error? That's not what I remember that preview tool giving me before. Hmm.
[KevinMarks], geoffo, tPoltergeist, bterry1, bterry and [lifeofpablo] joined the channel
#
GWG-
jacky, I was thinking about your destination thing
gRegor, tPoltergeist, [jeremycherfas] and [tantek] joined the channel
#
Zegnat
I am mostly out and about today, but this feels like something someone here with more time would be able to give an answer to ;) https://blog.jim-nielsen.com/2024/rss-in-html/ “I have a question: has anyone ever tried to standardize an RSS feed in HTML?”
[Paul_Robert_Ll] joined the channel
#
[tantek]
Can you reply with a link to http://microformats.org/wiki/h-feed ?
tPoltergeist joined the channel
#
[KevinMarks]
People already have. I gave him a link to here too
_IWDiscord, [aaronpk], IWSlackGateway, [capjamesg], [KevinMarks] and tPoltergeist joined the channel
#
[KevinMarks]
I wonder if this would be a good basis for a media endpoint https://berthub.eu/articles/posts/a-2024-plea-for-lean-software/
to2ds, [Joe_Crawford], [Paul_Robert_Ll], [campegg] and [pfefferle] joined the channel
superkuh joined the channel
[schmarty], [Al_Abut] and [manton] joined the channel
#
[manton]
[pfefferle] Uh oh, looking into that… Thank you.
#
[manton]
Ah, appears to be because I’m not expecting a “@” prefix on the username. Should be a quick fix. So this does work: https://micro.blog/.well-known/webfinger?resource=acct:pfefferle@micro.blog
#
[manton]
`mailto:pfefferle@micro.blog` vs. `@pfefferle@micro.blog`.
#
[pfefferle]
makes sense!
#
[pfefferle]
this was obvious!
#
[manton]
I’m not sure if this is actually documented one way or the other anywhere?
[snarfed] joined the channel
#
[snarfed]
technically yeah webfinger addresses dont have leading @ characters, but it's nice to allow them for maximum compatibility
#
[pfefferle]
or maybe to return an error
#
[snarfed]
postel's law, be conservative in what you send, liberal in what you accept
#
[KevinMarks]
Well, it's supposed to start with acct:// but that's daft too. Accepting a URL is also a good practice
angelo joined the channel
#
Loqi
[preview] The history of draconian error handling in XML
#
[KevinMarks]
A big reason feeds still work and people think rss is simple is because Mark Pilgrim went on to write the universal feed parser that would deal with thousands of kinds of errors
#
[manton]
[pfefferle] Deployed a fix for the extra `@`. Thanks!
#
[manton]
I don’t think I’ve seen an acct:// in the wild. I do want to add support for https:// WebFinger resources, though.
#
[manton]
(Haven’t seen the //, I mean, just acct:.)
[Jo] and [aciccarello] joined the channel
#
[pfefferle]
I also haven’t seen acct:// yet
#
[pfefferle]
Thanks [manton]++
#
Loqi
[manton] has 14 karma in this channel over the last year (42 in all channels)
gRegor, [jeremycherfas] and to2ds joined the channel
#
sknebel
[aciccarello]: you could also do a "on this day" with client-side scripting I guess, and have the generator prepare the next month or whatever of data files for that. if you dont have/want something that automatically pushes an update every day (not sure how you build your site)
#
[aciccarello]
That's true. I could have a JSON file that maps days to posts.
#
[aciccarello]
I have seen people schedule netlify builds too, though I've tried to avoid that.
barnaby, to2ds, [tantek] and geoffo joined the channel
#
[tantek]
lol all this "it's supposed to start with" vs "it's not supposed to start with" reminds me that's what you get when you redefine how a "simple" https profile URL should "just work" with a new random email-like syntax. webfinger--
#
Loqi
webfinger has -7 karma in this channel over the last year (-8 in all channels)
#
[tantek]
should it start with acct: acct:// @ or not? how about no and we just use URLs because those are well-specified and interoperable?
to2ds joined the channel
#
to2ds
Just a URL would be nice.
#
to2ds
Are there cases where it would not be a URL?
bterry1 and geoffo joined the channel
#
[manton]
I think acct: sort of feels right because mailto: is the same way, and email addresses and fediverse handles look the same. Which is its own problem. 🙂
#
[manton]
But I would prefer web URLs. It’s a better fit for single-user ActivityPub servers too.
gRegor-web and dustinm` joined the channel