The forums are currently locked and only available for read only access
maciekish
Kommer du hit ofta?
Medlem
Forum Posts: 371
Member Since:
August 7, 2001
August 7, 2001
Offline
Tjena!!
Har skrivigt en WAP sida för att skicka ICQ Pager medd. genom WAP. Detta fungerar med html på data, men jag har en del problem att få de o fungera på mobilen.
Problemet är att efter ifyllning av formuläret returnerar send.asp ett felmeddelande.
The page was malformed
XML Error - non-terminated entity (before or at line 7)
Rad 7 i den genererade WML filen är typ adressen. Vad är felet?
-----
icq.xml (input sida):
<?xml version='1.0'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card it="INPUT" title="ICQ PAGER">
From (name):
<input name="from" type="text"/>
To (ICQ#):
<input name="to" format="*N"/>
Subject:
<input name="subject" type="text"/>
---
Message:
<input name="body" type="text"/>
</p>
<do type="accept" label="Send">
<go href="Http://www15.brinkster.com/maciekish/xml/send.asp" method="post">
<postfield name="from" value="$(from)"/>
<postfield name="subject" value="$(subject)"/>
<postfield name="body" value="$(body)"/>
<postfield name="to" value="$(to)"/>
</go>
</do>
</card>
</wml>
och send.asp (sänd scriptet):
<%
Dim url
url = "Http://wwp.icq.com/scripts/WWPMsg.dll?from=" & Request.Form("from") & "&subject=" & Request.Form("subject") & "&body=" & Request.Form("body") & "&to=" & Request.Form("to")
Response.ContentType = "text/vnd.wap.wml"%>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Send now?">
<anchor>Send
<go href="<%=url%>"/>
</anchor>
</p>
</card>
</wml>
Detta är wml som produceras av send.asp
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Send now?">
<anchor>Send
<go href="Http://wwp.icq.com/scripts/WWPMsg.dll?from=&subject=&body=&to="/>
</anchor>
</p>
</card>
</wml>
!!HJÄLP!!
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1030
Currently Online:
Guest(s) 56
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967
Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL
© Simple:Press —