#dev 2016-09-09

2016-09-09 UTC
Zegnat, doesntgolf, KevinMarks, KevinMarks_ and KevinMarks__ joined the channel
#
gregorlove.com
deleted /Template:= "Not used. content was: "=" (and the only contributor was "[[Special:Contributions/Www.boffosocko.com|Www.boffosocko.com]]")"
#
gregorlove.com
edited /Events (+663) "/* September */ 9/14 hwc"
(view diff)
#
gregorlove.com
edited /Events (+18) "archive 9/07 hwc"
(view diff)
#
gregorlove.com
edited /Events (+307) "/* September */ link to wiki page so xoxo meetup gets in newsletter"
(view diff)
#
gregorlove.com
created /events/2016-09-09-xoxo-indieweb-meetup (+1004) "basic event/rsvp info"
(view diff)
KevinMarks, cweiske, AngeloGladding, KevinMarks_, tantek, gRegorLove and cmal joined the channel
#
petermolnar
in case I want to store webmentions in frontmatter+md, will the from: (name, email, url), for: URL, type: [repost, reply, etc], date: [date] in the YAML and the content in markdown be enough as a bare minimum?
#
petermolnar
is there anything else I need to store to have sufficient info on the reaction?
#
petermolnar
maybe the from url...
#
petermolnar
that's rather important :D
#
cweiske
in case you find missing info, you can re-fetch them from the original url
cmal joined the channel
#
petermolnar
does the happy dance
#
petermolnar
I have a standalone webmention receiver which does webmention to YAML+markdown + to email
#
petermolnar
I do need to make it async though
#
cweiske
wishes you had extendet stapibas for that
#
petermolnar
I know :/
#
petermolnar
I know I should/should have
#
petermolnar
and I may still will, but I have just too many programming languages/projects in my mind at the moment
#
petermolnar
and I just wanted to test this
#
petermolnar
think of it as a hackathon demo :D
#
cweiske
so until now you couldn't receive linkbacks?
#
petermolnar
nah, I've written a wordpress webmention plugin for myself as well
#
petermolnar
but I want to get rid of the wordpress dependencies
#
petermolnar
although a bit hacked
#
cweiske
do you display webmention replies?
#
petermolnar
not any more
#
petermolnar
I used to, but right now, I want things to be as minimal as possible
#
petermolnar
(I mean incoming; outgoing, I do display, since those are posts of mine )
#
petermolnar
I will probably put them back, but with wordpress, there are certain nightmare scenarios
#
petermolnar
eg. comments don't have their own proper permalinks
#
cweiske
i mean incoming since I just replied to one of your posts
#
petermolnar
and if you want to make a conversation under wp terms, a reply to a reply should be a comment as well
#
petermolnar
the wp-webmention-again is async
#
petermolnar
to at the moment, it takes at least a minute to actually receive it for me
#
cweiske
cron-based async?
#
petermolnar
but no, I do not display them
#
petermolnar
I could not do proper async with wordpress
#
petermolnar
otherwise the wp-cron will get brutally hammered
#
petermolnar
interesting
#
petermolnar
it seems like I can't parse your response
#
petermolnar
there is something wrong with my wp plugin :/
#
cweiske
petermolnar, do you have type-specific feeds?
#
cweiske
I would like to subscribe to your articles only
#
petermolnar
but I have 2 article feeds: it related and personal
#
cweiske
hm. tt-rss subscribed to /feed/ when I pasted the /articles/ url
#
cweiske
<link rel="alternate" type="application/rss+xml" title="Peter Molnar RSS Feed" href="https://petermolnar.net/feed/" />
#
petermolnar
I forgot to put it back in the header
#
petermolnar
it's only linked in the "follow" button at the top of the content
#
petermolnar
it appears to be a broken
#
petermolnar
this is not my day
doesntgolf joined the channel
#
GWG
petermolnar: I've been looking at your webmention plugin
#
GWG
I've been trying to build a pingback/webmention plugin.
#
miklb
petermolnar is that YAML webmention receiver going to be public code? Would be interested to look at that for my jekyll site
#
petermolnar
but it's old school prodecural PHP and is not by today's standard at all
#
voxpelli
Me and aaronpk are looking at making our endpoints post to our sites through Micropub: https://github.com/voxpelli/webpage-webmentions/issues/37
#
voxpelli
just a though if someone else wants to decouple it in a similar way :)
#
GWG
voxpelli, I am still trying to build the ideas for it.
#
miklb
voxpelli I think I mentioned it, but I'm going to look at storing the webmention as a datafile like I'm doing with responses from bridgy
#
voxpelli
miklb: cool, I'm going to work on the push to Micropub part in my endpoint at some point, but I don't plan on using it myself on the receiving point
#
voxpelli
except for maybe on some new page just for dogfoodingh
#
Zegnat
KevinMarks: I am having some luck with my own extension for rel-me checking. Using a background script to do the actual checking, which means I should be able to add some centralised caching and hopefully soon replace the whole external indiewebify call ☺
#
GWG
If my synchronous webmention handler returns json on success, what should be in it?
KevinMarks joined the channel
#
KevinMarks
Nice zegnat - are you using the fetch() api?
#
Zegnat
Not currently. Right now the background script is using your XHR to indiewebify still
#
Zegnat
Only had my lunch break to work on it. Will pick up work again when I get home tonight.
singpolyma joined the channel
#
petermolnar
note for php-fpm users: it is surprisingly easy to take down a php-fpm service with just ~50 parallel requests, even if it's just a queue reception for webmentions; if you're using nginx, use rate limiting: http://nginx.org/en/docs/http/ngx_http_limit_req_module.html
doesntgolf and gRegorLove joined the channel
chrisaldrich1, ChrisAldrich and tantek joined the channel
#
GWG
I have returned
tantek joined the channel
#
GWG
So, my webmention plugin is feature complete with the existing one.
#
GWG
Now I have to figure out how to incorporate the mf2 and type stuff.
cweiske joined the channel
#
sebastianlasse.de
edited /2016/Brighton (+58) "/* Participating */"
(view diff)
#
gregorlove.com
edited /Template:photosrcalt/doc (+180) "param numbering in example, note why"
(view diff)
#
GWG
petermolnar, re wp-cron and async webmentions, how bad did it end up being?
#
cweiske
he didn't use it. he used a "real" cron
#
GWG
I think he tried both.
#
petermolnar
I don't do "proper" WP cron, because it's an aberration; I've been calling WP from the system cron since I've been using WP
#
cweiske
the wp cron is a ... workaround
#
cweiske
since most people don't know/cannot install a real cronjob
tantek joined the channel
#
GWG
WP cron triggered by Cron is still WP cron
ChrisAldrich and doesntgolf joined the channel