#dev 2017-02-20

2017-02-20 UTC
#
gregorlove.com
edited /Digg (+129) "expand dfn, link to Digg Reader"
(view diff)
#
gregorlove.com
created /Digg_Reader (+157) "stub"
(view diff)
#
gRegorLove
what is digg
#
Loqi
Digg is a news aggregator site that also offers a reader service, Digg Reader https://indieweb.org/Digg
#
gRegorLove
what is digg reader
#
Loqi
Digg Reader is an RSS reader service from Digg https://indieweb.org/Digg_Reader
#
gRegorLove
Digg Reader doesn't have that whitespace issue with either of our Atom feeds
KartikPrabhu, miklb and IRCFrEAK joined the channel
#
gRegorLove
aaronpk: Does webmention.io return an HTTP 303 now, or did I do/encounter something odd?
#
aaronpk
i didn't change anything recently
#
gRegorLove
The response body is the expected "status pending" HTML
#
gRegorLove
Huh, interesting. I'll check it out later; need to run.
#
dansup
implementing activitystreams (1,2), ostatus, salmon, rss, atom, xrds, and a few more in a project. Its time consuming, but I hope to provide a modern alternative to gnu/social
#
KartikPrabhu
why all those protocols?
#
dansup
so it supports gnu/social, its a clone essentially
#
dansup
pump.io, mastodon, tent, ect all use similiar protocols for federation
#
dansup
a fediverse of self-hosted twitter clones :D
mblaney, tantek and madgoat joined the channel
#
martymcgui.re
edited /audio (+246) "/* Marty McGuire */ note media fragment support"
(view diff)
#
KartikPrabhu
wonders if aaronpk media fragment JS supports multiple videos/audios on one page?
#
martymcgui.re
edited /tags (+246) "/* IndieWeb Examples */ add myself to examples"
(view diff)
#
KartikPrabhu
interesting that it uses all videos/audios
#
miklb
GWG I"m trying to dequeue the post kinds stylesheet and can't quite target it. Tried ('kinds') but that didn't work
#
GWG
Isn't it kind-style?
#
miklb
didn't work. Also noticing it's loading themecompat stylesheet, but I don't have that checked.
#
GWG
I am taking that out due complaints
#
miklb
I would have thought you'd only load that sheet if the option was checked.
#
miklb
that's what the code says should happen. Odd
#
GWG
Still...
#
martymcguire[m]
KartikPrabhu: it definitely interacts with all videos/audios in a page. for example, here's a page on my site with a bunch of old Vines. you can get them all to jump to a given time offset.
#
KartikPrabhu
martymcguire[m]: that actually didn't work on FF Ubuntu
#
KartikPrabhu
I get video MIME type not supported so maybe that's why
#
martymcguire[m]
ooh interesting
#
martymcguire[m]
i will have to look at that tomorrow.
#
KartikPrabhu
it seems the <video> source is being replaced by https://martymcgui.re/posts/page/15/#t=2.5
#
KartikPrabhu
which seems wrong
#
KartikPrabhu
<video> src
#
martymcguire[m]
KartikPrabhu: are you also seeing that same behavior on an individual post page?
#
KartikPrabhu
martymcguire[m]: no, on individual posts it works
#
miklb
GWG since you are removing that guess doesn't matter, but for what ever reason, that isset is always false.
#
GWG
Weird. I'm sure I tested that at the time.
#
KartikPrabhu
martymcguire[m]: with the correct skipping and <video> src
#
miklb
GWG I tried checking and unchecking, looked in DB, it's changing there, but only loads the compat stylesheet
#
GWG
miklb: I just finished converting the retrieve button to use the REST infrastructure.
#
miklb
sweet
#
miklb
can't wait to look at that code
#
KartikPrabhu
martymcguire[m]: feel free to see if I am around tomorrow and I can help you debug
#
miklb
GWG I had to deregister and dequeue
#
GWG
Interesting. Will look at it.
#
miklb
no, that seems normal. As far as the ! isset, I tested with just isset and it loaded the regular stylesheet.
#
GWG
Did I invert then?
#
miklb
that or it's always set?
#
GWG
Well, I planned to redo the settings anyway
#
miklb
I honestly am not good at reading serialized data
#
miklb
but in my case, since I'm going to write my own CSS, deregistering/dequeueing it won't load either now.
cweiske and gRegorLove joined the channel
#
miklb
but that's a good place to pause for the day. Made great progress.
#
sebastiangreger.net
edited /events/2017-02-22-homebrew-website-club (+63) "/* Berlin */ added indie event"
(view diff)
#
tantek.com
edited /Instagram (+12) "Single Photo Bookmarklet: need to extra escape the ampersands so you can copy/paste from what MediaWiki shows"
(view diff)
#
www.boffosocko.com
edited /Now (+952) "additional details/origin, relation to indieweb principles, indieweb examples"
(view diff)
tantek joined the channel
#
aaronpk
KartikPrabhu: yeah it finds all video/audio tags on the page, because I couldn't think of any more "expected" behavior for the fragment to do when there are multiple
loicm_, KevinMarks and [kevinmarks] joined the channel
#
[kevinmarks]
Working out which is the "main" one seems tricky
#
aaronpk
also how do you know the person intended to have the time offset apply to the "main" one
#
[kevinmarks]
Hm, so for http://www.kevinmarks.com/ampreaction.html it would change the audio and the video
#
Loqi
Accelerated Mobile Pages - a quick reaction2015-10-07
[keithjgrant] joined the channel
#
[keithjgrant]
I cannot for the life of me figure out how to format my MicroPub POST request using JavaScript fetch()
#
[keithjgrant]
Using @voxpelli’s endpoint. It never sees the access token
#
voxpelli
[keithjgrant]: when you inspect the request, do you see the authorization header?
#
[keithjgrant]
Yes, ‘authorization: Bearer xxxxxxx’
#
[keithjgrant]
Though I've also been trying it in the payload
#
[keithjgrant]
It's showing "authorization" as lower case but I don't think that should matter
#
voxpelli
[keithjgrant]: fetch('http://example.com/', { method: 'POST', headers: { 'authorization': 'Bearer 123abc' } })
#
voxpelli
that sent the correct request when I tried it now
#
voxpelli
or at least it did when I tried a fetch
#
[keithjgrant]
Ooh, OK, that don't log a missing token error, should just be a matter of formatting the payload now
#
[keithjgrant]
Had to remove a content type header
#
[keithjgrant]
So should it be JSON in the payload body?
#
voxpelli
[keithjgrant]: that or a form-encoded body
#
voxpelli
so you could use the FormData object if you want
#
[keithjgrant]
Hmmm "invalid token" in the response
#
[keithjgrant]
What's the IndieAuth.com endpoint to validate a token?
#
aaronpk
that's at the token endpoint, not indieauth.com
#
aaronpk
if you're using tokens.indieauth.com, the docs are on that page
cweiske and KevinMarks joined the channel
#
[keithjgrant]
I'm not sure what I'm doing wrong. Here's my sequence:
#
[keithjgrant]
2. wait for the tab to be redirected to omnibear.com/auth/success with a `code` in the url params
#
[keithjgrant]
3. POST that code to the token_endpoint
#
[keithjgrant]
4. receive the token in the request body from the token_endpoint
#
[keithjgrant]
that token is showing as invalid
#
aaronpk
you need response_type=code if you are requesting a code
#
aaronpk
also if you are trying to make a token that can post, you will need to request the "create" scope, so add scope=create
#
[keithjgrant]
both of those go in the url in step 1?
#
aaronpk
without those, you are just doing the "id" half of the flow, which is why the micropub endpoint is rejecting the token, cause it wasn't created to allow posting content
#
[keithjgrant]
awesome. that did it
#
[keithjgrant]
now to format my POST payload correctly ?
#
Loqi
aaronpk has 35 karma in this channel (1221 overall)
#
[keithjgrant]
but first, food
#
www.boffosocko.com
edited /this-week-in-the-indieweb (+138) "podcast version of newsletter"
(view diff)
tantek, KevinMarks, [chrisaldrich], [kevinmarks] and [aaronpk] joined the channel
#
calumryan.com
edited /events/2017-02-22-homebrew-website-club (+16) "/* London */ CR Attending"
(view diff)
[dgold] joined the channel
#
cweiske.de
uploaded /File:moderation_wordpress.png "Wordpress comments moderation"
#
cweiske.de
edited /moderation (+72) "/* Moderation Status */"
(view diff)
KevinMarks and gRegorLove joined the channel
#
gregorlove.com
edited /App.net (-6) "move up the "closing" note/link"
(view diff)
#
gregorlove.com
created /Bellingham (+272) "stub"
(view diff)
KartikPrabhu joined the channel