Hi,

Being a beginner with Turbogears, I bumped into a problem while trying
to generate some WML pages. The client device (a mobile phone, but also
Firefox with the WML extension) does not recognise the generated page
as WML.

Looking at the output of Turbogears I noticed the DOCTYPE tag is
different. Instead of the required:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml";>

the page comes out like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>

Reading some threads in this forum and other sources, it seems the
problem is the serializer of Kid: is there set it so it passes the
DOCTYPE specified in the .kid page or, at least, to bypass it?

Of course I tried to play with the kid.outputformat in app.cfg, but
with no results, as all the flavours of serializer available don't fit
my needs.

Thanks for any help you can give me!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to