#wordpress 2023-01-25

2023-01-25 UTC
starrwulfe, [schmarty], to2ds, IWSlackGateway, [tantek] and [TMichelleMoore] joined the channel
#
[TMichelleMoore]
@gwg Is there anything in particular you are looking for regarding thoughts on improving the WordPress rendering…?
#
GWG
I just tweaked it, need to know what posts go wrong
#
[TMichelleMoore]
[pfefferle] I am trying to create a block pattern that will be a block that has classes on it. In essence trying to use microformats with the least amount of HTML. My first one is an RSVP. Can you translate what they are saying the issue you pointed out here? I would be using classes to do this. But one thing I have seen is that the links, if in a block of text are a little difficult.
#
[TMichelleMoore]
@gwg One more question, where would they go wrong? In the output posted on the silo or in the syndicated links on the post? Or just check overall?
#
GWG
In the output
[snarfed] joined the channel
#
[snarfed]
GWG also as usual I'll recommend unit tests 😎 even if you can't predict absolutely every user situation, you can set up tests with a wide range of them, so you don't have to depend on users to test for you
#
GWG
[snarfed]: How do I test what your code will do with it when I send it?
#
[snarfed]
GWG you mean Bridgy Micropub?
#
GWG
Yes
#
[snarfed]
your unit tests would only test your code, not live Bridgy calls
#
[snarfed]
you can use Bridgy Publish's interactive preview to see how it handles any kind of post
#
GWG
[snarfed]: Exactly...I may be missing some info
#
[snarfed]
hopefully interactive preview and https://brid.gy/about#micropub are enough info. specifically, from that link: "One difference from normal Bridgy Publish is that Micropub always posts the text from the content property, even if a name property is also included."
#
[TMichelleMoore]
[snarfed] My Micropub doesn’t work, I get the 400 error. @gwg Is the micropub actually still an option?
#
GWG
[TMichelleMoore]: What do you mean, doesn't work?
#
GWG
As in, what function?
#
[TMichelleMoore]
@gwg That is an existing issue. Sorry for not specifying. When I go to brid.gy > Mastodon > READY TO PUBLISH > GET TOKEN, click ACCEPT = I get the following error ” HTTP Error 401: {“error”:“The access token is invalid”}
#
GWG
Oh...so an external problem
#
[TMichelleMoore]
So I have been manually fixing them on Mastodon…
#
[snarfed]
sorry about the 401 [TMichelleMoore]! I'll look
#
starrwulfe[m]
Hey [snarfed] I'm getting 404 errors on my webfinger redirects.
#
starrwulfe[m]
redirected to:
#
starrwulfe[m]
returned HTTP 404
#
[snarfed]
starrwulfe yeah I saw, that * in your redirect shouldn't be there
#
starrwulfe[m]
not sure why that keeps happening... 🤔
#
[TMichelleMoore]
So my feedback @gwg - It would be nice if WordPress tags translated into hashtags with the # in front. Not sure if I am using the microformat classes correctly on my posts so that the content shows ([snarfed]). And I would love if the full link showed instead of the one with the number.
#
GWG
[TMichelleMoore]: I'm not sending the one with the number.
#
starrwulfe[m]
--> 302 -->
#
starrwulfe[m]
Its a real head scratcher over here...
#
[snarfed]
starrwulfe I expect there shouldn't be a * in the second URL
#
[snarfed]
just a guess though, details will depend on where you're setting up that redirect
#
starrwulfe[m]
yet another plug-in as I'm on managed Wordpress. But let me see if i can switch something here.
#
starrwulfe[m]
OK, now I get a 400 error...which is less than 404, so....getting warmer? LOL
#
starrwulfe[m]
Bingo. I had to point my redirection directly at the full resource -- wildcards only confused my redirect I guess.
#
[TMichelleMoore]
@starrwulfe[m] What are you using for redirection?
#
starrwulfe[m]
Ironically, a plugin called "Redirection" LOL
[tw2113_Slack_] joined the channel
#
[tw2113_Slack_]
good plugin
#
[TMichelleMoore]
Oops just saw your answer…
#
starrwulfe[m]
Yeah, I kinda needed this for when my shortlink plugin was spazzing out so I could redirect the bad links to the proper permalinks while I looked for a fix. (I fixed it earlier today)
#
[snarfed]
[TMichelleMoore] the difference is that the top post there has a title, the bottom one doesn't. BF handles those differently: https://fed.brid.gy/docs#which-parts
#
starrwulfe[m]
Anything with a title gets treated as an "article" post type and just gets the title and link posted. The AP plugin does the same thing with the post types locally too.
#
[snarfed]
right, and sorry, I misspoke, _Mastodon_ handles them differently, not BF
#
starrwulfe[m]
Also true. If you see your same posts on Pleroma, Friendica and Hubzilla, the whole thing shows almost as a 1:1 copy of your post.
#
starrwulfe[m]
(this is why I keep telling my friends who don't want the hassle of IndiewebLife to just go to a nice Friendica instance. Plays nice with mastodon's API for many things but also does Ostatus and Diaspora and shows anything from reactji to whole novel posts!
#
[snarfed]
also [TMichelleMoore] those token 401s have me stumped. BF's logs show that it got a token ok from mastodon.social, then immediately asked mastodon.social "is this token valid?" and mastodon.social said "no, 401 error" 😐
#
[TMichelleMoore]
[snarfed] So I can’t override that with a p-summary or something right? That’s just a fallback right? All of my posts have titles. My mind won’t let me add a post with no title. Lol
#
[TMichelleMoore]
[snarfed] Remember that token you generated for me. Can you delete that? I think you did already, but just in case….
#
starrwulfe[m]
That's a Mastodon thing [TMichelleMoore] .
#
starrwulfe[m]
The way I found around it was to use the "note" or "aside" post format. it might work here with BF like it does with the AP plugin
#
[TMichelleMoore]
@starreulfe[m] OK. I am using 6.1.1 with the default them. I don’t have that from what I am seeing. But will investigate. Thank you!
#
starrwulfe[m]
I'm using a modified version of Autonomie that included it. All the pre 6.0 themes still have it in there before the big switch to blocks. (this one can do both blocks and classic so I'm hand coding the other stuff into it as I go.)
[pfefferle] joined the channel
#
[pfefferle]
↩️ There is currently no way to add any semantics to links, like for example u-in-reply-to or u-like-of and the issue is about extending the link overlay to have these possibilities.
jsbach, antranigv, gRegor, [KevinMarks], [manton] and [Serena] joined the channel
#
[Serena]
just wondering what everyone's web host of choice is? I'm using Bluehost and this is the third time I have had to ask them to whitelist Micropub Endpoint (I seem to have to do this every couple of years).
#
[Serena]
I think it's time for me to look for a new host (that's not too expensive). Any suggestions?
#
[Serena]
Each time takes a couple of weeks of back and forth before finally they do something in the backend (hell if I know what) and things work again.
RasAlGhoul joined the channel
#
[tw2113_Slack_]
i’ve been on DigitalOcean for a long time now
#
[tw2113_Slack_]
though i still use Dreamhost for domains
[jacky] and starrwulfe joined the channel
#
[Serena]
thanks both!
[dave] and gRegor joined the channel
#
starrwulfe[m]
GWG: not sure if it was stated, but syndication plugin isn’t pushing tags as hashtags for Bridgy -> Twitter
#
starrwulfe[m]
[Serena]: I’m using EasyWP by Namecheap and its just bare minimum Wordpress management on their end. I still have access to database and some minimal terminal access for WP CLI even. $5/month, same as a small DO droplet
#
starrwulfe[m]
They handle backups and CDN too so that’s why went this route.
#
GWG
starrwulfe[m]: Categories, Post Tags, all taxonomies?
#
GWG
[snarfed]: Does Bridgy turn p-category into hashtags?
#
[TMichelleMoore]
@serena Namecheap. I do t have EasyWP. I don’t know what a DO droplet is but do have WP CLI and a terminal. I believe I have the endpoint access as Quill does work.
starrwulfe joined the channel
#
GWG
Good to know
#
[snarfed]
Bridgy Micropub especially, it deliberately passes through the exact content you said, and doesn't try to add or change anything
#
GWG
So I have to render the hashtags..easy enough
#
GWG
starrwulfe[m]: By the way, GitHub is my notepad on this
[Caleb_Hearth] joined the channel
#
[snarfed]
GWG read the discussion in that ^ issue first. It can get tricky, eg de-duping
[aciccarello], [jgarber], [James_Van_Dyne], to2ds, IWSlackGateway, [KevinMarks], [tantek], [Caleb_Hearth] and [Mike_Heavers] joined the channel