#dev 2024-04-06

2024-04-06 UTC
Guest6, geoffo and AramZS joined the channel
#
[snarfed]
I'm just about ready for a few early beta testers for Bridgy Fed web => Bluesky, if anyone's interested
#
[KevinMarks]
Video in RSS you use `enclosure`, same as audio. Video podcasts are a thing
#
mandaris
I was playing with webmentions again today. I was trying to determine if parsers are smart enough to see an h-entry within another h-entry. For example, the following post.
#
Loqi
[preview] [Mandaris Moore] Technical Writing Chat with Ally Sassman | James' Coffee Blog
#
mandaris
The mention shows up on the site
#
mandaris
But, I'm wondering if it's showing only the title because I have a title, or if the post itself is too big, or that it only takes the first h-entry and that is too big.
#
gRegor
A lot of webmention receivers will show the post's name if it has one, yeah
#
gRegor
Typo on your dt-published property btw: `publised`
#
gRegor
I'm not aware of h-entry inside an h-entry being a pattern, though doubt it's causing a problem. Since you're quoting, it would be better to have that as an h-cite inside your h-entry
#
Loqi
ok, I added "https://snorre.io/blog/2023-08-19-atproto-bluesky-comment-system/" to the "See Also" section of /backfeed https://indieweb.org/wiki/index.php?diff=94535&oldid=92895
#
mandaris
Thanks! Great catch gRegor!
#
gRegor
Actually looked a bit closer. The <article> with h-entry class looks good, the <div> with h-entry inside it shouldn't be needed.
#
[snarfed]
^ custom backfeed implementation for Bluesky, replies only
#
[snarfed]
oh, huh, it doesn't actually seem to work though. the Bluesky comments aren't visible on that original post, and posts after that don't have it at all 🤷
#
mandaris
Now I have a new friend! He gRegor.
#
mandaris
[edit] Now I have a new friend! Hi gRegor.
#
Loqi
[gRegor] has 31 karma in this channel over the last year (117 in all channels)
#
mandaris
[gRegor]++
#
[Al_Abut]
I love the DIY advocacy vibes of this tutorial on handcrafting html and making your first website: https://lmnt.me/blog/how-to-make-a-damn-website.html
[contact898] joined the channel
#
[qubyte]
[capjamesg] that’s really neat. I did have that kind of visualisation in mind when I added the backlinks, but it mutated until I realised all I really needed is _what links here_ for each post, and I could figure the rest out later.
[tantek], mahboubine, ttybitnik and [Ros] joined the channel
#
[Ros]
↩️ I LOVE this
geoffo, chimo, AramZS, chee, GWG, shoesNsocks, [qubyte] and [Al_Abut] joined the channel
#
[Al_Abut]
[qubyte] do you have a link handy for a good post example with back links? I quickly skimmed a handful and didn’t see any, I’m digging through the blog crates this weekend for fun ideas (so to speak)
#
[qubyte]
[Al_Abut] scroll to the bottom of this one: https://qubyte.codes/blog/marqdown
#
[qubyte]
Design is not my forte. There may be better ways to display/convey backlinks.
#
[Al_Abut]
This is perfect. And very useful content-wise too because coincidentally one of my possible weekend projects is to extend my markdown files 😂 and the colophon has lots of overlap with how I work too (github to netlify). Thanks!
gRegorLove_ joined the channel
#
[qubyte]
Any time! Glad to be of help.
#
[qubyte]
Low odds, but if you happen to be using marked.js to render your markdown you might find some inspiration here: https://github.com/qubyte/qubyte-codes/blob/main/lib/render.js (this is where I extend marked’s behaviour and do some post-processing).
rrix joined the channel
#
[Al_Abut]
I’ll take a look, thanks! My current plan is to go with MDX, since it has good support in my static site generator (Astro). And because I think I misspoke - I want to just mix in custom components more than just actually changing the markdown-flavored syntax.
#
[Al_Abut]
I get tempted though when I see the nice little touches you’re doing like highlighting. That’s something I used to do a lot more of in an older incarnation of my site that was just manual html.
gerben joined the channel
#
[qubyte]
Ah, I see. You’ll probably be better off with MDX anyway. marked is fine, but a bit of a legacy I’m stuck with.
geoffo and ttybitnik joined the channel
#
[Al_Abut]
I’ve also been looking into markdoc, Stripe’s particular flavor of extending MD. Have you played with that at all? It’s probably overkill for my needs and I’ll go with the more gradual incremental approach of MDX first but it looks interesting.
#
[tantek]
if you've got your own extensions to Markdown that you use (qubyte, et al), please add yourself and link to your extensions in /Markdown#IndieWeb_Examples !
#
[tantek]
what is MDX
#
Loqi
It looks like we don't have a page for "MDX" yet. Would you like to create it? (Or just say "MDX is ____", a sentence describing the term)