#dev 2017-07-17

2017-07-17 UTC
tantek, davidmead, eli_oat and snarfed joined the channel
#
Loqi
[snarfed] #333 add GitHub support
#
aaronpk
snarfed: i'm talking about POSSEing to github without having a github account tho!
Defenestrate joined the channel
#
snarfed
ahhhhh interesting yes
#
snarfed
that's kind of like how bridgy for blogs handles webmentions
tantek joined the channel
#
@kazuhito
Movable Type のプラグインで何か良さげなのあるのかなと思い Webmention で検索したけど結果ゼロ
(twtr.io/1TzeqeBsefq)
j12t joined the channel
#
loqi.me
created /socmed_death (+23) "prompted by tantek and dfn added by tantek"
(view diff)
tantek joined the channel
#
@blogging_trick
Automatic ARTICLE GENERATOR online http://articlecreator.fullcontentrss.com #backlinks #blogspot | What the New Webmention and Annotation W3C Standards Mean…
(twtr.io/1TzjGVFo829)
snarfed and tantek joined the channel
#
@ebooks_lewis
Managing Typography on my head around webmentions.
(twtr.io/1TzpznzyjuQ)
[miklb] joined the channel
tantek joined the channel
#
loqi.me
edited /silo-quits (+419) "tantek added "2017-07-14 [http://kinlane.com/2017/07/14/i-flushed-the-last-nine-years-of-my-facebook-profile/ I Flushed The Last 9 Years Of My Facebook Profile] <blockquote>I flushed the the last 9 years of my Facebook profile over the last couple of"
(view diff)
#
tantek.com
edited /silo-quits (+8) "complete the quote, collapse see also sections"
(view diff)
cweiske, tantek, [ciudadanob] and [pfefferle] joined the channel
Defenestrate and Defenest_ joined the channel
#
petermolnar
I've tried out all the readability ports to python I could find and my summary is that they all suck at some point. I wonder if anyone wrote a try mf, try mf2, try schema, try ld-json, try blackmagic type readability LIBRARY that other languages could just do bindings for, because I can't find any
Lucaconti, j12t and tantek joined the channel
#
@inautilo
Implementing Webmentions · The web standard for mentions and conversations across the web https://allinthehead.com/retro/378/implementing-webmentions #guide
(twtr.io/1U0MRRAWNHc)
#
@retolist
Implementing Webmentions · The web standard for mentions and conversations across the web https://allinthehead.com/retro/378/implementing-webmentions #guide
(twtr.io/1U0Q32mWAuw)
AlanPearce[m], [pfefferle], fferf, Defenestrate and KevinMarks joined the channel
#
@herrseilerbitte
</> What the New Webmention and Annotation W3C Standards Mean for WordPress https://premium.wpmudev.org/blog/webmentions-annotations-web-standards/ #frontend #developers #webdesign #webd…
(twtr.io/1U0a4Ug6Vc4)
eli_oat joined the channel
#
@courtneyengle
What the New Webmention and Annotation W3C Standards Mean for WordPress https://premium.wpmudev.org/blog/webmentions-annotations-web-standards/
(twtr.io/1U0akvQivNf)
#
petermolnar
not again
jeremycherfas joined the channel
#
jeremycherfas
Managed to carve out some time to dig into the grav webmention plugin again. I may be a nuisance here.
#
Zegnat
No such thing, jeremycherfas
#
jeremycherfas
We shall see.
KevinMarks joined the channel
#
@drewm
Working on getting webmentions hooked up for @rachelandrew’s site redesign https://rachelandrew.co.uk/archives/2017/07/16/a-redesign/
(twtr.io/1U0eCeGimqh)
#
jeremycherfas
Zegnat: Going from one locally hosted site to another locally hosted site does not seem to be working, at least for Grav with both the old webmentions plugin and the version that uses xray.
#
jeremycherfas
I suppose I had better try with WP and Known just to make sure.
KevinMarks joined the channel
#
Zegnat
That is weird. Do you have any errors to share?
#
jeremycherfas
Which means I have to indiewebify my local install of WP. :(
#
jeremycherfas
I don’t think so. Let me check logs.
#
Zegnat
There must be a reason for not working, else there is nothing to fix
#
jeremycherfas
Nothing obvious in logs. Let me check for debug information in the plugin
#
jeremycherfas
Plugin readme doesn’t have any obvious way to enhance debugging information.
snarfed and [shanehudson] joined the channel
#
[shanehudson]
Massive news that Perch will have webmention built in, as of this week by sounds of it.
#
jeremycherfas
I suppose I could pivot and use this first as a step by step for indiewebifying. But then again, it is purely local, so not sure how that will work out.
#
jeremycherfas
Probably just need webmentions in WP to begin with.
#
Zegnat
Do you see your webmention endpoint being hit with a request at all, jeremycherfas? In the apache request logs if nowhere else?
#
Zegnat
That would be the first thing to debug: see if the sender is actually sending.
#
jeremycherfas
Good point. Yes, there is an error. [Mon Jul 17 15:28:10 2017] [error] [client ::1] File does not exist: /Applications/MAMP/htdocs/mentions
#
jeremycherfas
That seems to mean that the URL I am replying to is wrong in some way.
#
jeremycherfas
And if I click on it, it goes to the post.
#
jeremycherfas
That suggests that somehow in sending the webmention, Known is doing something odd with the URL
#
Zegnat
If you do viewsource, can you find where it tells the webmention endpoint is at?
#
jeremycherfas
Not sure about that.
#
jeremycherfas
The code is <p>
#
jeremycherfas
<i class="fa fa-reply"></i> Replied to
#
jeremycherfas
class="u-in-reply-to">a post on
#
jeremycherfas
<strong>localhost</strong>
#
jeremycherfas
Oh blast. Sorry.
#
jeremycherfas
Let me make a gist.
#
shanehudson.net
edited /Webmention (+50) "/* Publishing Software */"
(view diff)
#
Zegnat
That looks like the source of the Known post. Known then visits that URL (http://localhost:8888/grav-admin/blog/bird-migration-getting-to-the-point) and tries to find a Webmention endpoint on there. So it is the source of the Grav blogpost that is important.
#
jeremycherfas
Do you mean where is the webmention endpoint for Grav?
#
Zegnat
No, but should be on linked http://localhost:8888/grav-admin/blog/bird-migration-getting-to-the-point ? Can you gist the source of that page?
#
jeremycherfas
Ah. There is an error there. It has <link href="http://localhost:8888/mentions" rel="webmention" /></head>
#
jeremycherfas
But I am pretty sure it needs to be more detailed than that.
eli_oat1 joined the channel
#
jeremycherfas
I’d better check the webmention YAML settings
#
Zegnat
Yeah, that is definitely wrong jeremycherfas. As in your local copy, that is not the root address for your site
#
jeremycherfas
I took this up before with the plugin author, here https://github.com/Perlkonig/grav-plugin-webmention/issues/3
#
Loqi
[jeremycherfas] #3 Should the webmention endpoint give a 404?
#
jeremycherfas
And, when I try http://localhost:8888/grav-admin/mentions on my site, I get a 404
#
Zegnat
Ah, so you are not actually sure if the plugin is currently live or not?
#
Zegnat
Either way, you want Known to find that URL to reach your endpoint, instead of just /mentions
#
jeremycherfas
But now, when I try the link he supplies in that github issue, I get a 404 rather than a 405 and no message.
#
jeremycherfas
The plugin is certainly enabled
#
Zegnat
Then you just need to fix discoverability, so Known can actually find it
#
Zegnat
If you fix that, you should be able to have Known correctly (locally) send mentions to you
#
jeremycherfas
Is there a curl command I can use to check discoverability?
#
Zegnat
Uuhm. Yes.
#
Zegnat
Or just view source and look at the webmentions meta element
Lucaconti joined the channel
#
jeremycherfas
OK, doing it that way, and I can confirm that when the plugin is disabled, there is no rel=“webmention” but when it is enabled, there is
#
jeremycherfas
Yup, that’s one of the form that cweiske gave me a while back.
#
Zegnat
Good. So you know the plugin is on. It is just the value of rel="webmention" that is wrong. And that is, of course, an issue.
#
Zegnat
I don’t recall exactly how the webmention plugin generated that element
#
jeremycherfas
Right. But now I wonder, what should it be? I’ll have a look.
#
Zegnat
It cut off the subdir, possibly because it assumes Grav is running on the root domain
#
jeremycherfas
I tried that. Also gives a 404.
#
jeremycherfas
I poked in perlkonigs source code, and he doesn’t seem to have webmentions running on his own site!
#
jeremycherfas
I guess I’ll just open another issue there. No point in going further, for now.
#
Zegnat
It might give a 404 because that is the default thing it returns though, yet still accept webmentions on that URL
#
Zegnat
Have you tried sending a webmention to it?
#
jeremycherfas
Yes. But only indirectly, via known.
#
Zegnat
Did you fix the discoverability in the meta tag? Else Known isn’t sending anything.
#
Zegnat
https://github.com/Perlkonig/grav-plugin-webmention/blob/master/webmention.php#L439 - it looks like it is *specifically* exiting on a 404. Maybe.
#
jeremycherfas
That gives a huge amount of output that scrolled by very fast.
#
jeremycherfas
So it looks like you are correct Zegnat, the target is wrong, for some reason.
#
Zegnat
Turns out I wrote part of this code ;) Give me a second.
#
jeremycherfas
Sure. I’m just writing the issue now.
#
Zegnat
I mean the fact that it is 404’ing is still an issue separate to this of course, so that you can file.
#
Zegnat
It looks like the code requests whatever the base URI is from Grav and just adds the /mentions. So it sounds like Grav is reporting a faulty base URI.
#
Zegnat
If Grav is installed at http://localhost:8888/grav-admin/, then that’s what I would expect to get back
#
jeremycherfas
As I recall, Grav has quite a few variants on base url
#
jeremycherfas
I’m going to see what it does on my live site.
#
Zegnat
I remember the Grav URI thing as pretty aggravating when I was looking into this for you previously.
#
Zegnat
As you can see, it doesn’t do anything special. (The comments should make it easy to read along.) But it does depend on $this->grav['uri']->base() being what I need.
#
Zegnat
This is the code we are talking about, that I wrote, that adds the LINK element to your HEAD: https://github.com/Perlkonig/grav-plugin-webmention/blob/master/webmention.php#L186-L218
#
jeremycherfas
It is definitely a problem with local versus production. When I use the same CURL subsituting the values from the production site, it works fine.
arush joined the channel
#
Zegnat
Yes. You local either doesn’t know that it is installed in a subdirectory (grav-admin) or the use of ->base() is wrong.
#
Zegnat
In case of the first it is a configuration problem on your end, in case of the latter someone needs to do a deep dive into the Grav documentation :/
#
jeremycherfas
Oh great. Now the grav documentation is offline.
#
jeremycherfas
I may have to rsort to their Slack channekl
[miklb] joined the channel
#
[miklb]
!tell aaronpk have you ever contemplated allowing syndicate-to on favorites/likes in Quill?
#
Loqi
Ok, I'll tell them that when I see them next
#
sknebel
What is Perch?
#
Loqi
Perch and Perch Runway are a content management systems based on PHP+MySQL https://indieweb.org/Perch
#
www.svenknebel.de
edited /Perch (+175) "Webmentions!"
(view diff)
#
jeremycherfas
Zegnat: giving up for now, till I’ve been able to take a closer look at the Grav URL functions.
#
jeremycherfas
Thanks again for guidance.
#
Zegnat
No problem jeremycherfas! Otherwise you could look into running local development domains. I do this to have vanderven.dev and licit.dev locally. That way, all the URLs can mirror the live sites instead of being in sub directories.
#
jeremycherfas
Maybe we can talk about that another time. Right now, I use MAMP and that’s just the way it sets things up. I have to go out now.
#
Zegnat
No problem! Have a nice evening :)
#
aaronpk
good morning
#
Loqi
aaronpk: [miklb] left you a message 29 minutes ago: have you ever contemplated allowing syndicate-to on favorites/likes in Quill?
#
Loqi
morning!
#
aaronpk
[miklb]: i had considered it, but most of the time I use the bookmarklet to favorite things, which auto-submits the form, so i don't have an opportunity to click syndication buttons
#
aaronpk
but if you authorize Quill to your twitter account, then when you favorite twitter URLs in quill, quill will go favorite it on twitter
snarfed joined the channel
#
snarfed
hey aaronpk just fyi, the IRC web UI "Prev" links for the new channels, eg wordpress and meta, are disabled. e.g. https://chat.indieweb.org/meta/2017-07-17#bottom
#
aaronpk
oh funny
[chrisaldrich] joined the channel
#
www.svenknebel.de
edited /Main_Page (+179) "/* Upcoming Homebrew Website Club meetups */"
(view diff)
snarfed, j12t and eli_oat joined the channel
[chrisaldrich] joined the channel
#
voxpelli
[chrisaldrich]: rel-payment + interledger would be so very very exciting, just needed to write that, because excitement
#
Loqi
voxpelli: mblaney left you a message 5 days, 13 hours ago: I found a windows computer to test firefox on and it still works, so the indie-config bug looks to be linux only. still need to test on a mac.
j12t, eli_oat1 and [miklb] joined the channel
#
[miklb]
aaronpk gotcha. I was looking at GitHub starred repos
#
aaronpk
neat idea
snarfed joined the channel
#
[miklb]
silo.pub supports like-of for starring repos, and with snarfed’s help I got it set up with WordPress as a syndicate-to option, so now just need a mechanism to fire it all off.
#
aaronpk
oh nice
jeremycherfas joined the channel
#
snarfed
[miklb]++
#
Loqi
miklb has 6 karma in this channel (40 overall)
#
sebsel
[miklb] I had a 'if domain is "twitter.com", like the tweet' at some point.
#
aaronpk
i've been playing around with the idea of automatically syndicating things in my own micropub endpoint a little
#
aaronpk
e.g. "if this is a twitter URL, automatically syndicate my reply to twitter"
#
sebsel
yeah, exactly that.
#
aaronpk
i had mixed results doing that for syndicating text, but it'd be easier for just likes
#
aaronpk
so i could move some of that logic into Quill
#
aaronpk
basically you'd tell quill "if the URL matches this pattern, automatically select this syndication button"
#
[miklb]
that would be ace
#
aaronpk
i did something similar in ownyourgram wiith keyword matching
tantek joined the channel
#
[miklb]
I wonder if we could do something like that in one of the IW WP plugins…
singpolyma, mindB, plindner, schmarty, zoglesby, eli_oat[m], myfreeweb, AlanPearce[m] and snarfed joined the channel
#
[miklb]
is silo.pub generally pretty fast in triggering a micropub request? I tried a reply to an issue but it isn’t showing up on GitHub
snarfed joined the channel
#
aaronpk
it should be instant
#
[miklb]
ah, my markup isn’t right
#
[miklb]
didn’t set the in-reply-to url
#
aaronpk
that would do it
KevinMarks, [jemostrom], snarfed and singpolyma joined the channel
#
www.boffosocko.com
edited /Accelerated_Mobile_Pages (+326) "/* Criticism */ Alex Kras article"
(view diff)
#
tantek
FYI - MozFest submissions due August 1st - and IndieWeb submissions have been explicitly requested! (MozFest is in London in the fall)
#
tantek
has anyone considered doing RSVPs via Twitter?
#
tantek
or has anyone actually done it? (indie or silo)
#
tantek
on another topic, I wonder if drewinthehead is considering implementing /facepiles for likes and reposts after the amazing response to https://allinthehead.com/retro/378/implementing-webmentions :)
#
Loqi
[Drew McLellan] Implementing Webmentions
#
@sandi_batik
#WPATX @WWCodeATX Thoughtful @wpmudev Post -What the New Webmention and Annotation W3C Standards Mean for WordPress https://www.youtube.com/watch?v=AZw5AC_re6I
(twtr.io/1U15t50bGrG)
tbbrown and KartikPrabhu joined the channel
#
@sandi_batik
#WPATX @WWCodeATX Thoughtful @wpmudev Post -What the New Webmention and Annotation W3C Standards Mean for WordPress -https://premium.wpmudev.org/blog/webmentions-annotations-web-standards/
(twtr.io/1U16san0uQ0)
tantek and tantek_ joined the channel
#
loqi.me
created /indie_map (+165) "prompted by aaronpk and dfn added by aaronpk"
(view diff)
eli_oat, KevinMarks, snarfed and AngeloGladding joined the channel
#
@WorkingWriter
My latest WPMUDev blog post, on #Webmentions and #WebAnnotations in WordPress. https://premium.wpmudev.org/blog/webmentions-annotations-web-standards/?ptm=b
(twtr.io/1U1CEd5yXPj)
KevinMarks, snarfed, tantek and [jeremycherfas] joined the channel
#
[jeremycherfas]
!tell Zegnat I think I have a solution but cannot test until tomorrow afternoon.
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
Awesome jeremycherfas! I should be around tomorrow afternoon ;)
#
sebastiangreger.net
edited /Homebrew_Website_Club (+158) "/* Berlin */ summer break, move to Thursday from September"
(view diff)
#
[jeremycherfas]
See you then Zegnat.
#
Zegnat
sknebel, what’s that, you going to turn up at Virtual HWC from now on?! ^^^ :D
#
Zegnat
(woops, wrong channel)
#
sknebel
possibly ;)
KevinMarks, KevinMarks_ and [pfefferle] joined the channel
#
@hdv
My blog now sends and receives Webmentions. Earlier I was setting up a cron job (which I never do) with vi (which I hardly ever use).
(twtr.io/1U1JfWEYDnj)
[miklb] and snarfed joined the channel
#
tantek
AMP << 2017-03-13 {{adactio}} <cite>[https://adactio.com/journal/12011 In AMP we trust]</cite>
#
Loqi
ok, I added "2017-03-13 {{adactio}} <cite>[https://adactio.com/journal/12011 In AMP we trust]</cite>" to the "See Also" section of /Accelerated_Mobile_Pages
#
loqi.me
edited /Accelerated_Mobile_Pages (+90) "tantek added "2017-03-13 {{adactio}} <cite>[https://adactio.com/journal/12011 In AMP we trust]</cite>" to "See Also""
(view diff)
snarfed joined the channel
#
petermolnar
how on earth is amp still a thing, it should have died instantly when people realised visitors don't get their sites any more
#
tantek
because superficial Google search results. I say superficial because you show up in the search results but get no traffic from those results (goes to Google cache AMP views, not your website views)
snarfed, KevinMarks and dansup joined the channel
KevinMarks joined the channel
#
tantek
FYI for anyone interested in serious plumbing discussions, IETF 99 is this week, agenda: https://datatracker.ietf.org/meeting/99/agenda.txt
#
tantek
(also interesting example for "plain text" structured events)
#
tantek
(i.e. how to do events in plain text but without making up new punctuation nonsense the Markdown does for every new feature)
#
aaronpk
the OAuth group is meeting
#
tantek
I believe there are decent remote participation opportunities
#
tantek
was going to check out a few mysefl
snarfed joined the channel
#
petermolnar
challenge: parse that text with the shortest regex you can come up with
KartikPrabhu, leg, [miklb], snarfed and KevinMarks joined the channel