JK | 8 Nov 2008 12:20
Picon
Favicon

Problem viewing web content

Hi all,

My problem: wml files are displayed well if they are stored locally. However, this is not true for the very
same decks when uploaded on my server.

Since other wml pages (e.g. http://de.wap.wikipedia.org/) seem to work fine, there seems to be something
wrong with my http server, or its configuration.

I have already discovered that the server does not recognize wml files, and thus sends them with content
type 'text/plain'. This cannot work, of course, and explains why FF first had displayed the file in its
source code form.

I then used PHP to send the correct MIME type 'application/vnd.wap.xhtml+xml'. Unfortunately this
hasn't lead to success: FF now displays the "open with/save" dialog box instead of using wmlbrowser. If I
then save the file with a .wml extension, this local file can again be viewed without problems.

Any suggestions?

Thanks in advance, and kind regards

Johannes Knaupp

PS:
1. Test file: http://jknaupp.de/test.php

2. My configuration:
- MS-Windows XP SP 2
- FF 3.0.1
- wmlbrowser 0.7.18:
	- browsing of local wml files: enabled
(Continue reading)

Matthew Wilson | 8 Nov 2008 17:39
Picon
Picon

Re: Problem viewing web content

JK wrote:
> Hi all,
> 
> My problem: wml files are displayed well if they are stored locally. However, this is not true for the very
same decks when uploaded on my server.
> 
> Since other wml pages (e.g. http://de.wap.wikipedia.org/) seem to work fine, there seems to be
something wrong with my http server, or its configuration.
> 
> I have already discovered that the server does not recognize wml files, and thus sends them with content
type 'text/plain'. This cannot work, of course, and explains why FF first had displayed the file in its
source code form.
> 
> I then used PHP to send the correct MIME type 'application/vnd.wap.xhtml+xml'. Unfortunately this
hasn't lead to success: FF now displays the "open with/save" dialog box instead of using wmlbrowser. If I
then save the file with a .wml extension, this local file can again be viewed without problems.
> 
> Any suggestions?

The MIME type for WML is text/vnd.wap.wml

As far as I can tell, application/vnd.wap.xhtml+xml is some kind of 
mobile XHTML document format, which wmlbrowser does not support.

Matthew
harry daamen | 11 Nov 2008 08:52
Picon

SMS messages

Dear Sir/Madam,
We receive SMS messages from noaccess.wml and we want to be able to stop them from being sent to us.
How can we do that?
Hope you can help us!
Thanks in advance for your time,
with kind regards,
Lies and Nicky Daamen
_______________________________________________
Wmlbrowser mailing list
Wmlbrowser <at> mozdev.org
https://www.mozdev.org/mailman/listinfo/wmlbrowser
Matthew Wilson | 11 Nov 2008 18:59
Picon
Picon

Re: SMS messages

harry daamen wrote:
> Dear Sir/Madam,
> We receive SMS messages from noaccess.wml and we want to be able to stop 
> them from being sent to us.
> How can we do that?

The wmlbrowser extension isn't capable of sending SMS messages, so I 
don't think I can do anything to help.

Matthew

Gmane