#wordpress 2019-09-27

2019-09-27 UTC
jgmac1106, [schmarty], [aaronpk], [jeremycherfas], [Michael_Beckwit, [tantek], [KevinMarks] and [jgmac1106] joined the channel
#
cambridgeport90[
What do you have to do to get your site listed up there?
[schmarty] and [Rose] joined the channel
#
[Rose]
Hmm, my bridgy syndication isn't including my images: https://rosemaryorchard.com/microblog/4494/
#
[tantek]
because your post doesn't have the image marked up as a u-photo
#
Loqi
[Rosemary Orchard] We had avocados, and so I decided to try growing avocado trees from the pits – one is sprouting! The other is still being stubborn but I’m seeing cracks in the shell!
#
GWG
I am trying to decide how many WordPress and/or PHP versions back to support
[tantek] joined the channel
#
GWG
For PHP, I bumped my minimum to 5.4, but WordPress is at 5.6 minimum in its latest
#
GWG
I figured that matched the minimum for Php-mf2
#
GWG
And got a bunch of stuff to adopt
#
[Rose]
Tantek: Weird, I'm using Autonomie
#
[Rose]
Is the u-photo a theme or a plugin thing?
#
GWG
For WordPress versions, I picked 4.9, the last version before Gutenberg, which I don't support
#
GWG
[Rose]: Could be either
#
GWG
But WordPress actually closed a few tickets post 4.9 to my benefit, so now I have to backport some stuff
#
GWG
Core WordPress backcompat is forever.
#
[Rose]
Hmmm, I need to debug the pictures not getting u-photo attached then. I was hoping it would be something I could quickly fix
#
GWG
For most plugins, they try to cover at least two major versions back.
#
GWG
And I could use this
#
[Rose]
Ooh, nice
#
GWG
Simple Location does extensive time work to display posts in location time
#
GWG
My parsing stuff normalizes datetimes from incoming urls to get published date
#
GWG
My themes do some gymnastics because of WordPress date functions not returning a timezone offset when expected
#
[Rose]
If there's a good reason for it (like this) then I'm all for dropping support for previous versions
#
[Rose]
There will still be an old version of Simple Location people can use, so it's not like they'll lose the plugin.
#
GWG
I know
#
GWG
I just am trying to come up with a support statement I can post
#
GWG
I am thinking of.. I will support two major versions back, but will not bump version requirements without a reason and will accept requests to support further back on a case by case basis
#
GWG
For this date thing, I will probably audit all use of old functions and see
#
GWG
Some of that code was clunky anyway
[dougbeal], [jgmac1106], [tonz], [frank], [dominik], [snarfed], [aaronpk], [schmarty], FranklinDiscord[, [Lewis_Cowles], radio_aliceDisco and dougbeal|imac joined the channel
#
beko[m]
Ooooo. I just syndicated my first WP post to Okuna using a Webmention. Still a lot ot duct tape but damn this makes me happy 😁
#
GWG
What is okuna?
#
Loqi
It looks like we don't have a page for "okuna" yet. Would you like to create it? (Or just say "okuna is ____", a sentence describing the term)
#
beko[m]
okuna is an ethical social network
#
GWG
Learn something new every day
#
beko[m]
Well… it's what's on the website 🙂
#
beko[m]
nvm, it's in alpga
#
beko[m]
* nvm, it's in alpha
#
beko[m]
How can I debug the Custom POSSE provider plugin? It doesn't seem to find or like my custom endpoint.
#
beko[m]
may be missing https. I just forwared the localhost port to my local dev project for testing via ssh.
#
GWG
You mean in Syndication Links?
#
GWG
I can tell you by the address
#
beko[m]
when I forge it with curl it works.
#
GWG
WordPress has a safety measure
#
beko[m]
a… what? 😆
#
GWG
Webmention uses it... unless you turn on WP_DEBUG
#
GWG
It doesn't allow access to localhost
#
beko[m]
f***e o0 how can anyone stand this? Now I have to add a proxy ott?
#
GWG
No, you add can turn on WP_DEBUG
#
beko[m]
will do.
#
GWG
It is designed that way to protect against malicious code
#
GWG
But we put in an override
#
GWG
You could also just write a custom syndication provider
#
GWG
It's pretty simple to do so
#
GWG
You just have to write a simple function
#
beko[m]
This should work just fine. It's just for dev. Needs a lot more polish before I can put it up somewhere.
#
beko[m]
still no luck
#
GWG
There's also the port issue possibly
#
GWG
Can you put it on 8080?
#
GWG
If you want to file an issue, it is a webmention problem, not a syndication links probl5
#
beko[m]
No idea what it's going. I guess I've to poke around in the source. I see now that a cron executes, I get 2 Request on / where my endpoint is listed but nothing more. After that it added the POSSE provider link to Syndication-Links of the post
#
beko[m]
* No idea what it's doing. I guess I've to poke around in the source. I see now that a cron executes, I get 2 Request on / where my endpoint is listed but nothing more. After that it added the POSSE provider link to Syndication-Links of the post
#
beko[m]
Will do some digging on my server, thanks for your help.
#
GWG
It would
#
GWG
It doesn't take it off until you return the link
#
GWG
How much do you know about webmention posse?
#
beko[m]
I added a queue that returns a Location instantly but I think it's found it. Testing
#
beko[m]
* I added a queue that returns a Location instantly but I think I found it. Testing
#
beko[m]
sorry, late. typo much. :D
#
beko[m]
ew.. it worked 😁 I had no wildcard on the server. Webmention requested http://localhost:3000 to find endpoint and not http://localhost:3000/ xD
#
beko[m]
Okay, this is cool 😁 Now it shows the ID it got from my queue. More duct tape tomorrow. Time to catch my Zs.