Official Google Webmaster Central Blog |
Mo’ better to also detect “mobile” user-agent Posted: 30 Mar 2011 02:47 PM PDT Webmaster Level: Intermediate to Advanced Here's a trending User-Agent detection misstep we hope to help you prevent: While it seems completely reasonable to key off the string "android" in the User-Agent and then redirect users to your mobile version, there's a small catch... Android tablets were just released! Similar to mobile, the User-Agent on Android tablets also contains "android," yet tablet users usually prefer the full desktop version over the mobile equivalent. If your site matches "android" and then automatically redirects users, you may be forcing Android tablet users into a sub-optimal experience. As a solution for mobile sites, our Android engineers recommend to specifically detect "mobile" in the User-Agent string as well as "android." Let's run through a few examples. With a User-Agent like this: Mozilla/5.0 (Linux; U; Android 3.0; en-us; Xoom Build/HRI39) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13 since there is no "mobile" string, serve this user the desktop version (or a version customized for Android large-screen touch devices). The User-Agent tells us they're coming from a large-screen device, the XOOM tablet. On the other hand, this User-Agent: Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; Nexus One Build/FRG83) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 contains "mobile" and "android," so serve the web surfer on this Nexus One the mobile experience! You'll notice that Android User-Agents have commonalities: While you may still want to detect "android" in the User-Agent to implement Android-specific features, such as touch-screen optimizations, our main message is: Should your mobile site depends on UA sniffing, please detect the strings "mobile" and "android," rather than just "android," in the User-Agent. This helps properly serve both your mobile and tablet visitors. For questions, please join our Android community in their developer forum. |
Posted: 30 Mar 2011 11:24 AM PDT Webmaster level: All We all know what it's like to get a bit of help when you're looking for it. Online, that advice can come from a number of places: a tweet, a shared video, or a blog post, to name a few. With Google Social Search we've been working to show that content when it's useful, making search more personally relevant. We think sharing on the web can be even better--that people might share more recommendations, more often, if they knew their advice would be used to help their friends and contacts right when they're searching for relevant topics on Google. That's why we're introducing the +1 button, an easy way for Google users to recommend your content right from the search results pages (and, soon, from your site). +1 is a simple idea. Let's use Brian as an example. When Brian signs in to his Google Account and sees one of your pages in the organic search results on Google (or your search ads if you're using AdWords), he can +1 it and recommend your page to the world. The next time Brian's friend Mary is signed in and searching on Google and your page appears, she might see a personalized annotation letting her know that Brian +1'd it. So Brian's +1 helps Mary decide that your site is worth checking out. We expect that these personalized annotations will help sites stand out by showing users which search results are personally relevant to them. As a result, +1's could increase both the quality and quantity of traffic to the sites people care about. But the +1 button isn't just for search results. We're working on a +1 button that you can put on your pages too, making it easy for people to recommend your content on Google search without leaving your site. If you want to be notified when the +1 button is available for your website, you can sign up for email updates at our +1 webmaster site. Over the coming weeks, we'll add +1 buttons to search results and ads on Google.com. We'll also start to look at +1's as one of the many signals we use to determine a page's relevance and ranking, including social signals from other services. For +1's, as with any new ranking signal, we'll be starting carefully and learning how those signals affect search quality over time. At first the +1 button will appear for English searches only on Google.com, but we're working to add more languages in the future. We're excited about using +1's to make search more personal, relevant and compelling. We hope you're excited too! If you have questions about the +1 button and how it affects search on Google.com, you can check the Google Webmaster Central Help Center. |
You are subscribed to email updates from Google Webmaster Central Blog To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 komentar:
Posting Komentar