#dev 2018-01-08

2018-01-08 UTC
grantcodes joined the channel
#
grantcodes
New experiment: Twitter user to RSS feed to microsub subscription. And it actually seems to work passably well
[miklb] joined the channel
#
[miklb]
sounds like I need to start looking closer at Together
curve25519 and plindner joined the channel
#
aaronpk
wow nice
schmarty, AlanPearce[m], eli_oat[m], zoglesby, mindB, raucao and snarfed joined the channel
#
aaronparecki.com
edited /p3k (-132) "/* Itching */"
(view diff)
eli_oat and John___ joined the channel
#
@_johlym
Added webmention support to the blog this evening and opened comments on posts for discussion on [http://johnathan.org](//johnathan.org]
(twitter.com/_/status/950177986602467334)
devsl joined the channel; eli_oat left the channel
#
@_johlym
I’ve added webmention support to http://johnathan.org this evening. A good wrap up to the weekend. https://Johnathan.org
(twitter.com/_/status/950185990181801989)
ancarda, KartikPrabhu, renem, eli_oat and [kevinmarks] joined the channel
#
[kevinmarks]
I added cassis to Fritter so I could use the auto_link, but now I need to change the scary regex to accept dat: urls (which don't have domains) and I am not sure how.
tantek and hobbsome joined the channel
#
curve25519
has a microformats parser statically compiled into his webserver heh
KartikPrabhu, tantek, snarfed, mblaney, cweiske, jjuran and bengo joined the channel
#
mblaney
!tell AngeloGladding thanks I fixed the problem with the dialog. It's looking for a link header on your home page with rel="webaction".
#
Loqi
Ok, I'll tell them that when I see them next
#
AngeloGladding
hey mblaney
#
Loqi
AngeloGladding: mblaney left you a message 1 minute ago: thanks I fixed the problem with the dialog. It's looking for a link header on your home page with rel="webaction".
tantek joined the channel
#
AngeloGladding
is that specified somewhere?
#
mblaney
hi AngeloGladding
#
mblaney
what is a webaction handler?
#
Loqi
It looks like we don't have a page for "webaction handler" yet. Would you like to create it? (Or just say "webaction handler is ____", a sentence describing the term)
#
mblaney
webaction handler is a url that returns the json config you want to use for your own webactions.
#
loqi.me
created /webaction_handler (+123) "prompted by mblaney and dfn added by mblaney"
(view diff)
#
mblaney
AngeloGladding: I'm not sure if it's the sort of thing you were looking for the other day, but mine currently is: https://unicyclic.com/php/webaction.php?username=mal&page=reader
#
AngeloGladding
interesting
#
AngeloGladding
i began with a "draft" scoped micropub for a logged in user and just added a simple web+action://(reply|like|...) scheme
#
Loqi
[Christian Weiske] web+action:*
#
AngeloGladding
the dilemma -- kind of want to allow the user to browse the open web and use engagement buttons without the host site having any knowledge of you
#
mblaney
yes that is the dilemma :-)
#
AngeloGladding
cweiske yes -- i'm just using a straight web+action:// url without the fallback javascript
#
AngeloGladding
many solutions, nothing seems quite right
#
AngeloGladding
mblaney has a follow in his config and aaronpk seems to have implemented follow using microsub
#
AngeloGladding
i think i'm just going to proceed with the simplest case for now
#
mblaney
cweiske++ I hadn't seen your solution before.
#
Loqi
cweiske has 24 karma in this channel (123 overall)
#
mblaney
my way around the indie-config problem was to explicitly request the config via the handler, but it returns the same information.
#
mblaney
If the config is cached in localStorage then you don't need to provide your url every time you visit a page.
#
AngeloGladding
cweiske says "the configuration should only be returned for web+action:js-config"
#
AngeloGladding
i'm not sure i understand what all the config is about
#
cweiske
indie-config as specified currently only works with javascript
#
AngeloGladding
and exists to allow for fallback to a silo, correct?
#
cweiske
but if you want something that works without javascript, you need "real" urls
#
cweiske
which I proposed as e.g. "web+action:reply?url=http%3A%2F%2Fexample.org%2Ffoo"
#
AngeloGladding
right
#
AngeloGladding
and that's why i'm using for exactly that reason
#
AngeloGladding
no need for javascript
#
cweiske
but if you want feature detection (if your browser/website supports indieweb replies at all), you need the javascript
#
cweiske
so for the javascript iframe thingy, you could open "web+action:js-config"
#
AngeloGladding
if i POSSE to twitter/FB can't i add additional buttons to reply there?
#
cweiske
so the web+action protocol would serve 2 uses: reply action initiation, and support status info
#
AngeloGladding
what do you mean by "support status info"?
#
cweiske
checking if the browser supports indie replies
#
cweiske
so that you can replace the "reply on twitter" button with the "reply on your website" button
#
AngeloGladding
yeah i see that and it's hugely important for POSSE scenarios
#
AngeloGladding
although what if you POSSE to both Twitter & FB
#
KartikPrabhu
you can add a "reply on your website" button but not remove the POSSE-reply ones
#
cweiske
posse is handled in your micropub client
#
AngeloGladding
KartikPrabhu that's what I'm thinking.. which led me to a UI problem standing in the way
#
AngeloGladding
how to designate an IW reply
#
AngeloGladding
FB and TW can leverage their logo
#
mblaney
AngeloGladding: regarding the follow action, aaronpk does something similar to what I've mentioned: instead of looking for rel="webaction" he's looking for rel="subscribe" on your home page.
#
AngeloGladding
cweiske my situation is, i believe similar to mblaney, kind of like known, where i want first and foremost users of my software to be able to operate amongst nodes of its kind
#
AngeloGladding
but of course i want to reuse IW specs whenever and wherever possible
#
AngeloGladding
so POSSEing is secondary -- if it's enabled, add those reply buttons to the UI and explicitly link them
#
AngeloGladding
no complex JS required
#
AngeloGladding
but i'm running away from that solution to be honest
#
AngeloGladding
i'm sure the complexity is there for a reason
#
cweiske
POSSE means that your article-posting-interface has a checkbox for twitter and facebook and whatnot
#
cweiske
and that, when you post your article, the blog software does syndication in the background automatically
#
cweiske
if you checked the posse targets
#
cweiske
checkboxes
#
AngeloGladding
mblaney the follow method i was contemplating was a rel=followee on my /network page with a webmention back to the followee's canonical URL
#
AngeloGladding
but that seems a bit roundabout
#
AngeloGladding
cweiske, yeah i get that, so what i'm saying is that if you *don't* POSSE to twitter then you definitely don't need the additional complexity of the JS-config
#
cweiske
I think you're getting something wrong here
#
mblaney
it's all a bit roundabout, but it's a tricky one to solve. you can at least leave the webmention out of it for now as that's secondary,
#
cweiske
what place are you talking about where you want to put those buttons?
#
AngeloGladding
cweiske on a note on my site
#
cweiske
so the goal is to provide a "reply to my post" button, and a "like my post" button
#
AngeloGladding
right
#
AngeloGladding
and if it is *not* POSSEd then there's only one method of remote reply -- another IW site
#
cweiske
typically, those are "reply on twitter" or "reply on facebook" buttons, linking to forms on those silos
#
cweiske
so you mean if you yourself did not posse to twitter, then there should not be a "reply on twitter" button?
#
AngeloGladding
yes
#
cweiske
ok, I wasn't aware of that
#
AngeloGladding
is there a logical manner of replying on twitter if the note isn't POSSEd ther?
#
cweiske
no idea actually
#
AngeloGladding
i'm personally writing a "decentralized social network" that operates in a decentralized manner using open standards (IW)
#
AngeloGladding
so POSSE is more secondary to me than most indiewebbers
#
mblaney
when you click the settings link on my blog, if you choose fb or twitter you will only get repost webactions.
#
AngeloGladding
so i'm averse to the additional complexity and wonder if different buttons wouldn't be simpler
#
AngeloGladding
mblaney do you consider having a bunch of different buttons just sitting there w/o javascript ugly or more complex than your current setup?
#
mblaney
it would definitely be noisier, I like the idea of keeping it simple.
#
AngeloGladding
mblaney with regards to the roundaboutedness -- i'm trying to recreate the fluidity of a centralized social network so i want a "Follow" to show up on the followee's interface -- hence the webmention
#
AngeloGladding
million dollar question -- is your solution actually simpler?
#
mblaney
but I do understand what you're trying to do, a lot more work for you though :-)
#
mblaney
sorry you're right it's not simple, I mean keeping the UI simple.
#
AngeloGladding
well that's what I mean -- it requires JS, not a big deal for 99.9% of users but js;dr is an argument i can lodge in this forum, and it requires the user to jump through modal dialogs
#
AngeloGladding
i guess i won't know until i have a cluster**** of different POSSE reply buttons
#
cweiske
you don't need different reply buttons
#
cweiske
I'd implement it that way:
#
mblaney
if I could make mine simpler I would :-)
#
cweiske
(if POSSEd) 1. show twitter button
#
cweiske
2. load indie-config
#
cweiske
3. if that succeeds, remove twitter button, only show indie reply button
tantek joined the channel
#
mblaney
cweiske: one of the reasons I changed my implementation was that Firefox broke indie-config loading on Linux :-(
#
mblaney
AngeloGladding I'm happy that I have something that works, but I'm always interested in ways that might make it easier.
#
cweiske
how did it break it?
#
AngeloGladding
i guess my hangup is JS reliance
#
AngeloGladding
in my ideal world i travel to remote sites, view their content, engage with it using my site and never load a script on theirs
#
AngeloGladding
i suppose i could just rely more on feed-reading
#
AngeloGladding
but if someone Like's something and i click through to it
#
AngeloGladding
i land on a remote site with NoScript enabled
#
mblaney
cweiske it's been a while since I tried it but from memory it would open the handler in the parent window.
#
AngeloGladding
and i'm on firefox/linux so maybe my experimentation thus far has been tainted
#
AngeloGladding
cweiske you say "You can try it on the bottom on this page."
#
cweiske
I removed that a while ago
#
cweiske
since not even I myself had that working
#
cweiske
went back to the normal email reply
#
mblaney
AngeloGladding: telling a site who you are, without telling *every* site who you are, turns out to be quite tricky.
#
AngeloGladding
i just enabled full text search in sqlite and everything broke so i'm unable to show you what i'm working on unfortunately
#
mblaney
you're right that if you do everything in a reader context than you've solved the problem.
#
mblaney
(how's your non-js reader going for you though? :-P)
#
AngeloGladding
i have js FULLY LOADED on my own site ;)
#
AngeloGladding
so i'm feeding on my own site and i see that someone liked something and click through to it
#
AngeloGladding
do i open it in an iframe on my own site?
#
AngeloGladding
or do i just click through
#
AngeloGladding
i want to click through and see their design theme and layout and format, etc..
#
AngeloGladding
no JS, click the bookmark button, goes back to my UI, i add some tags, publish, takes me back to their page, it represents my public bookmark
#
AngeloGladding
in an ideal world..
#
mblaney
I block being iframed so that won't always work anyway.
#
AngeloGladding
yeah i just let noscript do its thing and don't even claim to fully understand it
#
AngeloGladding
ignorance is bliss?
#
AngeloGladding
anyway, thought the solution would be simpler so i guess i'll KISS and move on
#
AngeloGladding
as far as your comment above mblaney -- i think the best approach is to have degrees of knowledge of user identity
#
AngeloGladding
no knowledge of user -- web+action:
#
AngeloGladding
replies, likes, etc.
#
AngeloGladding
indieauth -- "friend" level access to my photo gallery
#
AngeloGladding
i've been thinking about a "friend" feed but feel like i don't have the fundamentals in place to go there yet
#
AngeloGladding
like if a follow is reciprocated then you're a "friend" and how do you get non-public posts?
#
AngeloGladding
don't have an answer to that one yet
#
tantek
there's also the Dopplr model, where you grant someone Friend access without following them
#
tantek
it's sort of like you invite them to follow your friends-only posts
#
tantek
in dopplr's case, you gave someone permission to see your future travel plans
#
AngeloGladding
interesting.. i was trying to contrive a use case for a non-reciprocal follow scenario
#
tantek
there's plenty of existing ones
#
tantek
and variants where you don't really follow someone or toggle the following independently of the friending
#
tantek
what is mute
#
Loqi
mute is the ability to hide posts in your reader from specific publishers https://indieweb.org/mute
#
Zegnat
Twitter is non-reciprocal, right? And Facebook decouples following from the reciprocal friend status (see https://indieweb.org/follow#Facebook)
#
mblaney
sorry I had to step away, thanks for that chat will check in again later!
#
AngeloGladding
had anticipated muting -- zegnat it seems like Facebook is thus allowing you to mute your friend to stop following them
#
AngeloGladding
mblaney thanks for the input!
#
AngeloGladding
tantek seems like dopplr is a following of a priveleged feed of #travel events
#
Zegnat
There is a bit of overlap between muting and following, I think. Muting to me feels like hiding content that otherwise would be shown, while following is me choosing the content that should be shown in the first place. On Facebook you would choose to either follow someone or not, so I don’t think muting comes in there.
#
Zegnat
Facebook does have “hide” options for things other people might be sharing. I would say that is muting. E.g. I do not follow ProductPageX but one of my friends does and The Algorithm™ decides to show my friend’s interaction with ProductPageX. I can then configure my news feed to hide all posts from ProductPageX.
#
Zegnat
Oh, apparently they added something new: Snooze. Rather than hiding a thing permanently you can choose to hide them for 30 days :o
AngeloGladding joined the channel
#
AngeloGladding
indieweb.org/follow#Facebook says "you can unfollow people you are friends with, so their content doesn't appear in your timeline, without unfriending them"
#
AngeloGladding
sounds like muting a friend
#
AngeloGladding
snooze is funny
#
Zegnat
Maybe I should rephrase that. The same follow UI is used for friends and non-friends. It is just that Facebook will automatically follow when you become friends, because that is what most people want it to do.
#
AngeloGladding
yeah lots of discrete IW actions being taken in bunches at silos
#
AngeloGladding
like the act of friending both follows and adds them to your contact list
#
AngeloGladding
its a subscription and an h-card
#
AngeloGladding
and where does rel=friend come in?
#
AngeloGladding
so to piggyback off the topic from earlier what does a web+action://follow do?
#
AngeloGladding
a "Follow" button
#
AngeloGladding
say it takes me back to my site's UI
#
AngeloGladding
i'm pre-filled their canonical URI and click "Publish"
#
AngeloGladding
does it add a rel=followee to my /network page, subscribe to their root feed and publish a webmention to let them know that i'm following them?
#
AngeloGladding
*that's where I'm at currently
#
AngeloGladding
then their UI can eventually notify of the follow and they can chose to reciprocate in a similar fashion
#
AngeloGladding
at which points we're in a bi-directional follow
#
AngeloGladding
does this denote "Friendship"?
#
AngeloGladding
and furthermore how does one access the //alice.example.org/events/tagged/travel feed as a priveleged user to simulate Dopplr-esque functionality
#
Zegnat
tries to come up with a clever yet simple flow where you get an access token to use when requesting the travel feed
#
AngeloGladding
yesh -- i was just going to ask if there's any kind of prior art on the matter
#
AngeloGladding
it's a not-too-distant problem for me
#
AngeloGladding
not there yet but i'm worried i'll have to come up with solution all my won
#
AngeloGladding
own*
#
Zegnat
There are some brainstorms on https://indieweb.org/private_posts and some people have implemented private posts/messaging with private webmentions.
#
Zegnat
https://indieweb.org/private-webmention for a draft specification for private webmentions.
#
Zegnat
But I don’t think any of those cover full feeds yet :(
#
AngeloGladding
so before i was using web+action i just required the user to log in
#
AngeloGladding
this log in was implying a follow
#
AngeloGladding
didn't like that idea
#
AngeloGladding
so now it's just a "user" instead of a "follower" but can be upgraded to "follower" using the "Follow" button
#
AngeloGladding
a token is exchanged
#
AngeloGladding
this token can be redeemed for a private feed?
#
AngeloGladding
ahh.. not there yet..
#
AngeloGladding
just don't want to implement something that's already been specified
#
AngeloGladding
i'll refer to those pages when the time comes
#
AngeloGladding
for now i need to get my tests passing again so i can provide functional examples in these discussions
#
AngeloGladding
thanks for the input!
loicm, Kyle-K, gyejyjytr, jonnybarnes, jjuran, leg and [kevinmarks] joined the channel
#
[kevinmarks]
who's good at decrypting regex? I'd like to make the cassis one support 'dat' urls
#
[kevinmarks]
though I suppose I could just add procedural code for it
#
unicyclic.com mal
edited /webaction_handler (+819) "Add webaction handler example"
(view diff)
#
unicyclic.com mal
edited /webactions (+184) "/* Malcolm Blaney */"
(view diff)
John___ joined the channel; mblaney left the channel
#
petermolnar
kevinmarks https://regex101.com/ is a black-magic-decryptor
[kevinmarks], snarfed and John___ joined the channel
#
Zegnat
[kevinmarks] for the auto link? Just adding dat to the list with http and irc? Or are the URLs much different?
#
dgold
dat: urls are a hash at heart
#
dgold
although they do use ./well-known/dat as a hash-resolution solution
#
dgold
e.g. dat://ascraeus.org
#
Zegnat
Question is if the current CASSIS URL matching regex accepts the hash-only URLs. Haven’t checked.
#
Zegnat
Regex for URLs tend to be nightmarish.
#
dgold
which of the cassis url-matchers?
#
dgold
autolink? could just add |dat to (?:http|https|irc)
#
dgold
the regex is nightmarish, but I think as written it would handle a hash
#
aaronpk
I thought it required a "." in the hostname
[kevinmarks] joined the channel
#
[kevinmarks]
It does, so it's not matching the dat ones. I think a separate regex is a better idea, having spent a chunk of time fighting this one.
#
[kevinmarks]
Especially as the dat urls can have other dat urls to act on in them
#
[kevinmarks]
Which is no weirder than unmung I suppose, it just looks weird when you have 64 hex characters there
#
[kevinmarks]
I wonder if there is a sparkline way of showing those instead of fugly hex
snarfed joined the channel
#
Zegnat
If you know dat URLs follow their own specific syntax it is probably better to create a specific regex for them separately, yes.
snarfed, sebsel and tantek joined the channel
#
www.boffosocko.com
edited /mobile_posting (+369) "Additional detail for WordPress with link to URL schemes for Post Kinds"
(view diff)
[miklb] joined the channel
#
loqi.me
created /HWC_PDX (+19) "prompted by tantek and redirect added by tantek"
(view diff)
#
loqi.me
created /HWC_Portland (+19) "prompted by tantek and redirect added by tantek"
(view diff)
KartikPrabhu, krup, snarfed, cweiske, [pfefferle], raretrack, John___ and chrisaldrich joined the channel
#
www.boffosocko.com
edited /silo-quits (+420) "Vincent Ritter quits Twitter for micro.blog"
(view diff)
#
snarfed
fyi all, a few of us met today to discuss future overall wordpress plans, both internal plumbing and UX
#
Loqi
[snarfed] woo! [we all met today](https://chat.indieweb.org/wordpress/2018-01-08#t1515434882982000) and agreed to try out this proposal: https://github.com/indieweb/wordpress-uf2/issues/30#issuecomment-312375228 . i'll do a first pass at it in the micropub plu...
cweiske and tantek joined the channel
#
@effbiae
You are seeing this in #webmentions on slack because it's easily spammed? @kxsystems #k #kx #kdb
(twitter.com/_/status/950487186268340224)
snarfed joined the channel
#
tantek
lol his homepage
[colinwalker] and globbot joined the channel
#
globbot
channel logging requested by tantek: https://freenode.logbot.info/indieweb-dev
#
tantek.com
edited /IRC (+352) "/* How-to remove spam */"
(view diff)
#
martymcgui.re
edited /site-deaths (+0) "correct year on mapzen shutdown"
(view diff)
snarfed joined the channel
#
tantek.com
edited /Facebook (-4) "uplevel how to delete ur acc"
(view diff)
[aaronpk], chrisaldrich and Ruxton joined the channel