What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

For those of you who haven't heard of rich snippets, it essentially involves inserting special data into HTML markup that describe content on the page. The benefit would be really neat looking search results on Google.

For example (and this is just an example), my Stack Overflow profile might look like:

Pretty slick, huh?

Pretty neat, eh? So what needs to be done to implement this? Well, according to the rich snippet documentation, you need to use one of three formats: microdata, microformats, or RDFa.

Microdata is probably the easiest and looks something like this:

<div itemscope itemtype="http://data-vocabulary.org/Person">
  <b>Name:</b>
    <span itemprop="name">George Edison</span><br />
  <b>Homepage:</b>
    <a href="http://www.quickmediasolutions.com" itemprop="url">
    QuickMediaSolutions.com</a>
  <b>Type:</b>
    <span itemprop="title">Regular User</span>
</div>
share|improve this question
    
I think you might be.. imagining.. the way google processes this data. Can you provide a screenshot of a REAL ACTUAL SEARCH RESULT that shows up this way, that is, uses the metadata on the page? Because that would be highly exploitable by evildoers. –  Jeff Atwood Oct 4 '11 at 23:03
    
@Jeff: Sure. A Google search for "Cut the Rope Android" displays a rich snippet from the Android Market. The rating and price data are pulled directly from the microdata on the page. –  uɐɯsO uɐɥʇɐN Oct 4 '11 at 23:48
    
that is a trusted Google site. Can you provide an example from a site that isn't operated by Google? –  Jeff Atwood Oct 5 '11 at 0:13
1  
@Jeff: Sure. A Google search for "san francisco concerts yelp" will display a couple of events that were pulled from the hCard data on the page (hCard is one of the supported formats for rich snippet data). –  uɐɯsO uɐɥʇɐN Oct 5 '11 at 0:45
    
This blog post suggests that rich snippets were activated automatically some time ago: webnodes.com/rich-snippets-enabled-automatically so it might be possible to pull this off maybe... –  ChristopheD Jun 16 '12 at 23:08
    
@ChristopheD: It seems like Stack Apps already includes rich snippet data - it's turning up in custom searches. –  uɐɯsO uɐɥʇɐN Jun 17 '12 at 0:25

You must log in to answer this question.

Browse other questions tagged .