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.
Martin Hepp
martin.hepp at ebusiness-unibw.org
Tue Jan 10 12:25:43 CET 2012
Hi, as you correctly state, microdata does not offer a "rev" pattern for linking from an entity to an outside entity. Since the microdata processing rules for GoodRelations [1] specify that "Identity based on itemid: Two items with the same itemid represent the same conceptual entity and must be merged by GoodRelations processors. ..." So you can put the following code anywhere on the page <div itemscope itemtype="http://purl.org/goodrelations/v1#BusinessEntity" itemid="http://example.com/#company"> <link itemprop="offers" href="#offer" /> </div> This will link to the offer (gr:Offering, identified by itemid="#offer": <div itemscope itemtype="http://purl.org/goodrelations/v1#Offering" itemid="#offer"> <div itemprop="name">Hepp Personal SCSI Controller Card</div> <div itemprop="description">The Hepp Personal SCSI is a 16-bit add-on card that allows attaching up to seven SCSI devices to your computer.</div> <link itemprop="hasBusinessFunction" href="http://purl.org/goodrelations/v1#Sell" /> <div itemscope itemprop="hasPriceSpecification" itemtype="http://purl.org/goodrelations/v1#UnitPriceSpecification">Price: <meta itemprop="hasCurrency" content="USD">$ <span itemprop="hasCurrencyValue">99.99</span> <time itemprop="validThrough" datetime="2012-11-30T23:59:59Z"></time> </div> </div> Best Martin Hepp [1] http://www.heppnetz.de/ontologies/goodrelations/v1.html#microdata_specification On Dec 31, 2011, at 3:41 PM, Özer Kavak wrote: > Hi all, > > on > http://wiki.goodrelations-vocabulary.org/Quickstart > > <div about="#offering" typeof="gr:Offering"> > > > <div rev="gr:offers" resource="http://www.hepps-bagels.com/#company"></div> > > > <div property="gr:name" > > > content="Canon Rebel T2i (EOS 550D) $899" xml:lang="en"></div> > > ... > > code links the offer to the company. > > How can i do it with microdata syntax? > i could not imagine usage of itemprop instead of rev > > Thanks > özer > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations