• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

how to convert html to wml

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to convert HTML to WML?
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont know of any automatic way to do this - you might need to learn WML first and then you will see the problem. HTML documents are typically not sufficiently terse to automatically convert them to WML.
You need to begin by finding the most important information in your HTML page and grabbing that out, before converting the page to WML.
------------------
Chanoch Wiggers
Architect for Professional Java Mobile Programming
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, WebSphere Transcoding Publisher will automatically convert HTML to WML (how good of a job it does -- well, that's up to you and how you coded the HTML...). It does this through the use of XSL transformations. It also handles the bridging so that requests from WAP are routed in the right way and that the translation occurs in the right places.
You can read about WTP here:
http://www-3.ibm.com/software/webservers/transcoding/

Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the best way to do this is with XSL, bear in mind that your HTML has to be converted to XHTML first, so be sure to use JTidy or something else which has this as a option.
Google has an HTML to WML translation. www.google.com/wireless
Argogroup produces a WAP tool that will load an HTML file and save it as WML. www.argrogroup.com, look for WAPTool.
Richard
 
Richard Scothern
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oops, that should have been www.google.com/options/wireless.html
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic