#wordpress 2018-09-02

2018-09-02 UTC
[kevinmarks] joined the channel
#
miklb_
I think its a good idea
#
miklb_
might find it's easier to start over for Gutenberg and just use that part of it
Ohelig joined the channel
#
GWG
It will include MF2_Post, which returns post objects as mf2 or jf2, the Parse This parser, and a debugger tool to test parsing
#
GWG
Start over how?
#
miklb_
admin UI
#
miklb_
post kinds classic mode vs Gutenberg
#
GWG
Well, I go increasingly modular over time
#
GWG
A lot of the current update I'm working on is to have the pieces work independently
#
GWG
So I could substitute a new UI
#
GWG
That includes headless Micropub
#
GWG
Is Micropub only publishing a viable path?
#
miklb_
I don't know exactly about "only" but I'm getting close to not having to use the admin now that everything is working together
#
GWG
Indigenous turned a corner for me
#
miklb_
I'm excited to really get to use it now
#
GWG
I still want to convince swentel to add location, which is my biggest missing feature
#
miklb_
which app is that
#
GWG
Indigenous for Android
#
miklb_
didn't realize there was a clone. Cool.
#
miklb_
GWG do we support alt txt for images in the mf2 object?
#
GWG
Not exactly
#
miklb_
Quill allows for adding it, didn't notice if we can use it in the image somehow
#
GWG
It could be added as a caption
#
GWG
In future versions
#
miklb_
I shall ponder that
[eddie] joined the channel
#
[eddie]
miklb: Indigenous for Android isn’t a clone per-say. But swentel decided to make a Microsub/Micropub client for Android that had similar goals as Indigenous for iOS so we agreed to co-brand the apps. The feature set isn’t being developed in parallel but the end goal of both is probably a pretty similar feature set
#
miklb_
right on
[jon], ForexTrader, jeremych_, [kevinmarks], bray90820_18, guardian18, Madcotto14 and [jgmac1106] joined the channel
#
[jgmac1106]
I can not for the life of me figure out where the "also on" on my website is coming from how how to get rid of it....I added the social links menu during a demo....the also on got added and won't go away
davidmead joined the channel
#
GWG
Also On is Syndication Links
#
[jgmac1106]
perfect, thx, I deactivated
#
GWG
What is the issue with i?
#
Loqi
It looks like we don't have a page for "issue with i" yet. Would you like to create it? (Or just say "issue with i is ____", a sentence describing the term)
#
[jgmac1106]
if I don't syndicate itjust says "also on" and it isn't anywhere....also gets picked up my most feeds and looks weird
#
GWG
I should make a note of that
#
Loqi
[Greg McVerry] I took a long break from @inoreader as all my feeds get duplicated and I see every post twice..Still seems to be an issue not resolved. RSS is messy…
#
[jgmac1106]
is also on Twitter and Mastodon but the "Also On" is blank....I liked when I just had the two icons in the footer entry
#
GWG
Did you change the settings?
#
[jgmac1106]
had it set to icons only
snarfed and jeremych_ joined the channel
#
aaronpk
I see that "also on" in a lot of people's Wordpress sites. Shouldn't that be added *outside* the e-content?
#
snarfed
i believe it's GWG's syndication links plugin
[jgmac1106] joined the channel
#
[jgmac1106]
weird thing...it sticks around after I deactive plugin
#
snarfed
cached?
#
snarfed
or did it add directly to the post content?
#
jgmac1106
looks like removing plugin doesn’t remove: <div class="syndication">Also on:</div>
#
jgmac1106
and on a post <div class="syndication">Also on:</div> </div> is in content rather than the footer
#
jgmac1106
this is messing up parsing
#
GWG
I can't add it outside of e content on most sites as it needs custom placement. On my site I call it directly
#
GWG
It's a hook issue. Namely which to hook it to
#
[jgmac1106]
you can't put it in: <footer class="entry-footer">
#
jgmac1106
for now just did color:white;
#
jgmac1106
it also doesn’t work for me. It used to show the logo for Twitter
#
Zegnat
“color:white;” for hiding? Do “display:none;” instead if you want to get rid of it.
#
aaronpk
miklb's posts are looking good in my reader now
#
aaronpk
oops nop
#
jgmac1106
[miklb] did you document the quick changes you made?
[jon] and [tantek] joined the channel
#
miklb_
aaronpk what's missing?
#
miklb_
[jgmac1106] I'm using 2016 theme with the fork of the mf2 plugin I have in my GitHub.
#
aaronpk
the post on your wordpress is great, but it didn't include my tweet URL when syndicating to twitter
#
miklb_
that might be an issue with moderation of webmetnions. I've been struggling to get those auto-approved
#
aaronpk
do you syndicate to twitter using bridgy?
#
miklb_
yes. I posted via Quill and syndicated via bridgy, then was trying to use Indigenous to reply
#
aaronpk
ooh does bridgy support in-reply-to being an h-cite?
#
miklb_
good question. I'm using the default post-kinds templates, so if there is an area we can improve there that would be great.
#
miklb_
meaning, this doesn't have to do with my theme or mf2 plugin
#
aaronpk
the mf2 on your site looks great now, but I suspect bridgy doesn't recognize the in-reply-to because it's not just a URL
#
miklb_
[jgmac1106] also, we fixed an issue with micropub/post-kinds that currently is only a PR I believe that fixes the change in the name of the filter used in micropub
#
aaronpk
it's actualy better than just a URL because it has the whole h-cite
#
miklb_
master 2.0 of micropub
#
miklb_
but it still is 2 shims for the mf2 ¯\_(ツ)_/¯
#
miklb_
and only tested against 2016 not a multitude of themes. I was going to move to 2017 and see what changed, but then the decision to not develop that plugin stalled my plans.
#
miklb_
aaronpk any suggestions on how to mark that up so bridgy would pick it up, or should I file an issue ?
#
aaronpk
this would be better fixed by bridgy supporting h-cite
#
miklb_
jgmac1106 https://github.com/miklb/wordpress-uf2 is the fork I'm using. It has 2 shims and the fix I added for the extra `p-name` problem
#
Loqi
[miklb] wordpress-uf2: add microformats2 classes to your WordPress theme
#
miklb_
https://github.com/miklb/indieweb-post-kinds/commits/patch-1 this is the fix post-kinds needs to work with micropub 2.0/master branch
#
miklb_
and this last commit to master https://github.com/indieweb/wordpress-micropub/commit/261c7826b078d2a44391d0a8999ed10e1d191b52 fixes the issue where images weren't being attached to photo posts
#
miklb_
aaronpk any chance you could file that for bridgy? I'm not sure how to word it other than "support for h-cite" and I'm not sure that's exactly what's needed.
#
Loqi
[snarfed] #101 publish: handle the "u-in-reply-to h-cite" pattern
#
aaronpk
I can't tell if that means it was completed or not
#
aaronpk
ooh another idea
#
aaronpk
I think the wordpress plugin is using "p-in-reply-to h-cite" but it should be "u-in-reply-to h-cite"
#
aaronpk
that way the "value" will be the URL
#
miklb_
ok, let me look at the template for replies. I can override that in my theme to play around with instead of altering the plugin right now.
#
aaronpk
so that is something to change in wordpress and see if that fixes it
#
aaronpk
if not, I will investigate further with bridgy
#
miklb_
hmm. I don't see where `p-in-reply-to` is coming from
#
miklb_
oh, maybe it's dynamically being generated there in the kind.php template
#
miklb_
wonder if need a specific kind-reply template
#
aaronpk
since that is always going on an h-cite, seems like changing that to a "u" would be fine
#
miklb_
intesad of `p-` OK
#
aaronpk
yep. reason being is that an h-cite will always have a url since it's citing something elsewhere, so always using a u- prefix is correct
[kevinmarks] joined the channel
#
miklb_
ok, I've changed that on my live site
#
miklb_
so now I need to try another Indigenous reply I suppose
#
miklb_
hmm. didn't work
#
Loqi
[Michael Bishop] Really excited about debugging this. Thanks for your help.
#
GWG
All my replies are h-cites
#
GWG
I am going to debug some markup issues shortly
#
miklb_
but I think I fixed this in my custom template by adding the u-url directly to the tweet embed. Let me look at my code
#
GWG
I add it as a hidden property
#
miklb_
oops, stay \ at the end of that url
#
GWG
But I may put parsing to bed for a bit and do templates
#
miklb_
all coming back to me now
#
GWG
Great
#
GWG
Parsing is nearly at a good pause point
#
miklb_
what I discovered is due to how WP stores the tweet context in the db, I needed to add that u-url to work with bridgy. If you don't use rich embeds, i think the markup works fine
#
miklb_
but I can't speak to if that's a bridgy specific hack and bridgy should parse the h-cite u-in-reply-to
#
miklb_
and I was already using u-in-reply-to in my custom template https://github.com/miklb/independence/blob/master/kind_views/kind-reply.php#L43
#
miklb_
so if I just added my custom kind-reply template I'll be good to go. I don't know how best to translate that fix to the core plugin however
#
miklb_
lol Firefox Nightly blocks rich Twitter embeds by default it seems, so it's nice there's the fall back.
#
GWG
I always try to cover myself
#
miklb_
iirc you weren't using rich embeds at the time I was working on this, but the no-js fallback is awesome.
#
GWG
I keep trying to stay ahead, but I never quite get there
#
GWG
I need someone to look at a feature and give me an opinion, then revert to stable
#
GWG
Are you up for a quick try of something?
#
miklb_
in about 15 minutes I would be
#
GWG
Doesn't need a live site
#
GWG
Try installing the parse branch of Post Kinds and load the Parse This settings page under Tools or Indieweb if that is installed and tell me how it parses your usual sites.
#
GWG
It is still a work in progress
#
GWG
I am trying to get ideas for improvements
#
miklb_
oh, I need add your remote again, i'm running my fork with the fixes
#
GWG
I might leave it in an intermediate state that works and move to more fixes
#
miklb_
I'll test after I add this temp fix for replies view
#
miklb_
to my live site
#
GWG
I may end up breaking mf2_post in the next revision to break it from its kind dependency
#
GWG
I have to look at how I am figuring out where the URL data is
#
GWG
That is the only system that uses that info, and I can fix that
#
GWG
Breaking things apart is so much harder than integrating them
#
miklb_
break all the things
[keithjgrant] and bumbar24 joined the channel
#
[keithjgrant]
Question about the micropub plugin: does the plugin automatically add the '<meta rel="micropub">' to the page head, or does it require a compatible theme?
#
miklb_
plugin does that
#
[keithjgrant]
awesome. makes my documentation easier 🙂
[jon] joined the channel
#
[keithjgrant]
If anyone's motivated to take a look at that and see if the Wordpress section looks accurate
#
[keithjgrant]
(i mostly just refer to the plugin docs, but if there's anything else essential I should mention, let me know)
#
miklb_
technically the IW plugin is an installer for the other recommended plugins. Micropub should work without any of the other plugins, but to get webmentions, rich context for both the webmentions, then they will want to install the full suite. also WordPress
#
[keithjgrant]
I'm trying to simplify as much as possible to reduce decision paralysis. The IW plugin seemed the most "bang for the buck" but I haven't used either myself do I'm kind of flying blind
#
miklb_
maybe @chrisaldrich or jgmac1106 can offer better language since they've documented more
#
miklb_
but a "Install the IW Plugin and the recommended plugins in its installer" and a link to indieweb.org/WordPress would be sufficient I think
#
[keithjgrant]
At the very least I can rephrase it to make it more clear that's an installer for other plugins, though. Thanks
miklb__ joined the channel
#
GWG
Minimum viable is just the Micropub plugin and it just works
#
[keithjgrant]
would it also require the web log-in/indieauth plugin for auth?
#
[keithjgrant]
(I'll be writing a how-to on authentication on another page)
#
GWG
That's optional. Without it, it uses Indieauth.com
#
GWG
I like the hosted solution
#
GWG
But I am biased
#
GWG
I wrote it
#
[keithjgrant]
Yeah, that makes it nice and simple. User just needs a rel=me link to GitHub?
#
[keithjgrant]
(or another valid service, if there are any left now that Twitter's out)
#
GWG
Yes. But the Indieauth plugin, they just need their WordPress credentials, even easier
#
[keithjgrant]
So to sum up, easiest happy path is micropub plugin + indieauth plugin?
#
GWG
I think so
#
miklb__
I would concur
#
GWG
When it works, which I think we've gotten the bugs out
#
GWG
We keep finding new ones though
#
GWG
Only one +?
#
GWG
Rationing?
#
miklb__
bummer, adding the new reply template didn't work
#
[keithjgrant]
Does it take 2? I forget 😜
#
Loqi
GWG has 77 karma in this channel over the last year (157 in all channels)
#
GWG
Yes
#
GWG
Thanks for Omnibear, I like it
#
Loqi
miklb__ has 26 karma in this channel over the last year (41 in all channels)
#
[keithjgrant]
Oh, did you have a chance to test the RC build?
#
miklb__
I meant to and believe I inadvertently closed that tab
#
[keithjgrant]
(FF requires a temp install from about:debugging page)
Miron16 joined the channel
#
miklb__
getting `"error":"forbidden","error_description":"Unauthorized"}(403) - null(User ID: 0)` when trying to authenticate
#
miklb__
User ID: 0 ?
#
miklb__
let me disable 1.1 and restart FF
#
miklb__
I even cleared all cookies for my domain before testing
Chew4 and n-st18 joined the channel
#
miklb__
but I've never been able to authenticate and post with any version of Omnibear and any combo of the WP plugins
badpixel20 and [tantek] joined the channel
#
miklb__
!!tell aaronpk if you could look at the markup of my latest attempt at a reply and let me know if I missed anything cobbling that template together I'd appreciate it
#
miklb__
! !tell aaronpk if you could look at the markup of my latest attempt at a reply and let me know if I missed anything cobbling that template together I'd appreciate it
#
miklb__
oh, two !!
#
miklb__
to be clear, bridgy didn't pick it up as a reply
[jgmac1106], doaks, [grantcodes], [kevinmarks] and ovrstorm27 joined the channel
#
miklb__
ok, nap accomplished, now to look at this again.
#
miklb__
nothing in the parsing jumps out at me being off. `in-reply-to` `h-cite` with a url in the properties
#
GWG
Yay nap
#
Loqi
😃
#
aaronpk
what's the url of the latest reply?