SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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)
 

Mehr von 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
 

Kürzlich hochgeladen

What need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersWhat need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersEmilyJiang23
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
Malaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMalaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMok TH
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAlluxio, Inc.
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Andrea Goulet
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Gáspár Nagy
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfmbmh111980
 
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024Primacy Infotech
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfsteffenkarlsson2
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdfkalichargn70th171
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignNeo4j
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfDeskTrack
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Henry Schreiner
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Andreas Granig
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationHelp Desk Migration
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesNeo4j
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024Shane Coughlan
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems ApproachNeo4j
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionMohammed Fazuluddin
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAlluxio, Inc.
 

Kürzlich hochgeladen (20)

What need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersWhat need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java Developers
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Malaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMalaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptx
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
Odoo vs Shopify: Why Odoo is Best for Ecommerce Website Builder in 2024
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdfStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi.pdf
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdf
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and Prevention
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 

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