Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [brewt] nokia2280 & wap --- It Worked

Quote Reply
Re: [brewt] nokia2280 & wap --- It Worked In reply to
Hi Adrian

Ok the following did the trick:

wap_escape

sub {
my $string = shift;
$string =~ s/;/&/g;
return $string;
}

and then the following template tag:

<%wap_escape($url_hidden)%>

gives the following for example:

sid=1142efe10f671b9f55dd163a7e0e8c52&amp;t=wap

So the ; in the <%url_hidden%> (which normally is sid=xxxxxx;t=wap) is taken care of.

However, ; further down in the query string (for example ;page=address.htm) needs to be replaced with &amp; for it to work with cell phones though the same does not cause any problem with the emulators (showing how non representative emulators could be).

So do u suggest the above to be changed in each template or is it that some better soln is there.

Currently, the wap template set has been working after having taken care of ; and splitting the <%url_hidden%> with sid=<%sid%>&amp;t=<%t%> and replacing each occurrence of ; with &amp; I am not sure about <%url_hidden%> but what else exactly is it cosisting of besides sid=xxx;t=wap.

Thnx

Anup
Subject Author Views Date
Thread nokia2280 &amp; wap --- It Worked anup123 6675 Nov 3, 2003, 4:38 PM
Thread Re: [anup123] nokia2280 &amp; wap --- It Worked
brewt 6557 Nov 4, 2003, 12:46 AM
Post Re: [brewt] nokia2280 &amp; wap --- It Worked
anup123 6529 Nov 4, 2003, 3:30 PM
Post Re: [brewt] nokia2280 &amp; wap --- It Worked
anup123 6508 Nov 8, 2003, 1:11 AM
Thread Re: [brewt] nokia2280 &amp; wap --- It Worked
anup123 6531 Nov 8, 2003, 4:15 AM
Thread Re: [anup123] nokia2280 &amp; wap --- It Worked
brewt 6382 Dec 1, 2003, 3:47 PM
Thread Re: [brewt] nokia2280 &amp; wap --- It Worked
anup123 6383 Dec 1, 2003, 3:59 PM
Post Re: [anup123] nokia2280 &amp; wap --- It Worked
brewt 6376 Dec 1, 2003, 4:40 PM
Thread Re: [brewt] nokia2280 &amp; wap --- It Worked
anup123 6461 Nov 21, 2003, 10:59 AM
Thread Re: [anup123] nokia2280 &amp; wap --- It Worked
brewt 6462 Nov 21, 2003, 11:32 PM
Thread Re: [brewt] nokia2280 &amp; wap --- It Worked
anup123 6448 Nov 22, 2003, 6:13 AM
Thread Re: [anup123] nokia2280 &amp; wap --- It Worked
brewt 6448 Nov 22, 2003, 3:29 PM
Thread Re: [brewt] nokia2280 &amp; wap --- It Worked
anup123 6420 Nov 25, 2003, 11:21 AM
Post Re: [anup123] nokia2280 &amp; wap --- It Worked
brewt 6408 Nov 25, 2003, 4:39 PM