#dev 2025-01-22

2025-01-22 UTC
#
[tantek]
Nah, flat (no hierarchy by default) works fine for Wikipedia, and note, it's doubtful your (or anyone's) personal indieweb site requires more complexity than Wikipedia.
#
aaronpk
but overengineering is so fun!
#
[tantek]
πŸ˜‚
#
aaronpk
and fun is one of the indieweb principles
#
aaronpk
so by all means
#
[tantek]
and this is why we have so many folks here building their own SSG, CMS, etc. πŸ˜„
thegreekgeek_ joined the channel
#
carrvo[d]
Like, overengineering is bad for business but can sometime be useful...in those super rare never-in-your-lifetime scenarios. And very tempting.
bterry joined the channel
#
GWG
I always have fun talking with you all.
bterry joined the channel
#
btrem
I just added @remy/webmention to my website project, and was promptly greeted with scary deprecation and security warnings. Does anyone here use that module? Are you concerned?
grufwub joined the channel
#
[tantek]
huh, probably worth filing an issue on it
#
btrem
I looked at the issues, and it wasn't brought up. Which surprised me not a little.
#
doesnm
About Bluesky: it's totally look like Solid but more... user-friendly? I don't need bsky services to fetch records from my pds
#
doesnm
*ATProto
[morganm] joined the channel
#
[tantek]
more developer friendly too
nemonical, Guest6, bterry1, ttybitnik, lockywolf, vuilhund, [Murray], [Alexandra_Samu], [Jo] and [KevinMarks] joined the channel
#
vinceaggrippino
I've been reading about Webmention. It looks like only the `source` and `target` are provided in the request parameters, but you get a lot more information in the response from webmention .io. Is .io parsing the entire _source_ page using the Microformats classes and storing it all in its database?
#
capjamesg[d]
I believe so, yes!
#
aaronpk
Yep exactly
#
vinceaggrippino
capjamesg++ aaronpk++ Thank you. I thought it'd be impractical to store the all the data of every page that receives a webmention using .io as its endpoint, but I guess it's not a problem. I still have a lot to learn πŸ˜…
#
Loqi
capjamesg has 45 karma in this channel over the last year (214 in all channels)
#
vinceaggrippino
It doesn't work to give two people karma in one post?
#
vinceaggrippino
aaronpk++ Thank you 😁
#
Loqi
aaronpk has 46 karma in this channel over the last year (133 in all channels)
ttybitnik joined the channel
#
[Joe_Crawford]
I think the karma works as the first "word" or last "word" (and maybe both?)
#
[Joe_Crawford]
Also, for an example of webmention data, here's a chunk of http://webmention.io data for a particular url: https://github.com/artlung/lab.artlung.com/blob/master/webmention_data/webmentions.json
#
aaronpk
I also definitely recommend downloading the data from webmention.io and storing it yourself rather than fetching it on the fly on every page load
#
vinceaggrippino
πŸ€” Static site built with 11ty... I could probably write it into the build process. It's a very low traffic site, though. If I hit .io every time the page was rebuilt it'd probably hit it more often than if I ran it client side when the page loads. I gotta think on this some more. I haven't committed anything yet.
#
aaronpk
well it's not just about performance, but also data ownership
#
aaronpk
ideally you should have your webmentions stored in case webmention.io goes away
VinceAggrippino joined the channel
#
vinceaggrippino
[Joe_Crawford]++ Thank you for the webmention data.
#
Loqi
[Joe_Crawford] has 18 karma in this channel over the last year (121 in all channels)
GuestZero_ and bugliker7 joined the channel
#
carrvo[d]
If you are storing the source in addition to the build output, you should be able to store the webmention.io data alongside your source, and integrate it during the build. Then you could hit webmention.io less frequently to update your cache of it.
jak2k joined the channel
#
[snarfed]
aaronpk++ carrvo++
#
Loqi
carrvo has 6 karma over the last year
#
Loqi
aaronpk has 47 karma in this channel over the last year (134 in all channels)
#
jak2k
What is karma?
#
Loqi
Karma is a community recognition tool used in the IndieWeb community and powered by the friendly bot Loqi https://indieweb.org/Karma
[schmarty] joined the channel
#
[schmarty]
hehehe. seen in cory doctorow's post from today https://www.flickr.com/photos/philgyford/54275634645
#
funkylarma
With 11ty I found process that fetch’s webmentions and then caches it. You can then read it into a data collection that can be used at build
#
jak2k
I fetch them using JS because I don't want to rebuild my website constantly. That would defeat the point of a SSG.
#
[tantek]
[schmarty]++ hilarious
#
Loqi
[schmarty] has 8 karma in this channel over the last year (30 in all channels)
#
Loqi
ok, I added "https://www.flickr.com/photos/philgyford/54275634645 "STOP DOING DEVOPS ON PERSONAL SITES" https://live.staticflickr.com/65535/54275634645_d7803d3c4a_n.jpg" to the "See Also" section of /admin_tax https://indieweb.org/wiki/index.php?diff=99687&oldid=98554
ttybitnik and btrem joined the channel
#
btrem
vinceaggrippino
#
btrem
stupid chat client
#
btrem
vinceaggrippino: some links to help implement webmentions in 11ty: https://sia.codes/posts/webmentions-eleventy-talk/
[aciccarello] joined the channel
#
aaronpk
followup on yesterday's email thread, it has now turned into a draft https://www.ietf.org/archive/id/draft-hallambaker-any-00.html
#
[tantek]
Huh. Disappointing to see no mention of IndieAuth nor citation of http://IndieAuth.spec.indieweb.org
sebbu joined the channel
#
[tantek]
It's like they want to just invent their own thing from a BS/ATP perspective
#
aaronpk
it's ok, it's relatively rare to cite non-ietf drafts
#
aaronpk
it does cite the client ID metadata spec that emelia and I are working on, which is part of indieauth now
#
[tantek]
yeah that's one thing that annoys me about IETF: "relatively rare to cite non-ietf drafts"
#
[tantek]
I prefer W3C's policy about how they treat citations of any standards / drafts: https://www.w3.org/guide/process/tilt/normative-references.html
#
aaronpk
it's not impossible to do, i had to go dig up permalinks for a bunch of non-ietf documents for this https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps#section-11.1
#
aaronpk
s/permalinks/stable references
#
btrem
question for anyone using markdown with front matter for their website. I'm looking for a way to separate bits of content. For short items like title, it goes in front matter. But I want to have longer items, like an appendix or an acknowledgements section. I don't want it to be in the main content for the post. The only solution I can think of is to put in front matter. But it's awkward to include a paragraph with lists insid
#
btrem
Has anyone had this problem? What was your solution?
#
aaronpk
good question... I don't have anything quite like acknowledgments section, but I do put a lot of things in the frontmatter and yes it's kind of awkward
#
aaronpk
some of my frontmatter entries are lists, but it'll be an actual YAML list then
#
btrem
Lists in yaml are easy, and I use them for all kinds of things. But markdown text in a block string is kinda messy. :(
#
capjamesg[d]
I wonder if my ideal YAML would just be Python syntax in the front matter πŸ™ƒ
#
carrvo[d]
I think it would be quite cool if browsers could render Markdown similar to how they now render PDFs. I know services like GitHub have to translate it into HTML 😦
#
btrem
Isn't yaml heavily influenced by Python? The indentation works in a similar fashion.
#
btrem
Browser rendering markdown wouldn't help me. I'd still have long markdown text blocks in my yaml, which is awkward.
#
btrem
I do objects in my yaml, too. Strings, numbers, dates, lists, objects, all of them are easy to do and human readable. But multiline markdown strings are not as easy to enter and not as readable.
#
btrem
capjamesg[d]: Not just indentation. Also yaml terminology is Python-esque, e.g., lists instead of arrays, dictionaries instead of objects (despite my last irc message!).
#
aaronpk
Yeah my longest thing in the frontmatter is the "summary" property which can be several sentences, but nothing more complex than that
#
aaronpk
maybe worth creating some sort of delimiter for sections in the content?
#
aaronpk
you could look at the markdown syntax for IETF specs for examples
gregsarjeant joined the channel