#microformats 2017-06-18

2017-06-18 UTC
#
gRegorLove
tantek: I had a question about VCP dt-parsing. On http://microformats.org/wiki/value-class-pattern#Date_and_time_parsing for "if the value has *only* a specific time (with or without timezone)" the timezones are all XXYY variants..
#
gRegorLove
Then below that "if the value has *only* a specific timezone" it allows an XX-only variant
#
gRegorLove
I was wondering if those XX-only variants should be allowed in the time+timezone section as well
#
gRegorLove
e.g. <span class="value">HH:MM-XX</span>
#
tantek
wow that was so long ago I don't remember the examples that lead to that design, and I don't think I was as diligent as capturing / publishing examples at that granularity back then :(
#
gRegorLove
The difference between the two is a minor regex update, so I could leave it as-is for now and it can be changed in the future.
#
gRegorLove
checks what other parsers do
#
tantek
gRegorLove: lacking specific examples / use-case needs, another principle to use in answering this question is which is more predictable / easier to understand for authors?
#
gRegorLove
If we allow hour-only tz offsets, I think it's easiest if it's allowed in both parts
#
tantek
I cannot remember why hour-only tz offsets made sense or were necessary
#
tantek
and that seems like both extra parsing work, and extra author knowledge (that it is possible to do hour-only)
#
tantek
the next principle to consider is which is more conservative in terms of what is allowed / supported as "valid" content?
#
tantek
the point being, it's easier to add flexibility later than to remove it
#
sknebel
writing just "GMT+2" or whatever is quite common, if you're using vcp you then can just add a span to the "+2"
#
gRegorLove
Perhaps it originated because ISO8601 allows +-HH format
#
tantek
ISO8601 allows for a lot that typical subsets (RFC3339, W3C-Date-time-note) do not
#
tantek
sknebel makes a stronger point
#
sknebel
(I was thinking about the indieweb HWC pages, but of course there the timestamps are not marked up because they are not indiivdual events)
#
gRegorLove
It's not much extra parsing work, for php-mf2 at least. Just a modified regex
#
tantek
sknebel - if it is quite common, can you find a real world example to cite?
#
gRegorLove
Agreed, good example sknebel
#
tantek
that way we can collect that (perhaps in /timezone-examples )
#
tantek
and then cite that in any clarification to /vcp
#
gRegorLove
Interesting. Ruby parses <span class="value">13:30-07</span> as "2017-06-17 13:30:00"
#
tantek
language date-time parsing support is sloppy to nonexistent for timezones
#
gRegorLove
Oops, didn't paste the date part of that html. Date is specified separately
#
gRegorLove
<span class="value">2017-06-17</span><span class="value">13:30</span> parses correctly as "2017-06-17 13:30"
#
gRegorLove
Ruby parser, I mean
#
gRegorLove
mf2py drops the time and timezone if I specify HH:MM-XX, only gets the date part
#
gRegorLove
tantek: After collecting examples, should I hopen a github issue on https://github.com/microformats/microformats2-parsing?
#
Loqi
[microformats] microformats2-parsing: For collecting and handling issues with the microformats2 parsing specification: http://microformats.org/wiki/microformats2-parsing
#
gRegorLove
(hopen? what? h-open? heh)
davidmead joined the channel
#
tantek
yes, as /vcp is a normative part of /microformats2-parsing, that's the best way forward to make an explicit change in vcp
#
gRegorLove
/vcp is locked for edits btw
[eddie], tantek and [miklb] joined the channel
#
gRegorLove
Wow, the Wikipedia Microformats project experimented with a microformat for species: https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Microformats/classes#Species
#
@alek3_ii
Webを支える技術のmicroformatsの章、完全に???状態で終わってしまった
(twitter.com/_/status/876274824670199809)
KartikPrabhu joined the channel
#
ben_thatmustbeme
Microformats seems gets a lot of references in Japanese tweets
#
ben_thatmustbeme
Err 'referenced a lot'... Grammar
barpthewire, gRegorLove, AngeloGladding and tantek joined the channel
#
@t
11y ago: “Open data formats, longevity, and microformats” http://tantek.com/log/2006/06.html#d17t2231 Still ok. Minus XHTML: http://tantek.com/2017/169/t1
(twitter.com/_/status/876364881666224128)
#
@t_s_institute
11y ago: “Taylor Swift formats, longevity, and microformats” http://tantek.com/log/2006/06.html#d17t2231 Still ok. Minus XHTML: http://tantek.com/2017/169/t1
(twitter.com/_/status/876364968345706496)
edsu, lukehansford, sketchess and tantek joined the channel
davidmead, [shanehudson], lukehansford, Garbee, [miklb] and tantek joined the channel
#
sknebel
tantek: have you considered blogging about https://microformats.io/ on microformats.org? It's a good introduction and right now not all that easy to find, a blog post would but it relatively centrally on microformats.org
#
Loqi
Microformats
#
tantek
good morning sknebel
#
sknebel
good morning
#
tantek
sknebel: where did microformats.io come from?!? I don't think I've seen it before
#
Zegnat
shaners made it
#
sknebel
oh wow. shane becker made it
#
tantek
this is amazing
#
tantek
shaners++
#
Loqi
shaners has 13 karma in this channel (76 overall)
#
sknebel
and a bunch of people around the parsers have contributed the web interfaces for the individual parsers
#
Zegnat
it was used a lot during the vcp issues, as it gives quick access to several parsers
#
tantek
it looks very new
#
sknebel
3-4 weeks or so
ClonedZegnat, [eddie], lukehansford, [kevinmarks] and [chrisaldrich] joined the channel
#
@t
Simple & beautiful #microformats intro for web authors & devs: https://microformats.io/ Great work @veganstraightedge (ttk.me t4ov2)
(twitter.com/_/status/876476069095890944)
Garbee joined the channel
#
@aburone
@adactioLinks Since you posted this... Which would be the "correct" microformats for a physical product in a e-com… https://twitter.com/i/web/status/876497748480098304
(twitter.com/_/status/876497748480098304)
Guest85111, barpthewire, tantek, [miklb], ClonedZegnat and KartikPrabhu joined the channel
[miklb], KartikPrabhu, [eddie] and [sebsel] joined the channel
davidmead, [kevinmarks] and [miklb] joined the channel