#indiewebcamp 2012-08-19

2012-08-19 UTC
tantek joined the channel
#
aaronpk
is it just me or is dev.twitter.com running reaaallly slow right now
#
aaronpk
could also be this coffee shop i suppose
#
@aaronpk
Posting a tweet from my own site. Sorry for the testing spam. #indieweb http://t.co/fOYxy0u9
#
aaronpk
hooooly crap it works
lmorchard, tantek, josephboyle, Nadreck, danbri, dietrich_ and spinnerin joined the channel
#
adactio.com
edited /2012/UK/Guest_List (+471) "/* Creators */"
(view diff)
barnabywalters, danbri, tilgovi and tantek joined the channel
#
aaronpk
tantek: I now have a mobile app I can use to publish to my site and syndicate to Twitter and app.net!
#
tantek
whoa! a mobile *web* app?
#
tantek
so btw, what's the point of app.net? no, seriously, how is it anything more than a "country club for dues paying members" version of Twitter?
#
aaronpk
nope, this guy started writing an iPhone app to post to app.net, so I tweaked it to send the post request to my server first https://github.com/tonymillion/xtendr
#
tantek
ah iOS ok
#
tantek
still, it's a start
#
aaronpk
it does mean I have an API for my site now, so I can make a web interface next
#
tantek
what protocol does app.net use for posting? did they implement a standard like AtomPub or the MetaWeblog API? or did they create their own snowflake API?
#
aaronpk
they made their own, but they are actively taking suggestions from people https://github.com/appdotnet/api-spec
#
tantek
so it seems to me that there's a lack of vision for app.net
#
tantek
that pattern, "they made their own, but they are actively taking suggestions" does not bode well
#
tantek
e.g. same mistake with identity, they made their own (namespace of @-usernames), instead of using a standard (URLs - e.g. with IndieAuth, or email addresses - e.g. with Persona/BrowserID)
#
tantek
so I'm waiting for the first such aggregation service that is smart enough and has enough vision to "just say no" to "make their own", and instead finds and uses the standard building block for each aspect
#
tantek
and the bar to beat there is status.net
#
aaronpk
yea, status.net is the epitome of standards put together into a working product
#
tantek
we already have enough snowflakes (in APIs, identity, etc.)
#
tantek
so when there's yet another one, it's like, yawn
#
tantek
anyway, status.net proved that you don't need to create yet another aggregator that syndicates stuff in - you can simply subscribe *directly* to original real time sources, and use their remote permalinks as actual permalinks (instead of creating duplicates)
#
tantek
so it seems app.net is pursuing a bit of an obsolete model in that regard
#
tantek
unless the "country club version of Twitter" was the point of it
#
tantek
which makes it just yet another silo
#
tantek
which seems, meh
#
tantek
anyway, maybe I just being clueless and don't get it. hoping to be proven wrong.
#
tantek
BTW there are numerous blogging clients out there that support MetaWeblog API: http://en.wikipedia.org/wiki/MetaWeblog
#
aaronpk
does wordpress use that protocol?
#
tantek
bingo
#
tantek
so you could just install the WordPress iOS app, point it to your blog that supports the MetaWeblog API - and go.
#
tantek
no need to reinvent
spinnerin joined the channel
#
tantek
this is the kind of plug-and-play basic understanding of how all these standards work that is missing from any kind of app.net vision - and it's anywhere from frustrating to saddening.
#
tantek
and it's open source of course
#
tantek
so if we get our indieweb sites right, we *should* be able to just use an "off the shelf" standards-compliant client like the WordPress iOS client
#
tantek
no need to write new clients
#
tantek
(unless you really need new functionality - e.g. geocheckins etc.)
#
aaronpk
That was my first thought for an app to use to post to my site actually
#
tantek
cool!
#
tantek
and the wordpress folks are all very pro-indieweb too
#
tantek
so if we come up with an AtomPub or Metaweblog API extension for "checkins" - they might be willing to add it (or accept patches) to the iOS app
#
aaronpk
ah interesting
#
tantek
especially if paired with a WordPress plugin that *accepts* checkins via such protocol extension
#
tantek
so that's the right way to think about these things
#
tantek
use the existing standards-supporting clients etc., and extend the protocols openly to support new use-cases.
#
tantek
not, invent a new service / clone of Twitter, invent a new client just for said new service, then work hard to re-implement existing functionality in those clones
#
aaronpk
is xml-rpc just so out of style that that's what's preventing people from building on the wordpress/metaweblog standards?
#
tantek
could be a generational thing
#
tantek
then again, none of these "new kids" are much younger (if at all) than Matt Mullenweg
#
aaronpk
I feel like if I mention xml to anybody they just cringe
#
tantek
sure, but there's just libraries you use and you're done
#
aaronpk
yea totally, I used one to implement the pingback service, and it abstracted away all the xml parts
#
tantek
or if they don't like the XML, then they could just implement a JSON *mapping* of the standard API
#
aaronpk
it literally turned it into procedure calls in ruby
#
tantek
but no, instead they make shit up because frankly, they don't know any better, and don't know to ask the right questions
#
tantek
hence, tons of snowflakes
#
tantek
(which are also dumb from a security perspective BTW)
#
tantek
(since MetaWeblog API has been quite well tested / analyzed etc.)
#
aaronpk
well I think I may investigate using the wordpress ios app next, but in the mean time I now have a way to post to my site
#
aaronpk
it does a good job of auto-shortening the tweet to fit in 140 chars along with the link back to my site
#
tantek
also, does that new posting app use SSL?
#
aaronpk
yea it does
#
tantek
yeah? did you port my ellpsize function from cassis.js or write a new function?
#
aaronpk
I forgot to check if you'd made one already. but I have mine set up to preserve hashtags instead of trimming them off the end which was a common error case I was seeing in my first version
#
tantek
specifically the "ellipsize_to_word" function
#
tantek
hah - you ask me for Falcon open source and then forget to check it :P
#
tantek
the other Falcon function in cassis.js that's got a lot of intelligent details in it is "auto_link"
#
tantek
(IMHO better than Twitter's autolinking)
#
aaronpk
I will definitely look at the auto_link function, that is always hard to get right
#
tantek
bad autolinking on Twitter's part was one of the many annoyances that helped inspire Falcon
#
tantek
and that was before tco-ing
#
aaronpk
heh, the t.co thing made for some interesting logic in my shortening code.
#
aaronpk
if you write "app.net" it will turn the 7 characters into a 20-char t.co link, which counts against the 140 limit
#
tantek
yup - my autolinker handles that
#
tantek
I decided to create a separate function "tw_text_proxy" to "fake" what Twitter does with URLs in order to do more precise ellipsing.
#
aaronpk
we need a sentence or two people can put on their site in place of a comment form explaining why there is no comment form
#
tantek
I actually didn't want to corrupt my nice generic ellipsize_to_word function with special code just for Twitter's weirdness
#
tantek
so instead, the logic of ellipsing and taking into account Twitter's text expansion/compression due to URLs, is done by the calling code
#
tantek
aaonpk - or the comment form only appears if you sign-in with your own site, and the sites support site-to-site publishing of comments and then pingbacks.
#
tantek
e.g. if I sign-in to your site with my personal domain, and my personal site supports metaweblog API, then I should see a comment box *on your post on your site*
#
aaronpk
that's an interesting idea. I think a good start is just a paragraph of text tho :)
#
tantek
then if I post a comment *on the comment UI on the post on your site* - it should simply act like a blogging client posting "comment-type" post on *my* site, which should then pingback to the post on your site, thereby causing it to appear there in-line!
#
aaronpk
that is a good way to handle it
#
tantek
that's how we make peer-to-peer comments work
#
tantek
with the nice in-place comment box UI
#
tantek
no need to change the user experience or make excuses for why it's lacking
#
tantek
we just need to do the right indieweb plumbing underneath :)
#
aaronpk
that sounds like a fun challenge
#
tantek
(I really should write that up as a high level indieweb architectural comment-UI how-to)
#
tantek
(I've had that basic flow in mind for a few years now, since I first started coding on Falcon)
#
tantek
(it's just way down on the to-do list :) )
#
aaronpk
heh yea it requires at least a few other people to be on board before it's useful
#
tantek
not really
#
tantek
it will work with *any* indieweb site that supports a) metaweblog api, b) sending pingbacks
#
aaronpk
I don't see where the metaweblog api talks about comments
#
tantek
which means it immediately works with wordpress blog (as the place where the "comment-type" post is posted/saved)
#
tantek
a comment is just a short post without a title
#
tantek
with activity streams object type of "comment"
#
tantek
think of the comment box as just another UI to write a blog post
#
tantek
and then it will all click
#
tantek
so every blog becomes a blog client as well
#
aaronpk
so if i'm looking at a post on your site, does the comment form have an action="http://aaronparecki.com/xmlrpc"?
#
tantek
assuming you've signed-in with aaronparecki.com, that sounds right
#
aaronpk
so you'd need a way to find my xmlrpc endpoint?
#
tantek
see metaweblog spec for that
#
tantek
that's also defined
#
tantek
because blogging clients have to find the endpoint automatically
#
tantek
based on *just* the URL of the blog
#
tantek
so it all works
#
tantek
based on existing buliding blocks
#
tantek
s/buliding/building
#
Loqi
tantek meant to say: based on existing building blocks
#
tantek
thank you Loqi :)
#
Loqi
is done
#
tantek
wow - I'm impressed with my Virgin Mobile 3G hotspot - I'm using it now on the train, and listening to thisismyjam.com (streaming music!)
#
aaronpk
Great, so a lot of pieces are already there, seems like authentication is the hard one
#
aaronpk
but thanks to relmeauth/indieauth it just got a lot easier
#
tantek
if we can get this all working, especially with "the other end" being a wordpress blog, that is, being able to use any wordpress blog to comment on *your site* (aaronparecki.com) - then that is worth proposing a session at a WordCamp for.
#
tantek
alright, switching transit modes, bbiab.