<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://www.majordojo.com/projects/FeedManager/atom.xsl" type="text/xsl" media="screen"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php" />
  <link rel="self" type="application/atom+xml" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php" />
  <id>tag:www.majordojo.com,2010://3/tag:www.majordojo.com,2009://3.14203-</id>
  <updated>2010-04-14T20:30:12Z</updated>
  <title>Comments for An idea for URL shortners: content type hinting</title>
  <subtitle>A blog about Movable Type, technology, geek-dom, science-fiction and yes, sometimes my personal life.</subtitle>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.261</generator>
  <entry>
    <id>tag:www.majordojo.com,2009://3.14203</id>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.majordojo.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=3/entry_id=14203" title="An idea for URL shortners: content type hinting" />
    <published>2009-04-22T06:59:22Z</published>
    <updated>2009-04-22T07:48:29Z</updated>
    <title>An idea for URL shortners: content type hinting</title>
    <summary>Regardless of how you feel about URL shortening services they have become an essential component of the Internet today. Services like Twitter make them all but a necessity so that character starved bloggers can squeeze as much copy into a...</summary>
    <author>
      <name>Byrne</name>
      <uri>http://www.majordojo.com/</uri>
    </author>
    
    <category term="Blogging" />
    
    <category term="Product Management" />
    
    <content type="html" xml:lang="en" xml:base="http://www.majordojo.com/">
      <![CDATA[<p>Regardless of how you <a href="http://kottke.org/09/04/url-shorteners-suck">feel about URL shortening services</a> they have become an essential component of the Internet today. Services like Twitter make them all but a necessity so that character starved bloggers can squeeze as much copy into a tweet as possible, after all, <a href="http://www.copyblogger.com/twitter-writing/">every character counts</a>.</p>

<p>I recently watched an <a href="http://revision3.com/tekzilla/web20/">interview with Ev Williams</a> in which he talked briefly about making features for a product simply by blessing and codifying what your users are already doing in some meaningful way. His example was their observing people using the <code>@twittername</code> to signify a reply and their subsequent decision to auto-link that identifier to the person's Twitter account. That interview, plus a later conversation gave me an idea for a pattern I would love to see adopted by URL shortening services in the hopes of laying the groundwork for similar serendipitous features on Twitter.</p>

<p>The problem is thus: URL shortening services make the content being linked to even more opaque to a client than it already is. When you think about what can be inferred by a complete URL on the Internet you realize just how much information is lost in the shortening process. Consider these URLs:</p>

<p><strong><a href="http://www.youtube.com/watch?v=Z19zFlPah-o">http://www.youtube.com/watch?v=Z19zFlPah-o</a></strong></p>

<p>From this URL you can infer that what is being linked to is a video. You also know the video's ID and could conceivably embed your own video player to display it on your web site.</p>

<p><strong><a href="http://www.flickr.com/photos/dorkmaster/3287780385/">http://www.flickr.com/photos/dorkmaster/3287780385/</a></strong></p>

<p>From this URL you can infer that what is being linked to is a photo, you have a handle to the identity of the person who uploaded the photo, and you have an ID to the photo.</p>

<p>And the list goes on. Even relatively random URLs from stupid blogs can tell you a lot:</p>

<p><strong><a href="http://www.majordojo.com/photos/2009/04/jellyfish.php">http://www.majordojo.com/photos/2009/04/jellyfish.php</a></strong></p>

<p>This tells you at the very least that what is being linked to is at least a web page, most likely in HTML. You could infer more I suppose, but it would be difficult for a machine to do so without actually following the link. </p>

<p>And that is the crux - you don't want to force clients to follow the link in order to make these simple inferences. Ideally, a shortened URL could provide some kind of hint to as to the nature of the content being linked to on the other end so that Twitterific for example could embed a "play" button to play a video, or even embed a photo posted via TwitPic directly in your feed. </p>

<p>So what if a convention was defined and adopted that:</p>

<ul>
<li>didn't increase the length of a shortened URL that much.</li>
<li>that was completely optional.</li>
<li>that was utilized in the same manner across multiple shortening services? </li>
</ul>

<p>Then clients would be free to do whatever they wanted with the extra metadata, mainly ignore it, or bring some added value to their users. So here is my proposal:</p>

<ul>
<li><p>URL shorteners should append to any shortened URL a simple one character code identifying the content type of the content being linked to delimited by a hash or pound sign, e.g. "#". For example, both of the following URLs remain resolvable despite being augmented with an additional two characters:</p>

<ul>
<li><a href="http://bit.ly/17y2DG#v">http://bit.ly/17y2DG#v</a></li>
<li><a href="http://bit.ly/18yZ6g#i">http://bit.ly/18yZ6g#i</a></li>
</ul></li>
<li><p>URL shorteners ideally agree to a standard, or at least publish a lookup table for their coding conventions. Such a look up table might be as simple as:</p>

<table>
<tr><th>Code</th><th>Description</th></tr>
<tr><td>i</td><td>an image</td></tr>
<tr><td>v</td><td>a video</td></tr>
<tr><td>o</td><td>a page with an oembed tag</td></tr>
<tr><td>h</td><td>html</td></tr>
<tr><td>b</td><td>a blog post with comments</td></tr>
</table></li>
</ul>

<p>The specifics don't really matter provided that the codes tell clients something that would be useful to them when processing a link to a resource.</p>

<p>It also has made me ponder a little bit how tweets could be similarly augmented to include additional meta data about the tweets, as hash tags do, and what clients could then turn around and do with that extra little bit (no pun intended) of information.</p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:163097</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c163097" />
    <title>Comment from Alexander Mikhalev on 2009-05-05</title>
    <author>
        <name>Alexander Mikhalev</name>
<!--        <uri>http://alex.sci-blog.com</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://alex.sci-blog.com">
	<![CDATA[<p>I think publishing lookup tables can open some opportunity for spammers. 
Bitly moving in the similar direction with their optional keyword: 
<a href="http://bit.ly/sci-blog" rel="nofollow">http://bit.ly/sci-blog</a> 
I think we can create this shortening service of yours.</p>
]]>
    </content>
    <published>2009-05-05T12:51:43Z</published>
    <updated>2009-05-05T12:51:43Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:167208</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c167208" />
    <title>Comment from Tedi Anderson on 2010-01-10</title>
    <author>
        <name>Tedi Anderson</name>
<!--        <uri>http://www.mlmleadsguidereview.com/</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.mlmleadsguidereview.com/">
	<![CDATA[<p>I have to admit I am very impressed with the quality of your blog.  It is certainly a pleasure to read as I do enjoy your posts.</p>
]]>
    </content>
    <published>2010-01-11T07:07:39Z</published>
    <updated>2010-01-11T07:07:39Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:167722</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c167722" />
    <title>Comment from Lanie Hamilton on 2010-01-22</title>
    <author>
        <name>Lanie Hamilton</name>
<!--        <uri>http://hubpages.com/hub/Phantom-Link-Cloaker-Review</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://hubpages.com/hub/Phantom-Link-Cloaker-Review">
	<![CDATA[<p>Came across your blog post when i was doing some research for school (got distracted).  I am very new to internet marketing but am starting to look at promoting clickbank.  Do affiliate sites care if yo cloak their links or does it matter to them at all.  I just want to make sure it is wrong.</p>
]]>
    </content>
    <published>2010-01-22T16:25:35Z</published>
    <updated>2010-01-22T16:25:35Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:169447</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c169447" />
    <title>Comment from Debbra Doyer on 2010-02-23</title>
    <author>
        <name>Debbra Doyer</name>
<!--        <uri>http://royce5manning.tripod.com/internettvchannels/index.blog/1987711/new-style-of-entertainment/</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://royce5manning.tripod.com/internettvchannels/index.blog/1987711/new-style-of-entertainment/">
	<![CDATA[<p>Your blog made me think of a quatation: "Don't anthropomorphize computers -- they hate it" 
Think it over my friend :-)</p>
]]>
    </content>
    <published>2010-02-23T11:09:26Z</published>
    <updated>2010-02-23T11:09:26Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:169456</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c169456" />
    <title>Comment from Blog commenting on 2010-02-23</title>
    <author>
        <name>Blog commenting</name>
<!--        <uri>http://www.theblogcommentator.com</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.theblogcommentator.com">
	<![CDATA[<p>I guess I really don't have the time.</p>
]]>
    </content>
    <published>2010-02-23T13:31:34Z</published>
    <updated>2010-02-23T13:31:34Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:169494</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c169494" />
    <title>Comment from Robbie Karimi on 2010-02-24</title>
    <author>
        <name>Robbie Karimi</name>
<!--        <uri>http://freebusinesscheckingaccount.org</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://freebusinesscheckingaccount.org">
	<![CDATA[<p>Don’t ask me why, but I love this guy. I had no prior knowledge of him until I saw this figure on the back of the Blue Beetle card. I’d go as far as to say he motivated me to pick up wave 7 and start collecting DCUC (!). Mine did come with a messed up emblem, though. It’s missing a small section on one of the outer loops. Kind of depressing because it was the only Aquaman figure I had come across at that point and I really wanted to complete AS. Of course I saw another Aquaman at Wal-mart last and almost bought him just to switch out the torso and return him, but decided against it because the rest of the torso had sloppy paint. It would just be an endless cycle. I determined it would be easier to fix the logo myself.</p>
]]>
    </content>
    <published>2010-02-24T16:09:23Z</published>
    <updated>2010-02-24T16:09:23Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:170517</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c170517" />
    <title>Comment from Ivonne Antonetty on 2010-03-23</title>
    <author>
        <name>Ivonne Antonetty</name>
<!--        <uri>http://freenichekeywordsideas.com/</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://freenichekeywordsideas.com/">
	<![CDATA[<p>I think this may be enlightening and don't see often. This is good information.</p>
]]>
    </content>
    <published>2010-03-24T04:54:25Z</published>
    <updated>2010-03-24T04:54:25Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:170585</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c170585" />
    <title>Comment from Sofia on 2010-03-25</title>
    <author>
        <name>Sofia</name>
<!--        <uri>http://www.i-destination.com/voyage-sofia.html</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.i-destination.com/voyage-sofia.html">
	<![CDATA[<p>Hello, I like this post a lot, it echoes my own thoughts quite keenly. I’m at work now, so I should get back to my projects, but I’ve saved the url and I’ll come back to read more of your posts.</p>
]]>
    </content>
    <published>2010-03-25T15:59:13Z</published>
    <updated>2010-03-25T15:59:13Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2009://3.14203-comment:171205</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2009://3.14203" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2009/04/an-idea-for-url-shortners-content-type-hinting.php#c171205" />
    <title>Comment from Floor Plan Software on 2010-04-13</title>
    <author>
        <name>Floor Plan Software</name>
<!--        <uri>http://floorplansoftware.org</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://floorplansoftware.org">
	<![CDATA[<p>A great way to start out out can be to write down down the issues that you want to in your dream residence after which put them into a primary hand-drawn floorplan. Alter it as you see the need to add or subtract some issues, and then when you're comfortable with it, talk to a house designer about your need for house blueprints. You actually need to take into account some options like patios and decks, a big kitchen, a cathedral ceiling, plenty of glass and probably skylights, further loos and walk-in closets.</p>
]]>
    </content>
    <published>2010-04-13T21:14:46Z</published>
    <updated>2010-04-13T21:14:46Z</updated>
  </entry>

</feed>

