#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
#
capjamesg
nenuser9 Hello! I'm not sure if there is a microformat for being a participant in a webring. What feature(s) are you trying to enable?
#
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>
#
Loqi
[ChillyCider] webring_bounce: WSGI app that provides bounce URLs to HTML-driven webrings
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
#
capjamesg
It's on Heroku right now.
#
Loqi
[microformats] microformats-parser-website-python: Website for Microformats Python parser (mf2py & mf2util)
#
aaronpk
why is that bad?
#
gRegor
Should be ok as long as we're on a paid account or one of their open source plans? Most of the subdomains are there afaik.
#
capjamesg
I'm trying to update everything and I'm running into Python 2 vs. 3 issues.
#
capjamesg
I think I can overcome them though.
#
aaronpk
they must have a way to run python3
#
Loqi
yay!
#
capjamesg
It was a gunicorn issue.
#
capjamesg
I bumped everything and the Heroku runtime.txt and everything is good.
#
gRegor
Definitely add any helpful info to the readme
#
Loqi
[capjamesg] #5 Enable experimental alt text attribute, bump versions, add new debug mode for local coding
#
capjamesg
I promised this a few days ago but there's the PR to enable the image alt text attribute.
#
capjamesg
Ah, the README needs work. I'll do that tomorrow!
#
capjamesg
[tantek]++ for the feedback.
#
Loqi
[tantek] has 2 karma in this channel over the last year (72 in all channels)
#
capjamesg
I shouldn't run a style program on a script when I'm making a feature change. That's a good learning.
#
capjamesg
I just committed an update to the project with a new readme, although I can separate that out into a different PR if that's better.
#
[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)
#
capjamesg
I appreciate the feedback.
#
gRegor
We should prob change that user-agent `mf2.kylewm.com` since zombie domain now
#
gRegor
also since we have python.microformats.io :)
#
capjamesg
Maybe a separate PR for that? I'm happy to file it.
#
capjamesg
Should we replace the domain with the official Python microformats.io one?
#
gRegor
Sure, probably doesn't need to be in this PR.
#
capjamesg
I'll write the change.
#
gRegor
I don't know python well so that's my only feedback, haha
#
[tantek]4
yes that domain fix is probably an ASAP separate PR
jacky joined the channel
#
gRegor
Not sure what's best practice in this case
#
capjamesg
[tantek] any thoughts re: the UA string after the microformats bit?
#
capjamesg
We can follow that same pattern in the Python one.
jacky joined the channel