#indiewebcamp 2013-04-11

2013-04-11 UTC
josephboyle, bnvk, duckbillp, spinnerin, b0bg0d, smus and jedahan joined the channel
#
tantek.com
edited /posts-elsewhere (+48) "/* Automatic */ tommorris.org also supports rel=syndication on links to syndicated copies of his posts"
(view diff)
#
tantek.com
edited /posts-elsewhere (+15) "/* See Also */ comments"
(view diff)
#
tantek.com
edited /comment (+55) "/* POSSE a comment */ improve grammar, more details"
(view diff)
#
tantek.com
edited /comment-presentation (+886) "/* Existing specifications for display */ example of how Pingback displays are nearly always useless and the problems it demonstrates"
(view diff)
#
tantek.com
edited /posts-elsewhere (+95) "rel-syndication is now defined on microformats.org"
(view diff)
smus, jedahan, b0bg0d, duckbillp, eschnou, bnvk, Nadreck, seyz, friedcell, andreypopp, barnabywalters, christopheduca-1, tantek, indiewebcamp-vis and scor joined the channel
#
tommorris
afternoon barnabywalters
#
barnabywalters
afternoon tommorris
#
barnabywalters
just munging some SVG at Vísar
#
barnabywalters
flexi-charts FTW :)
#
barnabywalters
nice one on the auto-addition of syndication links
#
tommorris
semi-auto-add at the moment
#
tommorris
app.net is done by parsing the RSS feed and updating the database
#
barnabywalters
wow, that’s full on
#
tommorris
which is currently done by me triggering the parse command in a Ruby shell. eventually, it'll be a cron job
#
tommorris
the RSS feed is pretty handy actually
#
tommorris
each item has a link back to the source <atom:link href="whatever" type="text/html" rel="source" />
#
barnabywalters
oh, cool — so they delivered on one open standard, at least
#
tommorris
so it's just a matter of getting each item, matching them up using that, and then retrieving the URL of the app.net post
#
tommorris
so, <item>... <link>https://alpha.app.net/tommorris/post/4656089</link><atom:link href="http://tommorris.org/posts/8198" type="text/html" rel="source"/></item>
#
barnabywalters
wow, that’s nifty
#
barnabywalters
so, “source” — you can tell ADN that a post is a POSSEd copy?
#
tommorris
well, on IFTTT, you can include a link
#
tommorris
so https://alpha.app.net/tommorris/post/4656089 - it has a line that says "from tommorris.org" - that's a link back
#
barnabywalters
ah, of course — so you’re (ab?)using the posted from field to link back. That’s a great approach
#
barnabywalters
much more interesting than linking to the app used, which I think (?) was the purpose?
#
tommorris
no, it's meant for that
#
barnabywalters
really? cool
#
tommorris
I mean, from other silos
#
tommorris
is how I think they wanted it
#
tommorris
like, you posted a photo on Instagram
#
tommorris
it'd say "from Instagram"
#
barnabywalters
well, either way, it works
#
tommorris
with a link back to the original pic on Instagram
#
tommorris
I'd know more about how it worked if I became an App.net developer, but $99 buys a lot of cocktails.
#
barnabywalters
tommorris: that you’ve got POSSEing with backlinks set up without forking out for the dev price is impressive
#
tommorris
I'll document it when I'm not working. ;)
#
tommorris
also without paying for a user account
#
tommorris
free account
#
tommorris
the free account doesn't let you follow more than 30 people IIRC
#
tommorris
but I don't really care about following people. I have an RSS reader. ;)
#
barnabywalters
oh, is that a limitation? interesting
#
barnabywalters
what’s sold as a feature in path is a limitation elsewhere :)
#
tommorris
the idea is that you'll hit 30 people and become so addicted you'll pay the $30 or whatever to upgrade
#
@BarnabyWalters
@laurakalbag feel free to point cross-poster builders towards POSSE To Twitter, we (@indiewebcamp) have documented… http://waterpigs.co.uk/notes/1274/
bnvk and b0bg0d joined the channel
#
barnabywalters
hmph, looks like t.co is broken
andreypopp, b0bg0d and josephboyle joined the channel
#
tantek
barnabywalters, what was the problem with t.co?
#
barnabywalters
tantek: it stopped working for a little while
b0bg0d joined the channel
#
tantek.com
edited /Twitter (+658) "fix heading hierarchy a bit, not everything is about porting to twitter, POSSE Replies fixes, distinguish POSSE Replies to Tweets and POSSE Replies to Twitter"
(view diff)
seyz joined the channel
#
tantek.com
edited /App.net (+713) "How to / POSSE to ADN"
(view diff)
#
tantek
tommorris - I tried outlining what you described about POSSEing to ADN here a bit, but could use your help with details: http://indiewebcamp.com/App.net#POSSE_to_ADN
#
tommorris
tantek: will pop the code I use up.
#
tantek.com
created /rel-syndication (+354) "stub"
(view diff)
#
tommorris.org
edited /App.net (+114) "code"
(view diff)
#
tommorris
so, app.net's Atom feed uses rel="source" to link from the ADN version to the original version. it'd be nice if their HTML did likewise. ;)
#
tantek
it really should use rel=canonical in the HTML version
#
tantek
although the example you gave only showed your blog post title on ADN
#
tantek
whereas you had a complete post on your own site
#
tantek
I thought from the ADN post that it was only a short note kvetching about mobile internet
#
tantek
it's not obvious that I should click through to an entire blog post
eschnou joined the channel
#
tantek
that's a case where it may make more sense to include the full URL to your blog post inline in the post
#
tommorris
yeah, for posts with titles, I just syndicate the title to ADN. for posts without titles, I sync the first ~400 chars (whatever the ADN limit is)
#
tantek.com
created /syndication (+409) "stub"
(view diff)
#
tantek
tommorris - here's the description of best practices so far for POSSEing an article (blog post) to a microblogging silo: http://indiewebcamp.com/Twitter#POSSE_Articles_to_Twitter
#
tommorris
I should have a public list on indiewebcamp.com of things I should fix to be more indieweb-compliant
#
Loqi
agreed.
#
tantek.com
created /IFTTT (+174) "stub"
(view diff)
#
tantek.com
edited /Ferocity (+71) "add To Do section"
(view diff)
#
tommorris.org
edited /User:Tommorris.org (+42) "/* personal site todo */ adding link to [[tommorris.org public todo]] - be bold and add things I ought to be doing. ;)"
(view diff)
#
tommorris
oh, yes, [[Ferocity]] does the job
#
tantek.com
edited /Ferocity (+8) "TOC"
(view diff)
#
tommorris.org
edited /Ferocity (+101) "/* To Do */ adding tantek's suggestion"
(view diff)
#
tommorris
do feel free to expand. ;)
#
tantek
awesome
#
tantek.com
edited /App.net (+146) "/* POSSE to ADN */ add ellipsed note example"
(view diff)
#
tantek
tommorris, what's the ruby code for? I thought your POSSEing to ADN just used IFTTT?
#
tommorris
the Ruby code is for pulling the data back out of ADN
#
tommorris
parses the Atom feed and updates the posts
#
tantek
parses which Atom feed and updates which posts?
#
tommorris
so, I post to tommorris.org
#
tommorris
ifttt periodically polls my Atom feed and syndicates it to ADN
#
tommorris
then my site periodically polls https://alpha-api.app.net/feed/rss/users/49269/posts to work out what the ADN URL is for each post
#
tommorris
then updates the post on my site to link to the ADN version
#
tommorris
which seems very Heath Robinson, but such is the problem of silos
#
tantek
a-ha because the IFTTT runs sometime later, and you have to explicitly do work later to go get the syndication permalink
#
tommorris
in an ideal world, I'd send a copy directly to ADN in a message queue from my site
#
tommorris
but that'd require an ADN API key, and I'd rather spend the $100 on tequila.
#
tantek.com
edited /App.net (+906) "/* POSSE to ADN */ better sumary and flow reinterpreted from TomMorris description in IRC, also pay alternative"
(view diff)
#
tantek
ok I think I understood a bit better - is this right? http://indiewebcamp.com/App.net#POSSE_to_ADN
#
tommorris
yep, that's brill tantek
#
tantek
it's like, secondhand knowledge!
#
tantek
so is 400 characters the ADN post limit?
#
tommorris
no, 256. 400 was in my brain from something else
#
tantek.com
edited /App.net (+57) "citation for post limit"
(view diff)
texburgher, spinnerin, duckbillp, seyz, scor, bnvk and b0bg0d joined the channel
#
tantek
aaronpk, barnabywalters, here's a good example of a full fledged article post which is clearly a direct reply to another article post. In this case, copying the first paragraph of the reply article as a comment on the original article (with a "view more" hyperlink to the permalink) would work quite well.
#
tantek
so perhaps that would be a good heuristic for abbreviating an article (without an explicit p-summary) when copying into a "Comments" section - use the first paragraph.
#
tantek
oh forgot the URL. here is the reply article: http://alistapart.com/column/hellish-other-people
#
tantek
ok new challenge
#
tantek
and figure out a way to use the methods described with RelMeAuth to implement TFA (Two Factor Auth) with your own domain
#
tommorris
tantek: I used to do two-factor-auth to log in to my own site. implemented it myself in JavaME, back when that was a thing.
morrocco_mole joined the channel
#
tommorris
I just sha1'd secret string + Unix epoch / 100 (so it'd refresh every 100 seconds)
#
tommorris
then the iPhone happened and I couldn't be bothered to port it over to a smartphone platform.
bnvk joined the channel
#
tommorris
and... someone does a password reset on my OpenID provider. I remember why two factor auth seems like a good idea.
#
tantek
whoa - really? someone is attacking your OpenID provider?
#
tommorris
wordpress.com is my OpenID provider.
#
tommorris
myopenid seemed to fail too much so I switched over to the wp account I have
#
tantek
ah, yes, they're a big target in general
#
tommorris
wordpress.com now does two-factor auth
#
tantek
as is WordPress the software
#
tantek
is their two-factor auth open sourced somewhere?
#
tantek
would be great to figure out how to adapt that for any indieweb site
#
tommorris
it's Google Authenticator
#
tantek
sure, it uses GA on the backend, but I mean the UI/glue code
#
tantek
that connects to GA
#
tommorris
en.blog.wordpress.com/2013/04/05/two-step-authentication/
#
tantek
oh hey, 2 letter language code subdomains, where have we seen that anti-pattern before ;)
#
tommorris
is it an anti-pattern on, say, wikipedia?
#
tantek
ooh this is what I was asking for (I think) http://wordpress.org/extend/plugins/google-authenticator/
#
tommorris
put 2FA on my wordpress.com acc
#
tommorris
tantek: implementing 2FA isn't too hard. not sure about Google Auth, but having written my own implementation, it can't be too hard. ;)
#
tantek.com
edited /IndieAuth (+508) "/* To do */ add TFA support for providers that support it (e.g. Google!)"
(view diff)
#
tommorris
the hardest thing about writing my own 2FA app was that SHA1 isn't part of the JavaME API, so had to write my own implementation of SHA1
#
tommorris
which is just a matter of taking the algorithm and writing it in Java.
#
tantek
tommorris - is perhaps something (that algorithm implementation) that should go into the W3C Crypto API?
#
tantek
or perhaps it already does? perhaps you can decipher https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#sha
#
tommorris
would rather if nothing he'd written crypto-wise would ever run on anybody's devices ever.
#
tommorris
standardising hashing and crypto in JavaScript seems sensible.
#
tommorris
I'd say it seems fairly straightforward, but I've read W3C specs like the old RDF C&AS doc and found it fairly clear while others found it completely imponderable
#
tommorris
so I'm perhaps not a good test of intuitive simplicity
#
tommorris
especially as I tend to use words like "adicity" without a second thought.
b0bg0d, spinnerin, eschnou, andreypopp and bnvk joined the channel
#
tantek
I wonder what an indieweb version of that would look like
barnabywalters, andreypopp, b0bg0d, friedcell and tantek joined the channel
#
aaronpk
waves from Portland
#
aaronpk
back on west coast time
tantek joined the channel