May 05, 2003

Viewing Your Diary on a WAP Browser

Given the number of Symbian Devices which have a WAP Browser (ie all of them) and the number of people who will only use the WAP Browser (rather than NetFront, Opera, WebViewer or any of the other WWW Solutions), it makes good sense to have your Symbian Diary viewable on a WAP Browser. Here's how to do it.

Create a New Template

Log in to Movable Type and select "Manage Blog." On the toolbars on the left, select the "Templates" option. Choose "Create a New Template," and fill in the following options:

Template Name: WAP Index
Output File: index.wml
Tick rebuild this template...
Leave blank the "Link this template to a file" option

Cut and Paste the WAP Template

Copy this WAP Template into the Template Body, changing the first paragraph text and the bottom "home" link to reflect your Symbian Diary

Rebuild

Now rebuild your site, and the link www.symbiandiaries.com/YOURSITE/index.wml will be your Symbian Diary through WAP.

Why We Use The Excerpt option

We don't use the Entry Body or Extended Entry text in our WAP page, because WAP is very specific in how it uses text and it would be very easy for loose tags to stop your WAP Index working. The way to get around this is to use the Excerpt function of Moveable Type.

This allows you to either have an alternate short entry in the Exceprt dialog (when you write the entry) or to take the first X words of an Entry and use these as the content in the WAP page. Initially this X equals 20 words, but to get a decent length of entry displaying, it is recommended you increase this to 1500-200 words.

Things to Look At

At the moment we're still working out how to view comments and add comments from a WAP browser. When we work this out, we'll let you know.

Links

WAP Template

Posted by Ewan at May 5, 2003 08:00 PM
Comments
Nice, just made wap pages for my self :D Posted by: JyriK on May 6, 2003 10:37 PM
I created my own wml template a few months ago. One of the things you have to be aware of is the amount of data most WAP devices can hold. My phone is a Nokia 7160 and on average it times out with anything over two entries. In fact due to the page size requirements I ended up making four wml pages/decks. One as a main index, one for the first entry, one for the second entry, and one for the past 3 comments. Link to my WAP site: http://loneaggie.10500bc.org/index.wml Link to description: http://www.10500bc.org/loneaggie/archives/2003_05.html#005185 Posted by: LoneAggie on June 21, 2003 11:10 AM
When I attempt to follow the tutorial, the result is my web browser attempting to download a file with the title of my blog followed by '[1]'. On my mobile, it simply fails to do anything at all. What am I doing wrong? Posted by: Patch on December 12, 2003 05:17 PM
I want to know names of web-browsers for Symbian OS and Palm OS which support WAP/WML Posted by: Chirag Bodar on December 13, 2003 09:41 AM
Post a comment