I want my users to be able to read the pages via wap phone. Is this somehow possible? I believe it would require to translate nodes' content's HTML to WML. Has someone done something like this before?

Is there somewhere a list and description of third-party modules?

Comments

m_freeman2004’s picture

Hi,

I was wondering if there had been any progress on this issue yet? Has the advent of 3G technology has made this more possible? Just wondering...

Marcus.

Steven’s picture

You could create a WML theme, but even if you override every themable function in Drupal, you'd still get HTML from unthemable parts and user-submissions.

I think the best bet is to use a base WML theme, coupled with an HTML to WML converter. Drupal's output is mostly semantic, so if you strip out all non-semantic tags you should get something workable.

killes@www.drop.org’s picture

Shouldn't a very light weight html theme also be ok for mobile browsers?
--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.

Shiny’s picture

i began work on a wap/mobile versions, that appears as a module, and overrides all themes.. i called the module "mobile".

if your browser doesn't send accept html or xhtml, but it does send accept wml, then you get wml, otherwise it's xhtml-mp.

it detects paragraphs, imgs and divs, and translates those to wml equivs if possible, and strips tags it doesn't recognise.

however, i gotta modulise, and use more hooks before i submit it.

http://brenda.ohagan.net.nz/mobile

shadyman@erroraccessdenied.com’s picture

Wouldn't it be easier to use XHTML? (WAP 2.0)
!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"

See http://www.upoc.com/wap/index.jsp for an example of a WAP page.

What about a filter that would make user submissions XHTML valid? Basically, put the / at the end of the img tags, br tags, etc