Limits of a URL Shortening Service

Apr1609Apr 16, 09

After creating dFL8.me in October of last year, I've been watching the service grow amidst a wealth of near-identical competitors. One of the ideas I originally had for a unique twist on URL shortening was to provide automatic tools for linked content. There are a number of reasons I never pursued this avenue, some obvious and some not-so. In order to provide a practical analysis of the problem and its potential solutions, I will use the example of linked images.

When someone dFL8's (shortens) a URL, there is an expectation that the service will provide only a simple redirect, and the final URL will be displayed after the two DNS records have been fetched. Interestingly, there has been no digression from this concept. One of the reasons is certainly the expectation users have formed about the simplicity of these services - a pre-conceived notion that they are extremely simple. In most cases, this is the truth. I set out to prove this point when creating dFL8.me by creating the entire service in a single evening. Although there were a few quick bug fixes and updates that needed to be done after a week, the point had been made.

Another expectation that has formed in the minds of Twitterers and location update junkies is the ability to use a shortened URL in place of the original for absolutely anything. This is logical - but is it effective? Coming to the example of linked images, many people used shortened URL's for image files when placing images on a web page (I am guilty of this). This might seem great, but it forces services like dFL8.me to remain within the confines of HTTP requests and redirects. It has always been my intent to expand URL shortening into something more usable and interactive, which would allow for things like AJAX document and image viewers, or (tasteful) custom toolbars.

Imagine for a moment that you have just found what you believe to be an excellent LOLcat picture not yet posted to ICanHasCheezburger (of all things!). You decide to shorten the URL of the image and post it to Twitter. Assuming you have a decent number of followers, a few people are going to see that link and open it up - just a plain old image in its own browser tab. This is not a very pleasant experience, and there is no convenient way to resize the image or pan around if it is very large. Wouldn't it be great if that URL shortening service had detected that you linked to an image and provided a more effective tool for viewing it? I think it so.

Unfortunately, this is not the easiest thing for a service like this to accomplish. Remember that the paradigm is such that the image you linked to should be usable in the src attribute of an image element on any web page. If the service were to automatically provide an image viewer for the link you shortened, using the shortened URL as in an HTML <img> tag would be impossible. That great, usable AJAX viewer would be interpreted as binary image data by the browser and the result would be a mess and ultimately no LOLcat (a terrible loss).

So you can see the problem. The same is quite true for all binary content, like non-HTML documents and audio files. I would love to provide such a handy service, but I am at a loss for a clean and universally compatible solution to the embedding problem. Perhaps the solution would be to enable the advanced functionality as an option when the URL is shortened.

Your thoughts?

About Jason Miller:

I am a JavaScript developer from Waterloo, Ontario, Canada. When I am not typing green code onto a black screen, you might find me at the nearest coffee pub checking out the brew. I run a internet firm called developIT and maintain blogs and web apps when I can.
Comments
Vlad#
What about the HTTP Accept: header?
jason#
I'll have to look into the differences between requests sent via the <img> tag and requests sent for the originating document, but I imagine that one will vary by browser. Thanks for the idea!
oakleysunglasses#
http://www.oakleyvault.us.com/
http://www.oakley--sunglasses.com.co/
http://www.oakleysunglassesoutlet.us.org/
http://www.oakleysunglasses.us.com/
http://www.oakleysunglasses.com.co/
http://www.rayban-sunglass.us.com/
http://www.ray-ban-sunglass.us.com/
http://www.rayban--sunglasses.org/
http://www.polo-ralph-lauren.us.com/
http://www.polo-ralph-lauren-outlet.us.com/
http://www.burberry-outlet-store.us.com/
http://www.burberryoutlet-store.us.com/
http://www.michaelkors-outlet-online.us.org/
http://www.outletonline-michaelkors.com/
http://www.michaelkors-outlet-online.us.com/
http://www.michael-korsoutlet.in.net/
http://www.michaelkors-outlet-store.us.com/
http://www.michaelkors-handbags.in.net/
http://www.uggs-outletboots.in.net/
http://www.uggsoutlet.us.com/
http://www.uggs-outlet.in.net/
http://www.cheapuggboots.in.net/
http://www.cheap-uggs.in.net/
http://www.louisvuitonoutlet.us.com/
http://www.louisvuitton-outlets.org/
http://www.louisvuitton.ar.com/
http://www.louisvuitton-outlet-store.com/
http://www.louis-vuittonhandbags.org/
http://www.redbottoms.in.net/
http://www.christianlouboutin-outlet.in.net/
http://www.christian-louboutin-shoes.in.net/
http://www.christian-louboutin.org.uk/
http://www.rolexreplicawatches.us.com/
http://www.replica--watches.com/
http://www.air-jordanshoes.net/
http://www.nike--outlet.com/
http://www.toryburch-outletonline.in.net/
http://www.guccioutlet-online.us.com/
http://www.prada-handbags.us.com/
http://www.prada-outlets.in.net/
http://www.longchamp-outlet.in.net/
http://www.longchamphandbags.in.net/
http://www.longchamphandbagsoutlet.us.com/
http://www.tiffany-and-co.us.com/
http://www.tiffanyjewelry.us.com/
http://www.nikeairmaxinc.net/
http://www.nikeair-max.net/
http://www.nike-freerun.com/
http://www.chanel-handbags-outlet.in.net/
http://www.katespadeoutlets.cc/
http://www.katespade-handbags.in.net/
http://www.coachoutlet-online.in.net/
http://www.coachfactory-outletonline.in.net/
http://www.coachoutletstoreonline.jp.net/
http://www.coachpurse.in.net/
http://www.true-religionoutlet.in.net/
http://www.truereligionjeansoutlet.us.com/
http://www.truereligionoutlets.in.net/
http://www.cheaptruereligion.us.com/
http://www.nike-airmax-pas-cher.fr/
http://www.nikeair-max.fr/
http://www.airjordanpas-cher.fr/
http://www.nikefreerun.fr/
http://www.nike-roshe-run.fr/
http://www.sac-longchamp-pas-cher.fr/
http://www.sac--longchamps.fr/
http://www.poloralphlauren-pascher.fr/
http://www.louboutin-pas-chere.fr/
http://www.sac-michaelkors-pascher.fr/
http://www.sac-burberry-pascher.fr/
http://www.lunette-oakley-pascher.fr/
http://www.lunette-rayban-pas-cher.fr/
http://www.hollister-abercrombiefitch.fr/
http://www.sachermes.fr/
http://www.vanspas-cher.fr/
http://www.timberland-paschere.fr/
http://www.newbalancesoldes.fr/
http://www.converse-pas-cher.fr/
http://www.the-north-face.fr/
http://www.niketnrequin-pascher.fr/
http://www.polo-lacoste-pascher.fr/
http://www.nikeblazerpaschere.fr/
http://www.nikeair-force.fr/
http://www.sac-guesspascher.fr/
http://www.sac-vanessa-bruno.fr/
http://www.scarpehogan--outlet.it/
http://www.rayban-sunglasses.me.uk/
http://www.michaelkorshandbags-uk.org.uk/
http://www.michaelkors-outlet-canada.ca/
http://www.michael--korsoutlet.ca/
http://www.lululemon-outlet-canada.ca/
http://www.hollistersale.org.uk/
http://www.thenorth--face.co.uk/
http://www.mulberryhandbagsoutlet.co.uk/
http://www.ralphlauren-outlet.co.uk/
http://www.nike--airmax.co.uk/
http://www.nikeairmax.org.uk/
http://www.nike-free-run.org.uk/
http://www.abercrombie-and-fitch.org.uk/
http://www.nike-roshe-run.org.uk/
http://www.nike-trainers.org.uk/
http://www.nike-air-huarache.co.uk/
http://www.longchampbags.org.uk/
http://www.hollister-abercrombie.es/
http://www.vans-shoes-outlet.com/
http://www.nikerosherun.net/
http://www.maccosmeticsoutlet.us/
http://www.abercrombie-andfitch.us.com/
http://www.hermesbirkinbags.com.co/
http://www.the-northfaceoutlet.us.com/
http://www.the-north-face.in.net/
http://www.newbalance-shoes.in.net/
http://www.reebok-outlet.in.net/
http://www.lululemonoutlets.in.net/
http://www.cheap-nfljersey.in.net/
http://www.cheap-wedding-dresses.org/
http://www.beatsbydrdreheadphones.in.net/
http://www.montblanc-pens.us.com/
http://www.ferragamo-shoes.net/
http://www.giuseppe-zanotti.in.net/
http://www.instylerionicstyler.us.com/
http://www.babyliss.in.net/
http://www.mcm-handbags.net/
http://www.chiflatiron.cn.com/
http://www.insanityworkout.in.net/
http://www.ghdhair-straighteners.org.uk/
http://www.bottegaveneta-handbagsoutlet.com/
http://www.valentino-shoes.us.com/
http://www.herveleger.us/
http://www.asicso.com/
http://www.soccer--shoes.net/
http://www.soccerjerseys.com.co/
http://www.celine-handbags.org/
http://www.p90x3workout.us.com/
http://www.jimmychoo-shoes.us.com/
http://www.hollister-clothingstore.us.com/
http://www.nike-airmax.nl/
http://www.baseball-bats.us/
http://www.iphone-cases.us.com/
http://www.ipadcases.us.com/
http://www.iphone6scases.us.com/
http://www.iphone6spluscases.us.com/
http://www.iphone6cases.us.com/
http://www.iphone6pluscases.in.net/
http://www.iphone5scases.us.com/
http://www.samsunggalaxys6cases.us.com/
http://www.timberland-boots.us/
http://www.occhiali-oakley.it/
http://www.christian--louboutin.it/
http://www.ralphlauren-outlet.it/
http://www.abercrombiehollister.it/
http://www.nikeair-max.it/
http://www.vansscarpe.it/
http://www.converse-allstar.it/
http://www.borse--gucci.it/
http://www.rayban--occhiali.it/
http://www.converse--shoes.com/
http://www.saclancelpascher.fr/
http://www.toms--shoes.net/
http://www.montrespas-cher.fr/
http://www.karenmillen.me.uk/
http://www.supra--shoes.com/
http://www.juicycoutureoutlet.jp.net/
http://www.juicycoutureoutlet.com.co/
http://www.marcjacobs.us.org/
http://www.cheapweddingdresses.org.uk/
http://www.replica--watches.co.uk/
http://www.hollister--canada.ca/
http://www.pandora-jewelry.us.com/
http://www.pandorajewelrys.us.com/
http://www.pandora--charms.in.net/
http://www.pandora--charms.org.uk/
http://www.linksoflondon.me.uk/
http://www.thomas-sabo-uk.org.uk/
http://www.swarovski-jewelry.in.net/
http://www.swarovski.me.uk/
http://www.bottesugg-pas-cher.fr/
http://www.ugg-pas-cher.fr/
http://www.ugg-boots-uggs.co.uk/
http://www.ugg--australia.it/
http://www.uggs-canada.ca/
http://www.louisvuittonpas-cher.fr/
http://www.louisvuitton-sac.fr/
http://www.louis-vuitton-handbags.org.uk/
http://www.louis-vuitton.ca/
http://www.borse-louis-vuitton.it/
http://coachofficialsite.blog.com/
http://www.canadagoose.net.co/
http://www.canada-goose-jackets.us.com/
http://www.canada-goose-outlet.us.com/
http://www.canadagoose--jackets.ca/
http://www.canadagoose-paschere.fr/
http://www.canada-goose.me.uk/
http://www.moncler.org.uk/
http://www.moncleroutlet.com.co/
http://www.monclerjackets.us.org/
http://www.doudoune-monclerpascher.fr/
http://www.barbour-jackets.org.uk/
http://www.moncler--outlet.it/
http://www.canada--goose.se/
http://www.moncleronline-shop.de/
http://www.moncler.org.es/
http://www.moncler.co.nl/
http://www.canadagooses.co.nl/
http://www.barbour.us.org/
http://www.oakleys-glasses.us.com/
http://www.michael-kors-outlet.us.org/
http://www.michaelkorsoutletonline-sale.us.com/
chenyan#
http://www.oakleysunglassesb.us.com/
http://www.oakleysunglass.us.com/
http://www.oakleysunglasses.qc.com/
http://www.rayban-sunglasses.net.co/
http://www.raybansunglasses.qc.com/
http://www.ray-banoutlet.name/
http://www.polo--ralphlauren.net/
http://www.ralphlauren-outlet.in.net/
http://www.burberryoutletonline.org/
http://www.burberry-outlet-sale.us.com/
http://www.toms-shoes.us.org/
http://www.tomsoutlet.com.co/
http://www.michaelkorsoutlet-mk.eu.com/
http://www.michaelkorsoutlet.in.net/
http://www.christian--louboutin.net/
http://www.tory--burch.org/
http://www.toryburch-outlet.net/
http://www.gucci--outlet.org/
http://www.guccihandbag.in.net/
http://www.cheap-jordan-shoes.net/
http://www.air-jordan.in.net/
http://www.cheap-jordans.in.net/
http://www.jordansretro.in.net/
http://www.nikeshoesinc.net/
http://www.nike-shoes.in.net/
http://www.air-max-2015.net/
http://www.airmax-90.in.net/
http://www.airmax-95.in.net/
http://www.nike-free-run.net/
http://www.nikefree-5.com/
http://www.chanel--handbags.net/
http://www.chanelbags-outlet.us/
http://www.true-religion.cc/
http://www.north-faceoutlet.in.net/
http://www.coach-outlet-store.in.net/
http://www.abercrombie.ar.com/
http://www.hollister.cn.com/
http://www.hermes.us.org/
http://www.new-balanceoutlet.net/
http://www.reebok-shoes.net/
http://www.lululemon.com.co/
http://www.yogapants.eu.com/
http://www.rolex--replica.us/
http://www.omega--watches.us.com/
http://www.wedding--dresses.net/
http://www.montblancpens.in.net/
http://www.insanityworkout.us.org/
http://www.nike-mercurial.org/
http://www.jimmy--choo.us/
http://www.uggboots.mex.com/
http://www.uggs--outlet.net/
http://www.nike-rosherun.net/
http://www.roshe--run.com/
http://www.nikeroshe.net/
http://www.tiffany-andco.net/
http://www.vans--shoes.com/
http://www.timberland--boots.com/
http://www.beatsheadphones.in.net/
http://www.salvatoreferragamo-shoes.com/
http://www.cheap--jerseys.us.com/
http://www.cheapnfl-jerseys.us.com/
http://www.jerseysfrom-china.us.com/
http://www.mizunowave.net/
http://www.mizunorunning-shoes.com/
http://www.basketball--shoes.net/
http://www.cheapey-eglasses.in.net/
http://www.tommyhilfiger.us.org/
http://www.tommyhilfigeroutlet.net/
http://www.ed-hardy.in.net/
http://www.levisjeans.org/
http://www.bcbgmax.in.net/
http://www.balenciaga.in.net/
http://www.marcjacobs-handbags.in.net/
http://www.chaussureslouboutin-soldes.fr/
http://www.sac-michael-kors.fr/
http://www.nikeblazer1.fr/
http://www.nikeairforce-1.fr/
http://www.michaelkorsukpurse.co.uk/
http://www.michael-kors-canada.ca/
http://www.burberryuk.co.uk/
http://www.timberlandboot.org.uk/
http://www.oakley--sunglasses.co.uk/
http://www.louboutinshoes.org.uk/
http://www.air-jordans.co.uk/
http://www.chanel-handbags.uk/
http://www.katespade-uk.org.uk/
http://www.truereligion-jeans.co.uk/
http://www.newbalance-trainers.co.uk/
http://www.conversesale.org.uk/
http://www.lululemon.me.uk/
http://www.beats-by-dre.co.uk/
http://www.macmakeupuk.co.uk/
http://www.maccosmetics-uk.co.uk/
http://www.adidas-trainersuk.co.uk/
http://www.gucciuk.uk/
http://www.fitflop.me.uk/
http://www.adidasoriginals.org.uk/
http://www.hermes.org.uk/
http://www.pandorauk.co.uk/
http://www.rolex--watches.co.uk/
http://www.omegawatches.org.uk/
http://www.michael-jordan.co.uk/
http://www.michael--kors.org.uk/
http://www.weddingdresses.me.uk/
http://www.converse.org.uk/
http://www.hollister-uk.me.uk/
http://www.tiffany-and-co.org.uk/
http://www.airmax-90.co.uk/
http://www.louis--vuitton.me.uk/
http://www.mulberryoutlet.me.uk/
http://www.north-face.org.uk/
http://www.timberland.org.uk/
http://www.rayban--sunglasses.org.uk/
http://www.asicstrainers.org.uk/
http://www.prada.me.uk/
http://www.toms-shoes.org.uk/
http://www.tommy-hilfiger.org.uk/
http://www.marcjacobs.org.uk/
http://www.uggs.org.uk/
http://www.ugg--boots.org.uk/
http://www.ugg-australia.co.uk/
http://www.insanityworkout.co.uk/
http://www.nike-free-run.co.uk/
http://www.ferragamo.org.uk/
http://www.fitflops.me.uk/
http://www.nike-mercurial-superfly.co.uk/
http://www.nikestoreuk.co.uk/
http://www.guessfactorycanada.ca/
http://www.nike--store.fr/
http://www.chaussure-nike-pas-cher.fr/
http://www.adidas--superstar.fr/
http://www.adidas-zxflux.fr/
http://www.montre-femme-homme.fr/
http://www.michaeljordan.fr/
http://www.air-max-90.fr/
http://www.bracelet-pandora-bijoux.fr/
http://www.bracelet-swarovski-bijoux.fr/
http://www.sac--chanel.fr/
http://www.ralph--lauren.fr/
http://www.new-balance-femme-574.fr/
http://www.michael--kors.fr/
http://www.lunetterayban.fr/
http://www.tommy--hilfiger.fr/
http://www.lunette-oakley.fr/
http://www.ugg-australia.fr/
http://www.nike--huarache.fr/
http://www.asics-gellyte.fr/
http://www.scarpe-nike-store.it/
http://www.scarpe-adidas-superstar.it/
http://www.pandora-bracciali.it/
http://www.orologi-rolex.it/
http://www.tiffany--gioielli.it/
http://www.michael-jordan.it/
http://www.hogan-outlet-online.it/
http://www.swarovski-gioielli.it/
http://www.coco-chanel.it/
http://www.michael-kors-borse.it/
http://www.burberry-outlet-online.it/
http://www.hollister-co.it/
http://www.mac-makeup.com/
http://www.guess-factory.net/
http://www.adidasoutlet.net/
http://www.adidasshoesoutlet.com/
http://www.tods-shoes.org/
http://www.fendi.in.net/
http://www.guccibelts.us.org/
http://www.fitflopsale.net/
http://www.kobe9shoes.net/
http://www.kobebryantshoes10.com/
http://www.lebronshoes12.net/
http://www.lebron-11.net/
http://www.lebronjames-shoes.com/
http://www.kevindurant-shoes.net/
http://www.fivefingersshoes.org/
http://www.puma-shoes.org/
http://www.salomon-shoes.net/
http://www.dolce-and-gabbana.org/
http://www.dansko-shoes.org/
http://www.stuart-weitzman.org/
http://www.chicagoblackhawksjersey.org/
http://www.pittsburghsteelersjerseys.com/
http://www.redskinsjerseys.com/
http://www.denverbroncosjerseys.net/
http://www.goldenstatewarriorsjersey.org/
http://www.dallascowboysjerseys.net/
http://www.coltsjerseys.org/
http://www.giantsjersey.net/
http://www.chiefsjersey.net/
http://www.atlantafalconsjersey.net/
http://www.lakersjersey.org/
http://www.sanfrancisco49ersjerseys.org/
http://www.spursjersey.com/
http://www.chicagobullsjersey.com/
http://www.baltimoreravensjersey.com/
http://www.clevelandcavaliersjersey.net/
http://www.chicagobears-jerseys.net/
http://www.newyorkknicksjersey.org/
http://www.seahawksjerseys.us/
http://www.newenglandpatriotsjerseys.net/
http://www.arizonacardinalsjerseys.net/
http://www.manchesterunitedjerseys.us/
http://www.greenbaypackersjerseys.us/
http://www.chelseajerseys.net/
http://www.oaklandraidersjerseys.net/
http://www.neworleanssaintsjerseys.net/
http://www.clippersjerseys.net/
http://www.barcelona-jerseys.com/
http://www.bostoncelticsjersey.com/
http://www.newyorkjetsjerseys.com/
http://www.minnesotavikingsjerseys.net/
http://www.realmadridjerseys.us/
http://www.thunderjersey.com/
http://www.miamidolphinsjerseys.net/
http://www.philadelphiaeaglesjersey.com/
http://www.miamiheatjersey.net/
http://www.bengalsjerseys.us/
http://www.detroitlionsjerseys.com/
http://www.tennesseetitansjersey.net/
http://www.houstontexansjerseys.net/
http://www.carolinapanthersjerseys.us/
http://www.jaguarsjersey.net/
http://www.buccaneersjerseys.net/
http://www.buffalobillsjerseys.com/
http://www.ramsjersey.net/
http://www.chargersjerseys.com/
http://www.nba-jerseys.net/
http://www.clevelandbrownsjerseys.net/
Leave a Comment

Post Comment