Previous / Next


Scripting News, the weblog started in 1997 that bootstrapped the blogging revolution.
Payloads for Twitter

A picture named keet.jpgBack in 2001, I wrote a document called Payloads for RSS that explained how you could attach something to a RSS item. I didn't explain how a RSS app would display or play one of these things, that would come later. Permanent link to this item in the archive.
Today, we may be at a similar place with Twitter.  Permanent link to this item in the archive.
Sometimes I want to answer Twitter's question, "What are you doing?" with a picture, or a bit of audio. Some people want to send videos. It's easy to imagine in the future that along with a Twit, I might also want to automatically send my location (obviously a preference), and maybe some other status information.  Permanent link to this item in the archive.
It seems that four bits of data are stored with each post: 1. the person who posted it, 2. the time it was posted, 3. how the post came to Twitter (web, Hahlo, Twiku, txt, twitterrific, twittergram are some examples) and 4. who it's in reply to (if it is). Permanent link to this item in the archive.
Now suppose I wanted to allow for payloads, as RSS 2.0 does. The problem is a bit more complicated, because not only do we have to specify how the data is communicated, we also have to say how it's displayed.  Permanent link to this item in the archive.
Caveat: This is just a proposal, there are many ways to do it, this is just one way. Permanent link to this item in the archive.
First, the "update" routine, as specified by the Twitter API, would add 2 optional parameters: 1. the url of a picture that's a thumb for the enclosed data and 2. the url of the data.  Permanent link to this item in the archive.
A couple of examples... Permanent link to this item in the archive.
1. For Twittergrams, which are audible tweets, recorded on a cell phone, the image would be a small speaker, speaker. The second paramter would point to the MP3 file. Permanent link to this item in the archive.
2. For a Flickr pic, the image would be a tiny thumbnail of the picture, and the second paramter would point to the Flickr page. Permanent link to this item in the archive.
A picture named hebrewHunk.jpgDiscussion... Permanent link to this item in the archive.
I thought the whole thing could be shrunk down to one paramter, a pointer to a bit of text that Twitter would trustingly display, but that's the problem, you have to trust the app not to break Twitter, and we all know that wouldn't last. Even a well-intentioned delveloper can forget to close a table properly, and that would leave the Twitter display in disarray. Permanent link to this item in the archive.
I also thought we might register data types with Twitter, but that's a likely black hole. Apple went down that path, so did Microsoft and the IETF. It's a lot of work to make those systems work, and it's just a matter of time before they break down in chaos.  Permanent link to this item in the archive.
I think that Twitter should probably handle two or three types specially because they are so common and useful. Those are pictures, audio and possibly video. But that's potentially a lot of work, and can be done later. Permanent link to this item in the archive.
Some will object that this only makes sense in the web, and that Twitter is designed for SMS. To that I say two things: 1. Degrade gracefully. 2. You already have features that make sense only in the web, e.g. the pictures next to posts that show iconically who's saying what. That's a nice thing to have in the environments that can display pictures, and its presence there does nothing to diminish the experience for the environments (e.g. SMS) that can't. Permanent link to this item in the archive.



     

Last update: Thursday, June 3, 2010; 4:01:39 PM



~About the Author~

A picture named dave.jpgDave Winer, 55, is a visiting scholar at NYU's Arthur L. Carter Journalism Institute. He pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in New York City.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

Mail: Mailto icon scriptingnews1mail at gmail dot com.

September 2007
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Aug   Oct


RSS feed for Scripting News



© Copyright 1997-2010 Dave Winer. Last build: 6/4/10; 7:36:54 AM. "It's even worse than it appears."


Previous / Next