KevinMarks_, KevinMarks, tantek, gRegorLove, cweiske and cmal joined the channel
#cweiskewhile 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
#cweiskesince then I cannot use 127.0.0.1 as IP address in the callback URL
#cweiskeand my server might have a couple of IP addresses, and I don't know which I should use
KevinMarks_ joined the channel
#cweiskethere is $SSH_CONNECTION: echo $SSH_CONNECTION | awk '{print $3}'
#aaronpkcweiske: 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.
#voxpelliaaronpk: how does the discovery of support for that flow work?
#aaronpkwell 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
#cweisketurns out that writing a bare-bones http server in PHP to accept indieauth callback URLs only takes 50 LOC, no libraries needed.
tommorris_, sknebel_, bear-, bnvk_, GWG- and sknebel joined the channel
#voxpellicweiske: why would any server endpoint it? no clients support it
cmal and KevinMarks_ joined the channel
#voxpellicweiske: 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 :)
#voxpellino 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
#cweiskethat's why I hate to be at the bleeding edge
#GWGWe are the music makers...and we are the dreamers of dreams.
#voxpellicweiske: 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)
#aaronpki assume he was talking about the spec, not indieauth.com
#voxpelliaaronpk: 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 :)
#GWGIs it possible to do Webmentions without Microformats?
#aaronpkGWG: 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
#voxpellidoing Webmentions + Open Graph is a pretty good thing and something I think a few of us has been thinking about
#GWGvoxpelli: 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.
#GWGAnd I use OGP for sites with no mf2 as a fallback on displaying some link previews.
#voxpelliGWG: 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
#voxpelliI 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
#GWGI know. But my plan was to make something pluggable.
#ZegnatIf 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
#GWGYes, 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
#voxpellito 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
#GWGI don't really want to use ogp, but there are issues with everything
#KevinMarksWell, 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
#KevinMarksOne answer is heuristic tweaks based on classes. I did a tweak to the back compatible stuff in mf2py to pick up more wordpress markup
#aaronpkthe device flow is an extension of OAuth 2. IndieAuth is a profile of OAuth 2.
#aaronpkan authorization server that supports IndieAuth can also add support for the device flow
#voxpellicweiske: 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