#wordpress 2018-08-28

2018-08-28 UTC
#
GWG
miklb, you've used the parsing in Post Kinds, right?
#
miklb
parsing?
#
GWG
Where you put in a URL and it fills in everything?
#
GWG
What is your feedback on it?
#
miklb
I've been using that for as long as its been in the plugin. It's great.
#
GWG
Working on minor tweaks
#
GWG
Mostly to simplify the parsing code
#
GWG
A version of it made it's way into Microsub
#
miklb
that is a lot of moving parts all at once
#
miklb
there is already one issue with micropub, I'd be leery of testing a bunch of new code right out of the gate
#
GWG
I am finished with Micropub save bug fixes for now
#
GWG
I have a pile of Post Kinds work
#
miklb
I'm just saying I won't be able to test
#
GWG
Oh?
#
miklb
first I have to solve the probelm of micropub inserting html into the post. I don't want to introduce anything new to the mix.
#
miklb
and once I get everything stable and working, then I'll look at new code.
#
GWG
I will be continuing to stop for bug fixes to get it released
#
GWG
I just am not working on new features, so I am working on my next project
#
GWG
Nothing on that is ready for testing
#
GWG
Besides, parsing isn't a show stopper
#
miklb
I'm not suggesting you not work on stuff, I'm just letting you know how I'll be approaching testing and where my priorities are.
#
GWG
Understood
#
GWG
Just asking about the feature while adding to it
#
GWG
I am reading some of the Microsub fixes to backport. Might spin this into a library.
#
GWG
Does it make sense to have a parsing plugin for WordPress?
#
miklb
I would say less plugins, not more.
#
GWG
Shared dependencies should be where then?
#
miklb
that's been a dilemma for WP for ages.
#
miklb
I would suggest putting it in the IW plugin, but I think pferrele would object
#
GWG
I would put hcard parsing in there
#
miklb
the only other idea I can think of is making it as a library that the other plugins can pull in as a submodule
#
GWG
That was what I was thinking as an option
#
miklb
then the plugins should be able to check to see if the function already exists. Custom Meta boxes 2 does something like that iirc
#
miklb
but there might be some issues with the wp.org repo on that. CMB2 wound up having to be its own plugin for some reason, but had something to do with dependencies
isgy, [tantek], [eddie], drkokandy, jeremych_ and [pfefferle] joined the channel
#
[pfefferle]
!tell GWG [jkphl] already built something like that https://github.com/jkphl/micrometa
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[jkphl] micrometa: A meta parser for extracting micro information out of HTML documents, currently supporting Microformats 1+2, HTML Microdata and JSON-LD, written in PHP
[kevinmarks], jeremych_ and [pfefferle] joined the channel
#
[pfefferle]
Semantic-Linkbacks now (3.9.0) supports rel-alternate and uses the latest php-mf2 version
jgmac1106 joined the channel
#
jgmac1106
gwg this build for testing
#
Loqi
[dshanske] wordpress-micropub: A Micropub server plugin for WordPress
[jgmac1106] joined the channel
#
[jgmac1106]
So just tested twice with omnibear and both post say published successfully but neither post is anywhere on my blog
#
[jgmac1106]
here is quill with a picture, the picture is a broken link: https://jgregorymcverry.com/6262-2/
#
Loqi
[Greg McVerry] The semester starts today. Excited.
#
[jgmac1106]
nevermind, the esri map is the broken link the img is just missing
[kevinmarks] joined the channel
#
GWG
Omnibear still has a problem if you are logged into the
#
Loqi
GWG: [pfefferle] left you a message 4 hours, 53 minutes ago: [jkphl] already built something like that https://github.com/jkphl/micrometa
#
GWG
site
#
GWG
pfefferle, not exactly what I do
[xavierroy] joined the channel
#
[xavierroy]
[dshanske] is the 2.0 version of micropub plugin out?
#
GWG
We are looking for beta testers before release
#
[xavierroy]
[dshanske] i'm game
#
GWG
If you are willing, install the GitHub version and try it out
#
Loqi
[indieweb] wordpress-micropub: A Micropub Endpoint plugin for WordPress
#
GWG
We need to see how it works for a few more people and check for bugs
#
GWG
Correct
#
GWG
It transferred to the Indieweb repo
#
GWG
You may have to log out of any client you are logged into as the URL for the endpoint changed
#
[xavierroy]
can i delete the token in the indieauth page for that?
#
GWG
The token is fine. This is client side
#
[xavierroy]
I'm installing using the GH Updater
#
GWG
You can revoke it regardless
#
GWG
Okay
#
GWG
It should work identically to the old version at the least
#
[xavierroy]
is this an ignorable error? There was an error making a request to your Micropub endpoint. The error received was: {"error":"invalid_request","error_description":"Missing Query Parameter"}
#
[xavierroy]
This was a test post from micropublish.net.. the post was published though: https://xavierroy.com/2018/08/28/mp-test-note/
#
Loqi
28/08/2018, 17:09
#
GWG
Yes, that means Micropublish didn't give one
#
Loqi
[dshanske] #150 Release Version 2.0 of Micropub plugin
#
GWG
Can you leave your results on this issue?
#
GWG
Feel free to try additional testing
#
GWG
Any questions?
#
[xavierroy]
Posting from Quill failed
jgmac1106 joined the channel
#
GWG
Error message?
[jgarber], jgmac1106_ and [jgmac1106] joined the channel
#
[jgmac1106]
Oops I installed from your repo. Will delete and reinstall and retest
#
GWG
jgmac1106, other question for you
#
GWG
Actually, both of you
#
GWG
Working on improving the parsing in Post Kinds
#
GWG
Any feedback?
#
GWG
This is the feature that autofills the boxes based on a URL
#
[jgmac1106]
Let me publish one of each post kind and I will add the parsing results to a new issue, bookmark and quote seem to be off from memory but that maybe more Bridgy publish
#
[jgmac1106]
I have never actually parsed each post kind. Will be good learning moment
#
GWG
Parsing is filling in the URL box in Post Kinds. It doesn't vary by what you are publishing exactly
#
GWG
It varies by what the other person is publishing
[tantek] joined the channel
#
GWG
[jgmac1106]: The code tries to take mf2 and parse it, and if there isn't any, extract alternative data and convert it to the same format.
[Niklas] and niklas joined the channel
#
[jgmac1106]
My apologies. I thought you meant you wanted the results of an mf2 parser and the source code for an example 0f each kind
ben_thatmustbeme joined the channel
#
GWG
No, this generates context around a post
#
GWG
I know you have used it.
#
[jgmac1106]
Yep, I know what you need now
jgmac1106 joined the channel
#
jgmac1106
[gwg] a common error I am coming up with in the parser are special characters being rendered as their entity names
#
GWG
Yes, I need to fix that
#
GWG
I am going to refresh some of the old code
#
GWG
Some of it is 5 years old and inherited from someone no longer active
#
GWG
I also lost YouTube because of Google no longer showing metadata unless you spoof the user agent
#
jgmac1106
okay I won’t post that, since I was just testing “watch”
#
GWG
You can, just won't autofill
#
jgmac1106
I meant….post the results of parsing
tantek__ joined the channel
#
miklb
morning
[cleverdevil], [eddie], snarfed and [kevinmarks] joined the channel
#
GWG
Morning miklb.
[schmarty], jackjamieson, [keithjgrant], snarfed, jgmac1106, [kevinmarks], jackjami_, [cleverdevil], [grantcodes] and ben_thatmustbeme joined the channel