#dev 2023-04-23

2023-04-23 UTC
BinarySavior joined the channel
#
[tantek]
I didn't think I was doing anything super-odd. it was kinda long? it had hashtags? though the most recent reply also had hashtags, was medium long so 🤷‍♂️
#
[snarfed]
oh no I'm not claiming you are. still no clue what happened
#
Loqi
[preview] [Tantek Çelik] One of the pretty neat innovations from #Mastodon has been actual, functional, and fairly reliable (from all accounts I’ve seen) distributed system account migration, with the notable exception of post migration, which has additional challenges wor...
#
[snarfed]
great to hear migrating into BF works! adding that to https://github.com/snarfed/bridgy-fed/issues/330
#
Loqi
[preview] [snarfed] #330 Add account migration (Move) support
bret, geoffo, [TMichelleMoore] and [KevinMarks] joined the channel
#
[jacky]
being able to do a proper 'move' is prob the last checkbox for me to drop my mastodon account and use my account solely with no syndication
aaronpk and trwnh joined the channel
#
[tantek]
Jacky, good follow up thread on my post about how BlueSky is putting migration first and what impact that might have: https://hachyderm.io/@torb@octodon.social/110246507166708557
#
Loqi
[preview] [Torb 🦋] @tantek.com @maegul The fact that moving Mastodon instance and not retaining posts is not seamless and highly technical (even moving in itself is kinda technical) is one of the reasons I’m keeping an eye one Bluesky.They directly mention this issue...
#
[tantek]
robots << Warning, be careful of creating an auto-replying bot on any kind of social / web media, as it may be tricked into auto-replying with another such bot, forever: https://twitter.com/youngvulgarian/status/1004714335686549504
#
Loqi
ok, I added "Warning, be careful of creating an auto-replying bot on any kind of social / web media, as it may be tricked into auto-replying with another such bot, forever: https://twitter.com/youngvulgarian/status/1004714335686549504" to the "See Also" section of /robots https://indieweb.org/wiki/index.php?diff=87579&oldid=86985
nertzy joined the channel
#
[tantek]
websites that require JS to show images are poorly built, full stop. ([chrisbergr] per that first restaurant example you shared in #indieweb)
#
[tantek]
also I can't tell how much of the script src tags are due to codepen vs the example
#
[tantek]
and the iframe too
#
[chrisbergr]
[tantek] yes sorry, I completely missed the point with my links anyway. There is no semantic code behind it at all.
#
[tantek]
to be fair, the physical menu I redid in HTML+CSS 22+ years ago is not really semantic nor mobile friendly (and uses tables to get a liquid dot-leader effect that was otherwise impossible with CSS at the time) https://tantek.com/CSS/Examples/dotleaders.html
#
[tantek]
searching around I'm finding templates for sale, templates based on bootstrap and jQuery (but why tho?), and questions asked without answers
#
[tantek]
I did find this blog post doing some semantic thinking though: https://jonchristopher.us/blog/a-semantic-breakdown-of-restaurant-menus/
#
[tantek]
capjamesg, do you have any thoughts on semantic markup for restaurant sites or pages?
#
[tantek]
I figure I'd ask people who may have already looked in to this / have an opinion before I start making things up 🐶 :test_tube:
#
[tantek]
the set of information to convey (on one page to start with) is described here: https://chat.indieweb.org/2023-04-23/1682261229237800
#
Loqi
[preview] [[tantek]] aaropnk, hours, location (address that links to a map UI or map embed w/o cookies), nearest bus/tram/rail stop, contact info (including a note about catering if that's an option), links to social media, links to restaurant review sites/aggregators (e...
#
Zegnat
sknebel: did you look into restaurant sites when you were looking for information for OSM? ^
#
[tantek]
Zegnat, nothing from OSM came up in any of my searches. Do you have a link handy to how OSM represents restaurants?
#
[tantek]
(and no I don't have any faith in the made-up stuff at schema-org so don't bother pointing me there. I trust my ability to make things up more than the handwaving at schema-org)
#
[KevinMarks]
A lot of restaurants built on "order by phone" tools during the pandemic here (where you start by scanning a QR code on the table)
#
[tantek]
only prior art I found was for a subset of a restaurant site: https://microformats.org/wiki/menu
#
Zegnat
[tantek]: OSM has a pretty good wiki. But I personally haven’t paid much attention to restaurants. I focussed more on shops in the area and updating their opening hours. For which they have a pretty strict (but flexible) syntax: https://wiki.openstreetmap.org/wiki/Key:opening_hours
#
[tantek]
yup, opening hours is also a small subset, and we have that covered (along with a link to OSM) in https://microformats.org/wiki/opening-hours
#
Zegnat
(Aside: IMHO the best part of the OSM time syntax are extended hours. Because saying a bar is open from 19:00 to 27:00 just makes a lot of sense to me.)
#
[tantek]
big fan of 24:00+ hours
[kimberlyhirsh] and [davidmead] joined the channel
#
[davidmead]
[tantek] I did a couple of local restaurant sites while freelancing in the early 00's. Used class names of `menu`, `menu-item`, `menu-item-desc`, and `menu-item-price` for the tables (cough) and then definition lists I used. Also marked up the business as a `vcard` with 24hr time for operation hours.
#
[davidmead]
Hope that helps 🙂
#
[manton]
Thanks [tantek] for the migration / blog archive post. I’m going to spend some time on that this week.
#
[tantek]
[davidmead]++ for the old school hCard and semantic class names :face_holding_back_tears:
#
Loqi
[davidmead] has 1 karma over the last year
#
IWDiscordRelay
<c​apjamesg#4492> I should try and make my ideal restaurant site.
#
IWDiscordRelay
<c​apjamesg#4492> Plain text is so much easier for me to manage.
#
IWDiscordRelay
<c​apjamesg#4492> (Markup is fine.)
#
IWDiscordRelay
<c​apjamesg#4492> I hesitate to support menus on Breakfast and Coffee without restaurants publishing them, marked up.
#
IWDiscordRelay
<c​apjamesg#4492> It would be intriguing to see how GPT could be used to extract restaurant information from a page
#
IWDiscordRelay
<c​apjamesg#4492> Instagram bios and websites would be a good place to start.
geoffo joined the channel
#
[davidmead]
[tantek] I am nothing if not “old” school 😉
#
[davidmead]
Says something about the glossed over areas of the web, that over 20 years later we still don’t have “standard” way of marking restaurant menus up. Everyone just took a `.pdf` as the de-facto method and moved on
#
[davidmead]
back to lurking now 🙂
geoffo joined the channel
#
IWDiscordRelay
<c​apjamesg#4492> Have there been discussions on a universal avatar standard for personal websites?
#
IWDiscordRelay
<c​apjamesg#4492> /now for avatars.
#
IWDiscordRelay
<c​apjamesg#4492> I thought about /avatar that redirects to my most recent avatar.
#
IWDiscordRelay
<c​apjamesg#4492> The redirect is temporary.
#
IWDiscordRelay
<c​apjamesg#4492> And necessary because I don’t want to dictate file formats.
#
[snarfed]
gravatar, favicon/rel-icon, etc?
#
Zegnat
I think just website favicons/rel-icons are the easiest. I use the same photo as rel-icon and u-photo.
#
Zegnat
Gravatar is big, but I feel like Libravatar (the self-hosted version) never caught on? (https://wiki.libravatar.org/api/)
#
[tantek]
capjamesg, you know what people used to call avatars before the silly movie and snowcrash? Photos. Like /photo(.jpg) :P
#
[tantek]
And want something "small"? Why put one use-case (favoriting?) into the name? /icon(.jpg) is good enough
#
[tantek]
Zegnat, you mean futzing with one-off DNS records never caught on? I’m shocked
#
[tantek]
Btw at least in snowcrash "avatar" was used to mean a whole lot more than a (3D) image. All kinds of stuff like the "physical" (layout) boundaries vs stuff that overflowed like beans of light that other things could harmlessly intersect in virtual space.
#
[tantek]
The fact that all the "metaverse" folks were happy to redefine "avatar" as a synonym of "3d icon" goes to show how little they paid attaention to the details of the metaverse as described in original text as it were
#
[tantek]
[davidmead] I feel that. Also my perspective on the "why" for punishing and markup has evolved a bunch in Wo years. Now the use case for me for restaurant sites / pages is to connect local residents with their local restaurants, and help build/grow those local economy relationships. Neighbors supporting local small businesses.
#
[tantek]
argh again s/punishing/publishing/g
#
[tantek]
puts down this silly touch keyboard that still doesn't hold a candle to the worst of Blackberry tactile keyboards
[timothy_chambe] joined the channel
#
GWG
I discovered my location API system is broken again. I need to test more often
#
[tantek]
capjamesg, your instinct to avoid actual menus on B&C is correct
#
[tantek]
I believe there is a way to enable something close, which is an emergent "menu" that is populated by the items that are reviewed by people at a restaurant/cafe
#
[tantek]
so if everyone reviews the black drip coffee and the veggie hummus bagel, that's all that shows up on the "emergent menu" for a cafe, even if there is a decaf espresso on the actual physical / in-person menu
#
[KevinMarks]
That is what Google does - surface the menu items with most photos
sebbu joined the channel
#
[tantek]
that makes a lot of sense