#wordpress 2019-10-06

2019-10-06 UTC
[schmarty], gRegorLove and [dougbeal] joined the channel
#
[dougbeal]
How hard would be be to add u-photo to wordpress insert media button? Adding it manually is to error prone
[tantek], [fluffy], [jgmac1106] and [Michael_Beckwit joined the channel
#
[dougbeal]
GWG: Looks easy to add u-photo, maybe Post Kinds should have a filter? https://developer.wordpress.org/reference/hooks/get_image_tag_class/
#
GWG
[dougbeal]: There are possible issues.
#
[dougbeal]
GWG: even just adding it to my site?
#
GWG
When I added u-photo to everything, there were mf2 parsing issues.
#
GWG
It has to be thought out
#
[jgmac1106]
Bc u-photo only belongs on post wehre the photo is the central content.. Correct?? Everyone wants to put u-url and u-photo everywhere
#
GWG
It also belongs on photos in an h-card
gRegorLove joined the channel
#
GWG
Working on updating the last seen widget in Simple Location to show the local time where the user was last seen
gRegorLove, IWSlackGateway1, [snarfed], [arush], [jgmac1106], [mapkyca], [schmarty], tsrt^, discord[m], [tantek] and [Rose] joined the channel
#
[Rose]
!tell GWG Did you modify the underscore theme to have microformats in it already or am I imagining things?
#
Loqi
Ok, I'll tell them that when I see them next
gorhgorh[m]1, npfoss[m], Nebulous[m], asuh[m], aaronpk[m], iiogama[m], card[m], freethinkingaway, andrewxhill[m], Giyomu[m], sfroment[m], tom85[m], manfred[m], sander[m], new0ne[m], ritewhose[m], Lolicon[m], RealSnazzy[m], drbh[m], romaric[m], sacha[m], rittme[m], cesarosum[m], vasa[m], Senshi[m], mikeal[m], gnunicorn[m], Ja3ood[m], Keegen[m], mZ[m], Tianyi[m], enricomarino[m], placer14[m], berDiscord[m], prtfw[m], rklaehn[m], celso[m], oed3[m], gozala[m], maparent[m], pierreboc[m], CantiTurtleCoin[, drshamoon[m], aeddi[m], Mairkur[m], macerbi[m]1, jenncloud[m], fozzie[m], phynite[m], eddy[m], AXEL-Lee[m], M[AXEL]Darr[m], msena3[m], gorhgorh[m]2, WidgetBotiocli1[, Rick[m], chris[m]1, JeffMaherVegas[m, CryptoEmpress[m], Expherience[m], carsonfarmer[m], AXEL-Brian[m], Romaric[m]1, Gorka[m], Oxy[m], hvergara[m], Lilz|BetaMe[m], Clment[m], Tianyi[m]1, lyon[m], RockSteadyTRTL[m, JustMaier[m], johanherman[m], balupton[m], kanej[m], silent_Activist[, oed3Discord[m], sanderDiscord[m], jimpick[m], aphelionzDiscord, NatoBoram[m], PermawebMatrixBr, gorhgorhDiscord[, baluptonDiscord[, JordanKrageDisco, AuHau[m], Valium[m], brewskiDiscord[m, Akshay[m]1, HeishDiscord[m], npfossDiscord[m], RealityDiscord[m, hazDiscord[m], postablesDiscord, RickDiscord[m], celso[m]1, AuHauDiscord[m], msena3Discord[m], wcharginDiscord[, kanejDiscord[m], LSJI07Discord[m], dignifiedquireDi, GorkaDiscord[m], NebulousDiscord[, manfredDiscord[m, dpinnerDiscord[m, aeddiDiscord[m], BossMANDiscord[m, LeFDiscord[m], ClmentDiscord[m], prcDiscord[m], pusherDiscord[m], hyde__Discord[m], corylDiscord[m], AkshayDiscord[m], JayWelshDiscord[, johanherman[m]1, eshohetDiscord[m, sfromentDiscord[, jamiedubsDiscord, TH0RynDiscord[m], realChainDiscord, braditzDiscord[m, catmanDiscord[m], JustMaierDiscord, Dazuck-3BoxDisco, M[AXEL]DarrDisco, DiscordRSSDiscor, Kenzo3Discord[m], GiyomuDiscord[m], andrewxhillDisco, AXEL-BrianDiscor, M5310Discord[m], RyonezCoruscareD, cwchristerwDisco, porshDiscord[m], buztedDiscord[m], MairkurDiscord[m, snapDiscord[m], OboDiscord[m], cyluDiscord[m], thomasDiscord[m], M011000100111010, farhad312Discord, LokeLDiscord[m], doodlemaniaDisco, tobowersDiscord[, MichaelTenDiscor, SirMemesALotDisc, vamsiDiscord[m], abhi_Discord[m], AtiqDiscord[m], JohnnyMilkshakes, GuillaumeDiscord, drbhDiscord[m], PhillmacDiscord[, pbvieDiscord[m], RDeckardDiscord[, Ja3oodDiscord[m], eddyDiscord[m], mZDiscord[m], lamborghiniDisco, alphapapaactualD, TianyiDiscord[m], dqxDiscord[m], KubeDiscord[m], dy5es41Discord[m, RealSnazzyDiscor, foxcoolDiscord[m, denzukoDiscord[m, new0neDiscord[m], Microsoft_techni, sekiDiscord[m], combrayDiscord[m, gnunicornDiscord, flower88Discord[, rozgoDiscord[m], rittmeDiscord[m], Dby0Discord[m], jwheelerDiscord[, cristobalDiscord, hubaDiscord[m], planetary_devDis, XierumengDiscord, olizillaDiscord[, KYZITEMELOS93Dis, nocentDiscord[m], tom85Discord[m], rklaehnDiscord[m, nlkoDiscord[m], OxyDiscord[m], zegordoDiscord[m, aleDiscord[m], sbpDiscord[m], johanhermanDisco, lyonDiscord[m], chmanieDiscord[m, vasaDiscord[m], EugeneDiscord[m], mZDiscord[m]1, peterkDiscord[m], MaggieDiscord[m], skillman623Disco, crestDiscord[m], zwelsternDiscord, ShadowLingDiscor, katakotoDiscord[, CatManDoooDiscor, neohexDiscord[m], cwDiscord[m], ZedDiscord[m], zoink92Discord[m, jimpickDiscord[m, M4eekDiscord[m], dhenzDiscord[m], NastyEbilPiwateD, ddahlDiscord[m], Lilz|BetaMeDisco, SteffDiscord[m], fozzieDiscord[m], dindustriesDisco, Luna14Discord[m], grvhiDiscord[m], codynhatDiscord[, benaszabDiscord[, celsoDiscord[m], JungleHeartDisco, SenshiDiscord[m], sukarDiscord[m], TryptophanDiscor, RomaricDiscord[m, hvergaraDiscord[, ShmultzDiscord[m, KarlDiscord[m], sprayDiscord[m], foxcoolDiscord[4, kevinbird15Disco, mhzDiscord[m], jmank88Discord[m, AblibuDiscord[m], ScottSmileyDisco, rappelDiscord[m], OrkunDiscord[m], NooooooWayyyyyDi, CarboClanCDiscor, pps96Discord[m], koalalorenzoDisc, drshamoonDiscord, malaclypsDiscord, nyarlathotepDisc, megadogberthehim, SchwartzDiscord[, the_nikinDiscord, KinnardDiscord[m, allgoDiscord[m], mattcDiscord[m], gregjeanmartDisc, DerekDiscord[m], h2Discord[m], chinsuDiscord[m], jenncloudDiscord, panDiscord[m], RichardLittDisco, marcocastignoliD, SmileRobotDiscor, paulmahoneDiscor, jazzy-jeff^_^Dis, leoalvarezhDisco, SweatDiscord[m], felixschlDiscord, xtream1101Discor, sekiDiscord[m]1, aaronpkDiscord[m, cesarosumDiscord, bitspillDiscord[, jessicaschilling, MesaDiscord[m], nebulerDiscord[m, enricomarinoDisc, CocoonCrashDisco, bengoDiscord[m], thestevewayDisco, modigDiscord[m], braditzDiscord[4, DamirDiscord[m], placer14Discord[, gtsDiscord[m], cardDiscord[m], deltaDiscord[m], romaricDiscord[4, TeamIanDiscord[m, tangoDiscord[m], godparticleDisco, prtfwDiscord[m], jklepatchDiscord, PamileissonDisco, CryptoEmpressDis, silent_ActivistD, EdmundMDiscord[m, n9tDiscord[m], freethinkingawa4, UserDiscord[m], sachaDiscord[m], aswiththewildDis, MatthDiscord[m], ArunDiscord[m], UsDiscord[m], l^discordDiscord, funwhilelostDisc, r5723013Discord[, TianyiDiscord[m4, KinnardDiscord[4, James|ColonyDisc, HeysteinDiscord[, test123Discord[m, SuikaDiscord[m], ithithDiscord[m], KisulkenDiscord[, JonwelDiscord[m], celsoDiscord[m]1, ad87657Discord[m, KeegenDiscord[m], DioBrandonDiscor, pierrebocDiscord, ksDiscord[m], lauren|Microspon, OlegStotskyDisco, mikealDiscord[m], amatuniDiscord[m, zazikiDiscord[m], plexusDiscord[m], IgutinDiscord[m], MisterGoreDiscor, felixschlDiscor4, chrisDiscord[m], iiogamaDiscord[m, cristobalDiscor4, zcopleyDiscord[m, ngamboaDiscord[m, te0dDiscord[m], robinzzzDiscord[, maparentDiscord[, macerbiDiscord[m, PhiDiscord[m], nofwayyDiscord[m, LordFenixNCDisco, DaekiDiscord[m], thomasbDiscord[m, TristanDiscord[m, RDeckardDiscord4, PeevesDiscord[m], bushido711Discor, sblinnDiscord[m], boomshroomDiscor, vexlDiscord[m], catman[m], PermawebEmbedDis, itsmekntDiscord[, nilocDiscord[m], wngrDiscord[m], doorknob88Discor, AraratDiscord[m], blxckghxstDiscor, chmanieDiscord[4, JaoheahDiscord[m, M[AXEL]JulianDis, ZapierDiscord[m], Bads3ctor9700[m], janttoDiscord[m], ivanDiscord[m], KinnardDiscord[7, swedneck3, capDiscord[m], RomainDiscord[m], GabrielBadGriefD, ptonerDiscord[m], cannabysDiscord[, johanhermanDisc4, JeanDiscord[m], leoalvarezhDisc4, ShruthiDiscord[m, ExpherienceDisco, DiscordBridge[m4, CathyLDiscord[m], TionisDiscord[m], competentcuttlef, KevlarmonkeyDisc, jgmac1106Discord, GeorgeX2798[m], beko[m], VictorGDiscord[m, PrabhaavDiscord[, ShokuninDiscord[, bekoDiscord[m], watDiscord[m], snoopdoggydogDis, AnthonyADiscord[, cambridgeport90[, NatoBoramDiscord, AlekseyDiscord[m, swedneck[GMT1]Di, bostaDiscord[m], LuutheCoolDiscor, gunttedDiscord[m, anthony-albertor, gmelodieDiscord[, iamswainDiscord[, DerrickFDiscord[, HarryTmeticDisco, M5511225464917[m, psyonityDiscord[, Mai-HsuanKevinCh, carsonfarmerDisc, JerbsDiscord[m], Hsiu-PingNichola, FineDiscord[m], william_shakesDi, RodolfoEDiscord[, achingbrainDisco, FranklinDiscord[, cikavuveDiscord[, nijynotDiscord[m, radio_aliceDisco, vasaDiscord[m]1, RockSteadyTRTL75, CrocodillianDisc, fexra|TRTLDiscor, ambackDiscord[m], betamosDiscord[m, Sm03leBr00tDisco, astraiaDiscord[m, neilDiscord[m], weedDiscord[m], AceFaceDiscord[m, BearCavalryDisco, Neroprojekt5071[, CantiTurtleCoinD, SpaceOutlawDisco, 32NAA6W2H, obernardovieiraD, 14WAABLSM, MikeShultzDiscor, dafflDiscord[m], sethforkDiscord[, M|NecoDiscord[m], sunk818Discord[m, thatguyDiscord[m, nellkate1[m], glenn[m], vinDiscord[m], AxieDiscord[m], M123897974564Dis, boatsandhoesDisc and Swedneck_ joined the channel
#
GWG
I did. I need to rebase my branch, but it is in my repo
#
Loqi
GWG: [Rose] left you a message 5 minutes ago: Did you modify the underscore theme to have microformats in it already or am I imagining things?
#
[Rose]
Would you recommend I start with that rather than the standard underscores theme?
#
[Rose]
And assuming so: if I may politely request the rebasing be done before IWC Brighton that would be greatly appreciated!
#
[Rose]
GWG++, just found it in the repo, excellent work as always
#
Loqi
GWG has 81 karma in this channel over the last year (148 in all channels)
#
GWG
Today is fine
[Lewis_Cowles] joined the channel
#
[Rose]
It might be a good mini project, leaves you with lots of time for your bigger one 😛
#
GWG
And what is that?
#
[Rose]
Your bigger project? Excellent question
#
[Rose]
I mean, you’re welcome to write me a theme if you like
#
[Rose]
(I want to do it myself, but I shall probably end up with questions!)
#
GWG
I have to go back to my two theme forks for mods.
[KevinMarks], [snarfed], hannessoloDiscor and [dougbeal] joined the channel
#
GWG
I'm working on the widget in the corner.
#
GWG
It is shows the location and time of a user.
#
GWG
Need thoughts on the display
#
[Rose]
Adding an optional map would be fun
#
[Rose]
And if the user has published previous locations before that, it could be fun to show “and was previously seen at KFC at 9pm on Tuesday night”
#
[Rose]
(I would add a time limit actually)
#
[Rose]
How do you fill this with data?
#
GWG
Simple Location actually does this now. There's a setting where it will update the location of the user with the location of the last post made.
#
cambridgeport90[
What’s the correct API to use with this? I haven’t figured that out.
#
GWG
cambridgeport90[: Define 'correct'
#
cambridgeport90[
Simple location, that is? I need to do something with Google Maps, right?
#
cambridgeport90[
In other words, no matter what options I choose in the settings, location always fails. What am I doing wrong?
#
GWG
cambridgeport90[: It has multiple options for that
#
GWG
cambridgeport90[: Let me try to explain
#
GWG
Simple Location has three options for figuring out where you are, though you could add more
#
cambridgeport90[
So I should probably use Google, because that’s what my phone uses, right?
#
GWG
First, you can use browser based geolocation to figure out where you are.
#
GWG
Second, you can manually enter it
#
GWG
Third, Compass
#
GWG
I allow for more.
#
GWG
But those are built in
#
GWG
Now, there are three other types of providers
#
GWG
I should improve the instruction page, I guess
#
Loqi
I agree
#
GWG
cambridgeport90[: There are providers for geolocation(where you are), geocoding(looking up the location from the coordinates), maps(displaying maps), and weather(saving weather conditions). Many of them require API keys from those organizations
#
GWG
I kept running out the free limits, so I put in multiple providers from each
#
GWG
Wikimedia maps does not require a key, so it defaults to that
#
cambridgeport90[
I’ll have to go in there and check. After all, I might just stay with WordPress, provided I can get all these features working. That was one of the reasons why I was trying to switch away from it.
#
GWG
[Rose]: Re the widget, it was proposed originally by chrisaldrich that it would show where the user last posted.
#
GWG
cambridgeport90[: Always happy to help
#
GWG
I'm here a lot.
#
GWG
cambridgeport90[: I can't promise you will like WordPress all the time, I don't always, but it has a lot of pluses.
#
[Rose]
I would like it to pull compass data if there was no checkin recently, With me being able to specify what “recently” is somewhere.
#
GWG
[Rose]: _s updated.
#
[Rose]
Thanks!
#
GWG
[Rose]: My Underscores mf2 branch is minimal in its mf2, because I thought they might merge it
#
GWG
[Rose]: Re Compass...I would need https://github.com/dshanske/simple-location/issues/108 merged to do what you ask
#
Loqi
[dshanske] #108 Switch Compass API key to a per user key
#
[Rose]
That’s a logical change
#
[Rose]
Anyway, back to your widget. I’m all in favour of a mini map
#
[Rose]
I also wonder if I’m outside of my normal timezone/area if that should be shown (perhaps with a plane icon?)
#
GWG
I worry about that eating up my API key limit....but.
#
GWG
[Rose]: Is normal timezone the site timezone or does that need to be per user also?
#
[Rose]
I would say site, you can argue per user, but I think site is actually maybe better
#
[Rose]
Good point, but I say let users turn it on if they want and not if they’re worried about API limits - and defaulting to off would be a good idea.
#
[Rose]
I know Google lets you generate a map image, that might be smart and then you can save it and load it while the location matches? But then you get a lot of images cluttering up your gallery.
#
GWG
[Rose]: I would love to do that. However...most services have a TOS on saving the static map or I'd save it per post
#
GWG
Wikimedia Maps doesn't
#
[Rose]
Really? Obviously I didn’t read the Google ones 😛
#
Loqi
[asuh] #97 Feature request: static maps
#
[Rose]
So, why do they let you generate static maps then?
#
sknebel
so you don't need to load JS etc
#
GWG
sknebel: You have any alternate solutions? It isn't specifically a WP problem
#
sknebel
not really. well, one could get some more options by assembling it from maptiles, I think there fewer providers have such rules, but that's a project certainly.
[jgmac1106] and raulDiscord[m] joined the channel
#
GWG
Exactly
#
GWG
Or use the one service I have that allows it
#
GWG
Wikimedia maps
#
GWG
But I haven't figured out markers on there
#
[Rose]
Ok, question. Is there documentation somewhere as to how to display a facepile of people who liked/shared a post?
#
GWG
Yes, but the code that does it needs to be updated. It's part of the webmention project
#
GWG
But the display code you are looking for is in Semantic Linkbacks
#
[Rose]
Thansk!
#
cambridgeport90[
When I get better at PHP, there’s another plug-in that I wanna set up to work with that. Right now it doesn’t. Do you know the WordPress to Twitter plug-in?
#
[Rose]
Did you look at Bridgy? It can post to Twitter and store the link
#
[Rose]
Plus then you get backfeed from Twitter 🙂
#
cambridgeport90[
That’s what I’m currently using right now.
#
[Rose]
Me too
#
GWG
There is now a map and checkboxes for options
#
GWG
[Rose]: Would you want Compass to ping your WordPress instance with a webhook and actually update your user's location?
[tonz] and [mapkyca] joined the channel
#
[Rose]
That sounds smart.
#
GWG
It technically could. Although I have to teach Simple Location to accept a GeoJSON object
[schmarty] and yabirgbDiscord[m joined the channel
#
GWG
Okay. Tracking an image title issue took me from Post Kinds to Micropub
#
GWG
And back to Simple Location
#
GWG
I need to do some other Micropub work and push a new version.
[arush], [dmitshur], [schmarty], [Lewis_Cowles], [mapkyca], [fluffy], [aaronpk], gRegorLove and [Michael_Beckwit joined the channel; hannessoloDiscor left the channel