#dev 2024-03-19
2024-03-19 UTC
fury999io, trwnh, jacky, angelo, geoffo, jamey, jjuran and Renfield joined the channel
# [qubyte] I’m reading through Chris’ post on replacing the default markdown rendering of img tags with figures and captions. It’s a nice post and it has me thinking that I’ll replace image rendering in my own generator with something similar (mostly for rendering correct srcset collections and sizes, I’ve not yet had cause to use captions, though I do like the idea). I’m stuck with marked for now, which is a blessing and a curse. It only d
# [qubyte] strings, but that means I can pretty easily update the renderer to change image handling. https://chrisnewtn.com/posts/2024-03-10-image-captions.html
[Ana_R], geoffo, jjuran_, barnaby, AramZS, [jeremycherfas], Vale, [Tilley] and to2ds joined the channel
jjuran joined the channel
# [tantek] hey CSS people, look at the weird thing happening here, and LMK if you see a way to fix it: https://indieweb.org/Category:hashtags
# gRegor TIL: https://developer.mozilla.org/en-US/docs/Web/CSS/break-inside The <ul> has `break-inside: avoid-column`, which seems like it should avoid splitting those two links, not sure
[Murray] joined the channel
# gRegor To be clear, I'm not aware of any special consumers of h-cites that are within h-entry, like just child elements. Not a bookmark, but here's an example of mine with blockquote.h-cite https://gregorlove.com/2016/02/the-label-didnt-understand-why/ and I'm not aware of consumers doing anything special with it.
# Loqi Post Type Discovery specifies an algorithm for consuming code to determine the type of a post by its content properties and their values rather than an explicit “post type” property, thus better matched to modern post creation UIs that allow combining text, media, etc in a variety of ways without burdening users with any notion of what kind of post they are creating https://indieweb.org/PTD
[aciccarello] and lazcorp joined the channel
# [tantek] [Murray] gRegor thanks for the tip about "break-inside: avoid". [Paul_Robert_Ll] WDYT of customizing our CSS for Category: pages so that Category subheadings (like the "L" on /Category:hashtags) aren't separated from their items in the category?
[Paul_Robert_Ll] joined the channel
# [Paul_Robert_Ll] Worth a shot! (I thought `break-inside` only applied to print media, but I may be wrong)
# [Paul_Robert_Ll] Trying in dev tools, `.mw-category-group
{ break-inside: avoid }
` seems to do the trick![Joe_Crawford] joined the channel
# [Joe_Crawford] Another variation for the pile `.mw-category.mw-category-columns ul
{ break-inside: avoid-column }
`jamey, angelo_, geoffo, [KevinMarks] and adele joined the channel
# [KevinMarks] Wasn't the orphans property meant for that? Or does that not apply to more than one element?
ttybitnik joined the channel
# [tantek] [Paul_Robert_Ll]++ that worked! reload /Category:hashtags. Thanks also to [Joe_Crawford]++
# Loqi A poll is a post type that facilitates responses to be aggregated into a final set of votes, usually offering between two and four options from which users can choose https://indieweb.org/poll
# [tantek] capjamesg, did you ever post a follow-up tallies summary to your cups of coffee poll? https://jamesg.blog/2022/05/17/coffee-frequency/
# [Paul_Robert_Ll] [tantek] Thank [Murray]!
# [tantek] I am interested in figuring out how to post a plain text design of a poll, how would someone view the poll and recognize it as a poll, both visually and having their reader/browser/client recognize it semantically as a poll, how would/should someone respond/answer the poll, both visually and in a way that the original poll post could recognize it as a specific answer for tallying, and then how to display the current or final tally of a poll,
# [tantek] Happy to capture questions / explorations in /poll#Brainstorming for now async if no one else is presently interested
# [Joe_Crawford] In terms of prior art: the shorthand for creating a poll in Slack is the command `/poll` followed by strings enclosed in double quotes. The first string is the sentence, question, and the following strings are the options. So yours would be `/poll "Are you celebrating spring equinox for the Southern Hemisphere" "2024-03-19" "2024-03-20" "2024-03-21" "in September"`
# jamey revealing how little I know about IndieWeb dev implementations here... could the "why" be formatted as a reply to the poll? Maybe there's a way to pre-populate what that person's response was?
geoffo and angelo joined the channel
# gRegor [tantek], I forgot to mention that I'm trying a simplified rating scale for movies/tv based on some things you were saying in chat a couple weeks ago: https://gregorlove.com/lists/movies/#watched
[tantek] joined the channel
# [tantek] lol this domain: https://www.happy-or-not.com/en/
# [tantek] rating << Four emoji rating example 😄🙁 https://www.telegraph.co.uk/travel/news/happyornot-smiley-buttons-at-airports/ in airports after security checks and when exiting bathrooms, apparently by https://www.happy-or-not.com/en/
# Loqi ok, I added "Four emoji rating example 😄🙁 https://www.telegraph.co.uk/travel/news/happyornot-smiley-buttons-at-airports/ in airports after security checks and when exiting bathrooms, apparently by https://www.happy-or-not.com/en/" to the "See Also" section of /rating https://indieweb.org/wiki/index.php?diff=94257&oldid=92885
# [tantek] rating << Hybrid four emoji and text rating example 😄😒 and text equivalents excellent, good, mediocre, terrible! https://www.surveystance.com/airport-feedback-smiley-survey/
# Loqi ok, I added "Hybrid four emoji and text rating example 😄😒 and text equivalents excellent, good, mediocre, terrible! https://www.surveystance.com/airport-feedback-smiley-survey/" to the "See Also" section of /rating https://indieweb.org/wiki/index.php?diff=94258&oldid=94257