#microformats 2022-09-22

2022-09-22 UTC
jacky, ben_thatmustbeme, angelo, ur5us, gRegorLove_, gRegorLove__ and gRegor joined the channel
#
capjamesg
[tantek] Any thoughts on the user agent query above?
ur5us and jacky joined the channel
#
@aburone
↩️ I've used microformats for that (event microformat). But I'm not totally sure of what would a SR read out for only the date
(twitter.com/_/status/1572959167035342849)
[Jamie_Tanna] and jacky joined the channel
#
[tantek]4
capjamesg, re: UA does the "version" make sense without saying it's the PHP parser?
jacky, [campegg] and [Murray] joined the channel
#
capjamesg
Does the PHP version not add the server name?
#
capjamesg
Microformats2 parser v1.2.1 (via python.microformats.io) Mozilla/5.0 Chrome/29.0.1547.57 Safari/537.36
#
capjamesg
That's what I was thinking for the mf2 python website one.
#
capjamesg
If that's good, I'll submit a PR.
jacky joined the channel
#
[tantek]4
what is the "v1.2.1" a version of?
#
capjamesg
The version of the parser.
#
[tantek]4
I suppose the "(via python.microformats.io)" implies that, however do you see what I mean about it being unclear to have a version number detached from the name of the software being versioned?
#
[tantek]4
or is the name literally just "Microformats2 parser"?
#
[tantek]4
which doesn't disambiguate with the PHP or JS parsers which I think have similar names
#
capjamesg
I understand.
#
capjamesg
"python.microformats.io (parser v1.2.1) Mozilla/5.0 Chrome/29.0.1547.57 Safari/537.36"
#
capjamesg
Or even remove the parser versoin entirely.
#
capjamesg
"python.microformats.io Mozilla/5.0 Chrome/29.0.1547.57 Safari/537.36"
#
capjamesg
[tantek] wdyt?
#
[tantek]4
I like the domain in the path, especially if we have an FAQ or top level question like "Why is this in my server logs?" that goes to an FAQ on the wiki etc. for folks that are wondering what's going on.
#
[tantek]4
I wonder if it's still worth including a short version of the software immediately after the domain like
#
[tantek]4
mf2py/1.2.1
#
capjamesg
I think that would be prudent.
#
capjamesg
"python.microformats.io (mf2py/1.2.1) Mozilla/5.0 Chrome/29.0.1547.57 Safari/537.36"
#
capjamesg
Why do we have the Mozilla / Chrome / Safari UAs?
#
[tantek]4
probably ancient UA-sniffing logic in software that sends different content
#
[tantek]4
or in some cases, config level blocking of anything that's "not" a "browser"
#
[tantek]4
I'd be ok with dropping them. I'm curious what others think (especially those who have written crawlers)
#
aaronpk
i've had to add it to mine to avoid some sites blocking the requests
ur5us joined the channel
#
[tantek]4
for webmention discovery?
#
[tantek]4
or pin13?
jacky joined the channel
#
capjamesg
Perhaps we should keep them in.
jacky joined the channel
#
[tantek]4
maybe fewer changes at a time
#
gRegor
+1 for lib name/version in the UA. I can PR the php site to follow
#
gRegor
`php.microformats.io (php-mf2/0.5.0)...`
#
capjamesg
I'll make that PR for the Python one soon.