#btremJackyAlcin[m] What is the microformat that can handle opening hours? I was under the impression that it wan an effort that got started, but never finished.
#jackyby not specifying names, you could just show a "blocked off" region versus having to worry about munging names together (if they're closed for lunch, for example)
#jackyit'd be nice to have a dedicated format for this
#jackybut I think that (with some additional plumbing) could give the needed info for things
#btremI looked into a few months ago, when I was mucking around with a format for food menus and an include pattern.
#btremI agree, it'd be nice to have something. At the time, I couldn't really come up with an opening hours spec that would work for the seemingly endless variations.
#btremPart of the problem is that visible data is rarely in a machine readable format, so opening hours vocabularies rely on hidden data, and the visible and invisible tend to fall out of sync.
#jackyespecially since doing stuff like this isn't really "boilerplate" for most
#jackyI do notice Square making this easier for shop owners (since they directly are involved in that - versus stores going in to first vouch for a place then keep those hours in sync)
#btremThere is a need. It is *very* common for businesses to discover that the hours that Google or Yelp *think* they are open are wrong.
#btremSo businesses must be vigilant in entering the same data over and over again.
#btremAnd people who rely on Google/Yelp/et. al. are likely to be steered wrong when it comes to whether a business is open.
#btremIt was a regular feature of the restaurants where I use to work. Then the pandemic hit. :(
#btremYeah, when it started, we were told a few months and everything would be sorted out. I was less optimistic. I figured the better part of 2020, *maybe* a bit into 2021, but it'd be nearly over. I did not imagine it would go on for this long. And I was being intentionally pessimistic.
#btremThere won't be any hard end to this catastrophe. It will sort of gradually get better. But it's hard for restaurants e.g. to determine "ok, now we should start rehiring." So things are very tenuous.
#btremI feel really awful for the kitchen people, who did not get any benefits, no payout, no unemployment, nothing.
#btremYeah, I was trying to write up example code, and ran into a problem. How do you markup the time for a day? The datetime attribute can be just a time, but then how do you attach that to a day of the week?
#btremI don't know if `datetime` can be shoehorned into an opening hours spec. Which is I think one of the long standing problems.
#jackylike on my site saying if I'm around to talk or not
#jackythough I've been rewriting parts to make my homepage _also_ done via mf2 so it can pick and choose how to render things (on the presence of a property, for example)
#btremI'm going to read up on h-feed and maybe try to create hours for the restaurants I used to work at. I find problems when I have real data to work with.
#btremYep, Amoeba. I will go there one day. And spend too much money. But not any time soon, because (a) pandemic, and (b) unemployment. But someday. :)
pmlnr_test, pmlnr_test2, pmlnr_test3, hendursa1, pmlnr_test4, KartikPrabhu, pmlnr_test1, [KevinMarks], hendursaga, [snarfed], [tantek], [tw2113_Slack_], [fluffy], [Ramiro_Ruiz] and btrem joined the channel
#btremI'm adding h-feed to my site I already had lists of h-entry, so I'm just adding the container microformat.
#btremDoes it make sense to have more than one h-feed on the site?
#btremLike, on the home page, I have the 10 most recent articles. And on /articles/ is the list of all articles. And on /articles/2021/ all articles from this year. So can/should I have h-feed markup on each of those pages?
#KartikPrabhuyes. having more that one h-feed is fine
#KartikPrabhuit is also ok to have more that one h-feed on the same page, but not sure if readers do anything special with that
#btremInteresting. I suppose at a minimum you'd need a p-name if there were more than one h-feed on a page.
#btremSpeaking of which, there's no .p-name on the home page because there's no convenient name. I could add one in the html and hide it via css, but is there any reason to? What is the value of .p-name in .h-feed?
#KartikPrabhuyes, it is good to markup a p-name specially in the multiple feed cas
#KartikPrabhuI think readers use p-name to display that name in as the feed title
[tw2113_Slack_] and [snarfed] joined the channel
#btremHmm, maybe I need to specifically name it on my home page, then. I think I need to read a bit more about h-feed, specifically what parsers do when there isn't a p-name.
#[KevinMarks]you can have an implied feed with multiple h-entry on a page; the h-feed is to add feed-level information, so the name, summary, photo
#[KevinMarks]also can do feed-level author instead of repeating it per entry