[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] New feature - wml - class.xslttemplates.in
From: |
Dave Hall |
Subject: |
Re: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php |
Date: |
Sun, 27 Aug 2006 21:16:00 +1000 |
Hi Sigurd,
On Sun, 2006-08-27 at 12:57 +0200, Sigurd Nes wrote:
> How about having a detecting-function isMobileUser() - that detects
> whether the output should be html or wml - changing the top element of
> the stylesheet as something like this:
>
I would prefer bool browser::is_mobile(), that said it would not be 100%
accurate. Close enough is good enough I suppose :)
At the same time WML is more than a DTD. We would need to output the
correct content type headers. And also we would need a WML template set.
Given we are less than a week from a fetaure freeze for the API, I think
we should look at implementing this in HEAD after the branch, instead of
rushing it now.
Cheers
Dave
> html(one line):
> $this->xsldata .= '<xsl:output method="html" version="1.0"
> encoding="utf-8" indent="yes" omit-xml-declaration="yes"
> standalone="yes" media-type="application/xml+xhtml"/>'."\n";
>
> or wml (one line):
> $this->xsldata .= '<xsl:output doctype-public="-//WAPFORUM//DTD WML
> 1.3//EN" doctype-system="http://www.wapforum.org/DTD/wml13.dtd"/>'."\n";
>
> Regards
>
> Sigurd
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
--
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
+-------------------------------------+-------------------------------+
| e address@hidden | w phpgroupware.org |
| j address@hidden | aim skwashd |
| icq 278064022 | msn address@hidden |
| sip address@hidden | y! skwashd |
+-------------------------------------+-------------------------------+
- [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php, Sigurd Nes, 2006/08/27
- Re: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php,
Dave Hall <=
- Re: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php, Sigurd Nes, 2006/08/27
- Re: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php, Dave Hall, 2006/08/27
- Re: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php, Sigurd Nes, 2006/08/27
- Re: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php, Dave Hall, 2006/08/28
- RE: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php, Sigurd Nes, 2006/08/28
- RE: [Phpgroupware-developers] New feature - wml - class.xslttemplates.inc.php, Dave Hall, 2006/08/28