Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

GoodRelations - The Web Vocabulary for E-Commerce

This is the archive of the goodrelations dicussion list

GoodRelations is a standardized vocabulary for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.

[goodrelations] isVariantOf example?

Ben Empson ben at arrayx.co.uk
Wed Feb 23 16:46:58 CET 2011

Hi there, I need to markup a page with a product and several variants. I
found this: http://www.ebusiness-unibw.org/wiki/GoodRelationsVariants and
this this post:
which seem to be telling me that I need to be implementing the isVariantOf
object property but I really can't understand how I should be doing that!


If I have a product like this:


<div xmlns="http://www.w3.org/1999/xhtml"







  <div typeof="gr:Offering" about="#offering">

    <div rev="gr:offers" resource="#company"></div>

    <div property="gr:name" content="The Times" xml:lang="en"></div>

    <div property="gr:description" content="The timetesdasd asd asdasdweoiru
qwore" xml:lang="en"></div>

    <div rel="foaf:depiction" resource="http://1.2.com/1.jpg"></div>

    <div rel="gr:hasBusinessFunction"

    <div rel="gr:hasPriceSpecification">

      <div typeof="gr:UnitPriceSpecification">

        <div property="gr:hasCurrency" content="GBP"

        <div property="gr:hasCurrencyValue" content="30.00"

        <div property="gr:hasUnitOfMeasurement" content="C62"



    <div rel="gr:acceptedPaymentMethods"

    <div rel="gr:acceptedPaymentMethods"

    <div rel="foaf:page" resource="http://1.2.com"></div>




And then I have a variants table as such:


<table class="data">


                                <th>Payment method and duration</th>

                                <th>Country of Delivery</th>


                                <th>Delivery method</th>


                                <th> </th>



                                <td>Quarterly Direct Debit</td>

                                <td>United Kingdom</td>

                                <td>UK Edition</td>

                                <td>UK First Class Post</td>


                                <td><a class="arrow-blue" href="#"
title="Add to Shopping Cart">Add to basket</a></td>


                <tr class="last">

                                <td>Credit card, 12 months subscription</td>

                                <td>United Kingdom</td>

                                <td>UK Edition</td>

                                <td>UK First Class Post</td>


                                <td><a class="arrow-blue" href="#"
title="Add to Shopping Cart">Add to basket</a></td>




How can I markup the variants table correctly relating each row to the main
product? As you can see, the variant variables are Payment Method &
Duration, Country of Delivery, Edition and Delivery Method.


Any help appreciated :)


Regards, Ben


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3461 - Release Date: 02/22/11

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ebusiness-unibw.org/pipermail/goodrelations/attachments/20110223/145954fc/attachment.html>

More information about the goodrelations mailing list