Cookbook/Classifieds

The special challenge when exposing structured data for classified ads are the following:


 * 1) You typically just have a headline, a body text, and incomplete contact information.
 * 2) The exact identity of the offering party is unknown and often limited to a screen-name or just the phone number.

In GoodRelations, simply put the headline in gr:name, the body text in gr:description and try to parse the phone number and the price so that you can populate the elements in the following example.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">   GoodRelations for Modeling a Classified Ad 	 Expected behavior in Google Rich Snippets: RENDER, SHOULD VALIDATE 

Classified ad - headline (e.g. the text in bold) Here comes the full text of the classified ad .... blablabla 





Call Peter Miller at   

This validates in the Google Rich Snippet Testing Tool, as you can see:


 * Example in Google Rich Snippet Testing Tool