#wordpress 2019-05-30

2019-05-30 UTC
[Khurt] joined the channel
#
[Khurt]
What does the Webmention plugin for WordPress do for replies and links when the other website doesn’t support Webmentions but supports ping backs?
#
GWG
Nothing
#
GWG
Why?
#
[Khurt]
When I link to website using WordPress.com, nothing no ping backs appear. Trying to determine if problem is at my end or WordPress.com.
brandur, snoe, [Rose], [frank], [tantek], gRegorLove_, [tonz], [kevinmarks786], [grantcodes], [jgmac1106], [xavierroy], [calumryan], jgmac1106 and nellkate1[m] joined the channel
#
GWG
I need an opinion. I am fixing the RSS/Atom feeds in WordPress to display a better preview of notes and other kinds of posts
#
GWG
There is a regular and a comment feed template. You have to override for both.
#
GWG
But Post Kinds, where I am fixing the primary feed, doesn't seem like the right place to fix the comment feed.
#
GWG
Not sure how to address that
[kevinmarks786], jgmac1106, [jgarber] and [jgmac1106] joined the channel
#
[jgmac1106]
I would ignore the comment feed. I know teachers subscribe to them but haven't heard of anyone fixing them
#
[jgmac1106]
Meant using them
jgmac1106, [calumryan], snoe, [manton], [Ana_R], [eddie], [kim_landwehr], [jgmac1106], [kevinmarks786], [grantcodes], jackjamieson, gRegorLove_, [tantek] and [arush] joined the channel
#
[arush]
@GWG re: the comment feed: The only reason I would fix that in post kinds is if you have to. I've never heard of anyone subscribing to it. On the other hand, it may be the only place to fix it, since right now literally all the oxygen in the project is being consumed by gutenberg, with the exception of major security changes, (see the 5.2 release post), and an accessibility change here or there which apparently isn't being highlighted in t
#
[arush]
think some comment feed fixes would be useful, but probably there would be more use out of fixing the comment template with regard to webmentions. So I guess what I'm saying is: Ignore the comment feed if it's possible to do so and still get the other feed fixes you want. Sorry for being so long-winded, thinking as I type.
jgmac1106 and [manton] joined the channel
#
GWG
If I don't load a comment template, even the built-in template, it will break people's sites
#
GWG
But when you override, you have to override both
#
GWG
I'd rather fix comment templating in the Webmention plugin
#
GWG
jackjamieson: You about?
#
jackjamieson
GWG, I am! What's up?
#
GWG
Did you look at what I started to do?
#
GWG
I am playing with a kses profile in the functions.php file in Parse This.
#
jackjamieson
I saw your parse_this_clean_content function, but actually I didn't notice the changes to parse-this-rss.php until now
#
GWG
The function is meant to support the RSS and other content stripping
#
jackjamieson
Looks like it should do the trick. I'm just going to finish another thought (thinking through some Yarns UI) and then I'll give it a try
#
GWG
I have to tweak the settings
#
GWG
Not sure if you have an opinion
#
GWG
I just looked at snarfed's RSS feed
#
jackjamieson
GWG, Installing it now, I'll just preview some different feeds and see if I encounter any errors
#
GWG
snarfed's is interesting as he marks up differently than most
[arush] joined the channel
#
[arush]
Re: fixing template in webmention: This sounds like a better idea than mine. Re: fixing feeds: Looks like you'll have to fix comments feed in order to get the fixes you want in the regular feed.
#
GWG
[arush]: Exactly
#
GWG
I'll figure it out
jgmac1106 left the channel
#
jackjamieson
GWG, Just checked with several feeds that had escaped HTML before, and they display perfectly now
#
jackjamieson
And I haven't noticed any errors in feeds that were displaying correctly before
#
jackjamieson
There's still one feed that contains divs with style='width:1023px;' - but I know removing that breaks your svgs
#
GWG
No, it doesn't
#
GWG
I am stripping all divs now
#
jackjamieson
Does that mean I shouldn't be seeing the style attribute in that feed anymore? I'll double check in case I missed something
#
GWG
In content, no
#
jackjamieson
Ah, my bad - I installed the new parse-this locally and thought it had synced to my remote server, but it did not. Silly
#
jackjamieson
(So I was just seeing the results of the changes I made yesterday)
#
jackjamieson
Confirmed - no more divs with style tags in that feed
[schmarty], [manton], jgmac1106, LUMIN1, [jgarber], [jgmac1106], [Rose], [grantcodes], [kevinmarks786] and chrisaldrich joined the channel
#
chrisaldrich
GWG, while you're banging away at RSS, feeds, etc. I'll remind you of this post which may point the way towards some sympathetic help: https://twitter.com/rboren/status/1019281959208529921
#
GWG
chrisaldrich, it could use an update
#
GWG
It is insufficient for my needs
#
chrisaldrich
on the comments feed, most don't use them, though I suspect that with new readers, people might subscribe to their own as notifications of interactions with their own site.
#
chrisaldrich
If you have to do both main feed and comment feed, is there an easy way to pre-empt comment feed with itself?
[tantek] and gRegorLove_ joined the channel
#
GWG
Not exactly, but can try