Yep, I fix example in userguide
On 5.3.2005, at 18:33, Davy Chan wrote:
**>Date: Fri, 4 Mar 2005 00:27:17 -0800 (PST)
**>From: cool planet <[EMAIL PROTECTED]>
**>Subject: plz , dont ignore this mail , OTA settings.dtd
**>To: Kannel <[email protected]>
**>
**>hi ,
**>
**>When i go through the OTA part of the kannel documentation , i found this statement . I would like to know where can i download / supply this file to kannel ?
**>
**>Document type definition (DTD) for these documents is not available , from Internet, you must supply it as a file. settings.dtd.
You missed the most important part:
"Document type definition (DTD) for these documents is not available ,
from Internet, you must supply it as a file. Kannel gw directory
contains an example, settings.dtd."
So, looking into the source code, I see the DTD here: gateway/gw/settings.dtd
This is a very simple file consisting of a file Data Type Definitions:
<!ELEMENT CHARACTERISTIC-LIST (CHARACTERISTIC)+>
<!ELEMENT CHARACTERISTIC (PARM)*> <!ATTLIST CHARACTERISTIC TYPE CDATA #REQUIRED VALUE CDATA #IMPLIED
<!ELEMENT PARM EMPTY> <!ATTLIST PARM NAME CDATA #REQUIRED VALUE CDATA #REQUIRED
Now, where to put this file depends on what you specify as the URL for retrieving the DTD for the DOCTYPE of the OTA XML document. In the example in the userguide (which isn't a valid URL):
<!DOCTYPE CHARACTERISTIC_LIST SYSTEM "file://gw/settings.dtd">
The URL specifies the file could be found as /gw/settings.dtd on the machine running Kannel. Actually, the correct URL (RFC1738) should be: file:///gw/settings.dtd
**>as cgi variable how can can v mention default GPRS / MMS setrtings ?
There are only two variables you can set for the sendota, "text=..." and "type=...". For changing settings, you would use "type=settings". Within your "text=..." would be the OTA XML document detailing all the settings.
The "PARM NAME", if I remember right, are in Push OTA Protocol, Document WAP-235-PushOTA-20010425-a. That is a very old document from the WAP Forum days. I forgot what is the current document number for the revised version from the Open Mobile Alliance (http://www.openmobilealliance.org). That website is damn confusing compared to the old WAP Forum site. If anyone has the document number, please tell me. I'ld like to update the information on my revision to the userguide.
**>What is the better format to send settings XML / CGI ?
I don't really understand that question. Kannel supports only two methods for sending OTA messages via sendota: 1) Hardcoded into the configuration file and referenced via the "otaid" CGI variable. 2) As a XML document given as the value for the "text" CGI variable.
**> **>Thanx in advancd , **> **>Mr.Cool
Would it be possible to use your Real Name or at least a more legitimate
sounding nickname. The "Mr.Cool" moniker gives me the impression
that I've just sent my time replying to a Sesame Street character.
See ya...
d.c.
