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
Mon Jun 3 11:19:47 CEST 2013
Dear Paul: See my inline replies: On May 14, 2013, at 1:17 AM, Paul Sunny wrote: > Hello, > > Am trying to integrate my online store with goodrelations and I have a couple of quick questions. > > 1) Is there any way to link more than one category to a partucular product other than the hierarchial structure mentioned? > You can use gr:category multiple times for indicating multiple categories per product; those can be either hierarchical or flat strings: <div typeof="gr:SomeItems vso:Canoe" about="#product"> <span property="g:name">ACME Foldable Canoe</span> <div property="gr:category" content="Outdoors/Boats/Canoes"></div> <div property="gr:category" content="Sports"></div> </div> > 2) how to upload the image using URL? > I recommend using one of the two properties foaf:depiction or schema:image. You can attach it either to the gr:ProductOrService or the gr:Offering. Note that at this point Google does not show product images in Rich Snippets. <!-- in RDFa 1.1, you can use the abbreviation: <div profile="http://www.heppnetz.de/grprofile/"> --> <div xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:gr="http://purl.org/goodrelations/v1#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> <div about="#offering" typeof="gr:Offering"> <div property="gr:name" content="Canon Rebel T2i (EOS 550D) $899" xml:lang="en"></div> ... <div rel="foaf:depiction" resource="http://a.img-dpreview.com/previews/CanonEOS550D/images/intro.jpg"> ... </div> </div> > I would really appreciate if you could provide me with answers. > > Thanks and regards > Paul > Avetti.com > > _______________________________________________ > goodrelations mailing list > goodrelations at ebusiness-unibw.org > http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations -------------------------------------------------------- martin hepp e-business & web science research group universitaet der bundeswehr muenchen e-mail: hepp at ebusiness-unibw.org phone: +49-(0)89-6004-4217 fax: +49-(0)89-6004-4620 www: http://www.unibw.de/ebusiness/ (group) http://www.heppnetz.de/ (personal) skype: mfhepp twitter: mfhepp Check out GoodRelations for E-Commerce on the Web of Linked Data! ================================================================= * Project Main Page: http://purl.org/goodrelations/