#dev 2017-08-20
2017-08-20 UTC
KartikPrabhu, [miklb], snarfed, tantek, cweiske, jeremycherfas, [kevinmarks] and [renem] joined the channel
#
Loqi A static site is a website that is served by a web server directly from the file system https://indieweb.org/static

#
sknebel for jekyll there is https://github.com/aarongustafson/jekyll-webmention_io#commands
#
voxpelli is slowly working on it – still think something along the lines of https://github.com/aaronpk/Telegraph/issues/13 would be the way I want go

#
deborniol.com created /User:Deborniol.com (+307) "Created page with "<span class="h-card">[http://deborniol.com/ Mayel de Borniol]</span> == Working On == * [[Social.coop]] a coop-run corner of the fediverse, a co-operative and transparent approa..."" (view diff)
jeremycherfas joined the channel
#
jeremycherfas Is there a useful tool for looking at access logs, or it is easier to just look at the raw data and maybe grep?

davidmead joined the channel
#
jeremycherfas It looks to me like the $HMAC as calculated by the command is one character too long. Will try and set it by hand instead.

[kevinmarks] joined the channel
#
[kevinmarks] hm, seems as if websub would be the right thing to hook up a webmention sender to, but that would need websub for githup pages

#
jeremycherfas Still get a 403 forbidden.

#
jeremycherfas Very frustrating.

#
@kevinmarks @RussellBal @cliffordoravec @remarkbox well https://webmention.rocks/ can help you work up to that (twitter.com/_/status/899262013905543169)
#
jeremycherfas I want to try and post to Known using the API. Following the instructions here http://docs.withknown.com/en/latest/developers/plugins/api/

#
jeremycherfas The thing is, apart from the 403 forbidden, I get no additional information as to why that might be so.

#
jeremycherfas Right. That’s true. But the weird part is that the access.log seems to show it was successful

#
jeremycherfas 208.113.170.110 - - [20/Aug/2017:06:32:40 -0700] "POST /status/edit HTTP/1.1" 200 4116 "-" "curl/7.35.0"

#
jeremycherfas Does that 200 mean success?

#
jeremycherfas OMG! A million thanks sebsel. I might have the wrong key. Let me recalculate and try again.

#
jeremycherfas A classic human erro; for some reason - secuyrity? - Known does not seem to allow copy from the API field, and I human copied it wrongly!

#
jeremycherfas The Chrome restlet client still fails, but I don’t care any more.

#
sebsel wasn't Postman the most loved one? Seems like it's stand-alone now: https://www.getpostman.com/

#
sebsel I use Paw, but probably less than half of it's features. Can be a freeform Micropub client too https://paw.cloud/

snarfed joined the channel
[manton] joined the channel
#
jeremycherfas Noob question: What does it mean in the terminal when suddenly a bunch of lines are prefixed with >

#
jeremycherfas I can get out with CTRL-C but I have no idea how it happens.

[miklb] joined the channel
#
jeremycherfas Maybe I did — but not intentionally :)

#
jeremycherfas My problem seems to have been some weirdness with copy and paste from NValt.

barpthewire joined the channel
#
sebsel https://seblog.nl/2017/08/20/2 < it says 'off the grid' in the webmentions

#
Loqi private posts refer to posts or portions of posts which are private to either the author or to a limited audience chosen or previously approved by the author https://indieweb.org/private_post

#
jeremycherfas I originally started digging in to the WithKnown API in the hope that I would be able to automate new bookmrks from my RSS feed at reading.am. I think I have the basics of what to send in the POST. I had been hoping to use IFTTT to do the heavy lifting, but it doesn’t seem to be able to do what I want. Maybe Zapier will be better. But Zapier is pretty expensive.

#
jeremycherfas I searched for various terms — HTML, HTTP, API — and nothing seemed to pop up.

#
jeremycherfas I did see it in the Maker channel, but at first glance that seemed to be all about interacting with IoT. Can it do more, aaronpk?

#
jeremycherfas Cool. I’ll take another look and pay more attention.

#
Loqi IFTTT (IF This Then That) is a service for connecting apps and services with automation https://indieweb.org/IFTTT

#
Zegnat This is interesting, and I wonder if I should implement this all around… https://github.com/IncludeSecurity/safeurl-php

#
jeremycherfas Sorry to be a dunce aaronpk but I cannot see anywhere in there to add authentication

#
Zegnat And, on exploits in URL parsers, which shows libraries like the above might be needed: https://www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdf

#
jeremycherfas Not a problem zegnat.

#
jeremycherfas I’m lost again. Could I use RSS to trigger micropub?

#
jeremycherfas Directly, or via something like IFTTT or Zapier?

#
jeremycherfas Heh. Ya think.

#
jeremycherfas So request to the micropub endpoint in my install of Known. Wouldn’t I still have the problem of authentication?

#
sebsel So you have the endpoint here: http://stream.jeremycherfas.net/micropub/endpoint

#
jeremycherfas And I know how to access that with curl

#
jeremycherfas But where to I get the access token?

#
jeremycherfas Oh boy!

#
jeremycherfas I don’t think so. I had to create HMAC from the URL and my API

#
jeremycherfas Sebsel If I look at the indiepub accounts in KNown, I can see only the first 5 characters of the Token.

#
jeremycherfas What https://indieweb.org/obtaining-an-access-token says to me is that this is way more complicated than you can manage. But I also know that I can at least try.

#
jeremycherfas In which case, probably best to change from x-www-form-urlencoded to json in the POST

[kevinmarks] joined the channel
#
[kevinmarks] What is Ownyourswarm?

#
Loqi OwnYourSwarm is a service which sends your Swarm checkins to your own website via Micropub https://indieweb.org/OwnYourSwarm

#
[kevinmarks] Hm. It still 403s for me on known

#
jeremycherfas Time to give up again for the day. Now having the strangest problems cutting and pasting from Textedit to Terminal. No idea what’s hgoing on.

cweiske joined the channel
tantek and [kevinmarks] joined the channel
#
sebsel !tell jeremycherfas I have his helper for obtaining an access token for you now :) https://gimme-a-token.5eb.nl/

snarfed joined the channel
#
snarfed sebsel: try https://anyorigin.com/ and friends for CORS?
davidmead joined the channel
[kevinmarks], [miklb] and KartikPrabhu joined the channel
#
sebsel https://tokens.indieauth.com/token, but yes, that should work.

snarfed and [kevinmarks] joined the channel
barpthewire, KartikPrabhu and [kevinmarks] joined the channel
[tantek] joined the channel
#
gregorlove.com edited /accessibility (+174) "/* Physical Environments */ Ellen Murray's Twitter thread" (view diff)

snarfed joined the channel