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

WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2
 

Recently uploaded (20)

WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - Kanchana
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 

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