[RFY] Card size (Was: Re: Kannel DNS Problem. "kannel 1.0.3")

"Bruno David Rodrigues" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <01ef01c1c0c8$282acb90$603b0a0a@davi>
is there a limit in kannel ?
fixed or do it see the useragent/something and kannel addapts to it ?

Nokia 3210 supports 2,5k maximum cards, Ericsson 3k and Nokia 9210 do more.

and, could you help me getting ideas to an algorythm to split wml cards to a
given size ?
Ex: given an large card, I want to split it to several smaller cards.
(No language envolved, I'm just trying to think at ideas or pseudo-code)

I was thinking in some tables with which tags I can split (<p>) and others I
can't (<a>)
then, running trough the card until some size near the limit, add a link to
the next card
(and previous if block > 1), compile the block to wmlc and check the final
result.
If greater or smaller than the limit, repeat with a smaller or bigger wml
block until I get to
the optimal size. Repeat other blocks.

And cache everything :)


----- Original Message -----
From: "Bjoern Buettner" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 28, 2002 10:22 PM
Subject: Kannel DNS Problem. "kannel 1.0.3"


> I've tried to connect the URL http://d2wap.de Siemens S35 says
"unsupported
> content type"
> Is there any DNS FQDN problem (Bug) with Kannel? FQDN are running fine!
> How can I solve the problem ?
>
> The D2 WAP GW has no problem. (Standard configuration with Siemens S35)
>
> Why the mesg., why a limit to 1800 B ?
> >2002-02-28 22:05:41 [11] WARNING: WSP: Entity at http://d2wap.de too
large
> (size 2235 B, limit >1800 B)
>
>
> Thank you !
>
> Bjoern
>
>
>
>
> comp. debug mesg
> ################
> 2002-02-28 22:06:09 [12] WARNING: WSP: Entity at http://d2wap.de too large
> (size 2235 B, limit 1800 B)
> 2002-02-28 22:06:09 [2] DEBUG: WSP: machine 0x81ca168, state CONNECTED,
> event S_MethodResult_Req
> 2002-02-28 22:06:09 [2] DEBUG: WSP: method 6, state PROCESSING, event
> S_MethodResult_Req
> 2002-02-28 22:06:09 [12] DEBUG: Thread 12 (gw/wap-appl.c:fetch_thread)
> terminates.
> 2002-02-28 22:06:09 [2] DEBUG: WSP 1/6: New method state REPLYING
> 2002-02-28 22:06:09 [5] DEBUG: WTP: resp_machine 6, state RESULT_WAIT,
event
> TR_Result_Req.
> 2002-02-28 22:06:09 [2] DEBUG: WSP 1: New state CONNECTED
> 2002-02-28 22:06:09 [5] DEBUG: WTP_SEND: add_initiator_address
> 2002-02-28 22:06:09 [5] DEBUG: WTP 6: New state RESULT_RESP_WAIT
> 2002-02-28 22:06:10 [5] DEBUG: WTP: resp_machine 6, state
RESULT_RESP_WAIT,
> event RcvAck.
> 2002-02-28 22:06:10 [5] DEBUG: WTP 6: New state LISTEN
> 2002-02-28 22:06:10 [5] DEBUG: WTP: Destroying WTPRespMachine 0x81d3970
(6)
> 2002-02-28 22:06:10 [2] DEBUG: WSP: machine 0x81ca168, state CONNECTED,
> event TR_Result_Cnf
> 2002-02-28 22:06:10 [2] DEBUG: WSP: method 6, state REPLYING, event
> TR_Result_Cnf
> 2002-02-28 22:06:10 [2] DEBUG: WSP 1/6: New method state NULL_METHOD
> 2002-02-28 22:06:10 [2] DEBUG: Destroying WSPMethodMachine 6
>
>
> kind regards
>
> Vodafone TeleCommerce GmbH
> Architecture & Engineering
> Bjoern Buettner
> Daniel Goldbach Str. 17-19
> 40880 Ratingen
>
> Tel. +49 (0) 21 02 / 97 20 13
> Fax +49 (0) 21 02 / 97 15 14
>
> mailto:[email protected]
> www.vodafone.com
> www.vodafone-telecommerce.de
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.