SlideShare a Scribd company logo
1 of 16
Introduction to Microdata
& Google Rich Snippets
Kishan Gor
Plus91 Technologies Pvt. Ltd.
Adding Value to Healthcare
Need for Semantics
• Machines cannot understand the content and the
context.
• Making sense out of the web content is too hard
for machines.
• If they have to understand everything, they have
to be able to understand natural languages, every
language.
• So semantics were helpful to provide meaning to
the web content and help understand the content
by annotating them.
Need for Microdata
• HTML5 is not only about new presentational
elements. It adds several semantic tags.
• Everyone comes up with their need for new
semantic elements. It’s not practical to put an
element in specification to accommodate each
and every semantics to provide relevant meaning.
• New formats like Microdata, Microformats and
RDFa for data markup were created to
accommodate such needs.
What is Microdata?
• Quoting from WHATWG Microdata Specificaiton:
– Sometimes, it is desirable to annotate content with specific machine-readable
labels, e.g. to allow generic scripts to provide services that are customized to
the page, or to enable content from a variety of cooperating authors to be
processed by a single script in a consistent manner.
• For this purpose, authors can use the microdata features described in this
section. Microdata allows nested groups of name-value pairs to be added
to documents, in parallel with the existing content.
• Microdata annotates the DOM with scoped name/value pairs from custom
vocabularies.
• Microdata vocabularies provide the semantics, or meaning of an Item.
Web developers can design a custom vocabulary or use vocabularies
available on the web. A collection of commonly used markup vocabularies
are provided by Schema.org schemas which include: Person, Event,
Organization, Product, Review, Review-aggregate, Breadcrumb, Offer,
Offer-aggregate. Major search engine operators like Google, Microsoft and
Yahoo! rely on this markup to improve search results.
Microdata Syntax
• Microdata is assigned by giving attributes to any HTML
element that contains the content.
• Attributes available:
• Itemscope - Indicates the element is a microdata element
and its child elements are part of its microdata format.
• Itemtype - Defines the vocabulary to be used by the
microdata format.
• Itemid - Allows a vocabulary to define a global identifier for
a microdata item, for example an ISBN number on a book.
• Itemprop - An individual data element.
• Itemref - Allows a microdata element to reference another
element on the page to define it by either HTML id or by
itemid.
Microdata Example
What are Google Rich Snippets?
• Snippets—the few lines of text that appear under every
search result—are designed to give users a sense for what’s
on the page and why it’s relevant to their query.
• Google Supports Microdata, Microformat and RDFa. But
Microdata is recommended by Google.
Snippets that Google Understands
• Google supports rich snippets for these
content types:
– Reviews
– People
– Products
– Businesses and organizations
– Recipes
– Events
– Music
Google Rich Snippets Example
• Let’s take an example of Product content type.
• A webpage from a store is displayed as below.
Product and it’s data is marked up using
microdata and google interprets the data.
Google Rich Snippets Example
Google Rich Snippets Testing Tool
• Structured Data Testing Tool can be used to test your
Google Rich Snippets.
• You can use tool at
http://www.google.com/webmasters/tools/richsnippets
• You can view preview of the content in Search result by
either giving the URL to the page or using posting HTML
content.
• Along with Google Search preview, it will display all the
structured data is has collected from the page.
• It will also warn you if any property is illegal for used
vocabulary.
Google Rich Snippets Testing Tool Example
Google Rich Snippets Testing Tool Example
Google Rich Snippets Testing Tool Example
• Previous Rich Snippet preview was generated using
this annotated HTML data:
Conclusion
• Microdata may not be very useful with Browsers
because they rarely do anything with those data
today but there are chances they may start using
them in future.
• But if you are structuring you data with microdata
using popular vocabulary Schema.org, search
engines will be greatly benefited from the content.
And in return, they will be able to show more
relevant results to users, so you will have better
chances at attracting users if you have relevant
content and properly annotated data.
Questions
Web: http://www.plus91.in
Email: kishan.gor@plus91.in
Twitter: @ksg91 @plus91
Facebook: http://www.facebook.com/plus91.in

More Related Content

Similar to Introduction to Microdata & Google Rich Snippets

DITA and SEO
DITA and SEODITA and SEO
DITA and SEOIXIASOFT
 
Bioschemas Workshop
Bioschemas WorkshopBioschemas Workshop
Bioschemas WorkshopNiall Beard
 
How to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentHow to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentAcquia
 
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016IXIASOFT
 
Microformats I: What & Why
Microformats I: What & WhyMicroformats I: What & Why
Microformats I: What & WhyRachael L Moore
 
How to annotate_with_wordpress
How to annotate_with_wordpressHow to annotate_with_wordpress
How to annotate_with_wordpressSTIinnsbruck
 
Integrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptx
Integrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptxIntegrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptx
Integrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptxBegum Kaya
 
What Are Rich Snippets and How To Get Rich Snippets
What Are Rich Snippets and How To Get Rich SnippetsWhat Are Rich Snippets and How To Get Rich Snippets
What Are Rich Snippets and How To Get Rich Snippetsadhishta Infotech
 
Product Catalog and IT Service Management
Product Catalog and IT Service ManagementProduct Catalog and IT Service Management
Product Catalog and IT Service ManagementDrew Madelung
 
Search Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for DevelopersSearch Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for DevelopersMatthew Robinson
 
Winning SEO Using Schema Markup and Structured Data
Winning SEO Using Schema Markup and Structured DataWinning SEO Using Schema Markup and Structured Data
Winning SEO Using Schema Markup and Structured DataMarc Trimble
 
Presentation 10all
Presentation 10allPresentation 10all
Presentation 10allguestaa4c059
 
Building a Documentation Portal
Building a Documentation PortalBuilding a Documentation Portal
Building a Documentation Portalstc-siliconvalley
 
Metadata for media companies - Ebu master class, Helsinki 2.5.2016
Metadata for media companies - Ebu master class, Helsinki 2.5.2016Metadata for media companies - Ebu master class, Helsinki 2.5.2016
Metadata for media companies - Ebu master class, Helsinki 2.5.2016Micke Hindsberg
 
MetadataTheory: Metadata Tools (7th of 10)
MetadataTheory: Metadata Tools (7th of 10)MetadataTheory: Metadata Tools (7th of 10)
MetadataTheory: Metadata Tools (7th of 10)Nikos Palavitsinis, PhD
 

Similar to Introduction to Microdata & Google Rich Snippets (20)

DITA and SEO
DITA and SEODITA and SEO
DITA and SEO
 
Bioschemas Workshop
Bioschemas WorkshopBioschemas Workshop
Bioschemas Workshop
 
How to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentHow to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured Content
 
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
Optimizing DITA Content for Search Engine Optimization tekom tcworld 2016
 
Semantic SharePoint
Semantic SharePointSemantic SharePoint
Semantic SharePoint
 
Microformats I: What & Why
Microformats I: What & WhyMicroformats I: What & Why
Microformats I: What & Why
 
How to annotate_with_wordpress
How to annotate_with_wordpressHow to annotate_with_wordpress
How to annotate_with_wordpress
 
Integrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptx
Integrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptxIntegrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptx
Integrating Structured Data (to an SEO Plan) for the Win _ WTSWorkshop '23.pptx
 
Googlesnippets
GooglesnippetsGooglesnippets
Googlesnippets
 
What Are Rich Snippets and How To Get Rich Snippets
What Are Rich Snippets and How To Get Rich SnippetsWhat Are Rich Snippets and How To Get Rich Snippets
What Are Rich Snippets and How To Get Rich Snippets
 
Product Catalog and IT Service Management
Product Catalog and IT Service ManagementProduct Catalog and IT Service Management
Product Catalog and IT Service Management
 
Search Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for DevelopersSearch Engine Optimization (Seo) for Developers
Search Engine Optimization (Seo) for Developers
 
Winning SEO Using Schema Markup and Structured Data
Winning SEO Using Schema Markup and Structured DataWinning SEO Using Schema Markup and Structured Data
Winning SEO Using Schema Markup and Structured Data
 
Presentation 10all
Presentation 10allPresentation 10all
Presentation 10all
 
From Microdata & Schema to rich snippets - SMX Munich - #SMX by @jbobbink
From Microdata & Schema to rich snippets - SMX Munich - #SMX by @jbobbinkFrom Microdata & Schema to rich snippets - SMX Munich - #SMX by @jbobbink
From Microdata & Schema to rich snippets - SMX Munich - #SMX by @jbobbink
 
Building a Documentation Portal
Building a Documentation PortalBuilding a Documentation Portal
Building a Documentation Portal
 
Schema Tags In Seo
Schema Tags In SeoSchema Tags In Seo
Schema Tags In Seo
 
Metadata for media companies - Ebu master class, Helsinki 2.5.2016
Metadata for media companies - Ebu master class, Helsinki 2.5.2016Metadata for media companies - Ebu master class, Helsinki 2.5.2016
Metadata for media companies - Ebu master class, Helsinki 2.5.2016
 
Pratical Deep Dive into the Semantic Web - #smconnect
Pratical Deep Dive into the Semantic Web - #smconnectPratical Deep Dive into the Semantic Web - #smconnect
Pratical Deep Dive into the Semantic Web - #smconnect
 
MetadataTheory: Metadata Tools (7th of 10)
MetadataTheory: Metadata Tools (7th of 10)MetadataTheory: Metadata Tools (7th of 10)
MetadataTheory: Metadata Tools (7th of 10)
 

More from Plus91 Technologies Pvt. Ltd. (14)

12 laws of karma
12 laws of karma12 laws of karma
12 laws of karma
 
LabC - LIMS solution from Plus91
LabC - LIMS solution from Plus91LabC - LIMS solution from Plus91
LabC - LIMS solution from Plus91
 
MediXcel - EMR solution from Plus91
MediXcel - EMR solution from Plus91MediXcel - EMR solution from Plus91
MediXcel - EMR solution from Plus91
 
Emails for Improved Doctor Patient Communication
Emails for Improved Doctor Patient CommunicationEmails for Improved Doctor Patient Communication
Emails for Improved Doctor Patient Communication
 
Basic Computer Security for Doctors
Basic Computer Security for DoctorsBasic Computer Security for Doctors
Basic Computer Security for Doctors
 
Healthcare Get Started With Twitter
Healthcare Get Started With TwitterHealthcare Get Started With Twitter
Healthcare Get Started With Twitter
 
MEDICAL WEBSITES CAN HELP A PATIENT EXPERIENCE A DOCTOR'S AWESOMENESS
MEDICAL WEBSITES CAN HELP A PATIENT EXPERIENCE A DOCTOR'S AWESOMENESS MEDICAL WEBSITES CAN HELP A PATIENT EXPERIENCE A DOCTOR'S AWESOMENESS
MEDICAL WEBSITES CAN HELP A PATIENT EXPERIENCE A DOCTOR'S AWESOMENESS
 
Plus91 - Brief Profile
Plus91 - Brief ProfilePlus91 - Brief Profile
Plus91 - Brief Profile
 
Websites for Orthopedics
Websites for OrthopedicsWebsites for Orthopedics
Websites for Orthopedics
 
Websites for Dermatologist
Websites for DermatologistWebsites for Dermatologist
Websites for Dermatologist
 
Websites for Dentists
Websites for DentistsWebsites for Dentists
Websites for Dentists
 
Websites for Paediatricians
Websites for PaediatriciansWebsites for Paediatricians
Websites for Paediatricians
 
Websites for Ayurvedic Practitioners
Websites for Ayurvedic PractitionersWebsites for Ayurvedic Practitioners
Websites for Ayurvedic Practitioners
 
Doctors Website
Doctors WebsiteDoctors Website
Doctors Website
 

Recently uploaded

Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 

Recently uploaded (20)

Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 

Introduction to Microdata & Google Rich Snippets

  • 1. Introduction to Microdata & Google Rich Snippets Kishan Gor Plus91 Technologies Pvt. Ltd. Adding Value to Healthcare
  • 2. Need for Semantics • Machines cannot understand the content and the context. • Making sense out of the web content is too hard for machines. • If they have to understand everything, they have to be able to understand natural languages, every language. • So semantics were helpful to provide meaning to the web content and help understand the content by annotating them.
  • 3. Need for Microdata • HTML5 is not only about new presentational elements. It adds several semantic tags. • Everyone comes up with their need for new semantic elements. It’s not practical to put an element in specification to accommodate each and every semantics to provide relevant meaning. • New formats like Microdata, Microformats and RDFa for data markup were created to accommodate such needs.
  • 4. What is Microdata? • Quoting from WHATWG Microdata Specificaiton: – Sometimes, it is desirable to annotate content with specific machine-readable labels, e.g. to allow generic scripts to provide services that are customized to the page, or to enable content from a variety of cooperating authors to be processed by a single script in a consistent manner. • For this purpose, authors can use the microdata features described in this section. Microdata allows nested groups of name-value pairs to be added to documents, in parallel with the existing content. • Microdata annotates the DOM with scoped name/value pairs from custom vocabularies. • Microdata vocabularies provide the semantics, or meaning of an Item. Web developers can design a custom vocabulary or use vocabularies available on the web. A collection of commonly used markup vocabularies are provided by Schema.org schemas which include: Person, Event, Organization, Product, Review, Review-aggregate, Breadcrumb, Offer, Offer-aggregate. Major search engine operators like Google, Microsoft and Yahoo! rely on this markup to improve search results.
  • 5. Microdata Syntax • Microdata is assigned by giving attributes to any HTML element that contains the content. • Attributes available: • Itemscope - Indicates the element is a microdata element and its child elements are part of its microdata format. • Itemtype - Defines the vocabulary to be used by the microdata format. • Itemid - Allows a vocabulary to define a global identifier for a microdata item, for example an ISBN number on a book. • Itemprop - An individual data element. • Itemref - Allows a microdata element to reference another element on the page to define it by either HTML id or by itemid.
  • 7. What are Google Rich Snippets? • Snippets—the few lines of text that appear under every search result—are designed to give users a sense for what’s on the page and why it’s relevant to their query. • Google Supports Microdata, Microformat and RDFa. But Microdata is recommended by Google.
  • 8. Snippets that Google Understands • Google supports rich snippets for these content types: – Reviews – People – Products – Businesses and organizations – Recipes – Events – Music
  • 9. Google Rich Snippets Example • Let’s take an example of Product content type. • A webpage from a store is displayed as below. Product and it’s data is marked up using microdata and google interprets the data.
  • 11. Google Rich Snippets Testing Tool • Structured Data Testing Tool can be used to test your Google Rich Snippets. • You can use tool at http://www.google.com/webmasters/tools/richsnippets • You can view preview of the content in Search result by either giving the URL to the page or using posting HTML content. • Along with Google Search preview, it will display all the structured data is has collected from the page. • It will also warn you if any property is illegal for used vocabulary.
  • 12. Google Rich Snippets Testing Tool Example
  • 13. Google Rich Snippets Testing Tool Example
  • 14. Google Rich Snippets Testing Tool Example • Previous Rich Snippet preview was generated using this annotated HTML data:
  • 15. Conclusion • Microdata may not be very useful with Browsers because they rarely do anything with those data today but there are chances they may start using them in future. • But if you are structuring you data with microdata using popular vocabulary Schema.org, search engines will be greatly benefited from the content. And in return, they will be able to show more relevant results to users, so you will have better chances at attracting users if you have relevant content and properly annotated data.
  • 16. Questions Web: http://www.plus91.in Email: kishan.gor@plus91.in Twitter: @ksg91 @plus91 Facebook: http://www.facebook.com/plus91.in