September 2004 Archives

WAP Support

| 1 Comment

I added WAP support to AnalogousMember today. I followed a tutorial at Building a Better Wap Diary with the following exceptions:

  • I edited the link in the index template to the archive files to point to archives/wap/ folder. The link is now:

    <a href="<$MTBlogArchiveURL$>wap/<$MTEntryID pad="1"$>.wml">Read This Entry...</a>

  • The individual archive files are being saved to a wap/ folder which requires you to enter

    "wap/<$MTEntryID pad="1"$>.wml"

    for the archive filename

  • I added the following to my .htaccess file so WAP browsers will automatically be served the proper content:

    RewriteCond %{HTTP_ACCEPT} text/vnd.wap.wml
    RewriteRule ^$ /index.wml

  • Removed the hardcoded link to symbiandiares.com from the archive template and replaced it with <$MTBlogURL$>.

If you want to see this in action without using your phone, goto WapTiger WAP Emulator for a conventional browser based WAP emulator. Just enter http://www.analogousmember.com/ for the URL.

About this Archive

This page is an archive of entries from September 2004 listed from newest to oldest.

August 2004 is the previous archive.

October 2004 is the next archive.

Find recent content on the main index or look in the archives to find all content.