#microformats 2017-03-08

2017-03-08 UTC
nitot, KevinMarks, [keithjgrant], KevinMarks_, tantek, KartikPrabhu, reidab, [kevinmarks], [jeremycherfas] and Harzilein joined the channel
#
Harzilein
hi
#
Harzilein
is there an accepted way to mesh hcard with the goodrelations opening hours spec?
#
Harzilein
(i know some use the openstreetmap opening_hours style instead)
#
Loqi
opening-hours
#
Zegnat
And tantek has added documenting hours to the indieweb wiki about venues, as an extension he would like to see: http://indieweb.org/venue#Extensions
#
Zegnat
Do you have a link for the good relations opening hours spec?
ben_thatmustbeme, KevinMarks and nitot joined the channel
#
Harzilein
i guess tantek's draft is what i found earlier then... http://www.heppnetz.de/ontologies/goodrelations/v1.html#hasOpeningHoursSpecification <- that's the good relations approach
#
Harzilein
the example is a bit weird, but there is some schema information that states there can be multiple opening hours specifications
#
Harzilein
i keep all my individual and org contacts as haml "sources". i'd really like to add opening hours for org contacts (and possibly for individuals, like teaching assistants etc.)
#
Zegnat
That GoodRelations one reads like a bit of a mess, biut that might just be me
#
Harzilein
"office ours"
#
Harzilein
"office hours"
#
Zegnat
schema.org has their opening hours as well, if you are going for the microdata approach: https://schema.org/openingHours
#
Zegnat
But they too find multiple opening hours a little confusing: https://github.com/schemaorg/schemaorg/issues/245
nitot joined the channel
#
Harzilein
Zegnat: hmm
#
Harzilein
Zegnat: yeah, the link on the bottom there points to an approach i could use right now (i feel extending hcard through <script type="application/ld+json"> seems like an approach that is not too invasive, i'd need to write my own converter anyway)
#
Harzilein
of course it does not fit the microformat philosophy well
#
Zegnat
Doesn’t fit at al, as JSON islands would be invisible metadata
#
Harzilein
Zegnat: there's also no way to state that my "hcard org" is a "schema location" :/
#
Zegnat
Note that microformats2 do not require specific property names for the parsers to work. So you could start experimenting with your own properties on the h-card right now.
#
Zegnat
http://microformats.org/wiki/microformats2#VENDOR_EXTENSIONS lists "p-x-prep-time" as an example of how to do your own experimental property
#
Harzilein
argh, so i should use h-card instead of hCard? :DDDD
#
Loqi
microformats2
#
Zegnat
You could add a p-x-opening-hours to your h-card and see how it works out. Then add that as something you are working with to either the indieweb.org or microfoformats.org wiki and try to find more adoption for it.
#
Zegnat
I would definitely recommend going over to h-card unless you currently have a usecase for the older hCard specifically
TallTed joined the channel
#
Harzilein
i don't really have use cases (i.e. i don't publish the data), i just like to have the lazy semantic web sort our implementations for me every now and then. i like the "operator" extension for mozilla browsers for example :)
#
Harzilein
sort out*
#
Zegnat
I guess everyone has been too lazy to pick up on experimenting with opening hours in microformats ;)
nitot, KevinMarks and KartikPrabhu joined the channel
#
@thibaultmilan
Je me sens vieux, J’ai retrouvé http://gmpg.org/xfn/creator ? Ca me ramène loin ça #microformats #XHTML
(twitter.com/_/status/839517737139515392)
KevinMarks_, tantek, KevinMarks, [barryf], [chrisaldrich], KartikPrabhu and [cleverdevil] joined the channel