|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
No support for WMLC mimetype or filesUsing Wmlbrowser 0.7.20 and Iceweasel with UA String: "Mozilla/5.0
(X11; U; Linux x86_64; en-GB; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)" , there is no support for the "compiled WML" (wmlc) file or mimetype. Some WAP sites generate compiled WML pages, for example the code below - using "Emacs" control chars) - that was generated from a PHP script: - ^A^Dj^Nwap.o2.co.uk/^@^?,<E7>U^Cindex^@6^CSuccess^@^A`^CThanks for entering Santa's Sack. We will contact you if you're a lucky winner. Good luck. ^@&&<DC>K^Cwap.o2.co.uk/ndm/navigator/winwitho2^@^A^CWin with O2^@^A&^C--------------^@&<DC>K<83>^@^A^CO2 Home^@^A&<DC>K^Cwap.o2.co.uk/yahooo2servicescluster^@^A^CSearch^@^A&<DC>K^Cwap.o2.co.uk/ndm/navigator/MyShortcuts^@^A^CMy 10^@^A^A`<E8>8^X^CO2^@^A <AB>K<83>^@^A^A<E8>F^X^CDone^@^A2^A^A^A^A When trying to open the above page, Wmlbrowser didn't recognise the format, so the browser's open/save dialog popped up instead of the page. Saving the above code with a ".wml" extension and dragging into the browser window produces the following output "XML Parsing Error: not well-formed Location: file:///home/alex/Desktop/quizentry.wml Line Number 13, Column 45". When the above code is decompiled using the "wmld" Linux application, the below WML page is produced, which can then be loaded and displayed correctly by Wmlbrowser: - <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <head/> <card id="index" title="Success"> <p> Thanks for entering Santa's Sack. We will contact you if you're a lucky winner. Good luck. <br/> <br/> <a href="http://wap.o2.co.uk/ndm/navigator/winwitho2"> Win with O2 </a> <br/> -------------- <br/> <a href="http://wap.o2.co.uk/"> O2 Home </a> <br/> <a href="http://wap.o2.co.uk/yahooo2servicescluster"> Search </a> <br/> <a href="http://wap.o2.co.uk/ndm/navigator/MyShortcuts"> My 10 </a> </p> <p> <do type="accept" label="O2"> <go href="http://wap.o2.co.uk/"/> </do> <do type="prev" label="Done"> <prev/> </do> </p> </card> </wml> Will support for WMLC ever be added to the Wmlbrowser plugin? _______________________________________________ Wmlbrowser mailing list Wmlbrowser@... https://www.mozdev.org/mailman/listinfo/wmlbrowser |
|
|
Re: No support for WMLC mimetype or filesAlex Tanner wrote:
> Using Wmlbrowser 0.7.20 and Iceweasel with UA String: "Mozilla/5.0 > (X11; U; Linux x86_64; en-GB; rv:1.8.1.3) Gecko/20070310 > Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)" , there is no support for the > "compiled WML" (wmlc) file or mimetype. > Some WAP sites generate compiled WML pages, for example the code below > - using "Emacs" control chars) - that was generated from a PHP script: > - > > ^A^Dj^Nwap.o2.co.uk/^@^?,<E7>U^Cindex^@6^CSuccess^@^A`^CThanks for > entering Santa's Sack. We will contact you if you're a lucky winner. > Good luck. ^@&&<DC>K^Cwap.o2.co.uk/ndm/navigator/winwitho2^@^A^CWin with > O2^@^A&^C--------------^@&<DC>K<83>^@^A^CO2 > Home^@^A&<DC>K^Cwap.o2.co.uk/yahooo2servicescluster^@^A^CSearch^@^A&<DC>K^Cwap.o2.co.uk/ndm/navigator/MyShortcuts^@^A^CMy > 10^@^A^A`<E8>8^X^CO2^@^A > <AB>K<83>^@^A^A<E8>F^X^CDone^@^A2^A^A^A^A > > When trying to open the above page, Wmlbrowser didn't recognise the > format, so the browser's open/save dialog popped up instead of the > page. Saving the above code with a ".wml" extension and dragging into > the browser window produces the following output "XML Parsing Error: > not well-formed > Location: file:///home/alex/Desktop/quizentry.wml > Line Number 13, Column 45". > > When the above code is decompiled using the "wmld" Linux application, the below > WML page is produced, which can then be loaded and displayed correctly > by Wmlbrowser: - [snip] > > Will support for WMLC ever be added to the Wmlbrowser plugin? I've no plans for it. If anyone wants to submit a patch I'll take a look at it. Matthew _______________________________________________ Wmlbrowser mailing list Wmlbrowser@... https://www.mozdev.org/mailman/listinfo/wmlbrowser |
| Free embeddable forum powered by Nabble | Forum Help |