• Feeds

    Subscribe in a reader

  • Ads

Brian Jepson on WAP Web Services

This guys pretty cool. He's using his cell phone to control is power point presentation(via bluetooth?). That's pretty sweet.

Goal: build a cell-phone blog reader using WAP and WML (Vargas would be very interestedin this talk -- he's got the same phone as the presenter. Maybe it's a Brian thing?

Demo'd using Etherereal on OSX to capture WAP conversations between the Ericson emulatorand the google WAP gateway.

Interesting thing about WAP: phone sends request to WAP gateway. Gateway translatesWAP to HTTP request. Gateway parses response into WML and sends response back thephone.

WML is not compressed, but it is tokenized. It has a small set of XML tags, each ofwhich has a hexadecimal token representation that minimizes the about of data thatmust be sent to the requestor and the amount of resources the requestor needs to parsethe response.

Solution: rss2wml.cgi: script that uses regex's to parse RSS and turn it into WML.
Code at http://www.jepstone.net/devcon

RSS parser for C#: http://rss-net.sourceforge.net

That's pretty cool. Once RSS was converted to WML, it's straightforward to convertother information (obtained via web services) in to WML using the same idea.

Now, it's lunchtime.