Do-it-yourself Schema.org: customizing micro-layout without a programmer

Do-it-yourself Schema.org: customizing micro-layout without a programmer

Programmers are now offended, but not necessary. They will try to cope without you, and then they will come to you with the request to repair everything that broke in the process. Joke. Nearly.


We talk about the vocabulary and micro-markup syntax, assembled several plugins and tools for creating and checking markup, and took apart one of the plugins in steps.


, Schema.org, .



Schema.org β€” , , . , , site.ru/product_page1 , : , , , .. .


Schema.org . , , :


  • Open Graph. Facebook, (, , ). Facebook, (, , ..).
  • . W3C, 2007 . , , . , , Schema.org.
  • Dublin Core. β€” .



β€” , . β€” , . Schema.org, Open Graph, Dublin Core β€” .


β€” html- . β€” , .


, Schema.org:



, , .



. : , β€” , β€” .


Do-it-yourself Schema.org: customizing micro-layout without a programmer

, :


Do-it-yourself Schema.org: customizing micro-layout without a programmer

:


Do-it-yourself Schema.org: customizing micro-layout without a programmer

: , :


Do-it-yourself Schema.org: customizing micro-layout without a programmer

Schema.org, β€” .


β€” Google ( ).



Google . : , ( , ).


SEO Promopult: . β€” . -, , . , . ( ).



( ). , , : , .


: β†’ β†’ β†’ .


β€” , ( ).


Schema.org


(, ) , (SKU, , ..).


β€” schema.org.


Do-it-yourself Schema.org: customizing micro-layout without a programmer

β€” () Thing ( )


, :


  • Product β€” , . , , , .. , /: , , , , , , , , SKU ..
  • Event (). , : , , .. Schema.org Event . , (BusinessEvent), (Festival), (SportsEvent).
  • Recipe β€” . , , , .
  • Review (). β€” «» .


, Schema.org :


  • RDFa;
  • ;
  • ;
  • JSON-LD.

, (JSON-LD) β€” .


Google JSON-LD β€” , RDFa, .


: JSON-LD ( .). , ( ), . β€” RDFa ( , β€” ).


Google β€” JSON-LD.


JSON-LD


. , .


JSON-LD :


<script type="application/ld+json">
{
//  
}
</script>

β€” , ( <html>, <head> <body> html-). , : , .



<script type="application/ld+json">
{
"@context": "https://schema.org/", //    β€” Schema.org
"@type": "Product", //  β€” 
"name": "iPhone", //  β€”  
"image": "https://site.ru/iphone10.png", // URL  
"description": "iPhone 10", // 
"brand": "Apple", // -
"aggregateRating": { // 
"@type": "AggregateRating",
"ratingValue": "5", // 
"ratingCount": "56" //  
}
}
</script>

! , , . , .


JSON-LD


JSON-LD ( ) β€” , . JSON-LD, :



Do-it-yourself Schema.org: customizing micro-layout without a programmer


Do-it-yourself Schema.org: customizing micro-layout without a programmer


Do-it-yourself Schema.org: customizing micro-layout without a programmer


, . JSON-LD , , .


:



Do-it-yourself Schema.org: customizing micro-layout without a programmer

  • .

Do-it-yourself Schema.org: customizing micro-layout without a programmer

JSON-LD?


( ) β€” . <head> </head> .


JSON-LD .



HTML ( JSON-LD β€” JavaScript). β€” .


β€” :


  • itemscope β€” , (<div>...</div>) ();
  • itemtype β€” ;
  • itemprop β€” .

:


<div itemscope itemtype="http://schema.org/Movie">
<h1 itemprop="name"></h1>
<div itemprop="director" itemscope itemtype="http://schema.org/Person">:
<span itemprop="name"> </span>
(. <span itemprop="birthDate"> 20  1970 .</span>)
</div>
<span itemprop="genre"> </span>
<a href="../movies/interstellar-2-trailer.html" itemprop="trailer"></a>
</div>

β€” .



, -:



Do-it-yourself Schema.org: customizing micro-layout without a programmer


Do-it-yourself Schema.org: customizing micro-layout without a programmer


Do-it-yourself Schema.org: customizing micro-layout without a programmer


( ).



, .



Google β€” .


:


  • , ;
  • , Google (, ).


;


Do-it-yourself Schema.org: customizing micro-layout without a programmer

  • URL . , - β€” . β€” . . β€” , .
  • Β« Β».

Do-it-yourself Schema.org: customizing micro-layout without a programmer

  • . Β« Β» , . , . (, ) .

Do-it-yourself Schema.org: customizing micro-layout without a programmer

  • Similarly, label all required and optional elements. Then click Finish. In the pop-up window, the tool will offer to select a group of similar pages selected by the system, or create your own group. Select the option you want and click Create Page Group.

Do-it-yourself Schema.org: customizing micro-layout without a programmer

  • At the next step, the system will offer to check the correct layout of other pages. If there are many similar pages, the system will show several sample pages. Check the markup and correct errors if some elements are incorrectly marked by the system. Then publish the micro-markup.

Do-it-yourself Schema.org: customizing micro-layout without a programmer

Googlebots will crawl the site’s pages and take into account the specified micro-layout.


How to change or remove micro-layout


<> Open the Search Console and go to the Marker section. Select the group of pages that you added when marking up. Edit them or delete the group completely.
Do-it-yourself Schema.org: customizing micro-layout without a programmer

Google , .


! Google. , . , - .



CMS?


CMS β€” . , . , :



Do-it-yourself Schema.org: customizing micro-layout without a programmer


Do-it-yourself Schema.org: customizing micro-layout without a programmer

  • Schema. JSON-LD. ( 99$). β€” , , , , . , Schema.org .

Do-it-yourself Schema.org: customizing micro-layout without a programmer


Do-it-yourself Schema.org: customizing micro-layout without a programmer

Schema:


Schema, . Settings β†’ General. .


Do-it-yourself Schema.org: customizing micro-layout without a programmer

β€” Knowledge Graph. , β€” Person, , Organization ( ).


Do-it-yourself Schema.org: customizing micro-layout without a programmer

Schemas. Β« Β» «». , β€” .


Do-it-yourself Schema.org: customizing micro-layout without a programmer

, Schema. Advanced Β«Delete Data on UninstallΒ».


Do-it-yourself Schema.org: customizing micro-layout without a programmer

. β€” <head>...</head> JSON-LD.


Google ( ). , β€” .


Do-it-yourself Schema.org: customizing micro-layout without a programmer

. β€” .



  • Schema.org β€” , , .
  • . β†’ CTR.
  • ? RDFa.
  • Google β€” JSON-LD.
  • Google . Search Console ( , ).
  • β€” . .
  • .

β€” . CMS β€” , .

Source: https://habr.com/ru/post/undefined/


All Articles