cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: Detecting mobile browsers and redirecting
Date Mon, 09 May 2011 13:15:41 GMT
Am 09.05.11 14:02, schrieb Mike Sickler:
>
> I also posted this question to
> http://stackoverflow.com/questions/5849929/how-do-i-configure-cocoon-to-redirect-mobile-browsers-to-a-mobile-site
> StackOverflow :
>
> I have two Cocoon sites: ABC and ABC-mobile.
>
> If the user is coming from a mobile browser, then I want them redirected to
> ABC-mobile. How do I accomplish this?

http://wurfl.sourceforge.net/njava/

We used this in an application based on Cocoon 2.1. The redirect is 
determined using a custom Selector. You can use the code example from 
the website.

HTH,

-- Andreas



-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message