wml

Planning and Building a mobile enabled site for your main site.

We are in the initial planning stages of building out a mobile site for one of our clients. This mobile site will be in addition to the main site that we have already built for them. We've determined that the content is going to be a small subsection of the main site and will target the main audience that is expected to use the site. ...

Internal hyperlinks in a MMS

Hi everyone ! Is it possible to put an internal hypertext link (or anchor) inside a MMS. I wan't to offer a user of a MMS service to choose between serveral links and make his way insde the MMS. Any idea how it is possible ? Thanx. ...

Wml problem

I am a newbie in Wap/Wml. I have to develop a certain portion of existing php/mysql website so that people can access certain information from their mobile phone. I have the following doubts: 1) In which language should I deveop this mobile portion? I am guessing WML. But if I develop it in WML, will it wok in all mobiles? 2) I don't o...

With modern mobile devices, is it best to use WML or HTML?

With today's modern mobile phones, is it still worth programming the mobile version of your site in WML? Most mobile browsers even a few years old can manage to do okay in regular HTML. With WML, you are obviously given more control over what is displayed and what isn't with less fear of it not working on a particular device, but today,...

What's the best way to add a URL parameter to switch views with Zend Framework?

Hi, I'm developing a mobile site using Zend framework, and the site has two possible output formats (WML and XHTML). I'm using the same models and controllers, and then just setting which view to render with in the controller. At the moment, this is decided on by the HTTP Accept header. This needs to be definable in the URL as well. The...

WML expected whitespace error

I am transforming an XML file to WML using XSLT. Everything is fine until I try to open the WML in M3Gate. It gives the error "Bad WML syntax. 'Fatal Error. Ln 1, Col 38 Expected whitespace'." Here is the offending code. However, I've tried moving things around and it gives the same error. <?xml version="1.0" encoding="UTF-16"?> ...

WML-like solution for iPhone

We are developing a web application that should be accessible from a mobile phone. It involves a simple text-only tree catalog. To avoid extra round-trips to the server to expand the tree items as you click on them, I decided to use WML. It allows preloading multiple <card>'s in one document and fast browsing between these <card>'s. ...

Make a site automatically choose between the WAP or normal version?

I have a website with the following files in the root folder: index.wml index.php How do I get it to open index.php if you are accessing via non-wap browsers, but open index.wml automatically when it is a wap browser. I suspect something must go in the .htaccess file? ...

Testing WML on mobile browsers

I am developing a mobile web application which is implemented in WML (to minimize roundtrips to the server). I've tested the application on the following browsers: IE for Windows Mobile 5 IE for Windows Mobile 6 Opera Mobile Nokia Series 40 web browser Nokia Series 60 web browser NetFront (for Symbian) NetFront (for Sony Ericsson) Net...

asp.net mvc keeps overriding text/html content-type with .wml

I'm developing an website which is to be viewed on mobile (cellphone) devices. I'm just using plain HTML 4.01, nothing special at all. The pages render fine on all the mobile browsers we've tested, except for Nokia Series 40 1-5th editions. On closer inspection, it seems that IIS is automatically rendering the html with the content-type ...

Embedding GSM cellids in Short Messages

I'm using the WML function "providelocalinfo" to put location information into Short Messages send via a WIB menu on a GSM handset. I'm using the WIG WML v.4 Spec from SmartTrust. The relevant section is "9.4 providelocalinfo Element" I use the code as in the example, and then transmit the variable via SMS, and use Kannel to retrieve t...

Conditional XSLT transformation in PHP

I have a piece of XML data which I need to transform into WML. It's something like this: <root> <category name="music"/> <subcategory name="classic"/> <subcategory name="rock"/> <subcategory name="Techno"/> <node type="music" subtype="classic" name="beethoven"/> <node type="music" subtype="classic" name="chopin"/> <recor...

Parsing WML on the iPhone

I have a WML based source of data which I need to parse in an iPhone app. What would be the easiest way to achieve this? I'm currently looking into the various XML libraries available on the iPhone but would appreciate a nudge in the right direction. Currently playing around with ElementParser, it seems that WML isn't close enough to ...

Is it possible to test a WAP site without using a mobile phone?

I was wondering if it was possible to do this via a browser or an emulator. When I try it from my browser I get "Unknown file type text/vnd.wap.wml" Thanks Shiraz ...

Implementing a WAP site using ASP.NET-MVC

We plan on implementing a WAP site using ASP.NET-MVC. Has anyone any experiance of this? Are there any Gotchas? We will also be implementing a "standard" web site for browsers. Would it be possible to have a single set of Models and Controllers, and just have seperate views for each site? ...

Testing WML documents without Nokia

Are there any testing platforms out there for testing WAP/WML pages besides that provided by Nokia? I have tried to get ahold of the Nokia Mobile Internet Toolkit but it's too tied down with authentication and certificates etc. Nokia software is like Adobe and......sucks. ...

How would I identify if a website originates from a mobile browser?

Is developing a website for a cellphone a totally different world? How would I detect whether a page is visited from computer or from a cellphone? I ask this because I see code like below: if (isset($_SERVER['HTTP_ACCEPT']) && (strpos($_SERVER['HTTP_ACCEPT'],'vnd.wap.wml')!==FALSE) && (strpos($_SERVER['HTTP_ACCEPT'],'text ml') === FAL...

how to rest my app to support mobile phone

I am now going to develop a mobile website both support common html format page and wml format page(Because now a usual web browser on mobile can view html page and some old mobiles only support wml ) First step: register content type for wml page config/initializers/mime_types.rb Mime::Type.register_alias "text/vnd.wap.wml", :wml Sec...

Openwave v7 on Sony Ericsson S312 redirect problem

I had a web mobile application that require user to redirect from one page to another. But on openwave 7, the phone always asking for user permission. This not happen on openwave v6. I already install trial certificate on server and accessed using https, but it not solve the problem. Has anyone ever had similar problem? ...

Making apache 2.2.11 parse .wml files as PHP?

I've tried a variety of combinations, the following being my last attempt: Addtype text/vnd.wap.wml wml Addtype image/vnd.wap.wbmp wbmp AddType text/vnd.wap.wmlscript wmls AddType application/vnd.wap.wmlc wmlc AddType application/vnd.wap.wmlscriptc wmlsc AddType application/x-httpd-php .wml How can I get stupid Apache 2.2.11 to parse...