From alext.hawk at googlemail.com Wed Dec 24 14:22:16 2008 From: alext.hawk at googlemail.com (Alex Tanner) Date: Wed, 24 Dec 2008 22:22:16 +0000 Subject: [Xhtmlmp] Support for compiled WML (.wmlc) files Message-ID: <1230157336.28717.7.camel@localhost> Gareth Will you ever add support for compiled WML files uin XHTML-MP? Some WAP sites generate compiled WML pages (example below - Emacs format)? ^A^Dj^Nwap.o2.co.uk/^@^?,U^Cindex^@6^CSuccess^@^A`^CThanks for entering Santa's Sack. We will contact you if you're a lucky winner. Good luck. ^@&&K^Cwap.o2.co.uk/ndm/navigator/winwitho2^@^A^CWin with O2^@^A&^C--------------^@&K<83>^@^A^CO2 Home^@^A&K^Cwap.o2.co.uk/yahooo2servicescluster^@^A^CSearch^@^A&K^Cwap.o2.co.uk/ndm/navigator/MyShortcuts^@^A^CMy 10^@^A^A`8^X^CO2^@^A K<83>^@^A^AF^X^CDone^@^A2^A^A^A^A When decompiled using "wmld" from the "wml-tools" package, the following WML code is output, which can then be fed back into a Gecko-based browser by dragging the output file into the browser window: -

Thanks for entering Santa's Sack. We will contact you if you're a lucky winner. Good luck.

Win with O2
--------------
O2 Home
Search
My 10

The only problem is that XHTML-MP doesn't recognise the compiled WML, which triggers the browser's "view or save" dialog. So then you have to download the file, decompile it, then load it back in the browser (which isn't possible if viewing the page required a session cookie). Decompilation of WMLC on the fly would save a lot of time...