From gareth-hunt at rocketmail.com Sat Jan 10 16:51:52 2009 From: gareth-hunt at rocketmail.com (Gareth Hunt) Date: Sat, 10 Jan 2009 16:51:52 -0800 (PST) Subject: [Xhtmlmp] Support for compiled WML (.wmlc) files References: <1230157336.28717.7.camel@localhost> Message-ID: <388380.43245.qm@web30402.mail.mud.yahoo.com> Hi Alex, I have no plans to support WML in any form as there is already a wmlbrowser addon: http://wmlbrowser.mozdev.org/ Cheers, Gareth Hunt gareth-hunt at rocketmail.com ----- Original Message ---- From: Alex Tanner To: xhtmlmp at mozdev.org Sent: Wednesday, 24 December, 2008 14:22:16 Subject: [Xhtmlmp] Support for compiled WML (.wmlc) files 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... _______________________________________________ Xhtmlmp mailing list Xhtmlmp at mozdev.org https://www.mozdev.org/mailman/listinfo/xhtmlmp