#wordpress 2018-04-21

2018-04-21 UTC
[unoabraham] joined the channel
#
[unoabraham]
Hi,
#
[unoabraham]
Who can I ask for help with the Microformats 2 WordPress plug-in?
[chrisaldrich] joined the channel
#
[chrisaldrich]
Ask away. Which theme are you using with it?
#
[unoabraham]
Genesis Framework.
#
[unoabraham]
Dynamik Website Builder child theme.
#
[unoabraham]
Microformats 2 breaks the site, specifically the meta data. However, without it being enabled I cannot get backfeed working.
#
[unoabraham]
<span class='p-author h-card'>Rajiv Abraham</span> is the error.
#
[unoabraham]
That I can fix, however, when I enable the plug-in, it is also removing the permalink to the post. I kind of need the permalink as I'm not using titles for status Post formats.
#
GWG
It's a common issue, because of escaping filter output
#
GWG
Removing the permalink?
#
[unoabraham]
https://abraham.uno/1257/1257/ is the prmalink.
#
Loqi
Rajiv Abraham
#
GWG
I don't remember us doing anything to hide the permalink
#
[unoabraham]
Pugin enabled and it disappears.
#
[unoabraham]
Not a major issue, I have contacted the developer as I need some solution for permanent links to be created and shown in place of titles. This is for the WordPress Post formats that I'm not using titles for.
#
[unoabraham]
I've seen folks using date based permanent links.
#
GWG
Hmm...we did on a Genesis theme
#
[unoabraham]
My permalinks are set up as /%post_id%/%postname%/so they typically show up as Post ID/Post ID where I'm not creating a title.
#
[unoabraham]
So the above permanent link is actually Post ID/Post ID.
#
[unoabraham]
I thought I did the h-card correct, so I am not sure what the span class error is all about.
#
GWG
If you feel comfortable, remove the filters one by one
#
GWG
Basically, where ever it says add_filter, comment it out to determine which one
#
GWG
I may look into a better solution
#
[unoabraham]
Ok.
#
[unoabraham]
How about the span class error? I'd prefer to get backfeed and hCards working.
#
GWG
We need to find a better solution
#
GWG
I may opena Core request
#
GWG
I wonder if the plugin needs a settings page
#
[unoabraham]
Would be easier for us non-developers, and folks like me who don't know how to use Git and GitHub.
#
[unoabraham]
The only reason I created an ID was for IndieAuth.
#
[unoabraham]
HTML and CSS is something I can get by with. PHP and code I'm totally out of my depth.
#
GWG
[unoabraham]: I'm going to see what ideas I have. I haven't looked at it in a while.
#
GWG
But more people are using it
#
GWG
[unoabraham]: With the new IndieAuth plugin, you don't need Github
#
[unoabraham]
Yes, got that. I follow your blog and podcast.
#
GWG
Everything is a work in progress
#
[unoabraham]
Kind of a good thing for folks like me with multiple domains. Now just install the plugin for each website and no silo or GitHub verification is needed.
#
GWG
[unoabraham]: We've wanted it since 2014.
tantek, [kevinmarks] and [stefp] joined the channel
#
[stefp]
IndieAuth is not working for me because it’s looking for …/wp-json/indieauth/1.0/token and I don’t have a folder called wp-json
#
[stefp]
and good morning/afternoon
[unoabraham] and [kevinmarks] joined the channel
#
GWG
[stefp]: That's the rest API, not a real folder
[stefp] joined the channel
#
[stefp]
Is there a step I’m missing? I get this error: {“error”:“invalid_request”,“error_description”:“Invalid code provided”}
#
GWG
What are you trying to do?
#
[stefp]
Log into sites using IndieAuth plugin
#
GWG
What site are you trying to log into?
#
[stefp]
I’ve tried Quill and OwnYourGram
#
GWG
And you are using the default settings for the plugin?
#
GWG
You didn't change anything?
#
[stefp]
I just activated it. Didn’t change anything.
#
GWG
And you are using your site url to log in?
#
[stefp]
Trying to.
#
[stefp]
just noticed the settings
#
GWG
Set them for the built in endpoint.
#
[stefp]
Local endpoint?
#
[stefp]
that’s giving the error
#
GWG
By the way, that error message is not in the plugin
#
GWG
I just checked
#
[stefp]
ok
#
GWG
Hmm...
#
GWG
In your user profile, what URL did you put in as your website?
[kevinmarks] joined the channel
#
GWG
Also how comfortable are you with troubleshooting?
#
GWG
I want to get you up and running
#
[stefp]
same as the one I’m trying to log in with
#
[stefp]
what sort of troubleshooting?
#
GWG
Welk, there is a way to log the requests in the server error log so we can see what they are
#
GWG
One thing, when it gives that message, what is the URL in the browser?
#
[stefp]
This is Quill h ttps://quill.p3k.io/auth/callback?code=r3rsfPJPVcSY20lLfYN9j5PRNULFxl8on5DlYtFqSG81YQOfQRfeHG60e0LfXyDYcDamTL4LGhjzXxMHi3Q3ZMhNGGm7pHCFh1DBiAKaDlMZffdBOdf9J2Knk6ck7xdq&state=1fae18ecc29f34ac
#
GWG
Let me check on mine for a second
#
GWG
It worked for me on my site using Quill.
#
GWG
Hmm...
#
GWG
Oddly, invalid_request is not a return error in either Quill or the WordPress IndieAuth plugin
#
GWG
It is, however, in IndieAuth.com
[unoabraham] joined the channel
#
[stefp]
is the Local Endpoint part of the plugin?
#
GWG
[stefp]: You have two endpoints in your site.
#
GWG
One in the header, one in the footer.
#
GWG
Did you ever manually add <link rel="authorization_endpoint" href="https://indieauth.com/auth"> to things?
#
[stefp]
I have two links but in the footer
#
[stefp]
<link rel=“authorization_endpoint” href=“https://indieauth.com/auth“>
#
[stefp]
<link rel=“token_endpoint” href=“https://tokens.indieauth.com/token“>
#
[stefp]
both work without the IndieAuth plugin
#
GWG
Those shouldn't be there
#
GWG
You are not using the Indieauth.com server. You are trying to use the built-in one
#
GWG
So it looks like it's confusing things
#
GWG
Can you remove them?
#
[stefp]
yes
#
GWG
Then try again
#
[stefp]
that fixed it
#
GWG
aaronpk: What should happen with multiple endpoints declared?
#
GWG
Glad I could help
#
[stefp]
thanks for going through that again
#
GWG
Any time
#
GWG
Enjoy your Indieauth
#
sknebel
GWG: current spec says that the first rel encountered should be used
#
GWG
Which isn't what Quill did, it seemed to have used the last
#
GWG
Mine was in the header, his in the footer
#
[stefp]
GWG++
#
Loqi
gwg has 53 karma in this channel (330 overall)
#
sknebel
seems so. I proposed failing when encountering multiple ones. might bring that back up.
#
GWG
Quill predated the spec, might just be unimplemented
#
GWG
That's why I mentioned aaronpk, so he might comment on that when he wakes
#
aaronpk
Sounds like I might need to update Quill and some of my older Micropub/IndieAuth clients
#
GWG
aaronpk, that's why I mentioned you.
[snarfed], [kevinmarks] and [miklb] joined the channel
#
[miklb]
hmm. I used Quill to reply to the Twitter URL of a POSSE’ed note and attach image and it didn’t work. The image isn’t in the reply note, but is in my media library. Is it because the micropub plugin doesn’t recognize images in replies, only photo posts?
#
[miklb]
I should test a regular note with an image to rule anything else I suppose.
#
Loqi
definitely
#
GWG
It should, but let's see what you find. I haven't done much file testing
#
[miklb]
This is a good example of the fragility indieweb still posses. Not an indictment on anyone, just the nature. Should be kept in mind as we try to broaden the user base.
#
[miklb]
photo posted just fine as a note. So definitely in the reply side of the equation, and probably an edge case.
#
GWG
snarfed doesn't use the plugin much and I don't upload much, but I tested ownyourgram, which sideloads.
#
GWG
I will test
#
GWG
I have to fix something
#
[miklb]
again, by no means do I hold anyone responsible. Just nature of the beast.
#
GWG
I didn't take it that way
#
GWG
I have the scope PR for Micropub and might as well check this for possible repair before pushing 1.5
#
[miklb]
I’m glad. I worry sometimes my kvetching at the cloud doesn’t come across as such. <insert Simpsons joke here>
#
GWG
[miklb]: I just took a walk, thought about privacy, and opened a bunch of issues for ideas in that vein to turn off things I built.
#
[miklb]
turn off?
#
GWG
[miklb]: If someone doesn't want something for privacy reasons. And tools around deleting data
#
[miklb]
you could take the Facebook approach and let people know the deal and offer to delete the data with the plugin and not deal with all of the settings.
#
GWG
But who is asking for deletion? The site owner or the person who the data is about? The person who sent the mention?
#
[miklb]
ah. I still don’t get that. If someone sends me a letter in the mail replying to something I have written, they can’t come back later & ask for me to destroy the letter. Why should a comment be any different?
#
GWG
But you can send a webmention update that should honor a deletion request
#
[miklb]
meh. You can ask, but that doesn’t mean I have to delete it.
#
GWG
[miklb]: I'm not going to lose a lot of sleep trying to solve this problem.
#
GWG
But I want to be fair to those who do
#
GWG
It seems very important to some people
#
[miklb]
I’m all for privacy. I just don’t get why all of a sudden people are clamoring over whether a public response sent to someone is somehow “their data”.
#
GWG
I blame GPDR
#
GWG
I wake up, and I have 5 WordPress themed GPDR emails.
#
GWG
I go to work and have to sit in IT security workshops about GPDR
#
GWG
I come home...and webmentions are declared a privacy issue
#
sknebel
have people been mailing you about the indieweb plugins specifically?
#
GWG
sknebel: Only pfefferle's issue
#
GWG
It isn't at the top of my list, except I am brainstorming.
#
GWG
My next thing is the Indieweb plugin. I want to add a micro.blog field, as so many people are trying to do rel=me to Micro.blog
[snarfed] and [kevinmarks] joined the channel
#
aaronpk
Why not just provide a generic link field? Why do you have to add support specifically for micro.blog?
#
GWG
aaronpk: I have a generic link field. They can't find it.
[miklb] joined the channel
#
[miklb]
maybe instead of a new field, can some of the less used fields be collapsed?
#
[miklb]
oh, I see, it’s in a different section than the other profile fields.
#
[miklb]
I bet most people are looking for the field to add the URL near where they are setting their social media profiles.
#
GWG
I could always get rid of some of the other ones.
#
[miklb]
well, what about just moving that other URL field closer to where you add Twitter/FB/GitHub/etc
#
GWG
I don't why we have some of the ones that don't accept rel-me
#
[miklb]
¯\_(ツ)_/¯
#
[miklb]
some come by default in WP don’t they?
#
GWG
No.
#
GWG
The plugin adds github, googleplus, twitter, facebook, lastm, instagram, and flickr
#
GWG
I think that's the list petermolnar put in originally. He did the first push
#
[miklb]
I don’t see a problem linking ot other popular social profiles accepting rel=me or not. I’d just move that additional URL field into that same group rather than create a special field for micro.blog. Maybe add it as an example for the description “Sites not listed in the profile to add to rel-me (One URL per line) Example micro.blog”
#
GWG
You can't. That URL field is a textbox. The ones higher up are added to contact methods.
#
GWG
I could move the other stuff down, but not the extra field up
#
GWG
But, I would include anything that Bridgy or another Indieweb service supports.
#
[miklb]
what about the About Yourself section, does that have hook
#
GWG
Which is why I would consider removing last.fm
#
GWG
So, if someone builds a last.fm service used by Indieweb people...
#
GWG
Also, there is a filter to add your own.
#
[miklb]
I someday want my scrobbled music from last.fm displayed on my site again. I don’t necessarily want “listened to” posts for every song.
#
[miklb]
but I wouldn’t need that field in the IW plugin
#
GWG
I have an idea then.
[kevinmarks], tantek and [asuh] joined the channel
#
[asuh]
I don’t know if this would do for last.fm but I use this to scrobble everything in my various browsers https://github.com/web-scrobbler/web-scrobbler
#
Loqi
[web-scrobbler] web-scrobbler: Scrobble music all around the web!
tantek, [tantek] and [snarfed] joined the channel
#
GWG
[asuh]: There is still the ability to add any arbitrary URL. It just isn't at the top anymore
tantek joined the channel