#wordpress 2019-08-30

2019-08-30 UTC
[timothy_chamber and [Will_Monroe] joined the channel
#
[Will_Monroe]
Hello! If you use Bridgy successfully with WordPress, I have a question for you! If I have the IndieWeb plugin and I have authorized my Twitter account to post to my website on Bridgy, is there something else I need to do? I know this is probably simple, but I cannot seem to get Bridgy to post to Twitter.
#
GWG
How are you going about it?
#
[Will_Monroe]
This is what my setup steps with Bridgy looks like: http://somup.com/cqjvVMevZK
#
GWG
How are you trying to post to Twitter?
#
GWG
Bridgy doesn't post all posts to Twitter, you have to trigger it
#
[Will_Monroe]
And this is how I post in WP: http://somup.com/cqjvV8evZs
#
[Will_Monroe]
But nothing seems to show up in Twitter. So I must have missed something.
#
[Will_Monroe]
BTW, I appreciate the videos and tutorials that you've shared regarding WP and Indieweb! They've been very helpful.
#
GWG
Your URL is?
#
[Will_Monroe]
My site URL is https://willtmonroe.com
#
[Will_Monroe]
I'm using Independent Publisher
#
GWG
Do you have any caching plugins enabled?
#
GWG
https://brid.gy/twitter/willtmonroe - You might want to click where it says Click tgo enable publishing
#
[Will_Monroe]
Re caching plugins, I do not know. I've tried to keep my plugins to just the Indieweb plugins.
#
[Will_Monroe]
Re the URL you sent, I have clicked that. When I do, it sends me here: https://brid.gy/about#publish
#
[Will_Monroe]
Just an FAQ page
#
GWG
No, the Twitter icon next to it
#
[Will_Monroe]
WOW
#
GWG
I should tell snarfed someone didn't realize that was the button.
#
[Will_Monroe]
I feel dumb.
#
GWG
Design is hard
#
[Will_Monroe]
That looks like it may have worked
#
[Will_Monroe]
Thank you!
#
GWG
Always happy to help
#
GWG
Hopefully everything works well
#
GWG
I'm working on a revamp of webmentions, and it has een slow.
#
[Will_Monroe]
I know it may take a bit to repoll my WP site but I bet that does it
#
[Will_Monroe]
Really helpful, thank you.
#
[Will_Monroe]
++GWG
#
[Will_Monroe]
++ GWG
#
[Will_Monroe]
I don't know how to give karma
#
GWG
The ++ goes at the end of the name
#
Loqi
The has 1 karma in this channel over the last year (2 in all channels)
#
[Will_Monroe]
GWG++
#
Loqi
GWG has 80 karma in this channel over the last year (145 in all channels)
#
[Will_Monroe]
GWG+
#
[Will_Monroe]
Is the turnaround time for Bridgy posts fairly slow? Like hours and hours?
#
GWG
No.
#
GWG
Look at the bottom of your user page
#
GWG
It says it got a 403 for your site, for some reason
#
GWG
Is your provider astrohost.com?
#
[Will_Monroe]
Actually, it's Reclaim Hosting.
#
GWG
Odd
#
[Will_Monroe]
They are usually quite helpful..if I bring them something to work with.
#
GWG
It is getting something weird
#
GWG
I'm familiar with Reclaim.
#
GWG
They've helped people before.
#
GWG
But I think we need to ask snarfed.
#
[Will_Monroe]
Well, the only thing I can think of is the .htaccess file I added today to in the root of my WP install to help make my micropub/microsub endpoints work
#
GWG
Well, I need a second opinion. I'm calling snarfed, the Bridgy developer, to help me read his logs
#
[Will_Monroe]
And the contents of that file are just `SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1`
#
GWG
Yes. That's for IndieAuth
#
[Will_Monroe]
Perhaps the root of my install needs cleanup...but I will be grateful for any help
#
GWG
Shouldn't do this.
#
GWG
It seems to be redirecting to some other site somehow
#
[Will_Monroe]
Well, something just came through: https://twitter.com/willtmonroe/status/1167258906231525378
#
[Will_Monroe]
A little frightening but at least it works
#
GWG
There you are.
#
[Will_Monroe]
Yeah! I think I need to figure out how to exclude that oversized, pixelated image
#
GWG
Independent Publisher has that problem
#
[Will_Monroe]
But at least it works
#
GWG
I did fork it and try to write a more compliant version
#
GWG
I really have to chat with raamdev, who did Independent Publisher, about upstream fixes
#
[Will_Monroe]
Do you recommend another theme? I have no loyalty in this regard. I just want it to look clean and work with Indieweb plugins.
#
GWG
Try this
#
Loqi
[dshanske] indieweb-publisher: Fork of Independent Publisher with Backported Fixes and Better Indieweb Compatibility (Still under development))
#
GWG
I did do a fork of some of that theme
#
GWG
It looks the same, pretty much
#
Loqi
[dshanske] iw26: IW26 is an Indieweb Fork of WordPress Twenty Sixteen Theme
#
Loqi
[pfefferle] Autonomie: "Autonomie" is a highly semantic, responsive, accessible and search engine optimized WordPress Theme. It provides HTML5 templates refined with microformats, microformats v2 and microdata (Schema.org). "Autonomie" supports a lot of OpenWeb plugins and is fully IndieWeb compatible.
#
[Will_Monroe]
Nice! Thank you for those recommendations.
#
[Will_Monroe]
I actually experimented with Autonomie earlier today. I liked it. But I had some trouble getting my micropub/microsub endpoints working with that theme. Maybe it was due to something else. But Independent Publisher worked.
#
GWG
We need more theme developers in the community
#
[Will_Monroe]
IW26 has also worked well for me. I like it.
#
[Will_Monroe]
I wish I had that skillset
#
GWG
I taught myself most of this stuff. I'm only a gifted amateur.
#
[Will_Monroe]
I take your point about self-teaching. That's true.
#
[Will_Monroe]
And I thank you!
#
[Will_Monroe]
My newborn is calling. So this is it for me for the day.
#
GWG
I am happy to help others as people tried to help me.
[manton], [snarfed] and [Michael_Beckwit joined the channel
#
[Michael_Beckwit
GWG don't you have a local avatar plugin for WP?
#
GWG
[Michael_Beckwit: I have one I use, but I keep meaning to add avatar caching to webmentions. Why?
#
[Michael_Beckwit
was wanting to possibly ditch gravatar, if you're willing to share the code 😄
#
[Michael_Beckwit
or at least override it
#
GWG
Try Avatar Privacy for now
#
GWG
It's the one I use.
#
GWG
I have some stuff I want to do, but haven't gotten to it yet
#
[Michael_Beckwit
cool. thanks
tbbrown, [fluffy], gRegorLove, dopplergange, [pawel_madej], jeremych_, [KevinMarks] and [jgmac1106] joined the channel
#
jgmac1106
I started this: https://community.reclaimhosting.com/t/indieweb-wordpress-on-reclaim-hosting/2549 please let me know if I need to add anything, can’t remember if folks have to change the htaccess file for IndieAuth to work
#
Loqi
[Amanda Rush(Placeholder, edit later) WordPress powers over a quarter of the web. With such a large market share comes a shared responsibility to create a web that everyone can use and enjoy, regardless of how they access it.] This reply is part of a conversation on this post which has carried over to Twitter. There’s an elephant in the room we need to talk about regarding the fifth choice of non-WordPress CMS, and it’s accessibility, (or lack thereof) of those content...
[KevinMarks], qotta, petermolnar, ben_thatmustbeme, ichoquo0Aigh9ie, GWG and [Nicolas_Hoizey] joined the channel
#
bekomotion[m]
Are any privacy options planned? I'd like e.g. my wordpress to fetch foreign data. Just tried a Repost from Twitter and this dragged in JS from TW to my site. I don't want that.
[mapkyca] joined the channel
#
GWG
That is built into WordPress
#
bekomotion[m]
GWG: in that case I really do need an override or a two clicks solution before that embed widget shows up. I can't brag about not logging anything and allow adsense from foreign sites. Even foreign avatars are already something that I dislike. Mayhap some other plugin provides this already.
[xavierroy] joined the channel
#
bekomotion[m]
That's no critic on the IndieWeb Wordpress plugins. That stuff is a-ma-zing
#
[xavierroy]
How do I remove a theme completely. I mean all links to it from the WP db. Deleting the theme removes only the theme from the file system
#
GWG
If you don't want to display it in Post Kinds, I have a toggle for that
#
GWG
If you want to disable it in WordPress in general, sure it is doable
qotta, [Rose], gRegorLove and tsrt^ joined the channel
#
bekomotion[m]
Works for me, thanks GWG
#
bekomotion[m]
Fiddled also with Shariff buttons. The trick is to add the widget to a sidebar and do not use "Show After Posts" or this stuff will end up in the parsed content for syndication.
#
bekomotion[m]
GWG++ (think that's the correct way here)
#
Loqi
GWG has 81 karma in this channel over the last year (146 in all channels)
[Michael_Beckwit, [snarfed] and [timothy_chamber joined the channel
#
GWG
I really need someone to bounce WordPress technical ideas off sometimes
#
[Michael_Beckwit
just as a heads up, i’m focusing my contributor time today on the Webmentions plugin, at lest for the first part of it
#
GWG
[Michael_Beckwit: What about it?
#
[Michael_Beckwit
anything i can come up with. First step is reviewing open issues
#
[Michael_Beckwit
likely some code reading
#
GWG
I am working on moving the new comment creation code to a separate function
#
GWG
I can push my branch if you want to see it
#
[Michael_Beckwit
sure
[pawel_madej] joined the channel
#
GWG
Done
#
GWG
Linkbacks branch
#
GWG
pfefferle and I are reviewers on the webmention repo
#
GWG
So one of us has to review the other's work
#
GWG
So, I'm preparing this large structural change as part of an upgrade. He's back from vacation over the weekend
#
GWG
It abstracts out creating linkbacks...webmentions specifically, to a separate function that can do all the checks for validity on the data.
#
[Michael_Beckwit
cool
#
GWG
I'm a big believer in modular code
#
GWG
I also like Ikea
#
GWG
Right now, all the mf2 parsing is done in the Semantic Linkbacks plugin
#
GWG
We have a proposal I'm working through to merge it into this one at some point and retire the other plugin
#
GWG
But it is going to be a gradual thing to avoid disruption, as data needs to be moved.
#
[Michael_Beckwit
just to confirm, this Linkbacks branch is in regards to https://github.com/pfefferle/wordpress-webmention/issues/112 ?
#
GWG
That's the bigger goal, yes. But this branch is specifically about #208
#
[Michael_Beckwit
gotcha.
#
GWG
I probably should tag a bunch of issues as part of a project to get to #112
[xavierroy] joined the channel
#
[xavierroy]
[dshanske] is Lego a better metaphor for modular than IKEA?
#
GWG
[xavierroy]: Lego is all about blocks
#
GWG
Too much Gutenberg in that analogy
#
GWG
But, all of the changes I'm working on right now are very low level changes, to support a higher level change I'm planning.
#
GWG
Without disrupting people's usage
#
GWG
So, I separated the functionality of adding webmentions to the database from receiving them so I could change that code independently.
#
bekomotion[m]
…my inner coder is geeking out 😁
#
GWG
[Michael_Beckwit: Just mentioning my branch so that if you are working on something, it might be something different.
#
[Michael_Beckwit
i’m most definitely in a familiarity stage right now, I’m not typing away in a flurry
#
GWG
Keep me posted
#
GWG
By the way, when I'm done, my new functions will have docs
#
GWG
They will need them
#
[Michael_Beckwit
mmmm documentation
#
GWG
Well, something I always mean to do more of
[Nicolas_Hoizey], [Rose], [schmarty], paddy, [mapkyca] and ircuser joined the channel
#
paddy
hello :)
#
bekomotion[m]
o/
#
GWG
Hi, paddy
DukeOfCumberland joined the channel
#
[Michael_Beckwit
what’s nodeinfo_data and nodeinfo2_data provided by?
#
[Michael_Beckwit
i’m seeing those filters, but can’t quite figure out where they go to
#
GWG
[Michael_Beckwit: Another of pfefferle's projects
#
GWG
I've never used them
DukeOfCumberland left the channel
#
Loqi
[pfefferle] wordpress-host-meta: Host Metadata for WordPress
#
Loqi
[pfefferle] wordpress-nodeinfo: NodeInfo and NodeInfo2 for WordPress
#
[Michael_Beckwit
gotcha
gRegorLove joined the channel
#
GWG
I just leave them alone
[snarfed] and [pfefferle] joined the channel
#
[pfefferle]
host-meta was initially used by webfinger and the OStatus stack
#
[pfefferle]
It is kind of the same as webfinger only for the global page
#
[pfefferle]
Nodeinfo is used by the fediverse
#
[pfefferle]
Also something similar to host-meta and webfinger
#
[pfefferle]
It provides some informations about a fediverse node
#
jacky
everything's an AKA
#
[pfefferle]
There are some interesting stats projects that support nodeinfo
#
GWG
[pfefferle]: Welcome back
#
[pfefferle]
I am not yet back
#
[pfefferle]
But found a WiFi hotspot 😂
PrabhaavDiscord[ joined the channel
#
[pfefferle]
So if you install the Webmention plugin and the nodeinfo plugin you can be listed there
#
GWG
[pfefferle]: I've been working on a new branch
#
[pfefferle]
Besides [aaronpk] and me 😉
#
ircuser
having issues trying to get file permission on installing Wordpress on a raspberry pi w can any one help me out please
#
[pfefferle]
GWG the wrapper thing you told me?
#
GWG
[pfefferle]: Yesm, the linkbacks branch
#
GWG
But it is a bit more
#
[pfefferle]
Is it already published?
#
GWG
Yes
#
GWG
Not PR yet or done
#
GWG
But you can see
#
[pfefferle]
Which one?
#
[pfefferle]
Linkbacks?
#
GWG
Webmentions plugin, linkbacks branch
#
[pfefferle]
Why do you call the functions *_linkback?
#
[pfefferle]
wouldn‘t *_webmention not better? And more collision safe?
#
GWG
Because of replies, likes, etc
#
GWG
Since we want to make comment type the semantic type
#
[pfefferle]
But they are all webmentions in the end
#
[pfefferle]
Aren‘t they?
#
[pfefferle]
We should replace the Webmention comment-`type completely
#
[Michael_Beckwit
before i invest time on it, is there any specific reason why the webmention template <head> area markup is as basic as it is? For example not specifying a lang attribute?
#
[Michael_Beckwit
templates* as there are a handful
#
GWG
Yes
#
GWG
No objection
#
Loqi
yea!
#
[pfefferle]
There are a lot of changes I do not see the advantage yet, but it is hard to check everything on the phone
#
[Michael_Beckwit
worst case, i can PR and we can haggle
#
[pfefferle]
[Michael_Beckwith] I am not sure I understand you question, can you make an example?
#
[Michael_Beckwit
yeah
#
[Michael_Beckwit
adding extras like this: `<html <?php language_attributes(); ?>>`
#
[Michael_Beckwit
or not hardcoding content types
#
GWG
[pfefferle]: Not quite done yet
#
[pfefferle]
[Michael_Beckwith] It is copied from the login screen and shows only simple notices, but no, it is not by intention... feel free to optimize it!
#
[Michael_Beckwit
woo
#
[pfefferle]
Why move the commentdata pre-filling on top, before all checks
#
[pfefferle]
It might be unnecessary
#
GWG
Compact raises a notice on PHP7.3
#
[Michael_Beckwit
for a new feature vs cleanup, i’m kind of eying https://github.com/pfefferle/wordpress-webmention/issues/215
#
[pfefferle]
But you have not simply replaced it
#
[pfefferle]
Another thing: why not directly write comment_data... we would not need linkback_commentdata
#
[pfefferle]
No offense...just trying to understand
#
GWG
[pfefferle]: I want to replace new_comment in future.
#
[pfefferle]
What is the advantage?
#
Loqi
It looks like we don't have a page for "advantage" yet. Would you like to create it? (Or just say "advantage is ____", a sentence describing the term)
#
GWG
Custom comment status for async
#
[pfefferle]
Still can‘t see any advantages of the current changes, at least the one I posted
#
GWG
It is still a work in progress
#
[pfefferle]
And it do not answers the question why we need the linkback_commentdata function instead of writing comment_meta
[tantek] joined the channel
#
[pfefferle]
The async is scheduling an event with all current comment data
#
[pfefferle]
And we made the comment Type Processing with a Filter... wouldn’t that be enough?
#
GWG
Comment type processing?
#
[pfefferle]
Semantic linkbacks is doing it for now. Why not implement the webmention_process_schedule in the first place and use the webmention_comment_data filter
#
[pfefferle]
We could use a specific function instead of the filter... but I still see no advantage of the current changes
#
[pfefferle]
Sorry 😞
#
[pfefferle]
Have to eat now
#
GWG
[pfefferle]: I like the idea of abstracting it so we can better change the storage later to match ActivityPub and Semantic Linkbacks as previously discussed.
#
GWG
But I can punt the issue
#
GWG
With the declaring everything, I may need to fiddle a bit more, as I was trying to avoid the compact problem
#
[pfefferle]
I understand, but the current changes are not simplifying, but bloating the code... I would understand if we use a init_commentdata for example
#
GWG
[pfefferle]: What do you mean by init commentdata? A function that sets up the commentdata?
#
GWG
Will try an alternative branch.
#
GWG
And see if I can do the same in a different way
#
[pfefferle]
For example... but filling an initial array directly in the receiver function, to change it later with another function feels wrong
fluffy joined the channel
#
GWG
[pfefferle]: With some fields we have to. Because the $_SERVER variable won't be there later.
#
GWG
[pfefferle]: Will go back to the drawing board on the matter.
#
[pfefferle]
And it is still the only way it is generated and I would only refactor it with a function, if I have to use it twice
#
[pfefferle]
Otherwise it makes it more complex because I have to hop to different files to understand the code
#
GWG
[pfefferle]: Will likely try a new tactic and send you a note about a different branch. I still have the avatar branch waiting for merge as well.
#
[pfefferle]
I am reviewing it and want to also discuss some parts with you
#
[pfefferle]
Should we have a fixed day in the week to sync us? I am also open for a short Skype call
#
[pfefferle]
At least for such a big task as the merging of the sl plugin into the Webmention plugin
#
GWG
[pfefferle]: What is your schedule normally?
#
GWG
Let's see when we align.
#
GWG
I am free this Monday anytime because it is a US holiday
#
[pfefferle]
I am on vacation until the next weekend
#
[pfefferle]
Not this week 😞
#
GWG
I thought this weekend, sorry
#
GWG
Next week, I am working during normal US business hours, so I could do earlier, as you are 6 hours later than I am, or just before you go to bed.
#
[pfefferle]
But I should be available to chat Monday evening European time
#
GWG
So, what time European?
[fluffy] joined the channel
#
[Michael_Beckwit
if we’re being honest, i like the fact that the help tab is utilized
[aarongustafson] and [KevinMarks] joined the channel
#
GWG
[Michael_Beckwit: Me too. Just people never notice
[jgarber] and [jgmac1106] joined the channel
#
GWG
9PM Is 3PM NYC. That's a bit early, as I'm teaching a class till 4:30PM about 40 minutes from my house
#
thediabeticway
keep getting error on trying to install wordpress on a raspberrry pi w is there anyone around to help on the issues?
#
GWG
thediabeticway: We can try. We usually advise more at the wordpress than the server hosting level, but will give it a shot
#
GWG
If we can't, you can try #wordpress
[mapkyca] joined the channel
#
[pfefferle]
[dshanske] I simply come online when I can and then I will wait for you 😉
#
[Michael_Beckwit
hmm…`There was a problem processing your comment.` errors when i try to notify one post of another.
#
[Michael_Beckwit
trying to track down that error source in WP code
#
[pfefferle]
Might be a duplicate post
#
[pfefferle]
WordPress is checking if there is another comment with the same content but another id
#
[Michael_Beckwit
the error above is causing invalid JSON. just a question of why 😄
#
[Michael_Beckwit
ohhh
#
GWG
[pfefferle]: I did rewrite that to no longer use the backcompat functionality. I may revisit that too
#
GWG
I may try to just do a PR for that too
#
[Michael_Beckwit
[pfefferle] turns out it’s a conflict with https://wordpress.org/plugins/zero-spam/ that I know my target site has
#
[Michael_Beckwit
sounds like compatibility potential on one or the other end
paddy, [aarongustafson], [schmarty] and [manton] joined the channel
#
GWG
So, back to the drawing board for me.
#
[Michael_Beckwit
signing off of slack for a bit, but will keep hacking away at what i can for webmentions plugin today 😄
#
[Michael_Beckwit
thanks as always for the timely feedback
[mapkyca], dopplergange and gRegorLove joined the channel
#
[Michael_Beckwit
i feel dirty but this is what i found works with Zero Spam so that i can still receive webmentions while not losing comment control as a whole
#
[Michael_Beckwit
```
#
[Michael_Beckwit
```
#
[Michael_Beckwit
add_action( 'preprocess_comment', function ( $commentdata ) {
#
[Michael_Beckwit
}
#
[Michael_Beckwit
if ( function_exists( 'zerospam_get_key' ) && '/wp-json/webmention/1.0/endpoint' === $_SERVER['REQUEST_URI'] ) {
#
[Michael_Beckwit
$_POST['zerospam_key'] = zerospam_get_key();
#
[Michael_Beckwit
return $commentdata;
#
[Michael_Beckwit
}, 9 );
#
[Michael_Beckwit
```
#
[Michael_Beckwit
basically opening the dog door in this case
gRegorLove joined the channel