#dev 2021-01-20

2021-01-20 UTC
[KevinMarks] and wagle joined the channel
#
GWG
I need to talk out a micropub issue.
#
GWG
So, if a post has a photo property, per post type discovery, I set it as a photo post and render it appropriately.
#
GWG
The problem is if it is not a photo post but has a photo property, I'm currently not showing the photo.
#
GWG
Namely, if, in the example of the PTD algorithm, it is an rsvp, repost-of, like-of...etc
#
GWG
So, this is creating a problem because someone noted they'd like to show the photo on a checkin. My implementation of checkins in PTD is above photo.
#
GWG
So, do I assume any time someone has a photo property, and it isn't a photo post, it should end up in the content, because without it being a photo post, that is where I'd end up putting it
#
GWG
But, what is the definition of u-photo? The one in the Microformats wiki is a bit dated
#
aaronpk
This is why explicit post types are awkward
#
aaronpk
the way I handle it, if the post has a photo, I show the photo. Doesn't matter if it also has other properties like a Checkin or bookmark
#
GWG
I was just working as if only photo posts should have an explicit u-photo. Everything else would have the photo linked in the content, because it is not the primary content.
#
aaronpk
To me, "photos in the content" are a very blog post specific thing
#
GWG
I'm going to have to think about this a bit in my UI
#
aaronpk
it's definitely a challenge, and there are also just different preferences
#
GWG
And I have to shoehorn it into WordPress
sp1ff, ShadowKyogre and [tantek] joined the channel
#
[tantek]
Exactly what aaronpk said: "This is why explicit post types are awkward"
alex11 joined the channel
#
[tantek]
GWG, skip the intermediate step of determining post types for the purpose of rendering
#
[tantek]
e.g. right now you're doing:
#
[tantek]
(some set of properties -> post type -> rendering rules for that post type
#
[tantek]
instead:
#
[tantek]
set of properties -> rendering rules for each property
#
[tantek]
no explicit post type needed
#
[tantek]
the only reason you should need explicit post types is to interoperate with legacy protocols that requires explicit post types. that's literally it
[schmarty] joined the channel
#
[schmarty]
composition++
#
Loqi
composition has 1 karma over the last year
[chrisaldrich], gbmor1, [jeremycherfas], swentel, swentel__, schmudde and rhiaro joined the channel
#
@phiilu
↩️ I guess I wanted to create a space for people to ask questions if something was unclear or provide a solution if something is outdated. I probably will get rid of it and put a CTA to discuss it on Twitter. Thanks Kyle. What do you think about webmentions?
(twitter.com/_/status/1351821503596273664)
KartikPrabhu and [KevinMarks] joined the channel
#
@achneeee
↩️ hm, muss mich korrigieren, das löst das problem leider nicht. versuche mich zu authentifizieren über https://openid.indieauth.com/
(twitter.com/_/status/1351870499274575873)
#
@achneeee
↩️ ok, dann liegt's wohl am openid-indieauth-proxy. danke!
(twitter.com/_/status/1351896993258463234)
swentel, schmudde, [Murray], [Raphael_Luckom], KartikPrabhu and [snarfed] joined the channel
#
[snarfed]
hey [Nicolas_Hoizey], i’m trying to understand https://twitter.com/nhoizey/status/1351876166941106176 , do you think it’s a bridgy bug?
#
@nhoizey
Whoops, @simonhearne noticed `h-entry` and `p-author` in the links pages made http://brid.gy believe that authors had bookmarked their own content! 😅 The one from Simon: https://simonhearne.com/2021/layout-shifts-webfonts/#bookmarks Another from @adactio: https://adactio.com/journal/17379#comment86203 https://nho.io/n/2021/01/20/1/
(twitter.com/_/status/1351876166941106176)
[Murray]1, [snarfed], [kimberlyhirsh], swentel, raucao, [tantek], [tw2113_Slack_] and [KevinMarks] joined the channel
#
[Raphael_Luckom]
thanks [snarfed]!
#
[Raphael_Luckom]
hehe I've been here for a bit. I changed my handle from `raphael luckom` to `raph-l` so it would be easier to type
#
[snarfed]
oh, welcome to your thanks
gRegorLove, [capjamesg] and swentel joined the channel
#
[KevinMarks]
whitehouse.gov is wordpress generated and has a gmpg profile (but no rel=me)
[schmarty] joined the channel
#
GWG
[KevinMarks]: Can we get them to install webmentions?
#
[KevinMarks]
well, we could ask David Recordon nicely
#
[schmarty]
GWG: i would love to hear your case for adding webmentions to whitehouse.gov at Respectful Responses this weekend 😄
#
[KevinMarks]
no feed though; they say follow fb or twitter
#
GWG
[schmarty]: Might not be so respectful if they did. That would be a spam target
#
[schmarty]
GWG: precisely why it is worth talking about!
NinjaTrappeur, [tantek]1, raucao_, swentel__ and lahacker joined the channel
#
[tantek]1
One approach would be to recognize that they do already have a Twitter account and that shows replies etc., so how could that experience be even better if those tweets were hosted on whitehouse.gov?
alex11 joined the channel
#
[KevinMarks]
Hm, I got a lot of rels with unmung
[tw2113_Slack_] joined the channel
#
gRegorLove
There's an `hentry` in there too, but nothing else. Python gets that and the rels
shoesNsocks1, petermolnar_, [Emma_Humphries], KartikPrabhu and btrem joined the channel