#wordpress 2020-03-25

2020-03-25 UTC
sscarfe, [Katherine], nickodd, chimo, [jeremycherfas], [jgmac1106], [KevinMarks], [LewisCowles], petermolnar, [g33kcentric], gRegorLove, [tantek], [Michael_Beckwi], [schmarty], M9uapawDiscord[m, andrewxhillDisco, balupton[m], Oxy[m], EatsDiscord[m], SpicoliWhiteDisc, thesage1014Disco, SteelixDiscord[m, pvienhageDiscord, vasa|DappkitDisc, lyon[m], efnDiscord[m], raisDiscord[m], thatguyDiscord[m, carstenmunkDisco, ReallySnazzyDisc, RockSteadyTRTLDi, UserDiscord[m], jenncloud[m], chrisDiscord[m], l^discordDiscor4, snoopdoggydogDis, M3baidDiscord[m], SenshiDiscord[m], celsoDiscord[m], peterkDiscord[m], nlkoDiscord[m], flower88Discord[, gtsDiscord[m], WidgetBotiocli1[, HaybalesDiscord[, M4eekDiscord[m], ianlopshireDisco, maparent[m], weedDiscord[m], LSJI07Discord[m], SnowballDiscord[, Discord[m]1, mZ[m], TeamIanDiscord[m, zwelsternDiscord, FeNiXDiscord[m], gorhgorh[m], skillman623Disco, amatuniDiscord[m, RenegadeDiscord[, AutoAIDiscord[m], kevinbird15Disco, ivanDiscord[m], CryptoEmpressDis, brewskiDiscord[m, celso[m], ianfixesDiscord[, bmiller59Discord, emakDiscord[m], maparentDiscord[, PerinDiscord[m], carsonfarmerDisc, manfredDiscord[m, JorropoDiscord[m, braditzDiscord[4, reddDiscord[m], WarrenDiscord[m], M0zAND1zDiscord[, SomeguyDiscord[m, solanavDiscord[m, CharlieRaptoreum, tangoDiscord[m], mZDiscord[m], JustMaierDiscord, NatoBoramDiscord, Clment[m], simibacDiscord[m, ArunDiscord[m], nebulerDiscord[m, MichaelTenDiscor, cyluDiscord[m], vexlDiscord[m], chinsuDiscord[m], prtfw[m], a2b2x2Discord[m], aidxnDiscord[m], rklaehn[m], bushido711Discor, gozala[m], hubaDiscord[m], fexra|TRTLDiscor, vinDiscord[m], ZapierDiscord[m], pcowgillDiscord[, OlegStotskyDisco, placer14Discord[, Rick[m], yabirgbDiscord[m, crestDiscord[m], Elijah3321[m], manfred[m], M8431[m], SmileRobotDiscor, MMMMaggieDiscord, marcocastignoliD, LuutheCoolDiscor, hyde__Discord[m], jessicaschilling, wngrDiscord[m], SchwartzDiscord[, godparticleDisco, HuurooDiscord[m], gnunicorn[m], gauthamDiscord[m, thestevewayDisco, WesDiscord[m], FranklinDiscord[, ksDiscord[m], Nebulous[m], cam4507[m], msena3[m], tom85[m], olizillaDiscord[, vasa[m], Discord[m]2, FusonDiscord[m], sander[m], sekiDiscord[m], tadpole256Disco4, RodolfoEDiscord[, sbpDiscord[m], dunks411Discord[, romaric[m], CryptoEmpress[m], peatDiscord[m], mattcDiscord[m], TryptophanDiscor, DoppelgngerDisco, kerlanTDiscord[m, buztedDiscord[m], fozzie[m], SteffDiscord[m], SnoochToTheNooch, lyonDiscord[m], mhzDiscord[m], katakotoDiscord[, macerbi[m], eddocsillDiscord, Tianyi[m], Sm03leBr00tDisco, OxyDiscord[m], kppDiscord[m]1, JordanKrageDisco, icaruszDiscord[4, borismusDiscord[, mapachurroDiscor, JaoheahDiscord[m, RobotLordimperia, Imnotsoimpressed, daveatQCDiscord[, robinzzzDiscord[, macerbiDiscord[m, sachaDiscord[m], boomshroomDiscor, zegordoDiscord[m, NatoBoram[m], doodlemaniaDisco, M|NecoDiscord[m], celso[m]1, pranayDiscord[m], watDiscord[m], xylanDiscord[m], KinnardDiscord[4, KeegenDiscord[m], matschafferDisco, AuHau[m], enricomarino[m], eshohetDiscord[m, baluptonDiscord[, ttocslliwDiscord, babaitDiscord[m], drshamoon[m], chris[m], Mai-HsuanKevinCh, dowlandaielloDis, M9672Discord[m], QwertyWhoreDisco, zoink92Discord[m, hacdiasDiscord[m, felixschlDiscord, AXEL-Brian[m], aaronpk[m], KevlarmonkeyDisc, DiscordBridge[m4, JeffMaherVegas[m, Tianyi[m]1, wourslerDiscord[, FrenchBackBoneDi, sekiDiscord[m]1, the_nikinDiscord, foxcoolDiscord[4, dqxDiscord[m], HeysteinDiscord[, UsDiscord[m]1, prtfwDiscord[m], ritewhose[m], rittmeDiscord[m], sethforkDiscord[, nofwayyDiscord[m, cambridgeport90[, modigDiscord[m], f-r-e-dDiscord[m, lauren|Microspon, MissLavenderDisc, [calumryan] and [Ana_Rodrigues] joined the channel
#
[tantek]
GWG, noticed during HWC call today that when someone using Postkinds posts a like of a photo from my site, it shows the alt text instead of the photo in the linkpreview: https://doubleloop.net/2020/03/22/6673/
#
[tantek]
during HWC London
#
GWG
Yes, I think I may know why. But I'll have a look at the code. I redid that and may have already fixed it
#
[tantek]
was that a deliberate design decision in Postkinds, or just an accident of how it treats the mf2? Curious if you'd consider showing a thumbnail of a photo when showing the linkpreview for a photo post, and then the first part of the caption. of course the thumbnail should also have the alt text from the poost.
#
GWG
[tantek]: I have to see how it parses. I have a debugger.
#
[tantek]
ok LMK if there is something odd with my photo post markup.
#
GWG
I'm not sure where it is getting it from. Will have to check the code more. I'm getting it in the debugger
#
doubleloop
Lemme check my theme too, could perhaps be me not displaying it
#
doubleloop
[tantek]: Looking at it the info in the meetup embed is got via oEmbed I believe
#
[tantek]
oEmbed makes a lot of sense for link previews
#
[tantek]
fascinating that there are still those that support it!
#
[tantek]
Also a good example of why it's important to write sensible alt text, and something I've started doing recently, write it sorta like sentence (even if it's not strictly correct grammar for a sentence), that ends with a period.
#
[tantek]
That way it at least looks reasonable when adjacent to other text
gRegorLove joined the channel; nickodd left the channel
#
GWG
[tantek]: I checked my debug, it is picking that up as content. I'm not sure why.
#
GWG
It uses the MF2 parser, so it shouldn't. But I'll look in 2 hours when I finish work.
#
[tantek]
GWG, well it's correct for it to pick up *both* the alt text and the image
#
[tantek]
and it should store them both so when it shows a thumbnail of the image, it can re-use the alt text for it
[chrisaldrich], [Rose], [jacky] and [jgmac1106] joined the channel
#
GWG
[tantek]: Going to look at this now that I'm done for the day.
[LewisCowles] joined the channel
#
Loqi
[Tantek Çelik] 🌸🏙☁️ A week ago today I ran my first 50-miler (https://tantek.com/t55b1), the hardest thing I’ve done. I knew I’d need 2 weeks of physical recovery. It’s also taken a week of mental recovery to start feeling like myself again. The sh... https://fastly.4sqi.net/img/general/width960/476_edrwAYEtsbY19FhuNbaPe8XhdxoXMmDkv1CM0ynHK_w.jpg
#
gRegorLove
for the `content.value` in the parsed results
#
GWG
gRegorLove: I just figured that out and was about to tell [tantek]
#
GWG
Perfect timing
#
GWG
So not me
#
[tantek]
I mean, sorta
#
[tantek]
I suppose point being, you may want to consider adding code to show a special reply context / link preview for a photo post
#
[tantek]
I believe aaronpk has some documentation of this on the reply-context page. Let me check
#
[tantek]
GWG ^^^ for your consideration
#
gRegorLove
Yeah, the parsed `photo` might be better for postkinds to use
#
[tantek]
if the URL you're showing preview for is a photo post, then show a special photo thumbnail/preview
#
[tantek]
else keep doing what you're doing 🙂
#
gRegorLove
The alt wouldn't be parsed in php-mf2 (yet) https://github.com/microformats/php-mf2/issues/214
#
Loqi
[gRegorLove] #214 parse an img element for src and alt
#
GWG
Exactly
#
GWG
I would if I could
#
gRegorLove
But the link preview idea tantek is proposing can be done now
#
[tantek]
I thought aaronpk was actually doing that now - despite it being in brainstorming
#
GWG
Yes, but until it is in the parser, I won't pick it up.
#
gRegorLove
I'm saying `photo` is in the parsed results now so an mvp could show the image in the link preview sans alt text
#
gRegorLove
then alt text could be added once the parser supports it
#
gRegorLove
again, for consideration, not trying to put more work on your plate :)
#
GWG
gRegorLove: I may do that as well.
#
GWG
Right now, it doesn't distinguish by the post type in the previews. It is the same regardless
[eddie], gRegorLove and gRegorLove_ joined the channel