#dev 2016-09-05

2016-09-05 UTC
tantek joined the channel
#
ben_thatmustbeme
I need a lot of UI work yet too. But login is a big start
dmaczka, KevinMarks, tantek, Loqi and thebaer joined the channel
#
www.boffosocko.com
edited /events/2016-09-07-homebrew-website-club (+130) "/* Los Angeles */ updates from silos"
(view diff)
KevinMarks_, KevinMarks, tantek, gRegorLove, cweiske and cmal joined the channel
#
cweiske
while thinking about the open-local-webserver-to-receive-indieauth-response idea I saw that this will only work for local installations, not when my micropub client is used via ssh on a server
#
cweiske
since then I cannot use 127.0.0.1 as IP address in the callback URL
#
cweiske
and my server might have a couple of IP addresses, and I don't know which I should use
KevinMarks_ joined the channel
#
cweiske
there is $SSH_CONNECTION: echo $SSH_CONNECTION | awk '{print $3}'
#
cweiske
5.35.241.22
#
cweiske
but that will fail when I su or sudo
sknebel, cmal and loicm_ joined the channel
#
vanderven.se martijn
uploaded /File:facebook-facepile.png "Example of [[facepile]] as implemented by [[Facebook]]."
#
vanderven.se martijn
edited /facepile (+30) "/* Silo Examples */ Add screenshot for Facebook’s implementation."
(view diff)
dmaczka and cmal joined the channel
#
aaronpk
cweiske: the OAuth 2 "device flow" is what you want for command line micropub authorization. Ideally the auth server would support that extension natively but you can also set up a proxy server for any authorization endpoint yourself.
#
voxpelli
aaronpk: how does the discovery of support for that flow work?
#
aaronpk
well in that flow, the first thing the client does is request a device code by making a POST to the authorization endpoint. so if that fails, it would know it's not supported
KevinMarks and cweiske joined the channel
#
cweiske
turns out that writing a bare-bones http server in PHP to accept indieauth callback URLs only takes 50 LOC, no libraries needed.
#
KevinMarks
That's a good sign for the protocol
#
aaronpk
i'm telling you tho, the device flow is how you actualyl want to be doing this
#
cweiske
aaronpk, I know the issues
#
cweiske
but the indieauth spec does not define any device flow
#
cweiske
.. and more importantly no servers implement it
#
aaronpk
you can run a proxy server that does it
#
cweiske
I do not want to run a proxy server
tommorris_, sknebel_, bear-, bnvk_, GWG- and sknebel joined the channel
#
voxpelli
cweiske: why would any server endpoint it? no clients support it
cmal and KevinMarks_ joined the channel
#
voxpelli
cweiske: only way to get someone to support it is to break the status quo and be the one taking the first step to a better future – it's no one elses responsibility anymore than it is ones own :)
#
voxpelli
no one would be implementing Salmention etc etc if no one dared to be the one taking the first step as at first no one supports such a thing
#
cweiske
that's why I hate to be at the bleeding edge
#
GWG
We are the music makers...and we are the dreamers of dreams.
#
voxpelli
cweiske: you could try opening an issue for aaronpk on his IndieAuth project – but if you actually made a client for the protocol the chances are highe rthe issue will get fixed and if you even give aaronpk a PR that implements the fix the chances get pretty high
#
voxpelli
(or convince someone else to do the above, but again – easier to convince people the more effort one has put into it oneself)
#
aaronpk
i assume he was talking about the spec, not indieauth.com
#
voxpelli
aaronpk: sure, but the spec don't need a change, so the only thing needed is an endpoint supporting the device flow and indieauth.com is a major such endpoint :)
#
GWG
Is it possible to do Webmentions without Microformats?
#
aaronpk
GWG: yes although you don't get a lot of useful data out of it in that case. also i suspect not many implementations use webmentions for non microformat things right now
#
voxpelli
doing Webmentions + Open Graph is a pretty good thing and something I think a few of us has been thinking about
#
voxpelli
I don't do it yet though
#
voxpelli
could probably prototype it with http://embed.ly/cards if one doesn't want to go full on Open Graph parsing
#
voxpelli
(my parser already do)
#
GWG
voxpelli: The issue is back to WordPress...php-mf2 uses namespaces, which aren't supported for minimum requirements. I could backport the library by giving it a prefix and removing the namespace, but I think I need a fallback as well.
#
GWG
And I use OGP for sites with no mf2 as a fallback on displaying some link previews.
#
voxpelli
GWG: for WP I think Open Graph support as a first step could actually be a good way to rally support for Webmentions as eg. even Apple is starting to support it in iMessage now in iOS 10 so really all major companies are supporting it
#
voxpelli
I wonder if WP supports publishing Open Graph data out of the box? If then that could be pretty neat as a first step – not as good as mf2, but something that would instantly work with a lot of sites
#
GWG
It doesn't
#
GWG
I know. But my plan was to make something pluggable.
#
Zegnat
If you look at WordPress installation statistics you see there is still plenty reason for them not to switch to namespaces. Which is a real shame
#
GWG
Yes, and I won't talk everyone into changing php-mf2
#
miklb
/me tosses out that he and another person are trying to reboot Habari development, so if you are a php dev looking to help craft an IndieWeb personal publishing platform not stuck on legacy code, come join us ;-)
#
KevinMarks_
The problem with ogp is the invisible metadata problem in general - a lot of times it is put in at some point and never touched
#
KevinMarks_
So you get images in ogp that are not actual representations of the page, but logos for the site or avatars for the user
#
KevinMarks_
So they crowd out the actually useful text
KevinMarks joined the channel
#
voxpelli
yep :P Blogger for example
#
GWG
KevinMarks, any ideas?
#
voxpelli
to get a good image experience with ogp one needs to download and post-process images to filter out the bad ones – that's what Facebook does
#
GWG
I don't really want to use ogp, but there are issues with everything
#
KevinMarks
Well, fb will pick the biggest image on the page by default, so you put ogp in to stop it doing that, and end up with every page showing the logo
#
KevinMarks
One answer is heuristic tweaks based on classes. I did a tweak to the back compatible stuff in mf2py to pick up more wordpress markup
#
GWG
Will decide later, I guess
#
KevinMarks
The site-title and site-description seem pervasive enough to be worth parsing for as a folk mf1 approach
#
voxpelli
even if it isn't great with ogp, if one does the same as Facebook, Apple, Twitter etc then it's hard for anyone to argue against you :)
#
voxpelli
and making it pluggable one can easily switch to something better
#
voxpelli
but sounds like it probably shouldn't be in core, but it can be pushed as a use case to get acceptance for it in core
#
GWG
Well, I figured that I would adopt something like php comment
#
GWG
A structure in comment data that could be set by anything.
tantek joined the channel
#
cweiske
voxpelli, the indieauth spec needs a change. http://indieweb.org/authorization-endpoint knows nothing about device flow
#
aaronpk
the device flow is an extension of OAuth 2. IndieAuth is a profile of OAuth 2.
#
aaronpk
an authorization server that supports IndieAuth can also add support for the device flow
#
voxpelli
cweiske: well, implement then document and as aaronpk pointed out one could always try the device flow first and fallback to ordinary flow of one prefers the device flow
#
cweiske
aaronpk, why is my reply on https://aaronparecki.com/2016/08/25/12/poll displayed as "other mention" and not as reply?
#
Loqi
[Aaron Parecki] #indieweb poll
#
aaronpk
cweiske: your comment has rel="u-in-reply-to" but it should be class="u-in-reply-to"
#
cweiske
hm. I'm sure I fixed that already :/
#
aaronpk
i see '<a rel="in-reply-to u-in-reply-to"' in the source
#
cweiske
ok, fixed
#
cweiske
now I need to send an update mention to you
#
aaronpk
that should fix it
#
aaronpk
if it doesn't, then that's on me to fix my caching
#
cweiske
The webmention is currently being processed
#
cweiske
we'll see
#
aaronpk
it worked!
#
tantek
aaronpk I'm seeing the real time updates at chat.indieweb showing timestamps in UTC instead of local and/or Pacific
#
tantek
e.g. I saw "10:22 aaronpk it worked!" at the bottom of the logs when I loadded them
#
aaronpk
oh yeah I noticed that. filing an issue now
#
tantek
then I saw "17:31
#
tantek
tantek indiewebify feature request filed:"
#
aaronpk
i'm going to have to adjust the date in javascript
#
tantek
ok cool, making sure it's not just me :)
#
tantek.com
edited /Events (-98) "move august to past"
(view diff)
#
tantek.com
edited /2016/Brighton (+8) "/* Participating */ t"
(view diff)
#
tantek.com
edited /2016/Brighton (+4) "🍦 because Brighton"
(view diff)
#
tantek
let's see if adactio handles webmention updates
#
Loqi
[Jeremy Keith] Save the dates for Indie Web Camp Brighton 2016
Guest19395 joined the channel
#
tantek.com
edited /events/2016-08-10-homebrew-website-club (+157) "/* Photos */ Brighton after the fact"
(view diff)
#
another.ink
edited /2016/Brighton (-17) "/* Participating */"
(view diff)
dkm and cmal joined the channel
#
cweiske
176 LOC to authenticate a user and fetch an access_token in my micropub client
#
cweiske
I had hoped it would be simpler, but meh
#
Zegnat
Does anyone know a good site-specific browser for Mac OS X?
#
Zegnat
Oh, thank you Logi. This time you caught on to the nick change!
#
Zegnat
s/Logi/Loqi/
#
miklb
Zegnat I use Fluid. If you pay the $5 you get a few extra features
#
miklb
thinks the "pro" is $5
#
Zegnat
I have used Fluid years ago, I might just get the full version of that now
#
miklb
I have Quill running in Fluid pinned to my menubar. I <3 it
#
Zegnat
menubar pinning is a “pro” feature, right?
#
miklb
I believe so
valan joined the channel
#
Zegnat
Another Jekyll (and plugins) in the cloud solution: https://cloudcannon.com/announcements/2016/08/31/officially-out-of-jekyll-beta/ (via brettterpstra.com)
gRegorLove and tantek joined the channel
#
tantek.com
edited /Homebrew_Website_Club (+565) "resort per recent instances, give headings to recent locations"
(view diff)
#
vanderven.se martijn
edited /2016/Brighton (+221) "/* Schedule */"
(view diff)
#
gregorlove.com
edited /events/2016-09-07-homebrew-website-club (-22) "indiewebcamp.com => indieweb.org, IRC discussion archives => Chat archives"
(view diff)
#
gregorlove.com
edited /events/2016-09-07-homebrew-website-club (+1) "chat.indieweb.org archives link"
(view diff)
#
gregorlove.com
edited /events/2016-09-21-homebrew-website-club (-21) "indiewebcamp.com => indieweb.org, IRC discussion archives => Chat archives"
(view diff)
cmal, AngeloGladding and tantek joined the channel