2016-06-10 4 views
0

지역 배관공 웹 사이트의 SEO 개선을 ​​위해 노력하고 있습니다. 연락처 섹션에서 다음 요소를 사용하고 있습니다.제공된 서비스 목록에 대한 Schema.org 마크 업

<div itemscope itemtype="http://schema.org/Plumber"> 
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> 
<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates"> 

또한 제공되는 서비스를 나열하고 싶습니다. 이들은 보일러 서비스, 설치, 새는 탭 등을 포함합니다.

어떻게 여러 서비스를 마크 업합니까?

답변

1

당신은 Service의를 제공 OfferCatalogOffer의의를 추가 할 수 있습니다

<div itemscope itemtype="http://schema.org/Plumber"> 
    <span itemprop="name">Mr. Plumber</span> 
    <!-- other properties e.g. address --> 
    <ul itemprop="hasOfferCatalog" itemscope itemtype="http://schema.org/OfferCatalog"> 
     <li itemprop="itemListElement" itemscope itemtype="http://schema.org/OfferCatalog"> 
      <span itemprop="name">Services offered</span> 
      <ul itemprop="itemListElement" itemscope itemtype="http://schema.org/OfferCatalog"> 
       <li itemprop="itemListElement" itemscope itemtype="http://schema.org/Offer"> 
        <div itemprop="itemOffered" itemscope itemtype="http://schema.org/Service"> 
         <span itemprop="name">Service one name</span> 
        </div> 
       </li> 
       <li itemprop="itemListElement" itemscope itemtype="http://schema.org/Offer"> 
        <div itemprop="itemOffered" itemscope itemtype="http://schema.org/Service"> 
         <span itemprop="name">Service two name</span> 
        </div> 
       </li> 
      </ul> 
     </li> 
    </ul> 
</div> 

Google Structured Data Testing Tool

이는 OfferCatalog의 예를 기반으로합니다.