Rich results templates out-of-the-box

We’ve been hard at work making improvements to the Google Custom Search Element that will enhance the look and feel of search results when users type into your custom search query box. You’ll see some of the fruits of these labors starting today. We’ve just launched a set of templates that take advantage of rich snippets markup to provide customized results layouts for specific structured data. Your markup can enhance the display of structured information in addition to enabling the powerful metadata features, such as Sort by Attribute and Restrict to Range that we released last year.

For example, there’s a Review template that will show ratings and expand on-demand to display reviews within a result as shown in the screenshot below:


This specific treatment is used when you use hreview and hreview-aggregate Microformat markup on your pages. Template rendering changes are automatic if you use the Element.

Templates that we now support include: People, Product, Recipe, Organization, Review and Review Aggregate. Try these out at our demo search site. Here’s an example of a Recipe result, using a custom theme.


For more information on markup that you can use for Google.com and Custom Search, please refer to our documentation. Don’t forget that we also support image thumbnails and actions. Further, if you are marking up your pages, you can verify that we recognize the right attributes by using our Rich Snippets Preview Tool.

We are constantly adding support for additional markup formats, so stay tuned. We’re continuing to add innovative features to the Element to help you turbo-charge your Custom Search results presentation. As always, we look forward to your feedback.

Posted by: Edison Nica, Software Engineer