Slashdot Mirror


Vodafone Move Invites Web Development Chaos

hoagiecat writes "Web developers want mobile phone users to be able to access their sites, but mobile browsers generally choke on heavyweight HTML put together for traditional Web browsers. A host of services have sprung up that allow two sites — one for mobile users, one for PC users — to coexist at the same URL, with the browser's user agent string distinguishing between the two. Vodafone has come at the problem from the other end, offering a new service that translates traditional Web pages into mobile-friendly ones on the fly — but it strips out the user agent in the process, breaking sites designed around the other strategy. And Web developers are mad. Will similar moves by other carriers disrupt this nascent Web development ecosystem?"

9 of 192 comments (clear)

  1. Re:User-Agent = breakage by hedleyroos · · Score: 5, Interesting

    I have to disagree. I use Plone as a development framework for both "normal" web sites and WAP sites. The user agents are really useful to determine which mobile device is performing the request. This in turn enables me to, say, scale images to an optimal width server side. It saves a lot of bandwidth and makes full use of a larger screen.

    I clean the ua's and apply a Jaro Winkler similarity algorithm. This approach results in a 90% successful match, and in the cases where the match is incorrect it return a sibling phone.

    As far as the mobile world is concerned UA's are great.

  2. It also breaks the Accept header by Not+Invented+Here · · Score: 2, Interesting

    It also hides the original Accept header, and presents a different list of MIME types. To make the problem even worse, it then refuses to pass across files that the phone would be perfectly capable of accepting. For an in-house site I work on, it broke our ability to deliver compiled WMLScript (application/vnd.wap.wmlscriptc) to phones that are perfectly capable of executing the scripts.

  3. Revenue stream by myxiplx · · Score: 3, Interesting

    Hmm... I wonder how this fits in with Vodafone's charging.

    By breaking the functionality that allows operators to display the mobile optimised pages, they are forcing people to download more content. Even if they only charge for the amount transmitted to the mobile after they've processed it, that's still likely to be significantly more data than people would have had with the optimised pages. And if they charge for the size of the original page (and I wouldn't put it past them), they really are ripping people off.

    Either way, I would not be happy with this change if I was on a limited data tarrif.

  4. User-Agent not reliable anyway by DamonHD · · Score: 2, Interesting

    That's why I set up my .mobi site alongside my main one, to present a more appropriate (read: smaller, faster, search box at the bottom) view for mobile browsers. I don't have to guess or translate anything and nore does Vodafone: for this URL I generate .mobi-compliant XHTML straight off.

    Other than V managing to content block me from one of my own sites in Australia for a while (even though I have content blocking turned off and there's nothing dodgy about the site) their service seems to work quite well. I don't like stuff being redirected via a 'transparent' proxy, but maybe I could use SSL to prevent that if I really cared I guess.

    Rgds

    Damon

    --
    http://m.earth.org.uk/
  5. Re:User-Agent = breakage by cs02rm0 · · Score: 2, Interesting

    Please, just offer a different site. It's annoying as hell when you then can't browse to the version of the site you want to because of someone else's whim.

    Otherwise you're just restricting access to a site someone's specifically navigated to. Offering a second site provides all the benefits you mention of image scaling, etc. without this downside. I'm sick of having to change user agent strings just to view websites.

  6. Re:User-Agent = breakage by Rob+T+Firefly · · Score: 2, Interesting

    Most of the time, thanks to a combination of the User Agent Switcher and boredom, I'm usually seen from the other end to be browsing on a Commodore 64, a GE washing machine, or a potato with wires stuck into it.

  7. Re:Isn't the real problem... by dominux · · Score: 3, Interesting

    There's very little content that's appropriate for both a 2560x1200 screen and a 120x160 phone display...
    how about maps.google.com?
  8. Re:Neat! Can I access the cell-page with a compute by Kasracer · · Score: 2, Interesting

    Well, EDGE and EV-DO are more than capable of downloading large files quickly but... why is your website heavy in regards to file size in the first place? The layout of your website should NEVER be heavy (even highly complex layouts can be done without going above 100KB even with lots of graphics) so this isn't an issue.
    If you're using large images for products (which should be the only items that take up more than 30KB per image), then why would you want it smaller anyway? I would rather the full version especially since if I'm loading it that means I want to look at it.

    It seems everyone is missing the big picture. Relying on User Agent strings for ANYTHING is like adding concrete to a bridge that's falling apart. If you don't fix it and fix it the correct way, you're going to have tons of patches and eventually the whole thing is going to just fall. The services that make file sizes smaller are also quick fixes that don't really resolve anything and just allows web developers to become more sloppy.

    I've been building web sites for over 10 years now and there is no reason you can't have a really complex and graphical website the size of Slashdot or CNN and have the entire page be under 100-150kb. Compression and file formats have come a long way and knowing when to use which one is key.

  9. Branching based on User-Agent is a BAD IDEA by Anonymous Coward · · Score: 1, Interesting

    A host of services have sprung up that allow two sites -- one for mobile users, one for PC users -- to coexist at the same URL, with the browser's user agent string distinguishing between the two.
    Man, I can't believe the article summary let that one slip without harsh criticism!

    If history has shown us anything, it's that the vast majority of "web developers" cannot be trusted with checking the User-Agent header. How many times have those of us who use non-mainstream browsers or platforms seen websites choke because some moron is doing this incorrectly?

    Example: My bank's website works with Firefox on Windows and Linux and Mac, but not on any other platform Firefox runs on (like BSD or Solaris). Why? They've hard coded a few Firefox user-agents into their scripts. Result? To check my bank statement I have to find the nearest Win/Linux/Mac box.