Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to convert html to wml

 
Dorj Galaa
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to convert HTML to WML?
 
chanoch wiggers
Author
Ranch Hand
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
 
Kyle Brown
author
Ranch Hand
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.
 
Richard Scothern
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic