#dev 2017-07-04

2017-07-04 UTC
tantek, [kevinmarks], AngeloGladding, [cleverdevil], gRegorLove and j12t joined the channel
#
jjuran.org
edited /IRC_People (+89) "/* Nicknames */ Add jjuran"
(view diff)
cweiske, tantek, barpthewire, gRegorLove, [pfefferle], j12t, AngeloGladding and [colinwalker] joined the channel
#
petermolnar.net
edited /PESOS (+177) "/* {{petermolnar}} */"
(view diff)
#
petermolnar.net
edited /PESOS (+69) "/* Software */"
(view diff)
cweiske, j12t, [xavierroy], [jeremycherfas], dougbeal|iOS, myfreeweb, eli_oat[m], plindner, mindB, zoglesby, schmarty and [miklb] joined the channel
#
sebsel
Hm, my endpoint has troubles with aaronpk's Compass. It sends nested microformats, but not as an array.
#
aaronpk
checks
#
sebsel
The example on https://www.w3.org/TR/micropub/#nested-microformats-objects-p-4 has a "weight":[ {"type": ["h-measure"]
#
aaronpk
oh it's not even sending JSON
#
sebsel
ah! so I should not fix my endpoint, but Compass?
#
sebsel
oh lol -reads-
#
aaronpk
yeah, this is a leftover from an early micropub draft that had nested properties with form-encoded requests
#
aaronpk
tho it's going to require adding media endpoint support in order to upload the geojson file with the GPS data
#
sebsel
I really need to fix my multipart too, I see, in order to get the route.
#
aaronpk
cause multipart + json isn't a thing
#
sebsel
Ah! That's why.
j12t joined the channel
#
sebsel
aah, and I wanted to complain about the empty 'Photo' param it sends, but it doesn't, that's what my endpoint adds because it detected a file.
singpolyma, [miklb] and [barryf] joined the channel
#
[barryf]
Hey sebsel: I pushed a change to Micropublish so you no longer have to set the Content-Type to JSON during auth. It falls back to form-encoded if the body is not JSON.
#
Loqi
[barryf]: sebsel left you a message 3 days, 5 hours ago: I got a 500 on https://micropublish.net/auth/callback, but my ruby is not good enough to find out why :) I'm giving it a code, a state and a me, and my /auth is responding in json.
#
sebsel
[barryf] oh, let me try!
#
sebsel
Works!
#
[barryf]
Yay! Let me know if anything else trips you up.
#
sebsel
I have nothing new to post at the moment, but will try :) it looks so nice
[jeremycherfas] joined the channel
#
[barryf]
Awesome. Looking forward to seeing you post with it.
[pfefferle], davidmead and j12t joined the channel
#
sebsel
well, I'm not able to receive the full route.json yet, but I have some visualisation for trips on my site :) https://seblog.nl/2017/07/03/4
#
Loqi
[Sebastiaan Andeweg] ? met de trein van Leiden naar Nijmegen (115,8 km)
#
sebsel
using a textual representation of the trip, suits the rest of my site.
#
aaronpk
needs a text summary of his trips
#
sebsel
it was kind of born out of necessity, because there is no good word for 'trip' in Dutch :) all the words are either very oldfashioned, or not fit for both walking and a vehicle.
#
sebsel
I just map the type to a 'walking' / 'by train' and then if there's a start + end time param, use "from A to B" else use "in A" :)
#
sebsel
kind of happy with it
#
sebsel
hm, this is not -dev anymore. oh well.
AngeloGladding joined the channel
#
@adactio
@growdigital <input type="file"> I also use OwnYourGram and OwnYourSwarm by @aaronpk to post photos to my site’s micropub endpoint.
(twitter.com/_/status/882310128552300544)
tantek joined the channel
#
davidmead
aaronpk: does it matter what micropub option I use in OwnYourSwarm, with the micropub WP plugin?. Still trying to get them working again
#
aaronpk
i think the WP plugin supports JSON so you should use that, it will give you the best results
#
aaronpk
if you use the "simple" option then it'll just look like text posts
#
davidmead
ok. i’ll log in and try
#
Zegnat
adactio++ for that tweet
#
Loqi
adactio has 1 karma in this channel (39 overall)
#
davidmead
i’m still not getting any of them to post using simple
#
aaronpk
while i'm here let me see if i can jiggle your account loose if it's still disabled
#
aaronpk
davidmead: try now
#
davidmead
ok. no longer says disabled
#
davidmead
i’ll change to json and try checking in
#
davidmead
that now works. thx aaronpk :-)
#
davidmead
i’ll try and import the old ones now
#
aaronpk
awesome
#
aaronpk
i'll have to make a button so you can reset your account if it gets into that state
#
Zegnat
davidmead, maybe tell the guys in -wordpress what you needed to change from the standard installation? :)
#
davidmead
zegnat will do
#
Zegnat
davidmead++ for owning your Swarms
#
Loqi
davidmead has 1 karma in this channel (4 overall)
#
Zegnat
aaronpk++ for jiggling things behind the scenes
#
Loqi
aaronpk has 62 karma in this channel (1374 overall)
#
davidmead
aaronpk++
#
Loqi
aaronpk has 63 karma in this channel (1375 overall)
#
davidmead
not sure why it didn’t free itself up aaronpk, as i could import a past checkin and your message said that should enable the account again
#
aaronpk
ah okay i thought i had done something like that, sounds like a bug then
tantek and davidmead joined the channel
#
GWG
Howdy
davidmead, Loqi, tantek and snarfed joined the channel