cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laura Kruse <lmk3...@cis.ksu.edu>
Subject Re: xml to wml using Cocoon
Date Tue, 04 Apr 2000 16:19:40 GMT
That's already in there though, that's one of the reasons why I'm really
confused about the entire thing.
browser.4 = wap=Nokia-WAP-Toolkit
I just think the entire thing wants to misbehave.  Or is it suppose to
be different for every version of a Nokia phone that is being used?

	- Laura

Marcello Granata wrote:
> 
> You should configure cocoon in order to associate the user-agent string it
> receives to the media "wap".
> Edit cocoon.properties and add the proper line.
> For example:
> browser.9 = wap=<your_user_agent>
> 
> ----- Original Message -----
> From: Laura Kruse <lmk3969@cis.ksu.edu>
> To: <cocoon-users@xml.apache.org>
> Sent: Tuesday, 04 April, 2000 17:51
> Subject: xml to wml using Cocoon
> 
> > I'm pretty sure this has something to do with not setting the mime-type
> > somewhere but I don't know where.  In the httpd.conf I have the
> > following lines.
> >
> > text/vnd.wap.wml wml
> > text/vnd.wap.wmlscript wmls
> > application/vnd.wap.wmlc wmlc
> > application/vnd.wap.wmlscriptc wmlsc
> > application/vnd.wap.wbxml wbxml
> > image/vnd.wap.wbmp wbmp
> >
> > So if you want to view a wml file in a Nokia phone for example it works
> > fine.  So anything ending in a wml extention is readable by the phone.
> > The problem becomes when I point the url to something like.
> > http://oneusecorp.com/blur/talk/text.xml is that the phone is convinced
> > that .xml files are plain text html, well that's the error that it gives
> > me.  What confuses me is that it ignores the
> > <?xml-stylesheet href="text-wap.xsl" type="text/xsl" media="wap"?> to
> > transform it into wml so that the phone can read it.  I'm thinking that
> > I need to put somewhere in a config file that xml files should not be
> > treated the same as the html files.  But I don't know where. Any
> > suggestions?
> >
> > - Laura
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message