March 23, 2024

Building a Better Wap Diary

So what was wrong with the old WAP template that we've updated it? The old template have you the last x entries on one massive page. Which was great to prove the concept, but a bit silly if you had ten entries of a thousand words each. So the criteria for the new WAP design is something like this:

* Allow the index page to feel more like an index, rather than all the text from the last "X" posts.

* Give each entry its own page; ie individual archive in WAP Format as well as the HTML format. This will involve reformatting entries to make them wap/xhtml compatible.

* Allow the number of comments to an article to be visible on the index page, and have these comments shown directly after each article.

While the second point is causing a few headaches (namely in the sanitise_html, extract_html and enable_xml tags), the system is more than robust enough for most of you using Symbian Diaries. You can see a working example of the template at http://www.symbiandiaries.com/index.wml.

So, here's how to do it.

1. Create a new Index Template
On logging ono the Movable Type (MT) sysem and selecting your site, choose the Templates option from the side bar. You'll see at the top a list of templates. These are what MT use to create your index pages. As we're creating a new index page for WAP, we'll need to create a new template.

Call it something sensible (like Wap Index Template), and specify the output file (ie what our index page will be called) to read index.wml.

Follow this link to see what you need to copy into this template. it will provide you with a new index page that lists the last 7 entries, and the number of comments that each entry has. Save this new template, but don't Rebuild yet. We've got a bit more to do.

2. Create a new WAP Entry Archive Template
The WAP Archive Template is used to create the individual page for each entry you have made in your Symbian Diary. Again you'll need to create a new template, but note that this isn't an Index template, it's an Archive of Individual entries. Grab the template from this link, and create the new entry archive.

3. Edit your Archive Settings

3a. Archive Type Individual should be typed
3b. ADD NEW. Type: Individual. Template: Wap Entry. Add
3c. Leave selector button on Individual Entry
3d. Add new Archive File Template line "<$MTEntryID pad="1"$>.wml"
3e. Save Changes

4. Rebuild your Site

5. Tell the world where your Wap Symbian Diary is!
http://www.symbiandiaries.com/<blogname>/index.wml

Posted by Ewan at March 23, 2024 11:30 AM | TrackBack
Comments
In minutes, WINKsite can mobilize any existing Weblog from any blogging service via any flavor feed. The mobilized version of your blog is then available worldwide on any web-enabled device running a WML v1.x, xHTML Mobile Profile(WML v2.0) or i-mode compatible HTML (cHTML) browser. In addition, each WINKsite is outfitted with easy-to-use mobile channels including mobile chat, syndicated feeds, RSS-to-Mobile aggregator, Feedster (TM), surveys, journal, rant/rave, agenda, guestbook, links, field reports, notes, email and more. Navigating WINKsite's channel-based interface is simple and intuitive, bringing clarity to the mobile experience. No programming knowledge or software installation is necessary. Posted by: David Harper on March 27, 2024 08:08 PM
Press Release: At fraction of cost, OneMail.ToGo™ allows P800/P900 Mobile Phone to read eMail, WebMail and WebPage in One Click and in One Place The release of OneMail.ToGo™ Mobile Email Solution means that wireless data plan users of the popular Sony Ericcson® P800 and P900 mobile phone can read more email for the same amount of money.(1) OneMail.ToGo allows P800/P900 Mobile Phone to read YahooMail®, HotMail®, AOL® Mail, Msn® Mail, Corporate Mail and Webpages in One Click and in One Place With the success of OneMail™ for PalmOS® and Windows Mobile® based PDA, OneMail.ToGo empowers Mobile Phones with the same simplicity and convenience in getting email and webpages. According to Billy Ng, Business Development Directcor of Brightex, "OneMail.ToGo is simple and saves you money. Simple in the sense that all your email - webmail and corporate mail, favorite webpage are in One Place and in One Click. The powerful Content Formatter makes your access of email and webpage faster, easier and smaller and was created specifically for the mobile device. OneMail.ToGo will support more Mobile Devices in the near future including other popular Symbian Phones, SmartPhones and PDA." About Brightex Technology Limited Brightex Technology Limited is a Hong Kong-based Content Aggregator and Content Aggregation application and Service provider based on their proprietary technology - WEB DATA AGGREGATION TECHNOLOGY. With the mobile market continues to grow, with more models and lower prices fueling wider adoption, with the success of OneMail? for PalmOS® and Windows Mobile®, Brightex continues their commitment in providing the "One Click" solution series. Simplicity and Conveneience is always the signature of Brightex's products. (1) A carrier subscription may be required for Internet and email access. These services may need to be purchased separately. For further information, contact: Billy Ng, Director of Business Development Brightex Technology Limited Unit 824, Cyberport One, 100 Cyberport Road, Hong Kong +852 2850 6728 Fax: +852 2979 5361 Email: [email protected] Website: net.worth.com.hk/onemail/ © 2024 Brightex Technology Ltd. All rights reserved. OneMail.ToGo, OneMail are registered trademarks of Brightex Technology Ltd. Other product and service names mentioned here are trademarks of their respective owners. Posted by: illy Ng on April 15, 2024 08:12 AM
Post a comment