As of now, (and even when this was posted, September 2011) using WURFL in 
most cases is no longer legitimate, unless you use WURFL's own APIs and 
Services.

Their new License Terms even prevent using 3rd party Scripts or APIs like 
Mobile.Sniffer and most likely also PyWurfl to be used with the current 
Closed Source WURFL after August 2011!!

If you stick with an old WURFL before that, in most cases you'd be safe, 
but still be aware of trolling and threats from ScienteMobile's legal team 
if you touch anything that is or was called WURFL.

Better look at alternatives, check out OpenDDR. It is Free and will remain 
Open Source just like Python itself won't be closed away by some crazy 
company any time soon;-) 

On Friday, September 2, 2011 6:02:29 PM UTC+2, Ben Corneau wrote:
>
> I use mobile.sniffer for detection. 
> http://pypi.python.org/pypi/mobile.sniffer. 
> Although I think it's actually using WURFL. 
>
> it makes it easy 
>
> from mobile.sniffer.detect import  detect_mobile_browser 
> mobile = detect_mobile_browser(web.ctx.env['HTTP_USER_AGENT']) 
>
>
> On Sep 2, 4:40 am, Paolo <[email protected]> wrote: 
> > Thanks Jian, an hook function was just what I needed. 
> > 
> > On Sep 2, 9:27 am, "W. Martin Borgert" <[email protected]> wrote: 
> > 
> > > I wonder, what is the right check for a mobile browser? The most 
> > > important thing is screen size, right? 
> > 
> > There are indeed several details regarding the capabilities of each 
> > device... 
> > Apart from following the W3C best practices on mobile web development 
> > (http://www.w3.org/TR/2010/REC-mwabp-20101214/) you can use WURFL 
> > (http://wurfl.sourceforge.net/) with its Python bindings (http:// 
> > pypi.python.org/pypi/pywurfl/) which provides all the capabilities 
> > associated with the device that performed the request. And maybe there 
> > are some HTML5 tags that could help... 
> > 
> > (But, IMHO, nowadays there are only few classes of devices (say 4 or 
> > 5), with "standard" screen sizes... I don't know people who browse the 
> > web using Nokia phones of 5 years ago... so I won't use WURFL. However 
> > it depends also on the type of site, on its purpose and contents...)

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/U4kpN-moJ7IJ.
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/webpy?hl=en.

Reply via email to