#dev 2018-05-01

2018-05-01 UTC
[jgmac1106], eli_oat and [unoabraham] joined the channel
#
tantek
now to see if Bridgy Backfeed from FB is still working, at least for RSVPs to events
snarfed1, snarfed, [kevinmarks], renem_ and [snarfed] joined the channel
#
Loqi
[snarfed] #814 facebook: re-apply for page events permission
eli_oat2 joined the channel
#
tantek
oh dear
eli_oat, [tantek], leg, [John], chrisaldrich, [chrisaldrich] and [jgmac1106] joined the channel
#
loqi.me
created /pronunciation (+119) "prompted by [chrisaldrich] and dfn added by [chrisaldrich]"
(view diff)
tomasparks joined the channel
tantek joined the channel
#
www.boffosocko.com
edited /pronunciation (+1146) "Fleshed out page with Facebook and Martijn examples and see also resources"
(view diff)
tantek, [unoabraham] and snarfed joined the channel
#
tantek
chrisaldrich++ that's a good start on /pronunciation !
#
Loqi
chrisaldrich has 14 karma in this channel (85 overall)
tantek, KartikPrabhu, swentel and [unoabraham] joined the channel
#
Zegnat
I can’t find that option on Facebook ...
#
sknebel
might not be available to people from strange countries?
#
swentel
there are strange countries? :)
[kevinmarks] joined the channel
#
[kevinmarks]
All countries are strange in French
[jeremycherfas] joined the channel
jeremycherfas joined the channel
#
Zegnat
Does anyone know any good word-cloud scripts? Possibly something that goes well with SQLite?
Mandrake, [unoabraham], iasai and [jgmac1106] joined the channel
#
skippy
is it supported / encouraged to include in a in-reply-to post the full contents of the tweet to which I am replying?
#
skippy
considering POSSEing my tweets, i lose a lot of context and history if I don't grab the original for inclusion / preservation.
[jgmac1106] joined the channel
#
swentel
it sounds very useful to me
#
swentel
I'm planning to add that option to the drupal plugin
#
swentel
because now I have to click the link itself to figure out to what I've been replying
#
swentel
same for visitors
#
swentel
I'm not sure whether to include it into e-content though for parsers
#
swentel
maybe that could some other extension to microformats
#
swentel
u-in-reply-context or so, dunno
#
skippy
i'm (tentatively) planing <div class="u-in-reply-to h-cite">Reply to <a href="{{ $.Param "in-reply-to" }}" class="u-url p-author">{{ $.Param "in-reply-to-name" }}</a>:</div><div class="e-content"><blockquote>{{original tweet}}</blockquote>My reply...</div>
#
Zegnat
I am pretty sure someone is doing that h-cite pattern... Maybe aaronpk ?
#
swentel
oh right, h-cite
#
Zegnat
It is a good one to use. Though I am on mobile and can't really comment on that specific markup snippet you posted.
[unoabraham] joined the channel
#
skippy
anyone know how to get the expanded text of a truncated tweet? consider the tweet object described at https://skippy.rocks/micropub/t.php
#
Zegnat
Maybe some hints in XRay's Twitter handler?
#
skippy
XRay looks for "extended_tweet", and "full_text"; neither of which are in the response I got.
#
skippy
maybe i should scrap what i have and just start using xray.
#
Zegnat
If you are using PHP, using XRay as a library should be easy enough
#
skippy
famous last words!
#
Zegnat
should ;-)
#
skippy
sure. but it provides way more than I need, right now.
#
@ringmaster
Contemplating herd mentality today, and how it affects our choice of breakfast cereal, among other things. Also, how eating a “salad” sounds healthy, until you realize it has more junk calories in it than a Big Mac.
(twitter.com/_/status/991283064750903297)
#
skippy
that was the link i wanted to paste
iasai and [snarfed] joined the channel
#
skippy
yeah. trying not to jam markup into my source content, but also make my templates flexible enough. How does this look? https://skippy.rocks/note/2018/05/01/090515/
#
Loqi
Since @kanyewest’s tweets have apparently made this topic unavoidable, some thoughts on the history of the parties’ switch on civil rights. short tweet test.
[John], [unoabraham], snarfed, KartikPrabhu, eli_oat and kaushalmodi joined the channel
#
kaushalmodi
snarfed++ Thanks for quickly fixing the case of retweeting mentions #bridgy
#
Loqi
snarfed has 61 karma in this channel (383 overall)
KartikPrabhu, tantek and leg joined the channel
#
tantek
aaronpk: with minimal code for the additional variants, now ~25 lines of code for my single emoji heuristic function
[miklb] joined the channel
#
[miklb]
looks good to me skippy
#
[miklb]
well, visually, I didn’t look at the markup 🙂
#
skippy
thanks [miklb]
#
Loqi
Since @kanyewest’s tweets have apparently made this topic unavoidable, some thoughts on the history of the parties’ switch on civil rights. short tweet test.
#
Loqi
Reply to Kevin M. Kruse: Since @kanyewest’s tweets have apparently made this topic unavoidable, some thoughts on the history of the parti...
#
Zegnat
I would have expected the content of the tweet you are replying to to be in the content property of the h-cite. Note within the content of your own h-entry.
#
skippy
fair; but not something I'm likely to fix soon.
#
tantek
agreed with Zegnat, the h-cite should be inside the h-entry but not inside your own e-content
#
tantek
different from say a repost
#
skippy
the h-cite is not within my own content.
#
skippy
the h-cite is in the h-entry applied to the URL. the contents of the target URL are included in my own e-content inside a blockquote.
#
tantek
that's good about the h-cite at least
#
tantek
are you trying to represent a quoted tweet?
#
tantek
or a reply?
#
tantek
(and on that emoji detection code, that's the PHP version, the JS version is not as thorough, so I'm going to keep it just serverside for now until I have a need to put it in CASSIS for client and server)
#
skippy
i am trying to present the contents of a tweet to which I am replying.
rhiaro joined the channel
#
Zegnat
Would it be hard to port it to CASSIS tantek? What are you using, is the PHP version published somewhere?
#
tantek
skippy, then those contents should go in the reply context in the h-cite, not in your own content
#
tantek
otherwise it will be consumed as a quoted tweet, not as a reply
#
tantek
e.g. by readers etc.
#
skippy
shrugs.
#
tantek
Zegnat: just finished writing / testing it, haven't published it somewhere yet
#
tantek
hmm looks like it turned to be pure PHP, not using any non-native functions
#
tantek
I wonder where I should put it, maybe in another file in the cassis project
[schmarty] and [jonathanprozzi] joined the channel
#
tantek
Zegnat: I'm thinking of putting such code I'm considering for CASSIS into a file like cassis-lab.php
#
Zegnat
Putting side projects under the lab label seems popular enough that it makes sense.
snarfed joined the channel
#
tantek
Zegnat I will test my is_one_emoji function in my own code (with actual content / live use-cases) before I share it
#
tantek
integration testing as it were, beyond just the unit testing I've done
#
Zegnat
Looking forward to see how you tackled it. It is an interesting topic
#
tantek
I did add a few comments to the various if clauses to explain which emoji cases each catches
#
tantek
skippy, I too am now having to redo a bunch of my code to put reply-context information *outside* of my e-content
#
tantek
in particular in-stream reply-contexts
#
www.boffosocko.com
edited /IndieWebCamps (+59) "/* 2018 */ added summit to list"
(view diff)
#
tantek
which is now making me rethink how I markup replies in general when they're in-stream
#
jeremycherfas
Very leased to report that after several head-scratching hours, the fold all command in bbedit came to my rescue to find an errant closing div tag.
#
tantek
neat! I don't think I've known what to use that command for before, but that makes sense!
#
jeremycherfas
I wish I had thought of it sooner. Helped me get a bunch of links outside e-content.
[Thom_M] joined the channel
#
snarfed
we've had it a few times. i believe it's on the wiki now yes
#
tantek
the domain expiration threat?
#
snarfed
oh no, https
#
tantek
I'm not bashing on https
#
snarfed
er sorry wrong channel, my bad
#
tantek
I'm bashing on the claim of "helping protect against ad malware" by a domain registrar absent any new expiration policy
#
tantek
this is more dev-like so fine to switch channels
#
tantek.com
created /.app (+277) "stub with dfn, blog post about"
(view diff)
#
tantek.com
edited /app (+104) "native app vs .app"
(view diff)
#
tantek.com
edited /reacji (+698) "/* Brainstoming */ How to markup reacji with minimal reply-context"
(view diff)
#
tantek
skippy, in case it helps, here's some of my thoughts on markup for reply-context of a reacji: https://indieweb.org/reacji#Reply_Context
#
tantek
haven't implemented it yet, but figured I'd write down current thinking first
[eddie] joined the channel
#
skippy
i'm new to all of this, but it seems weird to me to place e-content around only my own contnet, and not also the blockquote to which I am actually creating contnet.
#
tantek
skippy that's the difference between entry and content
#
tantek
the purpose of the entry is to place it around both your own content and the blockquote or whatever else is the context for your own content
swentel joined the channel
#
tantek
perhaps that would be a good clarification to note explicitly in h-entry
#
tantek
or at least in an FAQ
#
tantek
aaronpk, would the information in the h-entry markup here be sufficient for your reader to display something more informative than just a 👍? https://indieweb.org/reacji#Reply_Context
#
tantek
in-stream that is, in an h-feed
#
tantek
assuming that's good for minimal in-stream reply context, then next I'll work on in-stream "normal" reply context, e.g. comments on github issues, replies to tweets etc.
AngeloGladding and [miklb] joined the channel
#
[miklb]
tantek yes, that is definitely worth documenting/clarifying. I’m not sure I’ve heard that explanation before. Makes perfect sense though.
#
aaronpk
I don't think I've given enough thought for how i want to show reply contexts in my reader yet
swentel_ joined the channel
#
www.svenknebel.de
edited /github-pages (+236) "/* How */ section for github config links"
(view diff)
#
www.svenknebel.de
edited /github-pages (-366) "/* No SSL on your own domains */ section obsolete"
(view diff)
#
sknebel
^^^ github pages now officially does SSL for custom domains
#
sknebel
TLS even :P
#
tantek
nice!
#
snarfed
re f8, this now greets me in the bridgy fb app dashboard: https://snarfed.org/fb_review.png
#
snarfed
i'm not optimistic i'll get many of those permissions back
#
tantek.com
edited /github-pages (+122) "/* domain related configuration */ some additional custom domains and HTTPs info, hopefully useful for troubleshooting"
(view diff)
#
tantek
snarfed, hoping for at least user_events _photos _posts _link
#
snarfed
f8 fb api blog posts relevant to us (i haven't read yet):
#
sknebel
"Introducing Personal Data Deletion Callback: providing a callback URL to receive a person’s request that the info an app received from Facebook be deleted". that's an interesting addition
#
snarfed
huh. bridgy facebook backfeed may be dead. can't get comments any more. https://developers.facebook.com/docs/graph-api/changelog/version3.0#comments-edge
#
sknebel
the requirement to be a business for some kinds of access also sounds like it could become a problem
#
snarfed
the comments change is confusing. that link says in graph api v3.0, "When read with a https://developers.facebook.com/docs/facebook-login/access-tokens) access token, the /comments edge returns empty data"
[Thom_M] joined the channel
#
snarfed
but the graph api v3.0 docs themselves for the /comments edge say, "The same permissions required to view the parent object are required to view comments on that object. " https://developers.facebook.com/docs/graph-api/reference/v3.0/object/comments#read
#
snarfed
guess i'll have to try and see what happens, as usual
#
tantek.com
edited /reacji (+135) "/* Reply Context */ add permalink and dt-published to markup example since in-stream"
(view diff)
#
tantek
aaronpk - wait I'm confused - I thought you were already reading replies from people in your reader, and the problem was some had reply-contexts and others didn't?
#
tantek
looks for the screenshots others took of all the thumbs-ups in a row
#
aaronpk
yes it just shows the in-reply-to URL right now
#
aaronpk
in other words, the least I could do
#
aaronpk
the problem wasn't that some had reply contexts, it's that some home page feeds didn't even have the in-reply-to URL on the reply
#
tantek
ohh ok
#
tantek
then the markup in https://indieweb.org/reacji#Reply_Context should work for your use-case
#
tantek
since it has the u-in-reply-to
#
tantek
but I assume you're ignoring the h-cite?
#
tantek
(if any, on the u-in-reply-to)
#
aaronpk
right, i just use the URL for now
#
tantek
I think I'll still markup the h-cite because it's not that much incremental work for a reader to use it if it is there
#
tantek
to optionally show more human readable text than just the URL
#
aaronpk
i'll probably make it work like my website's reply contexts soon, but i still want to think through the differences between using the h-cite that's there vs fetching the in-reply-to URL and using the canonical content
#
tantek
(since that h-cite will auto-imply name and url properties)
#
tantek
less work to use the h-cite that is there
#
tantek
so that could be an incremental step
#
tantek
and you could show that while lazy fetching the in-reply-to
#
aaronpk
also "just use the h-cite" isn't a shure thing because of all the differences in how those end up looking in practice. e.g. posts with a name vs only a note, how long is the text content, is there a photo, etc
#
tantek
I mean use the h-cite properties in a design of your own
#
tantek
e.g if the h-cite has a name, then show that instead of just the u-in-reply-to, but still link it to the u-in-reply-to
#
tantek
since you're already showing the reply to URL, that kind of incremental improvement should be fairly painless and design-neutral
#
skippy
grrrr.... Omnibear is still having token troubles. :(
#
tantek
anyway, hopefully when I get this working you'll be able to see it all (with h-cite p-name) in my h-feed and see how that would look
sebsel joined the channel
#
skippy
oh, speaking of photos: post-type-discovery says "If the post has a "photo" property with a valid URL,
#
skippy
Then it is a photo post. "
#
skippy
so if I want to include a photo in an article, I *cannot* use a photo property?
maingo joined the channel
#
aaronpk
correct, you just include the photo in the article content, not with the u-photo property
#
aaronpk
adding the u-photo class tells a consumer that it's a photo post
#
skippy
ok. thanks.
#
sebsel
see also u-featured
#
skippy
can anyone help me figure out why Omnibear keeps giving me "unknown error verifying the authorization code" ?
#
skippy
"Error fetching token from token endpoint"
#
skippy
cleared cached. restarted browser several times. Quill login works just fine.
#
Zegnat
I’ll be happy to have a look in a moment, just grabbing some tea :)
#
skippy
on a call. be free in a few, I hope.
[jgmac1106] joined the channel
#
Zegnat
is wondering how he is going to recreate skippy’s case locally
pstuifzand joined the channel
#
Zegnat
Alright. I got an error.
#
skippy
oh? how?
#
skippy
Zegnat: repeatable?
#
skippy
so it's not me!
#
Zegnat
I added the indieauth token provider to my site, and a dummy micropub endpoint, and I cannot get the token
#
Zegnat
selfauth is saying the code is invalid
#
Zegnat
So the IndieAuth Token Endpoint is correctly not issueing a token
#
Zegnat
Trying to figure out what about the request isn’t OK here. Feels like some data gets lost somewhere
#
Zegnat
Got it
#
skippy
commit directly to master! YOLO!
#
Zegnat
I should just learn to listen to sebsel instead of assuming everyone is doing The Right Thing
#
Loqi
[sebsel] #35 base64 encode the scopes?
#
Zegnat
That’s the issue
#
aaronpk
ooh is that an authorization code?
#
Zegnat
At some point the spaces get turned into + signs rather than %20
#
Zegnat
The IndieAuth Token Endpoint gets the code from Omnibear with + in it, and will use that to ask selfauth about validity, and selfauth has never issued a code with scopes including + signs
#
Zegnat
So the whole thing collapses
#
aaronpk
TIL spaces are a valid character for an authorization code
#
aaronpk
i am surprised
#
Zegnat
I believe they are
#
aaronpk
yeah it's %x20-7E
#
aaronpk
the other thing about that... why are the scopes included in the string at all?
#
Zegnat
And scopes are `\x21\x23-\x5B\x5D-\x7E`, so they fit within there.
#
aaronpk
i hope they are stored server-side as well, since otherwise an app developer could just change the list of scopes when exchanging the code for a token
#
Zegnat
Because we are stateless, nothing is stored server-side
#
aaronpk
are they signed then?
#
Zegnat
Of course ;)
#
aaronpk
ah so you made up your own signed token format, I see
#
aaronpk
this is the reason JWTs end up base64-encoded
#
Zegnat
I didn’t want to reimplement JWTs, and the idea is to have a single file so no pulling in libraries
#
aaronpk
er, JWS
#
Zegnat
Whatever the acronym is, hehe
#
aaronpk
yeah i wonder how small of a library it takes to implement JWS
#
aaronpk
JWT has vocab about all the key names, JWS is the enclosure/signing format
#
Zegnat
But this one function I wrote is pertty clean. It contains both a known message for checking (from static info, like your URL), and can optionally have extra variable data (e.g. scopes).
#
Zegnat
But I didn’t consider that URL encoding has 2 ways to transform spaces ... so there it falls apart.
#
Zegnat
If only it wasn’t handled as part of a URL, he.
#
Zegnat
I wonder what the URL spec says, so if Omnibear is doing anything wrong here by using + for encoding.
#
Zegnat
Or if maybe selfauth is already not encoding it correctly.
#
Zegnat
Odd that Quill works though, does it ask for only 1 scope?
#
Zegnat
Oh. Or it uses %20 I guess. Argh. base64 encoding patch coming up.
#
sknebel
the + thing is in formencoded post requests, so I think omnibear is right
#
aaronpk
i thought + was a space in URLs too
#
sknebel
true, in params
#
sknebel
but the requests we are looking at are post, so that's the relevant one
#
skippy
thanks for finding that Zegnat ! I'm running out for a bit, but will be watvhing the repo. Cheers!
#
Zegnat
They aren’t POST, sknebel. They are in redirect URLs as GET
#
Zegnat
I think?
#
aaronpk
first it's in the GET redirect, then the client POSTs it
#
sknebel
and then the token endpoint posts it to us
#
Zegnat
Hmm. So if the redirect from selfauth to omnibear at the code request step uses %20, and everything after that is POST following application/x-www-form-urlencoded, all spaces should be + per https://url.spec.whatwg.org/#concept-urlencoded-byte-serializer
#
Zegnat
But on receiving a POST request, PHP does not decode the + into \x20
#
Zegnat
Headache inducing.
#
Zegnat
I really want to blame someone somewhere, but honestly, I am just going to write the base64 patch and call it a day
#
Zegnat
aaronpk, default PHP base64 should be fine in codes, right?
#
aaronpk
you might have a similar problem with the = in base64
#
sknebel
yeah, you want urlsafe base64
#
aaronpk
there's a pretty common base64 variant that chooses alternate chars for + and =
#
Zegnat
Seeing several on Wikipedia
#
Zegnat
Any idea what you are using for JWT/JWS?
#
aaronpk
replace + with / and = with _ then remove all the tailing =
#
aaronpk
then add back the = when you decode
[colinwalker] joined the channel
#
Zegnat
Hey, Auth0 is hiring!
#
Zegnat
was checking jwt.io to see if it documents the base64
#
aaronpk
okta is hiring too! :P
[chrisaldrich] joined the channel
#
aaronpk
pretty small encode/decode functions there
#
Zegnat
I’ll highlight my name in the IndieAuth spec as a reference for applying to these security centric companies! ;)
#
Zegnat
is now reading JWS RFC already
#
Zegnat
Looks like the lib you use is doing exactly that
#
aaronpk
C# demo code! wow
#
Zegnat
I just have to write it myself in PHP, else we can’t put it under our public domain waiver.
#
Zegnat
Now that I have survived the headache part, it is time to grab another cup of tea and get this patch out.
#
aaronpk
Zegnat++
#
Loqi
zegnat has 58 karma in this channel (203 overall)
[Thom_M] joined the channel
#
schmarty
aaronpk: i'm moving more feeds into aperture but running into issues w/ sites that don't advertise their feeds correctly. should i be able to plug in a URL directly to a feed into Aperture?
#
schmarty
i'm wondering if i have found a feed too gnarly for Aperture to handle: https://www.sarasoueidan.com/blog/index.xml
#
schmarty
or maybe i can make a dummy HTML page with that as a rel=alternate to get aperture to pick it up ;}
#
aaronpk
you can definitely plug an XML feed URL directly into aperture
#
aaronpk
if it's not recognizing it then it's getting tripped up on the data in the feed
#
aaronpk
hm xray can handle that URL so i'm not sure why aperture would fail on it
#
skippy
Zegnat++
#
Loqi
zegnat has 59 karma in this channel (204 overall)
#
Loqi
[Zegnat] #40 Use URL safe base64 encoding for scopes
[jgmac1106] joined the channel
#
skippy
base62
#
schmarty
aaronpk. hmm. updated apeture, which pulled a new version of xray. it now thinks for longer but still says no feeds found. :/
#
skippy
Flickr uses base58 or something? They remove all ambiguous characters (O, 0, I, l, etc)
#
skippy
Zegnat: change looks good.
#
aaronpk
schmarty: that's really weird! is there anything unusual about the feed?
#
aaronpk
maybe it's a timeout error?
#
schmarty
aaronpk: i'm not sure. maybe i'll dig into the code and increase the timeout, but the feed loads in less than a few seconds in my browser.
#
schmarty
backend is returning {"feeds":[],"error":false,"error_description":false}
#
schmarty
is there a way to skip the preview step and say "this is a feed please deal with it"?
#
skippy
Zegnat: what's weird is that Omnibear + indieauth/token was working recently. no idea what changed where to trigger this problem.
#
aaronpk
schmarty: if the preview step doesn't find anything then it probably won't find anything later either
#
aaronpk
unless it's a timeout problem, chances are it's choking on the actual feed data somehow
#
schmarty
i am stumped, since XRay can find the feed okay.
#
Zegnat
skippy, I couldn’t say. Did you server infra change, which may have affected the decoding step? Did you start using different scopes? So many possibilities. But this change should save us all the future headaches
[kevinmarks] joined the channel
#
[kevinmarks]
There is newbase60 which a few of us use
#
[kevinmarks]
That does the oi stuff
#
aaronpk
schmarty: yeah i'll have to dig into that later
#
Zegnat
Yeah, I would have used a different encoding if it was meant for people. But this is meant for machines only. The only extra requirement was for it to be URL safe, which the JWS is. And JWS is a standard with decent following
#
Zegnat
merged to master, feel free to update, skippy!
#
aaronpk
yeah and using newbase60 would involve writing code to actually encode/decode the text, whereas this just is a simple string replace leveraging the exsting base64 encode/decode functions
#
sknebel
if even more people suggest encodings I'm changing it to base2 over an alphabet of O and 0... :P
#
schmarty
aaronpk: no worries!
[ryan339] joined the channel
#
skippy
it worked! Thanks Zegnat !
#
Zegnat
My pleasure.
#
GWG
Evening
#
skippy
hiya GWG
#
Zegnat
[chrisaldrich], I just realised I received a webmention from you but the source page doesn’t exist. A bug, or did you remove a post?
#
GWG
I need to figure out tagging.
#
GWG
Amongst other things
#
skippy
[01-May-2018 21:35:22] WARNING: [pool www] child 5 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined variable: input in /var/www/skippy.net/public/auth/index.php on line 147"
#
skippy
trying to post from Omnibear.
#
skippy
now omnibear never performs the redirect to obtain the token. Shows "Retrieving access token..." but that's it/
#
skippy
think i see it
#
Zegnat
Huh? I am pretty sure my last commit worked for me ...
#
Loqi
[skpy] #41 s/index/string/
#
Zegnat
Wow. Weird. How did it not stop on that
#
aaronparecki.com
edited /Aperture (+177) "add godaddy article"
(view diff)
#
Zegnat
Merged, skippy
#
Zegnat
I don’t actually use a token endpoint with my selfauth setup, so I never really run into this
#
skippy
so what do tokens do? I'm confused. i guess i just blindly assumed i need them.
#
aaronpk
you need tokens for micropub, you don't need tokens if you're just signing in to apps
#
Zegnat
And my homepage is purely my identity, can’t post to it, so I do not need tokens.
#
skippy
i'm signing in to a micropub client app to perform micropub actions.
#
skippy
oh, i see Zegnat.
#
Zegnat
Yes. The Micropub client needs a long-lived token that it sends along with the Micropub requests to the server :)
#
sknebel
yes, and the actions need the token, so when it makes the action it can prove to your site that its allowed
#
Zegnat
For pure logins, short-lived tokens are used. So those are the only ones my website ever produces. And those never contain scopes.
#
Zegnat
From #-chat. Wow. That JSONFeed issue list looks like a real mess ... is anyone actually planning to push the JSONFeed spec to a v2? Or is it basically dead?
#
GWG
I am not sure who to ask
#
Zegnat
Slightly tempted to add the mf2 version of my h-card as a rel="alternate" type="application/json", and then complain about how feed servers (e.g. Aperture) think that is a feed! :P
#
skippy
WTF? The redirect with token is still not succeeding. POST to selfauth succeeds, but the token isnt beting collected? Cleared cache, restarted browser. I am confused!
#
Zegnat
blinks slowly
#
Zegnat
What step is failing? Can you check the logs for PHP errors again?
#
skippy
POST to /auth returns 200. but i see my micropub endpoint is 403.
#
Zegnat
I don’t know how to debug that as I do not have a micropub endpoint to test with
#
Zegnat
Re JSONFeed Mime, even timbray (author of JSON spec) made a PR: https://github.com/brentsimmons/JSONFeed/pull/32
#
skippy
understood
#
Loqi
[timbray] #32 Suggest alternate media type.
#
Zegnat
Any more info you can give me skippy? What micropub endpoint are you using?
#
Loqi
[skpy] micropub: a minimal PHP micropub endpoint, with media support
tantek joined the channel
#
skippy
going to add some logging to this. I suspect its in here somewhere https://github.com/skpy/micropub/blob/master/inc/common.php#L78
#
sknebel
schmarty: comment on https://github.com/brentsimmons/JSONFeed/pull/32 or one of the issues that you are having issues with this right now, and see if any activity happens?
#
Loqi
[timbray] #32 Suggest alternate media type.
#
Zegnat
skippy, please log the full $response, that should probably tell us
#
skippy
stupid gist line wraps
#
skippy
do I need to decode the scopes?
#
Zegnat
selfauth should have done that
#
Zegnat
Urgh, this is what you get for working on a function you do not use yourself
#
skippy
i'm happy to help!
#
Zegnat
skippy, could you edit your selfauth so https://github.com/Inklings-io/selfauth/blob/master/index.php#L187 uses base64_url_decode() on that $code_parts[2] ?
#
Zegnat
And then try again
#
skippy
stand by
#
skippy
success!
#
skippy
'scope' => 'post create delete update',
[snarfed] joined the channel
#
Zegnat
That should be the last of that. Bit messy. Oh well.
#
skippy
thanks for the help!
#
Zegnat
Feel free to PR that, and link to this chat as the fact that I checked that piece of code, and maybe someone will merge it. I am on my way to bed
#
Loqi
[indieweb] newBase60py: Python implementation of http://tantek.pbworks.com/w/page/19402946/NewBase60
iasai_ joined the channel
#
skippy
great, now Omnibear is not presenting me any way to syndicate notes to Twitter. Huh. *sigh*
#
tantek
belated thanks [miklb] - added a note accordingly to h-entry here: http://microformats.org/wiki/h-entry#Get_started
#
Loqi
[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML. ...
#
aaronpk
[kevinmarks]: that won't help encoding text as newbase60, you need more code for that
#
[kevinmarks]
Ah, fair point
barpthewire and eli_oat joined the channel
#
pstuifzand
skippy, it's a bug in omnibear currently, it won't show your syndication targets
#
skippy
"Select syndication targets (NOTE: you may need to log out and back in after the update takes effect)"
#
skippy
so does OB syndicate, or not?
#
Loqi
[skpy] Sorry to revive this old issue, but I'm not seeing any syndication targets in Omnibear. Both Quill and Indigenous for Android correctly show that my MP endpoint supports syndication to Twitter, but Omnibear provides nothing. I've tried setting "Cus...
#
pstuifzand
it did, but not currently
#
skippy
gotcha. thanks!
#
GWG
pstuifzand: How is your app going?
#
pstuifzand
on back burner for a few days, that latest build should be pretty stable
#
GWG
pstuifzand: Did you push a new one? I still have an issue with redirecting post URL change
#
pstuifzand
alright, I guess that is something I should look at
#
GWG
The custom scheme worked, but got hit by the fact it didn't match the client ID
#
pstuifzand
The urls where changed to actual urls
#
GWG
pstuifzand: But now it isn't redirecting back
#
schmarty
jjuran: ready to take a look at the issue you had with https://garrulous-smile.glitch.me/ - which domain were you using to sign in?
#
pstuifzand
It's problem with the mode of the activity, it should be implemented differently
#
pstuifzand
I tried to implement it with single_instance for the activity, but that has it's own problems
#
schmarty
(jjuran.org doesn't seem to have any authorization endpoint data)
#
pstuifzand
I think you can close all browser windows and Wrimini "windows" and it should work. Or perhaps only from the Android Account settings in
#
jjuran
schmarty: It’s a 301
#
jjuran
Same. Does this require JS or something?
#
jjuran
After submit, the page is actively in loading mode, but nothing happens
#
schmarty
jjuran: it's all HTML/CSS and server round-trips. :}
#
schmarty
yeah, i don't have great error handling there
#
jjuran
504 Gateway Time-out
#
schmarty
i'm using grantcodes 's micropub-helper lib to try to find your authorization, token, and micropub endpoints: https://www.npmjs.com/package/micropub-helper
#
GWG
schmarty: Did you ever upgrade Screech?
#
aaronpk
i don't see an authorization endpoint on https://www.jjuran.org/
#
schmarty
GWG: not yet. i need to hack on kylewm's Flask::IndieAuth to get it working to spec and haven't had the stomach for that yet. :}
#
GWG
schmarty: What Indieweb plans are you making of late?
#
schmarty
a couple of them are being discussed here in the chat right now, haha :}
#
schmarty
i have been spending most of my hobby web time on another project, crowdsourced 3d printing of sculptures: wethebuilders.com
#
jjuran
I didn’t RTFM. I saw a field on an indieweb asking for a domain URL, so I entered the same domain I use for indieweb.org. :-)
#
jjuran
*indieweb site
#
aaronpk
aha, well this is a good demonstration of the difference between logging in to a site and giving a site permission to post to your website
#
schmarty
that launched yesterday and hasn't completely melted the site yet, so i am trying to turn my sights back to indieweb projects.
#
schmarty
i like "an indieweb"
#
jjuran
And a good demonstration of what real users are going to even if you tell them not to :-P
#
pstuifzand
Tonight I worked a little on the microsub server, adding the Feedbin API. It's very WIP. https://publog.stuifzandapp.com/public/media/original/aeab6a994b102be3edbc204b1abed6db187b0ac05cb7c75570be2a3eff7e1243.png
#
schmarty
jjuran: that makes sense! i'll get a more helpful error message up there.
#
aaronpk
yep. better error messages or even good fallback behaviour would be great
#
jjuran
diagnostics++
#
Loqi
diagnostics has 1 karma
#
skippy
success!
#
@smerrill
First POSSE! https://indieweb.org/POSSE #indieweb If this works, this is being posted to my site first, then to Twitter.
(twitter.com/_/status/991454249170202624)
#
Loqi
First POSSE! https://indieweb.org/POSSE #indieweb If this works, this is being posted to my site first, then to Twitter.
#
aaronpk
skippy++ woo 🎉
#
Loqi
skippy has 3 karma in this channel (8 overall)
#
schmarty
haha, this toy app is nowhere near ready for real users. :}
#
schmarty
the randomly-generated glitch.com name stands as a warning
#
schmarty
abandon all hope of elegant failure handling, ye you enter here
#
aaronpk
jjuran: out of curiousity, can you sign in to https://pin13.net/login/ okay?
#
aaronpk
schmarty: lol yea it has "glitch" in the name, what can you expect :shrug:
#
pstuifzand
works great!
#
pstuifzand
now you only need an in-reply-to field...
#
aaronpk
i was about to say that
tantek joined the channel
#
aaronpk
notice the app credit on my post :D
#
schmarty
haha oh nice
#
GWG
aaronpk: I keep meaning to add something like that
#
schmarty
it actually does support in-reply-to if you slap it in the URL
#
aaronpk
in what url
#
aaronpk
oh do i have to log in again when i come back?
#
jjuran
aaronpk: Success (via GitHub)
#
aaronpk
jjuran: yay thanks
#
pstuifzand
aaronpk, how big do photos become in your comments?
#
aaronpk
hah i never would have guessed that
#
schmarty
i don't think the root of the app is checking whether you're logged in, yet.
#
schmarty
like i said, it is a toy.
#
aaronpk
toys need good UX too
#
aaronpk
pstuifzand: i don't remember, but feel free to post a gif reply to mine :D
#
schmarty
and they will get them!
#
aaronpk
pstuifzand: ohhh no somehow i have a bug where it un-gifs a gif
#
pstuifzand
but only in the reply it seems
#
pstuifzand
and I should use my media-proxy in a different way
#
aaronpk
oh i think i have code that resizes images
#
aaronpk
and i bet that's not animated-gif-aware
#
aaronpk
but that should be an easy fix
#
aaronpk
this will take some testing
#
GWG
How can I better integrate my site with micro
#
GWG
.blog?
#
GWG
People seem to be coming from there
#
tantek
GWG what does /micro.blog suggest?
#
GWG
I read that, but I thought I saw someone, maybe [eddie] doing more
#
GWG
Something about using their feed
[cleverdevil] joined the channel
#
[cleverdevil]
So, I have a custom feed for Micro.blog.
#
[cleverdevil]
I send only certain content, and I format it specifically to show up how I want in the timeline.
#
[cleverdevil]
That said, I've pretty much abandoned updating it until there is a way for me to work on it and test it live.
#
[cleverdevil]
There's no way to preview what a feed will look like in Micro.blog yet 😕
#
GWG
I have seen that
#
aaronpk
interesting
#
GWG
Mine looks not good
#
snarfed
yeah good tight iteration feedback cycles are so important, it's almost not worth doing something if you can't get/make one
#
[cleverdevil]
Yeah, I spent a lot of time fiddling, and it just got irritating.
#
[cleverdevil]
That said, I have reported the request to [manton] and I am guessing he'll get to it someday 🙂
#
[cleverdevil]
Probably other higher priorities at this point.
#
GWG
I am convinced that I will lose Facebook backfeed, so I am looking for other opportunities
#
snarfed
GWG: or maybe just care about interactions less :P
#
snarfed
eg micro.blog doesn't have reposts or likes for exactly that reason
#
GWG
snarfed, I care about replies mostly
#
snarfed
ok. even then though!
#
GWG
I like to communicate with others.
[manton] joined the channel
#
[manton]
[cleverdevil] A feed preview would be useful to debug broken feeds too. Micro.blog spends a lot of time parsing invalid feeds, then trying again, and again... So it's on the to-do list but (as you said) hasn't been a priority yet.
#
[cleverdevil]
Totally fair, you've been doing a great job filling out higher priority things in the platform.
#
[manton]
Thanks.
#
GWG
[manton] Any suggestions for better integration with my site?
#
aaronpk
that's exactly why i made the preview thing in aperture that schmarty was annoyed by :-)
#
aaronpk
avoids it getting into the situation of fetching feeds it know it can't parse
#
[cleverdevil]
Yes, I *love* that feature.
#
aaronpk
GWG: do you have a micro.blog account and have you added your site's feed to it yet so that people there can subscribe to you? that would be step 1
#
GWG
aaronpk, I did that
#
aaronpk
are you getting webmentions to your site when people reply to your micro.blog posts?
#
[manton]
@GWG You're feed looks pretty good to me, except for the "Also on Twitter/Facebook" links, which ideally would be removed from the feed you have in Micro.blog.
#
tantek.com
edited /navigation (+1811) "Design / Temporal Direction / Left Past / Left Future"
(view diff)
#
GWG
aaronpk, yes it appears so.
[Thom_M] joined the channel
#
GWG
[manton] How should syndication URLs work in jsonfeed?
#
tantek
GWG, another way to ask that question, how does jsonfeed represent the h-entry property u-syndication?
#
GWG
tantek, yes
#
tantek
GWG, I'm kinda implying that when in doubt, use h-entry properties as they would appear in mf2json, in your jsonfeed items/entries
#
aaronpk
for an example of why that would be useful, here's one of GWG's posts in monocle https://i.imgur.com/QGsTual.png
#
tantek
it's a simple consistent way to extend jsonfeed based on existing format / spec
#
GWG
aaronpk, what are you highlighting?
#
tantek
aaronpk, interesting, so you'd like to see in-stream h-entry's have explicit u-syndication to show in the UI?
#
tantek
GWG< presumably the bar at the bottom that shows date time then f t links
#
GWG
So, that is coming from my u-syndication, I assume
#
[manton]
[aaronpk] How does one of his short posts appear?
#
[manton]
In the feed I'm looking at, the end of each post has `<span class="syn-text">Also on:</span>` and then u-syndication links. Doesn't seem quite enough info to do anything smart with that part of the post.
#
GWG
[manton] I would be happy to exclude them from the json feed and enbed them as json metadata. You have a filter for that.
eli_oat joined the channel
#
GWG
[manton]: It also doesn't like my citations.