#dev 2017-05-25

2017-05-25 UTC
#
gRegorLove
What is Inoreader
#
gregorlove.com
edited /Inoreader (-5) "link dfn"
(view diff)
[manton] joined the channel
#
[manton]
cleverdevil Sorry, I finally got around to commenting on your GitHub issue. Hopefully more people will jump in.
#
gregorlove.com
edited /jsonfeed (+98) "/* Reader Support */ add Inoreader, sort newest first"
(view diff)
#
gregorlove.com
edited /jsonfeed (+157) "Tools section"
(view diff)
#
KartikPrabhu
gRegorLove: why newest first? I thought we usually listed chronologically
#
gRegorLove
something something JSON isn't ordered
#
gRegorLove
*shrug* no real reason. I guess we do that with IndieWeb Examples but I was thinking it'd be interesting to see how recently support was added
#
gRegorLove
Right now I suppose it doesn't matter since they're so closely clustered.
#
gRegorLove
It would be funny if the ordered changed randomly :)
cweiske_ joined the channel
#
sknebel
checks if there is a mediawiki template for that
jjuran and [cleverdevil] joined the channel
#
[cleverdevil]
Thanks for the reply, manton. I'm back in the air for my last leg of my trip back home. I'll see if I can adjust my Known request to more closely match mf2 on my flight.
#
miklb
GWG when you said check the classes, which one? If I'm reading micropub plugin correctly, it only supports like, repost and reply currently?
#
miklb
oh, never mind, I needed to read further
#
GWG
miklb: Sorry. Stepped away
#
GWG
I'm here now for a bit.
#
miklb
hmm. It works now. Swear when I tried creating bookmarks with micropub last time, it came through as a note.
#
miklb
¯\_(ツ)_/¯
#
GWG
I did try to change it in the last update.
#
GWG
So maybe it worked.
#
miklb
appears so! Thanks
#
GWG
miklb: I am looking at the rendering system now for new ideas, if you have any.
#
GWG
I think each time I refine it more.
#
miklb
rendering system?
#
GWG
The 'view' part.
#
GWG
The part that turns mf2 properties into HTML
#
miklb
ah. I haven't come across anything yet. Maybe some might benefit from a helper class to display images?
#
GWG
I will be working on it over the coming days.
#
GWG
Been busy with my lifestyle changes
#
miklb
no worries! Hope all for the good
#
GWG
Dieting, and cooking.
#
miklb
well, if you ever have any cooking questions, that was my 1st profession.
#
GWG
miklb, will keep in mind.
#
GWG
In the meantime... planning another rewrite.
#
miklb
rewrite or iteration?
#
GWG
miklb, iteration is probably better terminology
tantek joined the channel
#
ben.thatmustbe.me
edited /indieweb_network (-1) "/* Larger or multi-user software */ feature request for diaspora"
(view diff)
#
ben_thatmustbeme
keeps nudging
tantek joined the channel
#
gregorlove.com
edited /indieweb_network (+0) "/* Larger or multi-user software */ fix GNU social link"
(view diff)
#
@gRegorLove
@eli_oat Nice! I tried to send a webmention but it couldn't find the endpoint. The form has an empty "target" too. https://gregorlove.com/2017/05/welcome-aboard/
(twitter.com/_/status/867575838773870597)
#
loqi.me
created /Media_endpoint (+189) "prompted by dougbeal|mb1 and dfn added by gRegorLove"
(view diff)
#
loqi.me
created /media-endpoint (+36) "prompted by dougbeal|mb1 and dfn added by gRegorLove"
(view diff)
#
gregorlove.com
edited /micropub_media_endpoint (+14) "/* See Also */"
(view diff)
barpthewire, [eddie], cweiske, Ruxton and [kevinmarks] joined the channel
#
[kevinmarks]
The problem with rss/atom isn't parsing xml, it's that they are hugely broken in the wild. Especially rss
#
Zegnat
I wouldn’t mind JSON feed for things like podcasts, actually, where I have seen too many broken feeds and don’t necessarily need HTML.
#
@WendyandCharles
ReadersGazette: BLOG Indie Author Answers by Jim Heskett http://www.thejugglingauthor.com/indieauth/ Get help writing your book #bookbloggers 14
(twitter.com/_/status/867676193037983744)
#
strugee.net
edited /Template:strugee (+60) "Add image"
(view diff)
KevinMarks joined the channel
#
strugee.net
edited /website-analytics (+157) "List strugee as using Piwik"
(view diff)
KevinMarks, [kevinmarks], [colinwalker], jeremycherfas and persand joined the channel
#
jeremycherfas
If I want a php plugin to simply quit working and return to whatever comes next if a certain condition is met, would I use `return;` or `quit;` or something else?
#
www.svenknebel.de
edited /MediaGoblin (+12) "dfn, https url"
(view diff)
#
schmarty
jeremycherfas: depends on what the code is expected to do. do you have a link to the code online somewhere? or can you say more about where the plugin? is it WP? known?
#
sknebel
jeremycherfas is this about your webmention-in-feeds problem?
#
schmarty
the short answer is that "return;" will stop the current function and go back to the caller. what that means for the final output depends on what the caller expects.
#
jeremycherfas
Thanks schmarty. Plugin for Grav. But actually, my problem is more serious than that. Looking deeper into other plugins.
#
jeremycherfas
Sknebel yes it is. One of the Grav developers suggested I could test whether the page format was html, and block the plugin if it is not html.
#
jeremycherfas
I found a way to do that, but the bad link is still appearring in the feed.
#
jeremycherfas
So now I am looking at the plugin that produces the feed to see if I can see what it does.
#
sknebel
(it's not just stuck in cache, right?)
#
aaronpk
jeremycherfas: die('hello world'); is usually what I do for that
#
jeremycherfas
Die is what I feel like doing.
#
jeremycherfas
I have caching off explicitly
#
sknebel
hm. hard to help without seeing the code.
#
sknebel
(I see the webmention plugin has a "ignore_path" option in the receiver settings, "The ignore_paths field lists paths you will not accept webmentions for nor advertise webmention functionality ") A more general solution would be nicer, but could be a workaround until then?
#
aaronpk
[kevinmarks]: I think the thought is that it's harder to screw up writing a JSON feed than rss?
#
sknebel
(or even set the advertise_method to "header". Additional link headers shouldn't confuse feed readers)
#
jeremycherfas
Sknebel Those are good thoughts, but they don’t work. Those ignore routes do not prevent the plugin adding a line to HEAD that somehow appears also in the feeds.
singpolyma joined the channel
#
sknebel
jeremycherfas: ok, then that is badly documented, or something is broken in some other strange way
#
jeremycherfas
I am trying to see why they are output on the feed page, because the feed plugin does not appear to call them directly. I think they may be a leftover of some sort.
#
jeremycherfas
Badly documented and broken!
#
www.svenknebel.de
edited /NewsBlur (+75) "link to github"
(view diff)
#
jeremycherfas
The pity is that the chap who wrote the webmentions plugin seems really good, but not very active either on github or in the grav slack channel
KevinMarks and [manton] joined the channel
#
sknebel
with all this talk about feed readers: how do you guys deal with "scheduled tasks" in your backends? e.g. for rate-limiting, feed-fetching, ...
#
sknebel
do you use something centralized (e.g. a job queue framework) that handles that?
tantek, KevinMarks_ and [kevinmarks] joined the channel
#
aaronpk
I use beanstalk as a queue for immediate background processing, or I use a table in a database for longer scheduled jobs
KevinMarks and [colinwalker] joined the channel
#
sknebel
What is Glitch?
#
Loqi
Glitch (formerly Gomix) is a tool by Fog Creek Software to allow you to quickly prototype web applications in a complete IDE with built in version control, sharing, and more https://indieweb.org/Glitch
#
sknebel
(currently playing with it. some limitations, for us most critically no direct support for custom domains yet, and node-js only, but might be neat for small tools)
#
sknebel
(e.g. someone could host the WM or micropub-endpoint for a static site there)
#
sknebel
currently I'm trying to make a thing that does /authorship *and explains* how it found the result
#
aaronpk
that sounds useful for indiewebify.me
#
sknebel
true. well, porting it to php(?) afterwards shouldn't be to difficult, or it can just be linked from there.
#
tantek
yes that sounds quite useful
#
sknebel
what is node?
#
Loqi
Node.js is a platform for running javascript applications and runs on all modern operating systems https://indieweb.org/node
loicm and jeremycherfas joined the channel
#
Zegnat
jeremycherfas, any luck with the Grav webmention plugin yet?
persand and KevinMarks joined the channel
#
www.svenknebel.de
edited /authorship (+260) "/* Issues */ multiple authors? how to do, is this a thing in (our) practice?"
(view diff)
KevinMarks and jeremycherfas joined the channel
#
jeremycherfas
Zegnat: Well, there are two problems. One is that the plugin inserts a rel=“mention” link even in the feed pages, which breaks them for some readers. The other is getting it to work with Xray. I’ve tried everything to solve the first problem, with no luck so far. So the second has had to wait.
#
Zegnat
That’s really odd. Do you have a link for that plugin? I might have a gander after dinner
#
jeremycherfas
Do you have a Grav installation?
KevinMarks joined the channel
#
Loqi
[Perlkonig] grav-plugin-webmention: Implements the Webmention protocol (with the Vouch extension) for the Grav CMS
#
jeremycherfas
The crucial stuff happens around this comment // inject before closing </head> tag
#
jeremycherfas
But I cannot for the life of me see why the $output variable set before that seems to hang around and gets stuck into the Atom and RSS feeds too.
[kevinmarks] joined the channel
#
Zegnat
It seems to just always add it to any path that is not in ignore_routes
gRegorLove joined the channel
#
jeremycherfas
But adding ignore routes doesn’t stop it adding to the feed, as far as I could tell.
#
Zegnat
jeremycherfas if you just var_dump $currRoute in that function, what do you get when visiting the feed? Because it had to match that exactly.
#
ben.thatmustbe.me
edited /NewsBlur (+252) "add link to feature request"
(view diff)
#
jeremycherfas
Cant check now. Maybe tomorrow
#
Zegnat
As long is that matches exactly it should not get added
persand joined the channel
#
@John316Network
https://booklaunch.io/llwroberts/thedoor - The Door is free. #IARTG #Kindleebooks #mustread #readers #Kindletouch #indieauth #IAN1pic.twitter.com/8LCenVAYrJ
(twitter.com/_/status/867789166377000960)
[cleverdevil] joined the channel
#
loqi.me
created /ActivityPub (+184) "prompted by gRegorLove and dfn added by gRegorLove"
(view diff)
KevinMarks joined the channel
#
gRegorLove
ActivityStreams << ActivityPub
#
loqi.me
edited /ActivityStreams (+18) "gRegorLove added "[[ActivityPub]]" to "See Also""
(view diff)
#
Loqi
ok, I added "[[ActivityPub]]" to the "See Also" section of /ActivityStreams
#
gregorlove.com
edited /ActivityPub (+2) "link dfn"
(view diff)
#
gregorlove.com
edited /Salmentions (-52) "/* ActivityPub */ replace broken github.io link with wiki link"
(view diff)
#
gregorlove.com
edited /ActivityPub (+26) "+File:w3c-spec-CR.svg"
(view diff)
persand and KevinMarks joined the channel
KevinMarks, barpthewire, persand and [eddie] joined the channel
#
[eddie]
!tell aaronpk: person-tags are urls that point to a user with a u-category attached. Obviously in practice your site treats person tags and post tags differently. I know your storage is based on a yamlfication of mf2 json. Just curious do you store your person-tags in the category array and then just filter based on if it has http* (person tag) or doesn’t have http* (post tag)
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
yep exactly
#
[eddie]
:thumbsup: That seemed like the way to go (because I’m doing a similar yamlfication of mf2 for my storage) but figured if there was any downsides to that you would have discovered it ?
#
sknebel
[eddie]: you have a bunch of node-js stuff, right?
#
sknebel
have you looked at glitch.com? It seems like it could be interesting to get people quickly up and running with node-based services (esp those that have a static site somewhere else)
#
[eddie]
sknebel: Thanks for the heads up. I haven’t even heard of glitch yet, I’ll take a look. I do a bunch of node.js stuff
#
sknebel
they give you small playground-containers with a web editor, and have a neat "fork this" feature
#
[eddie]
Oh, that’s cool!
#
[eddie]
Thanks for the heads up
tantek, KartikPrabhu and [cleverdevil] joined the channel
#
loqi.me
edited /jsonfeed (+106) "aaronpk added "https://wptavern.com/json-feed-creators-aim-to-revitalize-interest-in-the-open-web-with-rss-alternative" to "See Also""
(view diff)
tantek and [colinwalker] joined the channel
#
gregorlove.com
edited /events/2017-05-31-homebrew-website-club (+197) "/* Bellingham, WA */ Bellingham"
(view diff)
#
tantek.com
edited /framework (+263) "a bit more specific definition of a framework, and explanation of a how a library might not be a framework"
(view diff)
#
gregorlove.com
edited /Events (+91) "/* May */ add locations"
(view diff)
[shaners] joined the channel
#
tantek
my self signed cert expired so now I have to remember how to make a new one and update it
#
[cleverdevil]
Might as well take the opportunity to move to LetsEncrypt ?
#
tantek
that takes more coding / tooling
#
[cleverdevil]
True, but then it can be set and forget in a cron job.
#
[cleverdevil]
But generating a self signed one is pretty quick and easy after a short trip to google.
#
tantek
lol "forget" and "cron job" in the same sentence
#
aaronpk
this is also a halfway between self-signed and a real cert: https://ssl.indieweb.org/
#
tantek
interesting
#
aaronpk
you can avoid the browser warning too
#
tantek
alright, I'll bite
#
tantek
what is a CSR?
#
Loqi
It looks like we don't have a page for "CSR" yet. Would you like to create it?
#
aaronpk
CSR is a Certificate Signing Request, which is used to request an https certificate from a certificate authority
#
loqi.me
created /CSR (+140) "prompted by tantek and dfn added by aaronpk"
(view diff)
#
sknebel
A CSR is a certificate signing request, which is used to ask a [[CA]] to sign a [[TLS]] [[certificate]].
#
tantek
what is a CA?
#
Loqi
It looks like we don't have a page for "CA" yet. Would you like to create it?
#
sknebel
what is certificate authority?
#
Loqi
It looks like we don't have a page for "certificate authority" yet. Would you like to create it?
#
tantek
hmm, I'm sensing a need to keep track of (another) private key here so I may bail on this for now
#
aaronpk
you have to for self-signed certificates too
#
aaronpk
a private key is part of the certificate
#
aaronpk
your web server needs it in order to be able to create the TLS connection
#
aaronpk
if you already have an existing private key, you can use that to create the CSR for ssl.indieweb.org, you don't need a new one
#
tantek
huh - the UI on my hosting provider doesn't make me deal with that
#
[cleverdevil]
That is interesting.
#
[cleverdevil]
I use https://certbot.eff.org on my unmanaged servers for SSL>
#
[cleverdevil]
Works great.
#
tantek
I just add a few fields (country, state, city, org, email) and pick 2048, and click "create" and boom my site is being served with the new self-signed cert
#
aaronpk
okay then that host should really add support for letsencrypt
#
aaronpk
they have no excuse if they're already doing that much
#
dougbeal|imac
aaronpk: what do you run indieauth under?
#
aaronpk
under?
#
dougbeal|imac
nginx/passenger?
#
KartikPrabhu
webserver backend
#
dougbeal|imac
Its a Sinatra app, right?
#
aaronpk
ah yeah. it's a Sinatra app, I run `bundle exec thin` and it listens on a port, and nginx reverse proxies to it
#
dougbeal|imac
aaronpk: thanks!
KartikPrabhu, [eddie] and KevinMarks joined the channel
#
aaronpk
whoa neat
[cleverdevil] joined the channel