[mapserver-users] Mapserver wml template
Stewart Nimmo
stewart.nimmo at virtually-here.com
Mon Jun 9 16:46:29 PDT 2008
Steve:
Thanks for the response.
It's a basic pan/zoom application. I tried your suggestion and get an error
of :
"Mapserver Message" loadWeb(): Unknown identifier. Parsing error near
(BROWSEFORMAT):(line 28)
I've tried altering the syntax, but continue to get the same error on the
WAP browser.
Any thoughts?, Have you seen this wml setting used before?
sfn
-----Original Message-----
From: Steve Lime [mailto:Steve.Lime at dnr.state.mn.us]
Sent: June 9, 2008 3:15 PM
To: mapserver-users at lists.osgeo.org; stewart.nimmo at virtually-here.com
Subject: Re: [mapserver-users] Mapserver wml template
Is this a standard pan/zoom application or are you feeding mapserver query
urls? Depending on which
you can use something like:
WEB
BROWSEFORMAT ' text/vnd.wap.wml'
QUERYFORMAT 'text/vnd.wap.wml'
END
Steve
>>> On 6/9/2008 at 3:36 PM, in message
<NEBBJLBEGLMACGNNGKPDEEKMHAAC.stewart.nimmo at virtually-here.com>, "Stewart
Nimmo" <stewart.nimmo at virtually-here.com> wrote:
> I have seen several references to persons using wml templates, but is it
> possible for a WAP browser to receive a wml file from Mapserv ?
> I've been able to display the wml template results in IE but that's
because
> Mapserv is returning the result as html. I suspect to get a WAP browser to
> display a Mapserv generated wml file, I need to change the "content-type"
to
> something like "Content-type: text/vnd.wap.wml" , but I am not sure how or
> if Mapserver accept it and generate a wml page/deck?
>
> Any comments are appreciated.
> Regards
> sfn
>
> Stewart Nimmo
> Virtually Here Technologies Inc.
>
> 604-922-7896 off
> 604-551-6564 mob
> stewart.nimmo at virtually-here.com
More information about the MapServer-users
mailing list