#wordpress 2017-12-17

2017-12-17 UTC
tantek and [miklb] joined the channel
#
[miklb]
good evening
#
GWG
Hello
drkokandy and [pfefferle] joined the channel
#
[pfefferle]
Good morning
#
Loqi
good morning!
#
GWG
Morning
[mlopatka], raretrack, [miklb], [kevinmarks], tantek and tracya joined the channel
#
tracya
hello!
#
tracya
set up quill to post, but it embed way to much of my website top menu. see last post on bottom https://brid.gy/twitter/TracyAltheide
#
Loqi
TracyAltheide
#
tracya
I used press this to reply/like someone's twitter and it wanted to embed the person's post on my page.
[miklb] joined the channel
#
[miklb]
looks like it’s picking up that share bar. Is that a plugin inserting that? Also appears it’s putting it in twice?
#
tracya
I suspect that the customs theme I have in place may be adding to this. I'm happy with my theme and I also paid for it, so I'm not interested in changing it. Last, it appears that while I have bridgy connected to multiple social media acts, it only published to twitter. So overall I believe I have most the right plugins and accounts in place, I just may be off by few degrees. Been browsing through indieweb. The site is useful overall! :)
#
tracya
miklb, hello! hmm let me check
#
[miklb]
howdy!
#
[miklb]
the top one is what appears bridgy is parsing as part of the content, thus the extraneous stuff in your tweet
#
sknebel
that's weird
#
sknebel
from first look, that's potentially a bug in the python mf2 parser used by bridgy
#
tracya
Ok, the share bars are part of my theme. It lets me customize for regular posts and "mini posts." However, I'm not familiar with how to set up "mini-posts" (custom post templates?) to create one solely for indieweb replies/likes/tweets/ etc.
#
tracya
I'ld like to keep the share bars on my posts in general,
#
sknebel
Zegnat: halp pls
#
sknebel
I *think* it gets confused by the empty title
#
sknebel
and tries to convert the entire content into a title to use
#
tracya
Oh! ok I'll try adding one and see if that helps
#
sknebel
normally, we have for notes that the title is equal the content
#
[miklb]
I don’t do that
#
[miklb]
I don’t think
#
Zegnat
was summoned
#
sknebel
[miklb]: yes you do, you have e-content p-name on them, all good
#
Loqi
[Tracy Altheide] this is a test for indieweb post to twitter using the new post page. i’m not adding a title so well see how this goes.
#
Loqi
[Tracy Altheide] this is a test for indieweb post to twitter using the new post page. i’m not adding a title so well see how this goes.
#
Zegnat
Yes, it is Python doing odd things apparently
#
sknebel
Zegnat: see those two: python creates an IMHO wrong implied title
#
[miklb]
the thing to keep in mind that “title” has a meaning in the WordPress editor
#
sknebel
right, name would have been more precise. in tracya's markup p-name seems to be on the title, that's why I worded it that way - possibly wrong
#
Zegnat
Ugh, that HTML is a little hard to read
#
Zegnat
I am not seeing a p-name for the h-entry anywhere?
#
Zegnat
I would expect a weird p-name in this case, especially since h-entry is on BODY...
#
sknebel
<h1 class="entry-title"><span class='p-name'></span></h1>
#
Zegnat
Ah, alright, and no h-* in between? Then it really does seem like a bug in the Python parser
#
Zegnat
I seem to vaguely recall problems with a parser/several parsers not recognising empty properties
#
sknebel
so the posts ideally should have "p-title e-content" on the same tag for notes (I have no idea where that is set up in wordpress)
#
tracya
ok sent out test 3 and 4, took share bars off and added a title.
#
Zegnat
you mean p-name, sknebel
#
tracya
(side thought) isn't what the personal shortener should do though, create a custom link?
#
sknebel
Zegnat: yes, I mean that, thanks
#
Zegnat
for note posts we generally recommend putting p-name and e-content on the same elements (i.e. name===content for a short note). Not sure what part of the WP set-up is responsible for that though.
#
Zegnat
On the other hand, and empty name should be valid AFAIK. And that’s a Python parsing bug.
#
Zegnat
Zegnat out. *drops mic*
#
tracya
ok so make sure I put a title.
#
sknebel
[miklb]: can you help with wordpress setup, I have no idea about that :/
#
sknebel
(also off to dinner)
#
tracya
Zegnat++
#
Loqi
zegnat has 1 karma in this channel (158 overall)
#
tracya
thank you for your efforts and looking into this.
#
tracya
I can come back later. you guys are really helpful. Once I'm up and running, I can start posting replies myself or at least spread the word. :)
#
Zegnat
It is always a little sad to see someone run into a bug that they can’t help, tracya. But at the same time we are happy to track down these problems!
#
tracya
ok thank you. I created a new post with the custom type bud it didn't have bridgy available in the tool bar. so i took the short link created and posted it on quill. Quill posted it on my website but not on twitter
#
tracya
ok I'll come back later so I can ponder possible resolutions... it's too early to give up.
#
tracya
miklb and sknebel thanks as well!
#
raretrack
talking of wordpress, I can't get either Mastodon Autopost or Mastodon Share to actually POSSE to Mastodon. Any ideas where I am going wrong?
#
[miklb]
raretrack I wasn’t able to get it working either. I have everything set up correctly with fed.brid.gy
#
Loqi
[snarfed] federating between mastodon and blogs is exciting! a few of us are trying to get this working right now. e.g. @miklb on https://miklb.com/ has an atom feed (https://miklb.com/feed/atom/ ) with PuSH hub link, and https://miklb.com/.well-known/webfi...
#
raretrack
yes i'm also partway through fed.brid.gy instructions on doing that, but confess i don't quite understand the concept!
#
raretrack
e.g. is it POSSE or something else?
#
[miklb]
fed.brid.gy is for POSSE replies afaik, not for POSSE notes. But according to that issue, mastodon *should* be picking up notes as syndication/POSSE based on what is configured. But it’s not.
#
Zegnat
I think it is supposed to be as if your own website is a Mastodon instance? You talk the same protocols, so people can follow you and receive messages from you inside their favoured Mastodon instance. So not really POSSE’ing anything?
#
[miklb]
And so far, no one has replied to the questions, so kinda in the dark. Until I can figure out how to POSSE to mastodon, I’m not really interested in replying to notes.
#
raretrack
yes, I'd be happy with POSSE working, something to build upom
#
[miklb]
Zegnat, I may be using POSSE loosely in the case of Mastodon, but the concept is the same. I want to post a note on my site and it show up in Mastodon, not have to post from a web app.
#
raretrack
i used to be able to POSSE from Known, but not any more. was round about the Mastodon 2.0 update - could be coincidental to that of course
#
GWG
Afternoon
#
sknebel
afternoon
#
sknebel
I have to correct my earlier judgement about an mf2py issue, I missed that tracya code contains a <div id="page" class="hfeed site wrap">
#
sknebel
which gets picked up by mf2py as a nested feed
#
sknebel
which "steals" the properties from the h-entry
#
sknebel
there has been discussion about this parsing behavior at https://github.com/microformats/microformats2-parsing/issues/11
#
Loqi
[sknebel] #11 backcompat child of mf2 root
#
sknebel
not sure where that hfeed is from or what it's supposed to do
#
Zegnat
What sknebel says ^^^. After hand-parsing and discussing. We also agreed that both the PHP and the Python parser got it wrong. Sadly in different ways.
#
aaronpk
Are these parser issues or spec issues? Have you captured them in an appropriate place?
#
Zegnat
The spec issue sknebel links covers a big part of it. But I’ll also check the separate issue trackers.
#
sknebel
aaronpk: IMHO https://github.com/microformats/microformats2-parsing/issues/11 needs to be closed to decide which parsers are wrong and need fixing
#
Loqi
[sknebel] #11 backcompat child of mf2 root
#
Zegnat
sknebel, maybe add the hand-parsed result you were expecting from that HTML? Just so we have it logged?
[miklb] joined the channel
#
[miklb]
I believe WordPress adds the hfeed to the body class so unless there’s a function to remove that from single posts it will get included. I think.
#
sknebel
it's not on the body, but I guess a template can shift around what's the "root" of an article or someting? on the body it'd be fine, since the mf2 h-entry would override it
#
[miklb]
my bad, the body is getting hentry/h-entry
#
Zegnat
Yeah, the problem is that the body is correctly set to h-entry but that within the body there is a nested hfeed.
#
sknebel
does it want to be a comment feed?
#
GWG
It doesn't add hfeed
#
[miklb]
what is “it”?
#
Loqi
It looks like we don't have a page for "“it”" yet. Would you like to create it? (Or just say "“it” is ____", a sentence describing the term)
#
[miklb]
starts humming Faith No More
#
Zegnat
It might just be that tracy’s theme for some reason includes that hfeed, not caused by any extension.
#
GWG
WordPress automatically adds hentry not hfeed. Most themes manually add hfeed
#
GWG
Incorrectly
#
GWG
I convinced _s to move it to a filter
#
[miklb]
maybe that’s what i was thinking of GWG, I was reading through the 2017 code and saw a function and wasn’t differentiating core vs core theme
#
[miklb]
but it does filter for non-singular themes. Please ignore me 🙂
#
[miklb]
non-singular pages
[eddie] and chrisaldrich joined the channel
#
GWG
[miklb]: Only because I pushed it into _s Most themes no
#
GWG
So, what is on everyone's Indieweb mind as I search for wicks?
#
sknebel
mf2 parsing, annoyingly
#
GWG
sknebel: In WordPress or in general? Both are tricky for different reasons
#
sknebel
in general, triggered by what we saw earlier I've been trying to think through backcompat again
#
chrisaldrich
!tell tracya: If it helps, Brid.gy has a "preview" button that you can use to test what it will post from a given URL. For most vanilla themes, it's going to include everything in the_content, which is likely why your share buttons were showing up.
#
Loqi
Ok, I'll tell them that when I see them next
#
chrisaldrich
Afternoon GWG!
#
chrisaldrich
!tell tracya: The "preview" button for your account can be found at https://brid.gy/twitter/TracyAltheide
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
TracyAltheide
#
GWG
chrisaldrich: What goes on?
Loqi and [pfefferle] joined the channel
#
Loqi
[pfefferle] #20 Update install-wp-tests.sh
#
GWG
I knew it was simple
#
[pfefferle]
Can you give me a +1 so I can merge it?
#
GWG
[pfefferle]: How do you feel about me giving time to Press This and Indieauth?
#
GWG
Even if just on a basic level?
#
GWG
Oh, and +1 given
#
[pfefferle]
I am not sure about press this, but I hope we can get full indieauth support into wordpress
#
GWG
[pfefferle]: Press This I just wanted to update the documentation mostly for now
#
GWG
[pfefferle]: Indieauth, I've already started on fixes.
#
GWG
[pfefferle]: I checked the spec, and then talked to aaronpk and the code uses a currently deprecated callback. If I move to the method in the specification, then I should be able to make it service-agnostic, so you could change a setting and use a different Indieauth server.
#
GWG
Which is my goal.
#
GWG
[pfefferle]: I have my reasons for wanting to do that. If that works, my stretch goal is to actually implement a server, but I'm prepared to push that off as long as the code is no longer tied to one endpoint.