On Tue, Oct 4, 2011 at 2:39 PM, Dave Watts wrote:

> That looks like it's fun to maintain. Fortunately, there aren't ever
> any new mobile devices.

With any luck its not so bad.  That code is the CF version supplied by
http://detectmobilebrowsers.com.. Last updated Feb 28 according to the
site.  The CF version can be had in txt form here

http://detectmobilebrowsers.com/download/coldfusion

A scheduled cfhttp and a few cfifs, followed by a little replace()
magic and a conditional cffile write could keep an include with the
latest regex in it updated on a given server.

I have to sheepishly admit I have been using the same code for my own
corporate site.  And yes I compounded the sin by being too lazy to
write an auto-updater.  Looked into WURFL and at the time it didn't
seem accessible enough to me for what I wanted to do in the time I had
to do it.

-- 
--m@Robertson--
Janitor, The Robertson Team
mysecretbase.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351543
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to