#wordpress 2018-11-06

2018-11-06 UTC
jgmac1106 joined the channel
#
[jgmac1106]
[Khurt] if you were still relying on the mf2 stream, I did recommend it to you before it was useable. It just worked on your site.
jgmac1106 and [Khurt] joined the channel
#
[Khurt]
If the problem is mf2 then an easy fix would be to … stop doing webmentions?
#
[Khurt]
Deleting my test post (and the evidence of the problem). Gotta clean up the blog.
#
[Khurt]
If there is no reliable way to get microformats 2 markup in themes, am I stuck making a choice between doing IndieWeb in WordPress with IndieWeb theme or no IndieWeb?
#
[Khurt]
I think I’m too frustrated. Disabling Webmention plugins and mf2 and all the other IndieWeb stuff. I’m spending too much time troubleshooting with low ROI.
#
[Khurt]
I’ll keep an eye on developments and perhaps try this again in the future.
[jgmac1106] joined the channel
#
[jgmac1106]
[Khurt] understood, I myself am going with just a few static pages and going back to Known for my social stream...I have never been able to send a webmention
#
[jgmac1106]
For the longest time (I guess still) had just a WordPress site and used Known so the IndieWeb stuff would just work
[asuh] joined the channel
#
[asuh]
Understanding WordPress Indieweb UX has been an interesting experiment where I felt similarly. I've been lucky that in customizing my own theme from scratch I've incrementally gotten the various plugins to work as I expect. I don't think I've tried sending a Webmention but I've definitely received them
#
[asuh]
[Khurt] and [jgmac1106] which themes are each of you using where these problems keep happening?
#
[Khurt]
[asuh] from my perspective, any theme that isnt’ IndieWeb Twenty Sixteen.
#
[asuh]
That makes sense. UX for non-indieweb themes is tough to get right b/c there are a lot of required nuances to modify the themes.
#
[asuh]
Is there a particular theme you tried more than the rest to get working?
#
[Khurt]
All of the theme I tried do not support microformats. I tried using mf2 plugins to fix that but … doesn’t work.
#
[asuh]
Sure, I hear you. Can you name one theme which you'd prefer to use next with Indieweb? I'm curious myself to see what happens
#
[Khurt]
I use Organic Themes.
#
[Khurt]
Currently using the Organic Photographers Theme: https://organicthemes.com/demo/?demo=photographer-theme
#
[Khurt]
[jgmac1106] I had Webmentions working very well initially when I was using the IndieWeb Twenty Sixteen theme. Tried Jekyll but it’s not suitable for me. Too much friction to posting.
[kevinmarks] and [asuh] joined the channel
#
[asuh]
[Khurt] does your theme have the mf2 plugin activated?
[pfefferle] joined the channel
#
[pfefferle]
[Khurt] but I can see a valid entry on Webmention.rocks from one of your sites!?!
#
[pfefferle]
[Khurt] most of the webmention tests has nothing to do with mf2, so the theme shouldn‘t make a difference
#
GWG
Good morning, pfefferle
#
[pfefferle]
good morning
#
Loqi
greetings human
[dave] joined the channel
#
[pfefferle]
[Khurt] the plugin is Build without any mf2 requirements and should work fine with every page... the only difference is, that the comments will look like the old trackbacks/pingbacks...
#
[pfefferle]
[Khurt] let me know if I can help you with debugging the webmention plugin
#
[pfefferle]
The webmention plugin is fully functional without mf2 and without the semantic linkbacks plugin
#
GWG
Yes it is
#
[pfefferle]
Perhaps I should add this to the faq of the plugin
#
GWG
Not a bad idea
#
GWG
Do people read it?
#
[pfefferle]
Perhaps in the help of the plugin?
#
GWG
Also people don't always read. Maybe settings page
#
[pfefferle]
Do you guys read the plugin help on the top Right of the Settings Page?
[asuh] joined the channel
#
[asuh]
I can answer only for myself. I have never used or paid attention to the help button on the top right
#
[asuh]
I didn’t realize until this very moment that it’s customizable to view
#
[asuh]
That’s neat. I’ve been around WordPress >decade and this is the first time I’ve really used it
#
[asuh]
That screencast video is a great idea
#
[pfefferle]
Any idea how to promote this?
#
[asuh]
I imagine it’s easy to bind to the same event opening the help area, right? My first impression of this Help button is that it’s kind of masked by its small size and being in the top-right profile settings menu.
#
[asuh]
I guess if there was an appropriate place on the Webmentions settings page to bind to that event, I’d probably have that anchored within the content as well somewhere
#
GWG
That was what I was suggesting... link to it
#
[pfefferle]
Ok, will have a look how to trigger the „open help“ with a button
#
GWG
When I get a chance, I have to look at some of the bugs on the list, like the Indieauth PR you reviewed
#
[pfefferle]
It is only a „question“ you got my +1
#
GWG
Always more to do
[tantek] and [schmarty] joined the channel
#
GWG
pfefferle, the icons in Indieweb are due for a refresh and I may implement the new load system I showed you
#
[pfefferle]
Ok, I am curious
#
[pfefferle]
Only for the icons or will you try to bundle the plugins?
#
GWG
Well, one thing at a time. It will make it easier for you to disable the part you don't want
#
AkyRhO
Good morning Indieweb
#
GWG
I had a lot of trouble trying to bundle Parse This, which is a library and a plugin.
#
GWG
Morning
#
[pfefferle]
We also discussed that 😉
#
GWG
Yes, but small steps
#
GWG
At TXL
#
GWG
Tegel Airport. Leaving the country
#
GWG
Explaining my slow responses
#
GWG
But as for bundling, not sure what to do
[Rose] joined the channel
#
[pfefferle]
are there no UI/UX people interested in IndieWebPress?
#
GWG
I wish
[schmarty], [tantek], [abhi], [markmhendrickso, [Vincent], [aaronpk], larry, [eddie] and [jgmac1106] joined the channel
#
[jgmac1106]
Finding a UX person that also knows WP been tough.
#
[jgmac1106]
Happy to help. [chrisaldrich] and I gonna tackle the Getting Started page, but the FAQ and read more on official WP.org pages more important
#
[jgmac1106]
I made how to tutorial screencasts for both theme varities can update those as well. Modular one for every plugin
[tonz] and [Khurt] joined the channel
#
[Khurt]
[pfefferle] the content of the webmention does not have it across.
#
[Khurt]
[pfefferle] I would appreciate help in testing.
#
[Khurt]
[pfefferle] I usually read the plugin FAQ.
[pfefferle] joined the channel
#
[pfefferle]
[Khurt] so the webmention works in general, but the content looks like „your post was mentioned on example.com“?
#
[Khurt]
[pfefferle] yes. Example here: Webmention sent from https://islandinthenet.com/reply/ to https://monkeyhill.us/securing-wordpress-web-site/. And some website on WordPress.com don’t even get the trackback or pingback.
#
[pfefferle]
Ok, then it IS a microformats problem...
#
sknebel
doesn't have any content
#
sknebel
also, looking at the HTML pin13 is actually wrong
[tmiller] joined the channel
#
[Khurt]
[pfefferle], [sknebel] yes. No content.
[dave] joined the channel
#
[Khurt]
Heading off for the long commute. Be back around 8:30
[kevinmarks] joined the channel
#
GWG
I started reading what it would take to get a plugin Gutenberg compatible with the list amount of effort
#
[pfefferle]
[sknebel] that doesn‘t matter, as far as I know it should take the p-name as fallback
#
sknebel
[pfefferle]: there is no p-name
#
GWG
pfefferle, I was thinking about your statement re Semantic Linkbacks
#
GWG
Wondering if I should try a proof of concept replacement
#
[pfefferle]
[sknebel] ah, I see... it was the p-name of the h-cite that confused me
#
[pfefferle]
What about a brainstorming wiki page
dmcweeney joined the channel
#
GWG
pfefferle, what do we call it?
#
GWG
I was going to start with a page
ZegnatAtWork joined the channel
#
[jgmac1106]
Add a brainstorm section at bottom of respective plugin page rather than new page please
#
GWG
Replacement brainstorming
#
GWG
jgmac1
#
[jgmac1106]
That would work. I would add WordPress in title for discovery
#
GWG
jgmac1106, I did get new archives working before bed
#
GWG
You a
#
GWG
You asked for photo improvements
#
[jgmac1106]
Wow!!! awesome. Check that out [Khurt] getting closer on galleries... Have yearly archive views of photos
#
GWG
That works for any kind
#
GWG
Yearly, tag, etc
#
GWG
Next I need to see supporting a custom archive for photos, but this is just a permalink rewrite
#
GWG
So I could do collections
#
GWG
I have a few other ideas to explore
#
GWG
Like an Endpoint for gallery view
#
GWG
Basically, url/gallery would show a gallery view of all attached photos
#
GWG
I wish I were better at the aesthetics, but I do want to put in the infrastructure
[Khurt] joined the channel
#
[Khurt]
@GWG [jgmac1106] galleries yay!
#
Loqi
😃
#
GWG
I hope I can pull off a basic implementation and get help enhancing it
kisik211 joined the channel
#
[jgmac1106]
Yeah I will pull out a call for Design/Theme help if you can give a squishy time frame
[schmarty] joined the channel
#
GWG
Squishy
#
[jgmac1106]
As in date range with no hard deadlines
#
GWG
I don't do hard deadlines
[eddie] and [kevinmarks] joined the channel
[pfefferle] joined the channel
#
GWG
Added more
#
GWG
What thoughts did you have?
[jgmac1106], jackjamieson and [aaronpk] joined the channel
#
GWG
jackjamieson: Did you check out the new code?
#
jackjamieson
GWG: Didn't have a chance yet, but from here it's an all indieweb afternoon so I'm going to look at it now
#
GWG
I built basic RSS and JSONFeed feed reading into Parse This, along with feed discovery.
#
GWG
Needs more work
#
GWG
It was my Hack Day project.
#
jackjamieson
Awesome - I'm reading through it now. Looks like I'll be able to dramatically reduce my code, but needs a bit of restructure to do so
#
GWG
jackjamieson: That was the goal. Less duplication
#
GWG
The h-feed code still needs work though.
#
GWG
It doesn't detect multiple h-entries on page without an actual h-feed as a feed.
#
GWG
It doesn't flag the wordpress scenario of hfeed/hentry on singular pages
#
GWG
It doesn't do h-card with nested h-feed or nested h-entries
#
GWG
Which is what tantek does, for example
#
GWG
It doesn't yet do RSS enclosures or JSONFeed attachments so no podcast support.
#
jackjamieson
I solved part of that problem in Yarns_Microsub_Parser::locate_hfeed
#
GWG
jackjamieson: I was looking at it
#
jackjamieson
But it always felt a bit haphazard and I'm sure it missed some feeds
#
GWG
I was focused on RSS/JSONFeed and discovery first
#
jackjamieson
i found tantek's site to be good for testing because of its structure - once I could parse that I could cover a lot of other sites
#
jackjamieson
Absolutely, I'm impressed you got so much done so quickly
#
GWG
jackjamieson: The hardest part was figuring out SImplePie and RSS. JSONFeed was easy
#
jackjamieson
Ah, I've done some RSS projects in the past, so could remember a bit from those. But I haven't really looked at JSONFeed much at all
#
GWG
JSONFeed is so new, there are no approved extensions to factor in
#
GWG
I maintain the WordPress JSONFeed plugin for Manton Reece, who didn't have time for it
#
GWG
But, RSS has all these extensions I'd like to account for.
#
GWG
I got category tags and geo coordinates, for example.
#
jackjamieson
I'm going to switch yarns to use your RSS parser and see how it works
#
GWG
I think I can get it much more improved
#
GWG
But it does, so far, look for more data than the one you were using.
#
jackjamieson
Yep, mine was pretty basic so this is a good step forward
#
GWG
I am eager to have the product and want to do my part
#
jackjamieson
Well, it's a big help for me! My development has been slow the past month but can pick up again so it should be relatively swift from here
#
GWG
I hope to help more
[kevinmarks] joined the channel
#
[kevinmarks]
what is the format you're parsing feeds into? mf2 json?
#
GWG
Yes
#
GWG
Actually jf2
#
GWG
Why not?
#
[kevinmarks]
interesting - unmung turns feeds into mf2 html; I hadn't thought of going to jf2
#
[kevinmarks]
you could do that with 3 passes through unmung which is a bit weird
#
GWG
I should look at the unmung code
#
Loqi
totally
#
[kevinmarks]
well, unmung uses the feedparser library which parses all kinds of weird feeds
#
[kevinmarks]
then it maps that into an html template
#
GWG
I am using SimplePie, which is built into WP
#
[kevinmarks]
feed to mf2 html to mf2 json to jf2
#
[kevinmarks]
escape all the things
sebsel and [Khurt] joined the channel
#
[Khurt]
Ok. [pfefferle] the problem was I was using MF2 Feed. Microformats 2 plugin sends the right Webmention details.
#
GWG
[Khurt]: MF2-Feed needs to support additional properties.
#
GWG
jackjamieson: I think I can add photos, audio, and video in the next version
#
jackjamieson
Cool — I figure RSS is always going to lack some of the features of h-feed, but it'd be nice to capture as much as possible
#
jackjamieson
Just testing the new parser now — some hiccups but I think just on my end. I'll let you know if I have any thoughts, but it seems good
#
GWG
My goal is to extract as much as I can from RSS, OGP, etc
#
GWG
You can always, if need be, parse the permalink for URLs to get more data
#
GWG
What is your next piece?
#
jackjamieson
Right now just thinking through how to handle post type filtering for rss feeds. It's possible to include or exclude specific post types from a channel, but since there is no post type detection in rss I think I'll just include all rss posts regardless of type
#
GWG
You want to try for it?
#
jackjamieson
PTD in rss?
#
GWG
I think aaronpk does it
#
jackjamieson
Hmmm, I'll check out what xray does then
#
jackjamieson
That'd be a nice feature to have
#
GWG
I just checked
#
GWG
I can add it
#
GWG
It runs the output through ptd
#
GWG
I have that functions
#
GWG
And I generate a richer jf2 object than xray
#
jackjamieson
Hmm, that could be pretty great
#
GWG
Next version
#
jackjamieson
Am I correct to presume that some post types (likes, replies) might be harder to detect in rss than in h-feed?
#
GWG
Impossible
#
GWG
Without retrieving the url
#
jackjamieson
Right, that's what I was thinking, but even a simplified post-type could be useful.
#
jackjamieson
For my use case, my goal would be to filter out checkins and likes from most channels, but I can see that some might want to create photo only channels
#
jackjamieson
In the meantime, I'm just making it so that any posts without a detected type will be categorized as 'articles', which is not great but is a reasonable compromise for now
#
jackjamieson
Otherwise, the RSS parsing seems to work great
[dave] joined the channel
#
jackjamieson
Got to run for a quick meeting, but I should be back online later. Otherwise, my next steps mainly be delegating parsing over to parse-this, but I'll leave the feed detection on Yarns' side for the moment
jackjamieson and [Rose] joined the channel
#
GWG
jackjamieson, if a photo post is defined as something with a photo and no title, it would detect it
#
jackjamieson
GWG: Makes sense to me. I presume PTD in RSS feeds would err toward categorizing posts as articles and notes, but maybe be able to catch some others
#
GWG
Exactly
#
jackjamieson
I haven't really thought through it through in much detail, but just looking at the PTD algorithm now. Seems like it'd be a nice feature even if it's limited
#
GWG
Still better for display purposes
#
jackjamieson
Yeah, I think so too
#
GWG
If I could figure out how to get full text for all RSS feeds I would. That's a lot more complicated and would involve multiple fetches
#
GWG
And some creative xpath work
#
jackjamieson
I've been trying to minimize fetches for the sake of speed, but there's a case to be made for either approach
#
GWG
Well, that is what cron is for
#
GWG
I have a crazy rest API idea for that
#
jackjamieson
The main issue for me was when previewing feeds (i.e. in the flow of search for feeds -> preview feed -> follow feed)
#
GWG
How is my code for that?
#
GWG
I think I optimized it well, but could do better
#
jackjamieson
Hmmm, my real world use-case for that is in Together, which I'm having trouble logging into right now. (Works on my real website, but not on my staging site so might be an issue of plugin versions). I'll test that and figure out what's up
#
jackjamieson
Accessing the Yarns endpoint directly, it seems reasonably snappy
#
jackjamieson
I'll add some more formal speed tests to my task list if I find any problems
#
jackjamieson
When actually polling for posts in the background, speed isn't such a big issue as long as the server isn't being bogged down
#
GWG
I intend to have an alternative polling method if I can help. For advanced users
#
GWG
Also, I need to study your polling code
#
jackjamieson
I think I have some half-finished ideas in there (some if branches that don't currently do anything), so it's a bit confusing :/
#
GWG
You shouldn't poll all channels at once
#
jackjamieson
Yeah, I think so too. Could do a channel at a time, or find another way to break things up into smaller jobs.
[jgmac1106] joined the channel
#
GWG
Polling frequencies based on each channels update frequency
#
GWG
And smaller jobs too
#
jackjamieson
How about per site instead of per channel?
#
GWG
Isn't a channel a site?
#
jackjamieson
A channel is a collection of feeds. Each feed from a different site
#
GWG
How about per feed then?
#
jackjamieson
e.g. I have channels for indieweb feeds, sports, news
#
jackjamieson
Thinking this through: Each feed could have two fields 1) '_last_updated' and 2) '_update_interval'
#
GWG
Same thought
#
GWG
Use one to calculate the other
#
jackjamieson
I was thinking this in two parts. 1) a cron runs every five minutes or so which will poll the feed if the time since its last update is greater than the update interval
#
jackjamieson
Upon each update, calculate a time between posts for some arbitrary period of time (maybe the past day, maybe the past week?) and use that to set the update interval
#
GWG
And figure out when to downgrade the interval
#
jackjamieson
Every time a site is polled and there is no update the interval gets downgraded?
#
GWG
Something like that, yeah
#
jackjamieson
I'll add this discussion to an issue
[schmarty], [jgmac1106] and [kevinmarks] joined the channel
#
[kevinmarks]
PTD in rss/atom could look for as1 markup