It seems to be the best alternative to the WURFL, and here's why:
- It is open-source and completely free for commercial deployments
- OpenDDR database contains huge amounts of information concerning phones, tablets, and even smart TVs
- Device database is regularly updated
OpenDDR Mobile Device Detector provides the same features as the WURFL-based version. plus - it is easier to install - no need to edit Web.config and Global.asax, just update paths to resources files (shipped with the module package, "resources" folder in /App_Data/) in /App_Data/oddr.properties.
And yet another bonus - the module now works with websites running .NET 2.0 Application Pool, target framework was changed to 3.5.
Download the module here and don't hesitate to leave your feedback (or bug reports) - you decide how the module will be developed in future!
Thanks for the post, great you also check out the .NET version for C#
ReplyDeleteWerner Keil
Principal OpenDDR Evangelist
Thanks. Can you elaborate on how the paths should be configured in oddr.properties - should these be relative or absolute?
ReplyDeletee.g. will /App_Data/resources/BuilderDataSource.xml work?
If so might have been better to code these as default values.
I'm not having much luck with this. OpenDdrWrapper.cs is missing when I get latest trunk from SVN...
ReplyDeleteEventually got this working after reflecting the compiled DLL and recreating the missing file. Needs a bit of work, but looks promising.
ReplyDeleteThanks
Finally, got to the comments. If you still see any issues - let me know.
ReplyDeleteThanks - if we have a mobile site on a subdomain e.g. m.mysite.com what is the easiest way to redirect to it based on device detection rules configured within Sitecore desktop via the rules engine?
ReplyDeleteThe module itself just changes the layout based on the rules defined.
ReplyDeleteBut I think you can simply put some code to it (Mobile.aspx) to redirect to "m.mysite.com" if current request has different hostname.
Are you able to share the OpenDdrWrapper.cs file?
ReplyDeleteSure, I'll check it later today. Meanwhile, you can see it's code in compliled DLL using Reflector / ilSpy, or similar.
ReplyDeleteI've uploaded missing file, you can find it here: http://trac.sitecore.net/MobileDeviceDetector/browser/Trunk/MobileDeviceDetector/OpenDdrWrapper.cs
ReplyDeleteThanks mate, appreciate it
ReplyDeleteTake care when using this. Many user agents are not handled correctly and will throw an exception. Our site ranking on Google got hammered as when Googlebot visited the site it was simply presented with a nice error message!
ReplyDeletePlease use 51degrees-based version instead, this one will never go out of beta.
ReplyDeletePlease use 51degrees-based version instead, this one will never go out of beta.
ReplyDeleteHey Alex, any reason wqhy this will never leave beta? Is the license for WURFL too strict to use in a commercial application?
ReplyDelete