#dev 2024-12-13

2024-12-13 UTC
#
carrvo
I'd be fine looking tomorrow.
#
gRegor
I think here is fine. I can take a look at it
#
btrem
Since there's (at least, at the time of me writing this) two people willing, and since no one has come along to rap my knuckles for posting where I shouldn't, I'll assume it's ok. I'm going to set up a simple apache auth, just to prevent search engines from linking to a draft copy, and post the url here.
#
[mattl]
I would assume this chat is crawled by search engines fwiw.
btrem joined the channel
#
btrem
password: indieweb2024
#
btrem
username: indieweb
#
btrem
The password is, as I said earlier, just to prevent web spiders from crawling it.
#
btrem
If I ever get around to moving my site to netlify, I'll improve how I publish article drafts. ;-)
#
[tantek]2
Nice
CRISPR, glacier and GuestZero_ joined the channel
#
doesnm
btrem: why not disallow drafts directory via robots.txt?
#
superkuh
robots.txt is just a suggestion.
#
carrvo
I already know that a few bots follow any link here. They showed up in my logs conspicuously after posting a link.
Maxpm and btrem joined the channel
#
btrem
Bots might try to follow links here, but a password protected directory will for practical purposes block them.
Guest6 and GuestZero joined the channel
#
aaronpk
you will definitely get a visit from at least Loqi, slackbot and discordbot when they try to unfurl the link
parnikkapore_x joined the channel
#
doesnm
Loqi crawl links? For which reason?
#
aaronpk
to show the link preview in the chat
#
aaronpk
not so much "crawl" as a single fetch
Guest6_ joined the channel
#
[tantek]2
and then also Internet Archive's Wayback machine fetcher/crawler presumably
#
aaronpk
haha right
#
aaronpk
and if anyone is using a cloud IRC client, it also likely fetches the link
#
immibis
why should that feature be limited to cloud IRC clients? i suppose because they're trying to maximize their own adoption
#
aaronpk
well my IRC client definitely doesn't, but that's because it's a command line client. it's been a long time since i've used a GUI IRC client but last time I did, they did not do link previews
#
[mattl]
http://irccloud.com which I use for some stuff does it
#
[Joe_Crawford]
today's exercise in removing jQuery and using checkboxes and has was liner notes for a mix-CD I made in 2010. https://smorgasborg.artlung.com/mefiswap/ (and as a bonus, I made it work without JavaScript for the Anti-JS zealots)
sebbu, shoesNsocks and gRegor joined the channel
#
carrvo
btrem your draft looks fine. Though admittedly I know little about microformats yet. I did find it easy to follow between your template, the resulting HTML, and the parse of it.
#
doesnm
im use senpai+soju from psf.lt. This pubnix also host my "site"
#
gRegor
btrem, good post! It's kind of like a YAML serialization of the mf2 instead of JSON, which makes sense for your templating setup.
#
gRegor
Might already be on your radar, but you could add alt text to your images using the nesting, similar to the `location.adr` nesting
#
arekenaten
Command line irc clients? I guess that makes sense, but I hadn't considered it. What's the UX like?
#
aaronpk
not good 😂
#
arekenaten
Haha I figured maybe not but it works it works I guess
#
gRegor
what is irc
#
Loqi
💬 Internet Relay Chat (abbreviated IRC), in particular the #indieweb channels on the libera.chat network, is the primary community discussion forum for IndieWebCamp and anything about the IndieWeb https://indieweb.org/IRC
#
gRegor
I should probably switch to something, since Hexchat is no longer maintained
#
Loqi
it is probable
gRegorLove_ joined the channel
#
gRegor
Alright, that was funny to get d/c right after that message XD
gRegorLove_ joined the channel
#
btrem
@ <carrvo> thanks for the feedback. It's actually really a good sign if you could follow it without knowing much about microformats.
#
btrem
@ gRegor thanks for the feedback. That's a good way to put it, a yaml serialization of mf2 instead of json. I don't like json because I find it hard to read. It's particularly hard to spot missing or present-but-illegal commas.
#
carrvo
Here is a question: the IndieAuth specification mentions that "the [introspection] endpoint MUST also require some form of authorization to access this endpoint", but how can this be done without registration? The spec also mentions "Client registration at the authorization endpoint is not necessary"
#
btrem
The drawback to yaml is that they made it way more complicated then it needed to be, so parsers have to follow rules that nobody needs. I ran into some issues that amde no sense until I read the yaml spec carefully.
#
btrem
gRegor re: alt attribute: the post was about microformats, not image accessibility, so I left the alt attribute empty in the examples. As it is, the post is *really* long. So long, that I am still considering breaking it up into two posts. Part of the reason it's so long is not so much the text but the multiple code examples. Any thoughts on the length? Too long as is?
#
btrem
Also, I'm probably going to get flamed for saying this, but 99% of the time, I intentionally leave the alt attribute empty, because putting a value in it would just duplicate what's already in the page, either in a `figcaption` or in the surrounding text.
#
btrem
I'd even go so far as to say that it's extremely rare to see anyone use the alt attribute correctly, mostly because there's so much bad information about it on the web. :(
[Al_Abut], [marksuth] and [schmarty] joined the channel
#
[schmarty]
carrvo: the introspection endpoint is not for indieauth clients. in oauth terms, it's for "resource servers" - things like your micropub server that will receive a token from a client and need to verify that the token is valid, who it belongs to, what scopes it was granted, what client requested it, etc.
#
[schmarty]
it's expected that the indieauth server and resource servers know about each other, allowing some kind of authenticated access to the introspection endpoint.
#
[schmarty]
aaronpk has more details from the oauth perspective: https://www.oauth.com/oauth2-servers/the-resource-server/
barnaby and gRegorLove_ joined the channel
#
gRegor
btrem, fair on the post length and if you're not using alt text regularly. I mentioned it because mf2 parsing does get alt text for photos
#
gRegor
what is alt text
#
Loqi
alt is a required attribute of the <img> element and should be provided in any use of images on indieweb pages from photo posts to featured and other images in articles https://indieweb.org/alt_text
#
gRegor
I think the post length is fine
#
[tantek]2
Longer than "a picture", shorter than enough to make someone stop you as read it out loud on the phone and tell you "cool story bro"