Cookbook/Classifieds

= GoodRelations for Classified Ads =

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.

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


 * Example in Google Rich Snippet Testing Tool

The list of all supported business functions is here:
 * http://purl.org/goodrelations/v1.html#BusinessFunction