One of the things that went up in last weekend's build was a new tool that generates widgets like this for authors to use. With it, they could simply enter an ISBN and the little app will generate the code for use on their personal sites and blogs.
It has a clean neutral look so it will fit in well with any page design. It was coded to have a flexible vertical dimension. So it accommodates the wide variety of aspect ratios across all brands and series. Clicking any part of the widget will take user to Wiley.com's multi-retailer page where they'll have several options to buy the advertised book.
March 28, 2012
Wiley Author Widget
Posted by Kerwin at 20:03 0 comments
March 18, 2012
Mobile Detection for Android Tablets
Any website that had device detection + redirection created over a year ago will now run into the issue of sending Android tablet users to the mobile version. Detection scripts usually look at the user-agent for the device type, which isn't a problem for Apple because they distinguish "iPhone" from "iPad" for iOS. Android only has a device type of "Android" since they had all phones back then. Even the early tablets were really just phones with larger screens as they shared the same exact OS (2.x) as their smaller siblings. Over the past year Android evolved into a dual device operating system and several manufacturers released popular tablet models. Their device type was still "Android" in the user-agent for everything rather than moving to "Android Phone" and "Android Tablet." Fortunately, they started distinguishing tablet from phone in 3.1. The browser portion of the string has "Safari" for tablets and "Mobile Safari" for phones. So an Android device should get sent to the mobile site if "Android" + "Mobile" are both found in the full string. "Mobile" can't be used as a catch-all term because that word in Apple lingo refers to phones and tablets. Both the iPhone and iPad use "Mobile" in their user-agent strings.
Of course, all of this may change soon as pixel density continues to increase in newer screens and manufacturers release devices that fill in all sizes between 4" phones and 10" tablets!
Posted by Kerwin at 20:42 0 comments