#wordpress 2019-06-06

2019-06-06 UTC
[jgmac1106] and [xavierroy] joined the channel
#
[xavierroy]
[dshanske] if I'm using a post kinds read post, what would the author mapping be? Is there a different markup for the book author and the post author?
gRegorLove_ joined the channel
#
GWG
I'm not sure what you mean.
#
GWG
There is a box in response properties for the thing you are reading.
[jgmac1106], gRegorLove_ and [xavierroy] joined the channel
#
[xavierroy]
There seems to be a bug in that. The author field is not saved unless the author url field has an entry. Could you try if it is just me or a bug?
jeremych_ and [kimberlyhirsh] joined the channel
#
[kimberlyhirsh]
xavierroy I've had that problem too, just haven't gotten around to filing an issue
[tonz] and [jgmac1106] joined the channel
#
GWG
Will investigate and fix
#
[tonz]
[dshanske] David, I’ve been trying out the simple location plugin, and I notice that the URL it constructs e.g. https://maps.wikimedia.org/#/10/45.4656888/-73.7476701 has a / between the # and 10 of the zoom level. That makes it default to showing a global view without location. Is this a known behaviour, or shoud I submit a PR (where?)
#
[tonz]
issue I mean, not PR
#
GWG
Please submit an issue.
#
GWG
Even if someone tells me, it is easier for me, when making fixes, to check open issues for things I might have missed.
jgmac1106 joined the channel
#
Loqi
[tonzyl] #116 a / too many in the maps.wikipedia link
#
GWG
I put in Wikipedia Maps as a non API key alternative
#
GWG
I keep adding providers to Simple Location
[grantcodes], [jgmac1106], [tantek], [schmarty] and [tonz] joined the channel
#
[tantek]
it looks like some themes put "hfeed" on post permalink pages
#
[tantek]
has anyone here encountered themes that do this kind of thing on a permalink? <body class="hentry"><div class="hfeed"> ... ?
#
[tantek]
and how would one fix this?
#
[tantek]
I'm presuming the mf2 plugin would NOT be doing this (hence blaming the theme)
#
[tantek]
GWG help
[chrisaldrich] joined the channel
#
[chrisaldrich]
Tantek, I'm reasonably sure we've seen poor use like that before. Don't recall what workarounds may have been, except to prefer a different feed type.
#
[chrisaldrich]
Whats the site Url?
#
[tantek]
different feed type? no this is about fixing permalink markup so you can send webmentions etc.
#
[chrisaldrich]
So you know what the theme is?
myravery joined the channel
#
[tantek]
[chrisaldrich] the permalink URL is https://myravery.me/2019/06/06/indieweb-summit-portland/ - IDK what the theme is
#
[tantek]
but clearly this is something we should 1) fix, 2) document on /WordPress_troubleshooting
[kevinmarks786] joined the channel
gRegorLove_ joined the channel
#
[chrisaldrich]
Looks like an Anders Noren theme. I've actually been talking to GWG about his work yesterday.
#
[tantek]
so how do we fix it? this theme seems to make it impossible for the Post Kinds Plugin to do its job
#
[chrisaldrich]
I'll see if I can find a repo to file against.
#
[chrisaldrich]
His themes are pretty popular.
#
[chrisaldrich]
Ravery looks like it has a variant of Hemingway which is one of the top 20 themes iirc.
#
[chrisaldrich]
I'm in the car atm, but will look when I'm back at my desk.
#
[jgmac1106]
Tantek yes and I tested this with both events and rsvps
#
[tantek]
so we may need some WP specific backcompat handling
#
[tantek]
because of this
#
[jgmac1106]
Rsvps easier on themes where I search all files for hentry and then delete and then add the mf2 plugin you are okay
#
[jgmac1106]
For events... Not in post kinds.. I had to hack on an event plugin... But I like that approach better than relying on GWG alone
#
[jgmac1106]
Would there be a way for parsers to say if this is a WordPress site (using a common url in header) ignore hentry?
#
[tantek]
you have to ignore the top level hentry>hfeed>
#
[tantek]
or not ignore, skip over, and jump to the hentry directly inside
#
[tantek]
TBH this is something we could actually add to mf2 h-entry backcompat parsing
#
[tantek]
hentry>hfeed>h-entry treat as h-entry
#
[tantek]
instead of h-entry>h-feed>h-entry (which is what happens now)
#
[tantek]
possibly more general:
#
[tantek]
hentry>hfeed>h-* treat as h-*
#
[tantek]
lol * as bold in Slack
#
[tantek]
hentry>hfeed>h-x - treat as h-x
#
[jgmac1106]
... And just encourage more native themes...but noone wants to switch themes... That's like moving houses but knowing it will be quite a fixer upper
#
[tantek]
correct. we need to fix this WITHOUT asking people to switch themes
#
[tantek]
ok there are two places we can fix this that don't require changes to wp/themes
#
[jgmac1106]
Could something be added to the mf2 plugin that can globally search and delete hfeed or hentry @gwg?
#
[tantek]
yeah that's an option we should consider
#
[tantek]
if that's implementable
#
aaronpk
What's the value of trying to handle mf1 stuff when there is also mf2 on the page? Maybe the backcompat improvement could be to ignore mf1 if any mf2 is on the page. Then new themes can add mf2 without issues and people can even paste mf2 into the html editor if they want
#
[jgmac1106]
[pfefferle] I know you no longer want to maintain or support the mf2 plugin but do you think it is possible? Can I plugin edit a theme that much?
#
[jgmac1106]
WP is also stripping mf from core... That may actually solve problem when it is done. Doesn't help anomalily now
#
[jgmac1106]
[grantcodes] you build WP sites and themes all day. What say you? What do you consider best approach?
[aaronpk] joined the channel
#
[tantek]
We've spent years trying to make the hentry default in core "work" and there are just more and more examples of WPcore "hentry" mixing with embedded WPtheme markup/microformats failing in al sorts of new ways. The flaw is with splitting this markup across WPcore and WPthemes - that was the bad decision ages ago (in WP) that led us here
#
[tantek]
either WPcore should have handled the hentry completely (so it could be completely fixed there)
[xavierroy] joined the channel
#
[tantek]
or delegated completely to WPthemes to handle, which would likely need a validator to get it right
#
[jgmac1106]
And since I don't know how wordpress works I had to file by file... Search and delete... Rinse and repeat... to remove hfeed and hentry interesting backcompat with vCard and h-card didn't mess up as muxh
[grantcodes] joined the channel
#
[grantcodes]
I don't really understand the issue enough past "WordPress mf2 is bad" to have many suggestions for fixing it.
gRegorLove joined the channel
#
[jgmac1106]
Meant could a plugin or feature be added to plugin to search and delete the terms hfeed and hentry?
#
boffosocko.com
edited /WordPress/Themes (+857) "theme detectors"
(view diff)
#
[grantcodes]
Depends how they're done but I doubt it. Otherwise I'm sure someone else would have done it by now
#
boffosocko.com
edited /WordPress (+127) "/* See Also */ WordPress Glossary"
(view diff)
#
GWG
Catching up
#
GWG
One...dozens of themes do that hfeed thing.
#
GWG
I've gotten it out of some places, but too many to count still do
#
GWG
You can't strip the hfeed because it is in the theme file
#
GWG
The hentry is in core
#
GWG
The rule should be if a page has an hfeed and a single hentry it is an hentry
[jansauer] joined the channel
#
GWG
If it has an hfeed inside an hentry with no children, it should be ignored
#
GWG
So, the mf2 plugin adjusts core usage of hentry
#
GWG
I had an idea that might help
#
Loqi
[dshanske] #138 Add MF2 site health check
[pfefferle] joined the channel
#
GWG
Interesting
#
GWG
Wonder if you can do that effectively
#
GWG
I think I would rather educate as well
#
[pfefferle]
GWG you have still not given up ☺ That is remarkable!
#
GWG
[pfefferle]: Have you?
#
GWG
I know you are focused on ActivityPub right now, but I think you are still trying too
#
[pfefferle]
Working on my mf2 themes, yes!
#
GWG
[pfefferle]: The diagnostic test I added to IndieAuth is a great educator
#
GWG
I think we need to add education to the admin for mf2
#
GWG
Indiewebify.me in a plugin
#
[pfefferle]
But this educates the user, not the theme developer
#
[pfefferle]
And that is not how this should work
#
GWG
"Tell your theme developer!"
#
[pfefferle]
Mf(2) should be ubiquitous for end users
#
GWG
Yoost called out hosting providers for old PHP to the user
#
[pfefferle]
That is a different thing
#
[pfefferle]
With a much higher audience
#
[pfefferle]
And a security impact
#
GWG
I know.
#
GWG
I am just saying users are the ones who don't know what to do
#
[pfefferle]
And shouldn‘t know
#
[pfefferle]
To be adopted by gen 3 and above it should work without any tech knowledge
#
GWG
Yes.
#
GWG
Hard problem
#
GWG
I want to figure out how to educate both sides
#
GWG
Tell the users ..x is the problem...
#
GWG
And offer solutions
#
GWG
Then offer more guides for developers
gRegorLove__ and gRegorLove joined the channel
#
[tantek]
Educating users about bad themes is like educating people about bad food choices so they can make better ones (local, organic, etc.)
#
[tantek]
that consumer side pressure to help shift the production side
#
Loqi
GWG has 89 karma in this channel over the last year (171 in all channels)
[schmarty] and chrisaldrich joined the channel
#
chrisaldrich
tantek, for the closer term, it looks like Miriam is hosted on wp.com and using their Hemingway Rewritten theme: https://wordpress.com/theme/hemingway-rewritten
#
chrisaldrich
They haven't pushed any updates to that theme since Sept 2017, and I suspect it's unlikely that they would probably do much now.
#
chrisaldrich
The issue is the hfeed being specifically added in the header.php file on that theme.
#
chrisaldrich
I don't see an easy repository to push issues to, so the next closest thing is to file a generic issue here: https://en.forums.wordpress.com/forum/themes/
#
[tantek]
I disagree. I think if a paying WordPress customer asked them to push an update for a theme they're using, they would strongly consider it
#
[tantek]
ah that's a different problem. where can one file pull requests for fixing Hemingway Rewritten?
#
[tantek]
what is Hemingway Rewritten
#
Loqi
It looks like we don't have a page for "Hemingway Rewritten" yet. Would you like to create it? (Or just say "Hemingway Rewritten is ____", a sentence describing the term)
#
chrisaldrich
I completely agree with you on that score, but given that they don't seem to have updated that theme in ages...
#
[tantek]
Hemingway Rewritten is a WordPress Theme that is one of the options on [[Wordpress.com]] https://wordpress.com/theme/hemingway-rewritten which has markup issues including errantly marking up post permalinks with an empty mf1 hentry and nested empty mf1 hfeed, which causes problems with sending meaningful Webmentions like [[RSVP]]s.
#
[tantek]
what is WordPress Troubleshooting
#
Loqi
WordPress Troubleshooting is a list of things one can try when asking for help from the WordPress Outreach Club https://indieweb.org/WordPress_Troubleshooting
#
[tantek]
WordPress Troubleshooting << If you are using the [[Hemingway Rewritten]] theme and sending webmentions (like RSVP posts) is not working, you might be running into the problem of that theme having errant empty mf1 hentry and nested empty hfeed at the root of post permalink pages.
#
Loqi
ok, I added "If you are using the [[Hemingway Rewritten]] theme and sending webmentions (like RSVP posts) is not working, you might be running into the problem of that theme having errant empty mf1 hentry and nested empty hfeed at the root of post permalink pages." to the "See Also" section of /WordPress_Troubleshooting https://indieweb.org/wiki/index.php?diff=62175&oldid=50337
gRegorLove_ and gRegorLove joined the channel
#
[tantek]
continuing from the thread on RSVPing on WordPress here: https://chat.indieweb.org/microformats/2019-06-06#t1559848612277300
#
[tantek]
in particular, if the existing WordPress-specific RSVP instructions are problematic, we should fix those, not steer WordPress users towards other instructions
#
[tantek]
"those instructions require plugins" is a problem
#
[tantek]
thus we should provide WordPress-specific RSVP that do not require plugins
[aaronpk] and [grantcodes] joined the channel
#
[grantcodes]
🤔 probably rediculous mf2 idea: If the mf2 data was inside a hidden element outside of the mf1 hentry would that fix stuff.
#
[grantcodes]
Wouldn't work if the html or body element had the mf1 class though
[tantek] joined the channel