[opencms-dev] Opencms with mobile version - continue

Achim Westermann Achim.Westermann at gmx.de
Wed Sep 8 14:52:13 CEST 2010


Hi BBHa, 

depends on how much work you want to do. First you should have some "dispatching template" that does 

request.getHeader( "User-Agent" )

and then includes the real templates. If you want to offer optimized versions for different devices you'd need some info about the capabilities. Perhaps you could use wuflxml and query it with the user agent to get more info. But that seems to be too generic perhaps and also should be done with close attention to performance. http://sourceforge.net/projects/wurfl/files/WURFL/

HTH, 

Achim

-------- Original-Nachricht --------
> Datum: Tue, 7 Sep 2010 23:13:24 -0700 (PDT)
> Von: Nguyen Ha <boboha2001 at yahoo.com>
> An: opencms-dev at opencms.org
> Betreff: [opencms-dev] Opencms with mobile version - continue

> Thank Manfred.
> 
> I want to access opencms via a mobile client. But let opencms understand
> which accessing is a mobile client to call the mobile template, what must I
> do?
> 
> Regards.
> BBHa
> > ------------------------------
> > 
> > Message: 5
> > Date: Mon, 6 Sep 2010 20:34:25 -0700 (PDT)
> > From: Nguyen Ha <boboha2001 at yahoo.com>
> > Subject: [opencms-dev] Opencms with mobile version
> > To: opencms-dev at opencms.org
> > Message-ID: <698525.87748.qm at web36506.mail.mud.yahoo.com>
> > Content-Type: text/plain; charset=us-ascii
> > 
> > Hi.
> > 
> > Has anybody developed opencms for mobile version?
> > Regards.
> > 
> > BBHa
> > 
> > 
> >       
> > 
> > 
> > ------------------------------
> > 
> > Message: 6
> > Date: Tue, 07 Sep 2010 09:08:50 +0200
> > From: Manfred Schenk <manfred.schenk at zerobyte.de>
> > Subject: Re: [opencms-dev] Opencms with mobile version
> > To: opencms-dev at opencms.org
> > Message-ID: <4C85E502.5020907 at zerobyte.de>
> > Content-Type: text/plain; charset=ISO-8859-1
> > 
> > Am 07.09.2010 05:34, schrieb Nguyen Ha:
> > > Hi.
> > >
> > > Has anybody developed opencms for mobile version?
> > > Regards.
> > >   
> > What do you mean by "mobile version" ?
> > If you want to run opencms on a mobile phone I can't see
> > the rationale
> > behind this since opencms is a server-application.
> > If you want to access opencms via a mobile client, then you
> > can do this
> > already with the current versions.
> > If you want to use the opencms-workplace while using a
> > mobile client,
> > this might be a bit difficult since the workplace is
> > designed for
> > "standard" browsers and may not support mobile browsers.
> > 
> > Regards,
> > Manfred
> > 
> > -- 
> > | Manfred Schenk           
> >   | born between RFC638 and RFC640
> > | PGP-Keys unter           
> >   |
> > | http://www.ZEROByte.de/pgp/ | WWW: http://www.ZEROByte.de/
> > 
> > 
> > 
> > ------------------------------
> 
> 
> 
>       
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list