Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

how to convert html to wml

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to convert HTML to WML?
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • Quote
  • Report post to moderator
oops, that should have been www.google.com/options/wireless.html
 
Poop goes in a willow feeder. Wipe with this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic