#microformats 2022-09-21
2022-09-21 UTC
strugee, petermolnar, ur5us, smudge-the-cat, [KevinMarks] and nenuser9 joined the channel; petermolnar and smudge-the-cat left the channel
# nenuser9 Hi, i was wondering if there was already a microformat for the thing i'm working on. Essentially like rel="webring-member" to signify members of a webring
# nenuser9 this is for an HTML-driven webring bounce/redirect endpoint
# nenuser9 capjamesg hi! In short, i made a webapp where you provide the URL to a webring. The app scans that page for rel="webring-member", and finally redirects you to a member of that webring
# nenuser9 my research hasn't found any alternatives for that rel value, so maybe(?) it's fine the way it is
# IWDiscordGateway <corlaez> I think the u prefix would work well with it. u-webring, u-webring-previous and u-webring-next maybe?
# IWDiscordGateway <corlaez> u prefix may apply is what I mean.
# [snarfed]1 corlaez I assume you've seen https://indieweb.org/indiewebring ?
# [snarfed]1 and our standard advice for inventing new microformats is to wait until there's a specific concrete consuming use case
# IWDiscordGateway <corlaez> Yes, I am a member and I understand there is a process. Just talking to nenuser9 that seems to be building a concrete consuming use case
# [snarfed]1 oh sorry corlaez! meant to address nenuser9
# [tantek]4 since webrings only really have links, which always apply to the whole page, it makes sense to use rel rather a class microformat
# nenuser9 [snarfed]1 I never seen that, pretty cool!
# nenuser9 [tantek]4 sweet, it sounds like maybe i'm on the right track then
# IWDiscordGateway <corlaez> oh right... rel, makes sense
# nenuser9 thanks for the help guys
# IWDiscordGateway <corlaez> disregard my u comments, those are for microformats but as tantek said rel would be the best choice
# nenuser9 corlaez alrighty, thanks for the u- idea in any case, it was valuable for my brainstorming
# IWDiscordGateway <corlaez> Regarding h-entry/h-feed microformat. Has it been considered to assume the u-url to be the link rel="cannonical" if it is missing?
# [tantek]4 corlaez, it sounds like you're talking about a particular use-case for h-entry/h-feed, might be better to ask in #indieweb-dev
# [tantek]4 nenuser9, that's an interesting use-case to automatically identify next/prev links to other members of a web ring. what if there are multiple webrings linked from a site, would it be useful to distinguish them or does it not matter for your use-case if any random webring link is followed?
[marksuth] joined the channel
# nenuser9 so, my use case is actually for annotating the webring's homepage itself (rather than the nav on a member page)
# IWDiscordGateway <corlaez> I see, but there is potential for homepages themselves. A problem is that webrings links can get lost and are formatted in funky ways. A way to consolidate them would be nice.
# nenuser9 corlaez i agree 100%
# nenuser9 my repo might illustrate my case better <https://github.com/ChillyCider/webring_bounce>
jacky joined the channel
# [KevinMarks] You could use rel-directory for the web ring https://microformats.org/wiki/rel-directory
jacky and ur5us joined the channel
# [tantek]4 KevinMarks, rel=directory would be correct for sites *in* the webring that are pointing to the webring's home page. Not sure what is the corresponding link relation the other direction
jacky and gRegor joined the channel
# capjamesg Can there be a discussion about moving hosting for this? https://github.com/microformats/microformats-parser-website-python
# [tantek]4 In general it's a better practice to separate PRs for unrelated changes like that, especially on collaborative projects. If it's purely/primarily your own personal project, you’re only risking the annoyance of your future self (who could be quite judgmental)
# [tantek]4 yes that domain fix is probably an ASAP separate PR
jacky joined the channel
# gRegor For reference, this is the UA the PHP site uses: https://github.com/microformats/microformats-parser-website-php/blob/main/index.php#L46
jacky joined the channel