#dev 2025-05-29

2025-05-29 UTC
grufwub, gRegor and jjuran_ joined the channel
#
rubenwardy
Couldn't you have the site you're coming from in the URL. For new sites at least
#
rubenwardy
more resilient to future referrer changes too
#
carrvo
artlung++ the `grid-auto-flow` did it! Now the Kanban can be one of the two answers I hoped for.
#
Loqi
artlung has 14 karma in this channel over the last year (66 in all channels)
#
[artlung]
excellent carrvo!
barnaby and strugee joined the channel
#
[tantek]
anyone have experience with Cloudflare and caching of CSS (and how to clear such caches) ?
#
Xander
By the way [schmarty] , is there a way to update my site from https://fusil.uk/ to https://fusil.uk/?ring at all?
#
Xander
Just the ?ring makes the webrings more prominent on Mobile
#
[tantek]
[artlung] I had an extra padding-bottom which was the cause of the extra space at the end of my asides. I fixed it but now I can't get the server (or Cloudflare?) to return an updated file (I know the server has the updated file because if I append a ?random then I get the updated file)
#
[tantek]
so somehow I've made it so I can't "just" shift-reload my CSS to "force" a reload from my server, I suspect because Cloudflare is cachine it but not sure how to confirm / test
#
[schmarty]
Xander: The webring uses your IndieAuth identity URL as the landing page. No tweaksies. 😄
#
[artlung]
[tantek] typically in that cdn scenario I will delete (or rename) the file entirely for a time.
#
[artlung]
that is a PAINFUL scenario.
#
[schmarty]
tantek: cloudflare dashboard has a tool to purge a URL from the cache
#
Xander
> Xander: The webring uses your IndieAuth identity URL as the landing page. No tweaksies. 😄
#
Xander
I'll look into that, then!
#
[tantek]
thanks [schmarty]++
#
Loqi
[schmarty] has 12 karma in this channel over the last year (41 in all channels)
#
[tantek]
wow crazy traffic spike at 2am. from 100-200MB normally (per hour) to 3GB!
#
[tantek]
yup, biggest spike in the past 30d. like daily traffic is ~2GB and that day it spiked to 9GB+
#
[tantek]
awesome, found it. Dashboard left column > Caching > Configuration > [ Custom Purge ] button > Purge by: (*) URL radio button > enter URLs into the textarea below > click [ Purge ] button
#
[tantek]
and just like that, the bit of extra space at the bottoms of my asides is now gone. now it has the same space inside on the top (e.g. before the aside heading) and the bottom (after paragraph text) and looks much more nicely balanced
#
[tantek]
Cloudflare also has a "Development Mode" slider switch at the top of the dashboard that turns off Cloudflare caching completely and routes all requests to your webhost: https://developers.cloudflare.com/cache/reference/development-mode/ "Development Mode allows customers to immediately observe changes to their cacheable content like images, CSS, or JavaScript."
#
[tantek]
thanks to seeing my site demo'd at HWC by capjamesg for me to notice the presentational annoyance and then the nudge / suggestion from [artlung] which got me to look into my CSS and find the bug!
gRegor, Saige_Leah, barnaby, NaomiAmethyst and bterry2 joined the channel
#
[Trevor_Morris]
Could anyone help why my hcards aren't appears on https://indiewebify.me/validate-h-card/?url=https%3A%2F%2Fwww.trovster.com
#
[Trevor_Morris]
```<h1 class="u-author h-card"><a href="https://www.trovster.com" class="p-name u-url u-uid" rel="author">Trevor Morris</a></h1>```
#
[Trevor_Morris]
I have this in the header;
#
[Trevor_Morris]
```<section class="about vcard h-card">
#
[Trevor_Morris]
AND a more detailed version in the footer;
#
[Trevor_Morris]
<picture title="" class="photo u-photo avatar avatar--low-poly" rel="me">
#
[Trevor_Morris]
<source srcset="https://www.trovster.com/img/avatars/avatar16-lowpoly.webp" type="image/webp" alt="Trevor Morris" title="" rel="me" height="112" width="112">
#
[Trevor_Morris]
<source srcset="https://www.trovster.com/img/avatars/avatar16-lowpoly.webp" type="image/webp" alt="Trevor Morris" title="" rel="me" height="112" width="112">
#
[Trevor_Morris]
<img src="https://www.trovster.com/img/avatars/avatar16-lowpoly.webp" alt="Trevor Morris" title="" rel="me" height="112" width="112">
[Trevor_Morris] joined the channel
#
[Trevor_Morris]
</picture>
#
[Trevor_Morris]
<div class="about__content p-note">
#
[Trevor_Morris]
<p>My name is
#
[Trevor_Morris]
<span class="p-name"><span class="p-given-name">Trevor</span> <span class="p-family-name">Morris</span></span>
#
[Trevor_Morris]
& I am a movie-loving, bike-riding, full-stack <span class="role p-category">web developer</span> from the
#
Loqi
[preview] Trevor Morris
#
rubenwardy
p-author
#
rubenwardy
it's not a url
#
rubenwardy
also I've found URL linking of h-cards to just not work in most implementations
#
rubenwardy
so I duplicate an entire h-card in each post
#
rubenwardy
with stuff I want want marked as visible
#
rubenwardy
*invisible
#
[Trevor_Morris]
I don't want to add extra hidden HTML to each post just to satisfy this…
#
[Trevor_Morris]
Also, I'm not talking about checking the validity of the h-entry items. Wondering why the basic h-card isn't found.
#
[Trevor_Morris]
https://monocle.p3k.io/preview?url=https%3A%2F%2Fwww.trovster.com works quite well finding the different content. Missing content for photos and random bunch of empty items at the bottom. But movies, links, blog posts and activity are all shown.
#
rubenwardy
you have two h-card, both of which are outside a h-feed or h-entry
#
rubenwardy
your blogpost section should be a h-feed and you should have p-author on all h-feed and h-entry
#
rubenwardy
maybe the tool is looking for a feed or entry?
#
rubenwardy
and sees entries without authors?
#
rubenwardy
although says homepage
#
Loqi
[preview] [Trevor Morris] The Professor
#
rubenwardy
This is probably just a bug in indiewebify as the other parsers are finding the global h-card
#
rubenwardy
*h-cards
#
rubenwardy
sorry misread some things
#
rubenwardy
Trevor_Morris try adding a u-url to the h-card at the bottom. Reading the code, it looks like it filters h-cards by the URL
#
[Trevor_Morris]
The homepage has lots of hentry content of different types. I had a lot of the old style micro format class names and I’m just starting to add the newer hyphenated versions.
#
[Trevor_Morris]
My focus is primarily on the h-card, which I added to the homepage-linking text in the header (convention to link to homepage). The footer is informational. It has a link to my about page, but I didn’t want that to be associated with my “card”. It doesn’t include a link to the homepage, so I’ve not linked that.
#
[Trevor_Morris]
Is a link a requirement for h-card?
#
rubenwardy
I believe it's used as a unique id, so is required to link the top h-card to the bottom one
#
rubenwardy
What happens if you remove the u-author from the top card? I'm wondering if that's presenting the card from being detected. From my understanding, p-author is for a field which is only inside a h-entry or h-feed
#
rubenwardy
*preventing
#
rubenwardy
anyway these are just guesses, actual indiewebify author is here and was quite helpful when setting up my site :)
#
[Trevor_Morris]
Ah, I didn’t have the author class before. I’ll remove it.
#
[Trevor_Morris]
The webify interface wasn’t finding the web sign in, either. Although I have the mastodon link in the footer.
luca joined the channel
#
havenmatt
Hey all, I remember reading something on the indieweb site about ways in which a webpage could advertise its ability to handle certain actions/protocols--I'm planning to build an RSS reader that can advertise to a browser extension that it can be used to subscribe to feeds. Does that ring a bell for anyone? I'd love to be able to reference what IndieWeb has come up with instead of making up a *gasp* new protocol!
#
perryflynn
how will that work? add the reader to the extension as a "subscriber tool" like you can add additional search engines to the browsers search bar?
#
havenmatt
Yeah, something like this extension: https://addons.mozilla.org/en-US/firefox/addon/want-my-rss/
#
havenmatt
But instead of needing to manually configure it to point to your reader, you log into your reader and the extension detects an announcement/tag and says "do you want to use this site to handle feed subscriptions?"
#
IWDiscord
<h​avenmatt>
#
havenmatt
[edit] Yeah, something like this extension: https://addons.mozilla.org/en-US/firefox/addon/want-my-rss/
#
IWDiscord
<h​avenmatt>
#
havenmatt
But instead of needing to manually configure it to point to your reader, you log into your reader and the extension detects an announcement/tag and says "do you want to use this site to handle feed subscriptions?"
#
perryflynn
don't know if this exists already, but for search it works just with a link rel tag like so: <link href="https://serverless.industries/opensearch.xml" rel="search" title="serverless.industries" type="application/opensearchdescription+xml">
#
[KevinMarks]
What are web actions?
#
Loqi
A web action is the interface and user experience of taking a specific discrete action, across the web, from one site to another site or application, like a cross-site follow button, or a reply button on a post, which when activated, allows you to reply using your own site instead of the site you are viewing https://indieweb.org/Web_Actions
#
[KevinMarks]
I think that might be what you want havenmatt
#
rubenwardy
is there a scheme for feed reading? Maybe it's like how you can associate gmail with mailto?
#
rubenwardy
news maybe?
#
rubenwardy
@havenmatt ^
#
rubenwardy
ideally you want a mimetype rather than a scheme
#
[artlung]
rubenwardy it’s been a long time since I’ve seen the `feed://` protocol. https://nick.typepad.com/blog/2004/06/feeddemon_and_t.html (blog post, on typepad, about it)
#
[artlung]
`news://` would definitely be for usenet newsgroup type resources.
#
havenmatt
[KevinMarks]: That's it, thanks!!
#
[social]
Last evening in the Americas Homebrew gathering my http://vanderwal.net site was responding insanely slowly and shot a note to support at the host. They resolved it quickly (it was another account running PHP with max request workers in Apache.
#
[social]
Support offered to move my apps to Nginx servers off Apache. I do have one .htaccess tied to one sub-domain that I’m converting to not use it. I’ve worked with apps on Nginx and had to rethink things in the past, but I’ve not moved from Apache to Nginx before (I have a long history with Apache).
#
[social]
Is there anything else I should consider in the move?
#
perryflynn
if apache used fpm no, otherwise the file permission handling could change.
#
perryflynn
maybe also the list of available $_SERVER fields could change. so checking if https or similar things may work differently.
#
[artlung]
URL handling would be the thing that comes to mind first. But if you only have a single htaccess file it seems like you have some promise of isolation from changes there.
#
[artlung]
Bigger thing would be if they’re moving you from one machine to another is changes to php version and whether your code is ready for that.
#
[artlung]
(I have a LOT of custom mod rewrite code in my own sites and a change to ngnix for me I would not really welcome)
#
[artlung]
But in dayjobs past nginx was fine to work with.
#
[social]
Thank you perryflynn, the host manages the $_SERVER fields.
#
[social]
[artlung] The host have the same versions available on all of their virtual servers. I can set the PHP version for the application tied to a domain and sub-domain, which is really helpful.
#
[social]
Past day jobs are where I’ve used nginx as well.
#
[Murray]
ooh @havenmatt a relevant article popped up earlier, touches on some issues with `feed://` https://multiline.co/mment/2025/05/request-for-feed-reader-app-developers/
#
[Murray]
not sure if useful, but felt serendipitous
#
perryflynn
wow, multiline.co/mment is fantastic. :-D
#
[Jo]
i love the design of that site
gRegor and thegreekgeek joined the channel
#
capjamesg
Wow that site is beautiful!
[morganm] and shoesNsocks joined the channel