2012-08-04 1 views
1

방금 ​​Google의 리치 스 니펫에 대해 읽은 후 광고 광고 웹 사이트에 적용 할 계획입니다.Rich Snippet의 itemtype 제품, 이제 광고를 사용하여 광고 광고 웹 사이트에 적용 할 수 있습니까?

분류 광고 웹 사이트에서 사용하는 것이 좋고 효과적입니까?

내가 추가로 읽은 내용은 그것이 게시 된 사이트에서 구입할 수있는 제품에만 영향을 미친다는 것을 이해했으며 "제품"itemtype (itemtype = " http://schema.org/Product ")는 판매자에게 오프라인으로 문의하거나 지불하거나 웹 사이트 외부에서 구매할 수있는 제품 목록이 아니어야합니다. 내 벼룩 시장 광고 웹 사이트에서 구매자는 상품 구매를 원할 경우 판매자에게 연락하고 회의에 동의합니다. 또는 회의가 가능하지 않은 경우 판매자는 판매자가 구매자로부터 가격 금액을받은 후 구매자에게 항목을 보냅니다. 다른 문의 사항이 있습니다.이 스 니펫을 eBay와 유사한 웹 사이트에 적용하고 사용할 수 있습니까?

답변

4

Google 리치 스 니펫의 경우 제공된 제품에 대한 명시적인 세부 정보없이 분류 된 광고를 모델링하는 가장 좋은 방법은 RDFa 구문에 GoodRelations 어휘 인 http://purl.org/goodrelations/을 사용하는 것입니다.

은 간단히 아래와 같이 gr:Offering 클래스를 사용

당신이 here을 볼 수 있듯이 이것은, 구글 리치 스 니펫 테스트 도구에 대한 유효성을 검사
<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#" 
    xml:lang="en" > 
<!-- The Classified Ad content --> 
    <div about="#offering" typeof="gr:Offering"> 
    <div rev="gr:offers" resource="#user1234"></div> 
    <strong property="gr:name" >Classified ad - headline (e.g. the text in bold)</strong> 
    <div property="gr:description">Here comes the full text of the classified ad .... 
    blablabla</div> 
<!-- if you have an image, use this pattern --> 
    <img rel="foaf:depiction" src="http://www.heppnetz.de/rdfa4google/image.jpg" /> 
<!-- if you know the type of business function (Sell, LeaseOut, Dispose, ProvideService, 
    attach it like this --> 
    <div rel="gr:hasBusinessFunction" 
     resource="http://purl.org/goodrelations/v1#Sell"></div> 
<!-- if you can provide the price in a structured form, use this pattern 
    (needed for Rich Snippets) --> 
    <div rel="gr:hasPriceSpecification"> 
     <div typeof="gr:UnitPriceSpecification"> 
     <div property="gr:hasCurrency" content="USD" datatype="xsd:string"></div> 
     <div property="gr:hasCurrencyValue" content="89" datatype="xsd:float"></div> 
     </div> 
    </div> 
<!-- provide the URI of a deep link to the page --> 
    <div rel="foaf:page" resource="http://www.heppnetz.de/rdfa4google/tc16.html"></div> 
    </div> 

.

희망하는 데 도움이 : 여러분의 편의를 위해

, 나는 그냥 GoodRelations의 요리 책에서 각각의 레시피를 만들어!

+0

마틴, 아주 좋습니다! 이 질문을하기 전에 이미 마이크로 데이터를 사용하여 목록 페이지를 마크 업하려고했습니다. 즉, 마이크로 데이터 형식에 대해서만 알고 있습니다. 그러나 좋은 소식은 [GoodRelation] (http://goodrelations-vocabulary.org)에 RDF 변환기 도구에 대한 링크가 있다는 것입니다. 오, 위대 .. –

관련 문제