#dev 2024-01-06
2024-01-06 UTC
# [KevinMarks] @real_devastatia did you already try webmention.rocks?
tiger1 joined the channel
# [snarfed] monitoring says no, https://snarfed.org/granary-20230105.jpg
# [snarfed] TIL that Firefox on desktop doesn't support installing PWAs to desktop, ie in a "site-specific browser." interesting. https://tech.lgbt/@nelson/111705157808396309
angelo and jacky joined the channel
zzo38 joined the channel
# zzo38 I have seen the document in this wiki relating to Gemini protocol.
# zzo38 One question I have is: Would categories be added for protocols and file format (which it defines both)?
# zzo38 Also, I invented my own called Scorpion protocol/file-format, too.
geoffo joined the channel
# Loqi Anything directly related to people with their own websites, such as technologies and services used, design and UX, formats and protocols, as well as events or podcasts with IndieWeb talks or content are relevant to the IndieWeb wiki https://indieweb.org/relevant_to_the_IndieWeb
zzo38 joined the channel; zzo38 left the channel
# zzo38 There are articles about protocols there though including Gemini, NNTP, and others, but seems not a wiki category for such pages?
zzo38 left the channel
# Loqi 💬 Join the #indieweb discussion via the web, Slack, IRC, Discord, or Matrix clients now with additional channels for dev, wordpress, and meta specific chat! https://indieweb.org/discuss
bterry, jacky_, angelo and gxt joined the channel
# real_devastatia [KevinMarks]: I haven't tried any Webmention implementation. I built a Twitter-style @mention system on my site that uses e-mail for notifications. I want to extend that to send Webmentions if the mentioned person has an endpoint, and fall back to e-mail if they don't.
gxt joined the channel
# real_devastatia Here's an extreme example where I mentioned practically everybody in my address book: https://devastatia.com/403-reasons-my-website-is-free
gxt joined the channel
# real_devastatia Oh, I see. It's a validator. That'll be useful. Thanks, Kevin!
# real_devastatia tantek_com[d] Can an h-card have more than one p-category?
# real_devastatia Are the properties separate elements or a single element with comma-separated values?
# real_devastatia These are intended for machine consumption, yes? I can hide them with CSS display:none ?
# barnaby I’m pretty sure CATEGORIES in vCard is intended to be used for the address book owner to organise contact information, rather than it being self-declared categories from the contact publisher, but which made it into h-card due to being in vCard. So it’s a little unclear exactly what would be useful to put there when using h-card for your personal site profile information
# barnaby Zegnat has one of the most filled-out h-cards out there and even they don’t use p-category for anything, so you’d be breaking new ground ;) https://vanderven.se/martijn/
# real_devastatia A number of use cases are listed here. Or did you specifically mean categories should be left out? https://indieweb.org/h-card
# real_devastatia All right. I'll have it up in a few seconds. Thanks!
# [KevinMarks] PWA should be "Web App"
# real_devastatia Barnaby, I think the newline escape is superfluous here, as whitespace includes newline: preg_replace('/[\s|\n]+/', ' ', $str);
# real_devastatia https://github.com/microformats/php-mf2/blob/main/Mf2/Parser.php line 109
# real_devastatia Transforming HTML to JSON is a cool idea. I wrote an Apache access log parser that converts the entries to JSON.
# real_devastatia You may find this interesting. Rather than having a huge array of entry objects in memory, it implements Iterator to emulate looping over lines in a file as though it were a JSON array.
# barnaby I’ve not measured it, but I suspect the memory requirements of loading the source page into a DOMDocument far outweigh the size of the output array. It might be possible to implement a streaming mf2 parser in PHP, but you’d need a streaming HTML parser too. In practice it hasn‘t been an issue yet
# [KevinMarks] Microformats is html to json, though only some html. The xoxo format is <ul><ol>and <dt><dd>to json and back
# real_devastatia I have a widget on my site that polls the server every 5 seconds, which generates a huge access log. I'm pretty sure PHP would crash if I tried to load the whole log file (or the JSON version thereof) all at once.
# real_devastatia I actually don't even look at access logs and stats anymore. I worked for a marketing company, and they were obsessed with that stuff. It was a hard habit to break. I finally just stopped worrying about it. If my posts are interesting, they will come.
[tantek] joined the channel
# real_devastatia Exactly. It's gratifying to get an e-mail saying your work made a positive difference in somebody's life.
# [tantek] real_devastatia, yes multiple p-category elements like barnaby said. You can check my h-card for an example of marking up visible self-description text with p-category: https://tantek.com/
# tantek.com reacted with 👍 to <real_devastatia[d]> tantek_com[d] Can an h-card …
# real_devastatia Interestingly, Brad's comments section seems to have pulled everybody's h-card but mine. Are they all on WordPress or something?
# real_devastatia micro.blog
# Soni btw, re: trophy case https://iceshrimp.dev/iceshrimp/iceshrimp/issues/484
geoffo, Jo1, lazcorp, [Joe_Crawford] and jacky joined the channel
# capjamesg starrwulfe[d] The closest I got was writing a static front-end for WordPress.
# capjamesg WordPress has a pretty good API!
geoffo, gRegor, petermolnar, [TMichelleMoore] and ShinyCyril joined the channel
bterry, lazcorp, to2ds, geoffo and [tw2113] joined the channel