#wordpress 2019-10-19

2019-10-19 UTC
[fluffy], [dmitshur], [jgmac1106], gRegorLove, [manton], [Lewis_Cowles], [aaronpk], [Rose], [christophe194], discord[m]2, [KevinMarks], [tantek], [barryf], [frank] and [tonz] joined the channel
#
[frank]
Could I add another WordPress site in the Syndication Links settings? What would that other WP site need to accept posts from my site syndicated to the other?
#
[Rose]
Ooh, good question
#
[frank]
And what would be the target URL?
#
[frank]
That would make it easy for me to post on both my own site and indiewebcamp.nl
[jgmac1106] and joba joined the channel
#
GWG
[frank] It was designed to extend easily.
#
GWG
[Rose]: Do you actually want the archives in WordPress to calculate stats for the day/week/month?
#
[Rose]
Maybe?
#
[Rose]
I’m trying to figure out what I want
#
[Rose]
Because what I _think_ I need is to be able to calculate other data summaries and add them to those days/weeks/months
#
[Rose]
(Also, onthisday/05/ doesn’t work for me? Should months work?)
#
[Rose]
*onthisday/2019/05/
#
[Rose]
Oh wait, it does. Hmmm
#
GWG
[Rose]: It shouldn't, the way I set the query
#
[Rose]
onthisday/2019/05 works, but of course /05/ does not.
#
GWG
The rewrite is onthisday/monthnum/day - And it is limited to 2 digits for each. So, I'm not sure what WordPress is doing if you add 4 digits.
#
Loqi
[dshanske] #129 Add option to output as geojson
[Lewis_Cowles] joined the channel
#
GWG
And people said they had no suggestions for Simple Location
#
Loqi
[dshanske] #111 Allow User Location Update API to accept other forms of upload
[dmitshur] and [frank] joined the channel
#
[frank]
@GWG I know. I am just wondering hów to extend it. What would be the steps to take for me as an average programmer to make this possible. Or would it even be possible without any modifications under the hood?
#
GWG
[frank]: You can do it in a separate plugin. No modification required.
#
[frank]
You mean another plugin besides Syndication Links? Hmm.. OK.
#
GWG
[frank]: Not exactly
#
GWG
You can add a new provider to Syndication Links in a small second plugin.
[tonz] joined the channel
#
[tonz]
I redid my multilingual mark-up for my WP blog. As Google translate only ever looks at the page default and never bothers to check for actual mark-up, I’ve moved all adaptations to a function that changes the HTML tag where appropiate. https://www.zylstra.org/blog/2019/10/adding-better-language-support-ii/
#
[frank]
@GWG That would mean I'd have to write a plugin. Not a feasable task for me.
#
[tonz]
[frank] making a plugin isn’t very difficult, having it do something is. But I suspect adding a new channel for syndication if we have examples shouldn’t be overly complex. Just a long slog of trial and error 😄 I’m happy to help / start as it would be useful for me too (running multiple WP sites after all)
#
[tonz]
GWG at some point it should be just a few lines of code.
#
[tonz]
GWG at some point said to me it should be just a few lines of code.
#
GWG
[tonz]: It actually is.
#
[frank]
[tonz] @GWG
#
[frank]
Whoops
#
[frank]
Well...if it will become a plugin that's usable within the IndieWeb plugin universe, it's worth a shot
#
GWG
You want to POSSE to another WordPress site?
#
GWG
Just to confirm
#
[frank]
It's actual syndication of the full text and media to another self-hosted WordPress site.
#
GWG
That should be easy enough
[jacek] joined the channel
#
GWG
WordPress sites have a REST API
#
GWG
It could probably be done with a variety of methods.
[fluffy], [snarfed], [schmarty] and dougbeal|mb1 joined the channel
#
dougbeal|mb1
Rose: do you have a wp site live? I'm getting a wierd black bar on mobile safari on an iPad (same on David's site), trying to track it down. I couldn't find any position:fixed element when remote debugging.
#
dougbeal|mb1
Rose: or alternativly, do yo uhave a 13.2 beta ipad?
[jgmac1106], [dmitshur] and [dougbeal] joined the channel
#
[dougbeal]
[Rose] ⬆
#
GWG
[dougbeal]: Did I ever ask you about your date format?
#
dougbeal|mb1
GWG: on my site?
#
GWG
Yes
#
GWG
Why did you choose the one you did?
#
dougbeal|mb1
GWG: I don't recall ever choosing?
#
GWG
So, default then?
#
dougbeal|mb1
GWG: or at random during setup? I like writing dates YYYY-mm-dd
[Michael_Beckwit joined the channel
#
dougbeal|mb1
GWG: ooh, I see you have timezone
#
dougbeal|mb1
GWG I could go for that
#
GWG
dougbeal|mb1: Go into General Settings on your site.
#
GWG
Time and date format are there and the instructions on how to format custom
[Rose] joined the channel
#
[Rose]
RosemaryOrchard.com
#
[Rose]
[dougbeal] ^
#
GWG
dougbeal|mb1: So I set my time to g:iA T, which is right now, 2:08PM EDT
#
GWG
If you want a timezone offset, you can use P, which would show the offset.
[Lewis_Cowles] joined the channel
#
GWG
I wonder about relative time though.
#
dougbeal|mb1
maybe relative time with a tooltip with the full time?
#
GWG
That may belong somewhere other than Simple Location though
#
GWG
Simple Location adjusts the timezone
#
GWG
Does optional relative time display belong in Simple Location?
#
dougbeal|mb1
It does seem like something the theme should decide?
#
GWG
Well, I was looking at bundling a JS file that does it client side
#
GWG
So, theme agnostic
#
GWG
I debate about these things
#
GWG
Simple Location does a lot of time stuff
fLsh42Discord[m] and damidam_ joined the channel
#
beko[m]
GWG: when it comes to dates and JS `moment.js` is the way to go. Eases so much pain. Just in case that's not yet on your list, oc 🙂
#
GWG
Much bigger footprint though.
#
beko[m]
it does afair feature optimized builds. I use it a lot for SPAs so it doesn't matter much for me.
#
beko[m]
* it does afair feature optimized builds. I use it for a lot for SPAs so it doesn't matter much for me.
#
GWG
We'll see what I do. Haven't decided. Might punt
[qubyte], [snarfed], gRegorLove, dougbeal|mb1 and [dougbeal] joined the channel
#
[dougbeal]
@GWG: [Rose]’s site doesn’t have the black bar
[tantek] and [asuh] joined the channel
#
[asuh]
Agree with GWG, moment.js is bloated in a bad way
[grantcodes] joined the channel