Hi .. I'm working on a web using Zope as my application server, now would like to integrate WAP tecnology, any know if this is possible Monti
Hi short: Yes, it is more: WAP is like HTML, but you have to use other TAGs, Look under w3c.org for specification. You can use DTML-Documents/DTML-Methods like you are used to, but you have to change them for wap-tags or create new one. You have to copy standard_html_header/footer/error_message to standard_wap_header/footer_error_message change it like the WAP-specification say, call your wap-methods. Regards, Dirk alejandro.montenegro@alumnos.utfsm.cl schrieb:
Hi .. I'm working on a web using Zope as my application server, now would like to integrate WAP tecnology, any know if this is possible
Monti
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
At 09:03 2002-04-27 +0200, Dirk Datzert wrote:
Hi
short: Yes, it is
There's a how-to on zope.org.
more: WAP is like HTML, but you have to use other TAGs, Look under w3c.org for specification. You can use DTML-Documents/DTML-Methods like you are used to, but you have to change them for wap-tags or create new one. You have to copy standard_html_header/footer/error_message to standard_wap_header/footer_error_message change it like the WAP-specification say, call your wap-methods.
Perhaps you should look into PageTemplates instead as they are more suited for more XML stringent documents.
Regards, Dirk
alejandro.montenegro@alumnos.utfsm.cl schrieb:
Hi .. I'm working on a web using Zope as my application server, now would like to integrate WAP tecnology, any know if this is possible
Monti
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hello together, I think with ZPT ZopePageTemplate is it not possible to write a application for Wap, because the language for Wap is wml an wml is not a XML well formed language. PageTemplates MUST be well formed XML Syntax. You should write your application with DTML Tags. Correct me if I'm wrong. Mit freundlichen Grüssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE -----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org] Im Auftrag von Peter Bengtsson Gesendet: Samstag, 27. April 2002 09:29 An: Dirk Datzert; alejandro.montenegro@alumnos.utfsm.cl Cc: zope@zope.org Betreff: Re: [Zope] zope and WAP At 09:03 2002-04-27 +0200, Dirk Datzert wrote:
Hi
short: Yes, it is
There's a how-to on zope.org.
more: WAP is like HTML, but you have to use other TAGs, Look under w3c.org for specification. You can use DTML-Documents/DTML-Methods like
you are used to, but you have to change them for wap-tags or create new
one. You have to copy standard_html_header/footer/error_message to standard_wap_header/footer_error_message change it like the WAP-specification say, call your wap-methods.
Perhaps you should look into PageTemplates instead as they are more suited for more XML stringent documents.
Regards, Dirk
alejandro.montenegro@alumnos.utfsm.cl schrieb:
Hi .. I'm working on a web using Zope as my application server, now would like to integrate WAP tecnology, any know if this is possible
Monti
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
At 22:54 2002-04-27 +0200, trash.mail@gmx.ch wrote:
Hello together, I think with ZPT ZopePageTemplate is it not possible to write a application for Wap, because the language for Wap is wml an wml is not a XML well formed language. PageTemplates MUST be well formed XML Syntax. You should write your application with DTML Tags.
Correct me if I'm wrong.
"wml is not a XML well formed language" WML is an XML derivative and is _very strict_ on syntax unlike HTML for example. There are no reason for not using ZPT. I definitly think ZPT will be of more advantage than DTML for WML in Zope. P
Mit freundlichen Grüssen Roger Ineichen ___________________________
Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE
-----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org] Im Auftrag von Peter Bengtsson Gesendet: Samstag, 27. April 2002 09:29 An: Dirk Datzert; alejandro.montenegro@alumnos.utfsm.cl Cc: zope@zope.org Betreff: Re: [Zope] zope and WAP
At 09:03 2002-04-27 +0200, Dirk Datzert wrote:
Hi
short: Yes, it is
There's a how-to on zope.org.
more: WAP is like HTML, but you have to use other TAGs, Look under w3c.org for specification. You can use DTML-Documents/DTML-Methods like
you are used to, but you have to change them for wap-tags or create new
one. You have to copy standard_html_header/footer/error_message to standard_wap_header/footer_error_message change it like the WAP-specification say, call your wap-methods.
Perhaps you should look into PageTemplates instead as they are more suited for more XML stringent documents.
Regards, Dirk
alejandro.montenegro@alumnos.utfsm.cl schrieb:
Hi .. I'm working on a web using Zope as my application server, now would like to integrate WAP tecnology, any know if this is possible
Monti
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On 28 Apr 2002, Peter Bengtsson <mail@peterbe.com> wrote:
At 22:54 2002-04-27 +0200, trash.mail@gmx.ch wrote:
Hello together, I think with ZPT ZopePageTemplate is it not possible to write a application for Wap, because the language for Wap is wml an wml is not a XML well formed language. PageTemplates MUST be well formed XML Syntax. You should write your application with DTML Tags.
Correct me if I'm wrong.
"wml is not a XML well formed language" WML is an XML derivative and is _very strict_ on syntax unlike HTML for example. There are no reason for not using ZPT. I definitly think ZPT will be of more advantage than DTML for WML in Zope.
Definitely use page templates rather than DTML. The biggest problem doing WAP with DTML is that unless you are very VERY careful you will end up sometimes producing pages that aren't valid XML. You then waste ages trying to figure out why the gateway returned a totally useless error message. With page templates you shouldn't be able to produce bad XML (unless you try), and you can use on-error on an outer tag to return a meaningful error page. I have updated the WAP howto on the Zope site to suggest that page templates may be a better solution. -- Duncan Booth duncan@rcp.co.uk int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3" "\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
Mensaje citado por trash.mail@gmx.ch:
Hello together, I think with ZPT ZopePageTemplate is it not possible to write a application for Wap, because the language for Wap is wml an wml is not a XML well formed language. PageTemplates MUST be well formed XML Syntax. You should write your application with DTML Tags.
Correct me if I'm wrong.
Hi reading the HOW-TO in Zope.org I can't see the problem in use WAP with zope regards Alex
participants (5)
-
alejandro.montenegro@alumnos.utfsm.cl -
Dirk Datzert -
Duncan Booth -
Peter Bengtsson -
trash.mail@gmx.ch