#wordpress 2019-03-17

2019-03-17 UTC
[aaronpk] and [jgmac1106] joined the channel
#
[jgmac1106]
gwg++ for IndieAuth
#
Loqi
gwg has 82 karma in this channel over the last year (172 in all channels)
#
GWG
[jgmac1106]: What about IndieAuth?
#
[jgmac1106]
Did I just see 3.3 hit Indie News? Thought I would say thanks
#
GWG
[jgmac1106]: Nothing really spectacular though.
#
GWG
More security
#
[jgmac1106]
You never see the spectacular and rarely get thanked for security
#
GWG
Well, much more to do
#
GWG
But IndieAuth is a very stable project.
brokaw, [aaronpk] and [tonz] joined the channel
#
[tonz]
[frank] I had the same issue at IWV Nurnberg. Had to do with the server running PHP as fastcgi vs apache module. This is what worked for me https://www.zylstra.org/blog/weekly-hacks/#hack1907
[aaronpk], [kevinmarks], [Rose], jeremych_, [jgmac1106] and [frank] joined the channel
#
[frank]
Yes! Thanks [tonz] You got me on the right track. The thing is, the test script in the Indieauth plugin is somewhat confusing to me. I wasn't sure what to fill in as an URL. Turns out it had to be the exact URL of the page itself. I'd reckon that could be automated for the user... But then I got on the track how to solve the authorization header for Apache. And now it works! Well... I hope it keeps working...
#
GWG
Frank, great
#
GWG
I will see about changing the text
#
[frank]
That would be great GWG. I might not be a ninja-programmer but I can definitely think about improving workflows and user experience on several areas.
#
[frank]
[tonz] I think your microformats are f-in up our systems again 😆 . This should be an in-reply-to to your URL above. Somehow it churns out tweets...
#
GWG
Workflow suggestions are always welcome
#
GWG
Lots of things that I want to improve
#
[frank]
Should I add them to the Github issues?
#
GWG
Always. That's where I go for one when I am working on something and want to remember what else I might do
#
GWG
I try to give a little attention to each plugin periodically
#
GWG
But there are a bunch of them
#
GWG
I am doing some Post Kinds work at the moment, handling some bugs on data saving, then I will be in Webmentions. Although sometimes I do change my plans
#
GWG
I am also going to Indiewebcamp New Haven and need a project that I can complete in a day
#
[frank]
The Post Kinds plugin is working with the Yoast SEO plugin again. I don't know if you changed anything, but they work nicely together now.
brokaw and [tonz] joined the channel
#
[tonz]
[frank] Odd, I received the webmention ok. That it shows Aldo de Moor’s twitter stream is very odd. The only sort-of thought I have with that, is that the latest webmention before your’s came from Aldo’s twitter via Bridgy.
#
[tonz]
But that webmention had nothing to do with the tweets shown in your screenshot.
#
sknebel
I think that is the reason. Your recent comments widget has "u-url" on the author names, so franks website thought the canonical url for your post was "https://twitter.com/ademoor", and fetched info from there
#
sknebel
at least that's my theory, GWG can tell me if there's logic that'd do that
brokaw joined the channel
#
GWG
That would be stock WordPress. Probably classic mf
brokaw joined the channel
#
sknebel
GWG: the widget has "u-url" on the authors, but no h-card, so it leaks to the article h-entry
[jgmac1106] joined the channel
#
[jgmac1106]
okay gwg, I think this going to work and people don't need to be serious theme editors...download your theme, search for hentry hreview or other top level h stuff, delete them. THEN use the microformats2 plugin....it comes out really nice in testing
#
sknebel
so my theory was that the other page when trying to make a reply context fetched the post, saw the first "u-url" pointing to twitter, followed that link and parsed what it found there
#
[jgmac1106]
hoping to have some time to get back to making this h-event plugin,.....got so close..just injected an h-entry somewhere along the way...gonna start over
#
GWG
I could write a fork of the recent comments widget
#
GWG
Or see if there is a way to edit it
#
sknebel
wait, the stock wordpress widget does add that?
#
GWG
Specifically with the deletion, it will work, but there are built in issues
#
GWG
sknebel, is it a u-url or classic?
#
GWG
I need to look closely. Away from a computer though
#
sknebel
if I say "u-url", I mean "u-url" :D
#
sknebel
I think I've seen that before... did the uf2 plugin cause that? was it a bug in a theme at some point?
brokaw joined the channel
#
sknebel
[tonz]: are you running the microformats2 plugin?
#
[jgmac1106]
yes I also was doing find and delete for the vcard and other stuff but I don't know enough about backcompat and pfefferle recommended just the top lvele h properties, will start with my charity site and see if I can find minimal amount of deletion
#
GWG
I think I know the issue
#
GWG
The uf2 plugin is adding it to all authors
#
GWG
Not distinguishing by place
#
[jgmac1106]
best suggestion only use the widget on homepage, not in sidebar of article
#
[jgmac1106]
two things happen the leaking u-url sometimes and other times problems with two h-cards each having minute mistakes
#
GWG
Common widget problem also
#
sknebel
other options: wrap a fake h- around the widget. potentially: fix the plugin?
#
[jgmac1106]
just typing fixing plugin would be best step
#
sknebel
[tonz] seems to run a theme based on sempress, so presumably he doesn't need the plugin at all?
#
[jgmac1106]
For some reason something makes me think it happens on SemPress but not iwc16
#
GWG
sknebel, we can propose to pfefferle he make modifications, but not as quick a fix as looking to do something in the uf2 plugin
#
[jgmac1106]
that could be the reason, I know I often have to tell people to make sure they don't have the plugin on any post siderbar
#
[jgmac1106]
if its add h-card property to theme, yes do that
#
[jgmac1106]
I mean to widget...sorry
#
[jgmac1106]
gwg ohhh I thought the issue was the h-card widget, you think it is the uf2 plugin sticking in the u-url, mu mistake
#
[jgmac1106]
yes nobody running SemPress should even have the uf2 plugin active
#
[jgmac1106]
honestly nobody should have the uf2 plugin installed unless they really know what they are doing, maybe it shouldn't be bundled or add a note saying if you use an Indieweb theme do not use this plugin note
#
GWG
Well, it is supposed to deactivate if used with a theme that doesn't need it
#
[jgmac1106]
ohh it does, cool feature
#
[jgmac1106]
hey but this makes me think, once microformats are stripped from core, maybe the uf2 plugin will work for more people
[pfefferle] joined the channel
#
[pfefferle]
Not really... there are other problems if the theme uses output escaping
#
Loqi
[jodumont] #41 wrong rendering for span p-author
#
GWG
Hi, [pfefferle]
#
GWG
[pfefferle]: What do you think we should do?
#
[pfefferle]
Regarding?
brokaw joined the channel
#
GWG
[pfefferle]: UF2. We started to think about going with MF2 Feed as an alternative, but we backed off a bit after some pushback
#
[pfefferle]
Sorry, but I gave up on this
#
GWG
[pfefferle]: So did I, in a way. I created two new theme forks to solve this problem
#
GWG
[pfefferle]: Whcih this? Just UF2 or more.
#
GWG
Just want to know what I shouldn't ask you about
#
GWG
I know you are making great strides in ActivityPub
#
GWG
I know I have no idea how to continue with blocks plus Microformats
#
[pfefferle]
Both plugins...
#
GWG
Feed and Uf2?
[jgmac1106] joined the channel
#
[jgmac1106]
pfefferele, ohh okay that is why I see that all time, thx for the link
#
GWG
How about Webmentions and such?
#
[pfefferle]
Yea, both microformats plugins
#
[pfefferle]
Only the microformats stuff!
#
[pfefferle]
I made some changes to the Webmention recently... and I am still interested in merging the SL plugin into WM
#
[pfefferle]
[jgmac1106] you‘re welcome ☺
#
[jgmac1106]
the question can up a lot and now I know why every Indpeendent Publisher theme looks that way. I got kinda close on my hacking around, but leaning to just going with SemPress and seeing if I can get all the features people want with a Page Builder
#
[jgmac1106]
"came up a lot"
#
GWG
Just making sure as I want to do some PRs to WM and SL
#
GWG
I think I have 2 open now
#
GWG
I think I need to do some fixes and migrations to get it to a point it could merge.
#
GWG
I have to fix Webmention moderation
#
GWG
jgmac1106, I made some fixes to my Independent Publisher fork to try and address it
#
GWG
I still am procrastinating on the work needed to get it in the WordPress repo
#
GWG
I hear it is difficult
#
[pfefferle]
GWG I am not sure if it is a good idea to merge both plugins... I would prefer to start over, because SL feels very hacky
#
[pfefferle]
[jgmac1106] let me know if you have improvements to SemPress
#
GWG
pfefferle, I would agree with that thought. But incorporate some of the code
#
GWG
pfefferle, if I want to try and build it, where should I
#
GWG
As a new repo? A webmention branch?
#
[pfefferle]
Why not directly merge into the master, for example with a features-switch
#
GWG
The webmention master?
#
[pfefferle]
That’s what I thought
#
[jgmac1106]
no, pfefferle, haven't come across anything, mistakes are usually people adding uf2 plugin or the h-card widget in article sidebars
#
GWG
Okay, I will set up a branch in my fork and start working
#
[pfefferle]
Should we start with a checklist or a small concept? So that it fits all needs?
#
GWG
Pfefferle, could you add a branch in the main repo for me to request merged to? A developer branch? To keep master clean?
#
[jgmac1106]
what I am really focused on first is turning this into an h-event plugin: https://wordpress.org/plugins/the-events-calendar/
#
Loqi
[Modern Tribe, Inc.] Description Create an events calendar and manage it with ease. The Events Calendar plugin provides professional-level quality and features backed by a team you can trust. Packed with loads of useful features, The Events Calendar by Modern Tribe is r...
#
GWG
I would like add a milestone and such, but I think only you can do that, pfefferle
#
[pfefferle]
GWG still not convinced that parse-this is the best solution
#
GWG
pfefferle, I waa going to start with the storage planning.
#
GWG
Because how the data gets in can come later
#
GWG
Probably needs an issue to brainstorm, which I will create.
#
GWG
For generic meta keys
#
GWG
And if we hook in processing, it could be anything
#
[pfefferle]
Or we start in the wiki?
#
GWG
pfefferle, good idea
#
GWG
I will write up the idea.
#
GWG
I'll put it here
#
GWG
Page needs an update anyway
#
GWG
I will also reference it in an issue
#
GWG
First step, if comment type is reply/like/etc, a key for source type
#
[pfefferle]
GWG I started using namespaces, to remove the prefixes... any preference on that?
#
GWG
Namespaces in php?
#
GWG
Minimum PHP bumps to 5.5 next month, so fine with it
#
[pfefferle]
I would finally use comment_type
#
GWG
Exactly.
#
GWG
And source type would be Webmention
#
[pfefferle]
what about Protocol?
#
GWG
pfefferle, that's what I meant by source
#
GWG
Protocol stored as a meta key
#
[pfefferle]
But also for the key name
#
[pfefferle]
I used it in the AP plugin
#
GWG
Like activitypub_?
#
GWG
I have to study that code again
#
[pfefferle]
protocol => activitypub
#
GWG
Yes, that was what I was thinking
#
GWG
Exactly what I was thinking
#
[pfefferle]
Would be cool if we could also use source_url and avatar_url
#
GWG
I think we should
#
GWG
I believe we are close in our data storage thoughts
#
GWG
So let's build that first
#
[pfefferle]
Perhaps we should collect all keys in the wiki, so that we can discuss it with others
#
GWG
I also want to build a version of the proposed templating system
#
GWG
pfefferle, sounds like we are building custom comment types
[Rose] joined the channel
#
[Rose]
GWG++ pfefferle++
#
Loqi
pfefferle has 24 karma in this channel over the last year (30 in all channels)
#
Loqi
GWG has 83 karma in this channel over the last year (173 in all channels)
#
[Rose]
pokes Loqi
#
[Rose]
I'm very excited.
#
GWG
What if we do?
#
[pfefferle]
GWG yes! Would also be interested in the templating stuff... would love to support that in my themes
#
GWG
pfefferle, I may put together a repo for file to add to both plugins that does that and use it as a dependency like we do php mf2
#
GWG
That handles the storage and templating
#
GWG
And nothing else
#
GWG
First, writing this up for feedback
#
GWG
I have time later today, should be doable to lay this out
#
GWG
Analyze your activitypub work, Webmentions as they sit today...
#
GWG
Abstract the storage into a set of functions
#
GWG
And just include that in both so we can keep both updated without two sets of code.
#
GWG
As for the Parse This question, it doesn't do what is needed yet anyway
gRegorLove joined the channel
#
GWG
Exciting times
#
GWG
[pfefferle]: Maybe I should come back to Germany to work on this. Can I talk you into an Indiewebcamp?
#
GWG
I have an urge to visit a Nordsee
#
[pfefferle]
I hope I can attend one this year
#
GWG
pfefferle, I am thinking about Berlin again in May
#
GWG
If you come, it will go from thinking about it to confirmed
#
GWG
You and KevinMarks are the two community members still active I have talked to the most and have never met
brokaw joined the channel
#
GWG
Will keep trying.
#
GWG
This may be better for data structure
#
[pfefferle]
sure! perfect!
#
[pfefferle]
I will have a look at my calendar
#
[pfefferle]
if I can make it to iwc berlin
#
[pfefferle]
oh, düsseldorf is also in may 😞
#
[jgmac1106]
gwg has been to Berlin before, and there are many adjacent event to Düsseldorf
[tantek] and [frank] joined the channel
#
[frank]
There is also IWC Utrecht on May 18/19 😉
[Rose] joined the channel
#
[Rose]
I would love to run into some more WordPress IW folks! I'm going to Berlin and Düsseldorf, still have to book Utrecht
#
GWG
I don't think I can do both
#
[Rose]
I'm hoping that between those 3 I'll see some people
#
[Rose]
Perhaps we should aim to have a WordPress track at Berlin?
#
[Rose]
Does WordPress MicroPub ignore JSON encoded data?
#
[Rose]
Because I'm sending it that and it's ignoring the content and creating empty posts
brokaw joined the channel
#
[Rose]
(I'm probably creating the request wrong actually, I need to check)
brokaw joined the channel
#
GWG
It does do it
#
GWG
You can try to push me over the edge and return to Berlin
#
GWG
Or Dusseldorf
brokaw joined the channel
#
[Rose]
Aha, posting form encoded works. I'll use that
#
[Rose]
Whichever you think is going to be more fun and easier to get to! I have no preference, I'm attending both 😄
#
[Rose]
Except the title, that's probably formatted wrong, but progress!
[jgmac1106] joined the channel
#
GWG
I meant which will be bigger
#
GWG
I wonder why the json encoded didn't work
#
GWG
Rose, can you send me a sample
#
[Rose]
I'll try that tomorrow, I'm actually not very well right now so I'm probably making a silly error
#
GWG
Okay
#
[Rose]
title != name
#
[Rose]
And unsurprisingly, the MicroPub plugin is up to spec 😄
#
[Rose]
Mystery solved
#
GWG
It tries to be
#
GWG
I think we have a few oddities
#
[Rose]
Can I send it Markdown or HTML?
#
GWG
HTML yes, Markdown no
#
GWG
There's no markdown in the standard
brokaw joined the channel