#wordpress 2018-07-05

2018-07-05 UTC
#
[miklb]
no, if I do a repost or like via micropub and it is a Twitter URL, syndicate via bridgy
#
GWG
Okay, so only if it is a silo.
#
[miklb]
well, Micropub clients don’t have mechanisms for syndicating likes and reposts. So I would also want to add support for GitHub likes
#
GWG
No, but the endpoint can.
#
[miklb]
I don’t know what you mean by that
#
GWG
[miklb]: What you were suggesting. You can hook into the 'after_micropub' action and trigger syndication in theory
#
[miklb]
right. I hadn’t implemented that yet because I didn’t actually have a way to use it. We had talked before and you said you might be making some changes in how bridgy publish & syndication links work so I was going to wait to see what changed. Now I’m just going to hack it in and adapt as the plugin changes.
#
[miklb]
s/syndication links/syndicate-to/
#
GWG
[miklb]: I can show you what I'm doing if you want.
#
GWG
Push the branch to Github.
#
[miklb]
nah, it’s all good. I’m better at hacking stuff in anyway for now at least. Now that stuff is working together I’m hesitant to use any dev branches anywhere.
#
[miklb]
thank you though
#
GWG
Not use, just see what I have plans
#
[miklb]
understood. Sure, that might help me shape the the hack
#
GWG
It is still rough
#
GWG
I've put it on hold and tried to tackle something easier
#
GWG
Rewriting the Micropub plugin
#
[miklb]
lol easier
#
GWG
Rewriting it to use built-in WordPress core functions over custom built ones was easy.
#
GWG
Getting the unit tests to work is hard
#
[miklb]
I’ve not found a tutorial or article that has given me the “a-ha” moment with unit tests. In theory I understand them, but how to get started writing them is a big nope.
#
GWG
[miklb]: This is the other project, still being worked on https://github.com/dshanske/wordpress-micropub/tree/restapi
#
GWG
[miklb]: It works, but still needs a lot more work.
[miklb] joined the channel
#
[miklb]
hmm. Looks like I have some broken kind templates. Must fix
#
[miklb]
my photo template. Probably not something I’ve used since some of the changes.
#
GWG
Which?
#
[miklb]
my kind_photo template.
[manton] joined the channel
#
GWG
I meant, which changes?
#
GWG
I don't remember
petermolnar, jgmac1106, [wiobyrne], [jgarber], [jgmac1106] and [snarfed] joined the channel
#
jgmac1106
okay SNAP ->LinkedIn 100% my slow publishing problem. Will try the other APIs and see if that speeds it up and document my issues
[jgmac1106], [kevinmarks], jackjamieson and jgmac1106_ joined the channel
#
jgmac1106_
[gwg] I noticed a new page doesn’t have an h-entry in 2016 IndieWeb will that mess up trying to send a webmention from https://jgregorymcverry.com/4059-2/ here to https://jgregorymcverry.com/to-do-list/
#
Loqi
Working on travel voucher. Estimate: 🍅 🍅
#
GWG
H-entry is for date based content
[manton] and [jgmac1106] joined the channel
#
[jgmac1106]
yeah, may just manually date base the page, or just turn the page into the post so I can send webmentions to my to-do page, but would like an h-entry on each page in WP, even if it is a single published date
gRegorLove joined the channel
#
Loqi
[Greg McVerry] Working on travel voucher. Estimate: 🍅 🍅 Finished travel voucher Actual: 🍅
wagle, [eddie], jackjamieson, [jgmac1106], [kevinmarks], [cleverdevil], [jgarber] and [manton] joined the channel
#
GWG
jgmac1106, I don't understand your use case
#
GWG
You can send webmentions from a page. There is a setting for that in webmentions as WordPress turns it off by default
[jgarber] and [jgmac1106] joined the channel
#
[jgmac1106]
Yes, my generic webmentions is my about me page. Just suggesting every page in theme be wrapped in h-entry with a minimum of date published included
#
GWG
But why
#
GWG
I am not criticizing, just trying to understand
#
GWG
I am probably going to do it
[cjwillcock] joined the channel
#
[cjwillcock]
when I write about the art, that would be datestamped and h-entry
#
[cjwillcock]
hi guys, I was just thinking about this h-entry for a page discussion. There doesn't seem to be a microformat that applies to some original expression, like a piece of art for example
#
[cjwillcock]
but what about the page that itself features the art (or whatever expression it is)
#
[cjwillcock]
I presume the purpose of the microformats for a page like that would be to enable others to more easily reply/like/comment, the expression itself rather than the post about it
#
[cjwillcock]
whoops, took wordpress straight into microformats - don't mind me 🙂
#
aaronpk
as with any microformats, the question is what is the consuming use case. otherwise don't bother with adding microformats yet