SlideShare ist ein Scribd-Unternehmen logo
1 von 22
WEB PLATFORMS SUPPORT FOR POSH
CONSTRUCTS IN ORDER TO
SEMANTICALLY DESCRIBE THE CONTENT.

                           Dinu Suman
WEB 3.0 AND SEMANTIC WEB
SEMANTIC WEB

      “… a place where machines can read Web
 pages much as we humans read them, a place
 where search engines and software agents can
 better troll the Net and find what we’re looking for.”
 (PCMag)
WHAT IS POSH ?

Plain Old Semantic HTML (POSH)

POSH ≈ “valid, semantic, accessible, well-structured
 HTML”
THE POSH CHECKLIST:
 The first rule of POSH is that you must validate
  your POSH.
 Second, drop the use of TABLEs for purely
  presentational purposes, spacer GIFs, and
  presentational-html in general.
 Next, fix your “Bed and BReakfast” markup.

 Eliminate “Anorexic Anchors”.

 Use good semantic-class-names.

 ...
                                      http://microformats.org/wiki/posh
SEMANTIC REPRESENTATIONS
 Microformats - 2005
 RDF – 2004 (not covered here)

 Microdata - 2011
USAGE:
   Search for reviews




   Search for songs, albums
USAGE
   http://www.flickr.com/map/ - Geo tagging
MICROFORMATS
 “A microformat is a web-based approach to
 semantic markup which seeks to re-use
 existing HTML/XHTML tags to
 convey metadata and other attributes in web pages
 and other contexts that support (X)HTML, such
 as RSS. This approach allows software to process
 information intended for end-users (such as contact
 information, geographic coordinates, calendar
 events, and the like) automatically.” (Wikipedia)
MICROFORMATS
 Easy to write
 Html attributes used:
     class
     rel
     rev
COMMONLY USED TYPE:
 hAtom
 hCalendar

 hCard

 hResume

 hReview

 rel=“tag”, rel=“nofollow”, rel=“licence”

 XFN
EXAMPLE 1 - HCARD
<div id="hcard-Dinu-Suman" class="vcard">
   <span class="fn">Dinu Suman</span>
   <div class="org">Universitatea Alexandru Ioan Cuza</div>
   <a class="email"
       href="mailto:dinu.suman@info.uaic.ro">dinu.suman@info.uaic.ro
       </a>
   <div class="adr">
        <div class="street-address">bd. Carol I</div>
        <span class="locality">Iasi</span>,
        <span class="postal-code">70100</span>
        <span class="country-name">Romania</span>
   </div>
   <div class="tel">(0232) 22-33-44</div>
</div>
EXAMPLE 2 - HCALENDAR
<div class="vevent" id="hcalendar-Web-Client-Presentation">
   <abbr class="dtstart" title="2012-01-10">January 10th</abbr> :
   <abbr class="dtend" title="2012-01-18">18th, 2012</abbr>
   <span class="summary">Web Client Presentation</span>
   <div class="description">Tema 2 la obiectul “Dezvoltarea aplicatiilor
       Web la nivel de client" </div>
   <div class="tags">Tags:
        <a rel="tag"
         href="http://eventful.com/events/tags/web">web</a>,
        <a rel="tag" href="http://eventful.com/events/tags/cliw">
         cliw</a>,
        <a rel="tag" href="http://eventful.com/events/tags/infoiasi">
         infoiasi</a>,
   </div>
</div>
EXAMPLE 3 - HREVIEW
<div class="hreview" id="hreview-cool-Monitor">
  <h2 class="summary">cool Monitor</h2>
  <abbr class="dtreviewed" title="2004-01-09T16:02">Jan 9, 2004</abbr>
  by
  <span class="reviewer vcard">
           <span class="fn">Dinu</span>
  </span>
  <img alt="photo of 'BenQ XL2410T'" src="http://bit.ly/xD5ohY"
  class="photo" />
  <div class="item">
           <a class="fn url" href="http://www.trustedreviews.com/BenQ-
           XL2410T_Monitor_review">BenQ XL2410T</a>
  </div>
  <abbr title="5" class="rating">★★★★★</abbr>
</div>
MICRODATA
 Only in Html5 and XHtml 5
 (X)Html5 attributes:
       itemscope
       itemtype
       itemid
       itemprop
       itemref
COMMONLY USED TYPE:
 Creative works: CreativeWork, Book, Movie,
MusicRecording, Recipe, TVSeries ...
 Embedded non-text
  objects: AudioObject, ImageObject, VideoObject
 Event

 Organization

 Person

 Place, LocalBusiness, Restaurant ...

 Product, Offer, AggregateOffer

 Review, AggregateRating
EXAMPLE 1 - PERSON
<div itemscope itemtype="http://schema.org/Person">
     <a itemprop="url" href="www.info.uaic.ro/~dinu.suman">
         <div itemprop="name"><strong>Dinu Suman</strong></div>
     </a>
     <div itemscope itemtype="http://schema.org/Organization">
         <span itemprop="name">Universitatea Alexandru Ioan Cuza</span>
     </div>
     <div itemprop="jobtitle">Student</div>
     <div itemprop="description">Student anul 3</div>
     <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
          <div>
             <span itemprop="addressLocality">Iasi</span>
          </div>
          <div itemprop="postalCode">70000</div>
          <div itemprop="addressCountry">Romania</div>
     </div>
     <div itemprop="email">dinu.suman@info.uaic.ro</div>
     <div>
         <meta itemprop="birthDate" content="1-01-1990">DOB: 01/1990/1
     </div>
</div>
EXAMPLE 2 - PRODUCT
<div itemscope itemtype="http://schema.org/Product">
     <a itemprop="url" href="www.mouse.com/razer-x123">
         <div itemprop="name"><strong>Mouse Razer X123</strong></div>
     </a>
     <div itemprop="description">Cel mai bun Mouse</div>
     <div itemprop="brand" itemscope itemtype="http://schema.org/Organization">
         <span itemprop="name">Logitech</span>
     </div>
     <div>Model: <span itemprop="model">Razer X123</span></div>
     <div>Product ID: <span itemprop="productID">1</span></div>
     <div itemprop="aggregateRating" itemscope
         itemtype="http://schema.org/AggregateRating">
         <span itemprop="ratingValue">3.7</span> based on <span
             itemprop="reviewCount">20</span> reviews</div>
         <div itemprop="offers" itemscope      itemtype="http://schema.org/Offer">
         <span itemprop="price">500</span>
         <link itemprop="itemCondition" href="http://schema.org/NewCondition" />
         New
     </div>
</div>
EXAMPLE 3 - MOVIE
<div itemscope itemtype="http://schema.org/Movie">
   <a itemprop="url" href="www.imdb.com/title/tt1375666/">
            <div itemprop="name"><strong>Inception</strong></div>
   </a>
    <div itemprop="director" itemscope itemtype="http://schema.org/Person">
   Directed by: <span itemprop="name">Christopher Nolan</span>
    </div>
    <div>
        Starring:
        <div itemprop="actors" itemscope itemtype="http://schema.org/Person">
            <span itemprop="name">Leonardo DiCaprio</span>
        </div>
        <div itemprop="actors" itemscope itemtype="http://schema.org/Person">
            <span itemprop="name">Ken Watanabe</span>
    </div>
   </div>
</div>
TOOLS:
   Firefox Addon “Operator” -
    https://addons.mozilla.org/en-
    US/firefox/addon/operator/




 IE Addon “Oomph 2” -
  http://www.ieaddons.com/en/addons/detail.aspx?id
  =1110
 Safari -
  http://zappatic.net/projects/safarimicroformats
REFERENCES + USEFUL RESOURCES:
 http://microformats.org/
 http://schema.org



 http://developer.search.yahoo.com/start
 http://support.google.com/webmasters/bin/topic.py?
  hl=en&topic=21997
 http://bit.ly/yNolQE - Microformats Cheat-Sheet

 http://schema-creator.org
Q&A?

Weitere ähnliche Inhalte

Was ist angesagt?

Creative chase busting v2
Creative chase busting   v2Creative chase busting   v2
Creative chase busting v2b3333333333jal
 
Angular js quickstart
Angular js quickstartAngular js quickstart
Angular js quickstartLinkMe Srl
 
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasFrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasLoiane Groner
 
Javascript basic programs
Javascript basic programsJavascript basic programs
Javascript basic programsDigital Shende
 
QuickConnect
QuickConnectQuickConnect
QuickConnectAnnu G
 
Xss is more than a simple threat
Xss is more than a simple threatXss is more than a simple threat
Xss is more than a simple threatAvădănei Andrei
 

Was ist angesagt? (12)

The Devil and HTML5
The Devil and HTML5The Devil and HTML5
The Devil and HTML5
 
Diy frozen snow globe
Diy frozen snow globeDiy frozen snow globe
Diy frozen snow globe
 
Guia de-estudio-2
Guia de-estudio-2Guia de-estudio-2
Guia de-estudio-2
 
Reacting to a Virtual World
Reacting to a Virtual WorldReacting to a Virtual World
Reacting to a Virtual World
 
Creative chase busting v2
Creative chase busting   v2Creative chase busting   v2
Creative chase busting v2
 
Angular js quickstart
Angular js quickstartAngular js quickstart
Angular js quickstart
 
Test upload
Test uploadTest upload
Test upload
 
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasFrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
 
Javascript basic programs
Javascript basic programsJavascript basic programs
Javascript basic programs
 
QuickConnect
QuickConnectQuickConnect
QuickConnect
 
shoubox script
shoubox scriptshoubox script
shoubox script
 
Xss is more than a simple threat
Xss is more than a simple threatXss is more than a simple threat
Xss is more than a simple threat
 

Ähnlich wie Semantic web support for POSH

Microdata semantic-extend
Microdata semantic-extendMicrodata semantic-extend
Microdata semantic-extendSeek Tan
 
Microformats - a quick primer
Microformats - a quick primerMicroformats - a quick primer
Microformats - a quick primerChad Henderson
 
Advanced Schema Markup Techniques As Told by Super Saiyans
Advanced Schema Markup Techniques As Told by Super SaiyansAdvanced Schema Markup Techniques As Told by Super Saiyans
Advanced Schema Markup Techniques As Told by Super SaiyansJoe Kelly
 
Structured data
Structured dataStructured data
Structured dataSon Dang
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單偉格 高
 
Get Structured, Get Sexy... Get Schema!
Get Structured, Get Sexy... Get Schema!Get Structured, Get Sexy... Get Schema!
Get Structured, Get Sexy... Get Schema!Mitch Canter
 
Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Nirav Patel
 
The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet Shubham Kumar Singh
 
Seo cheat sheet
Seo cheat sheetSeo cheat sheet
Seo cheat sheetRohan Jha
 
Microformats and SEO
Microformats and SEOMicroformats and SEO
Microformats and SEOGlenn Jones
 
Makroekonomi topik-8-1
Makroekonomi topik-8-1Makroekonomi topik-8-1
Makroekonomi topik-8-1020881
 

Ähnlich wie Semantic web support for POSH (20)

Microdata semantic-extend
Microdata semantic-extendMicrodata semantic-extend
Microdata semantic-extend
 
Microformats - a quick primer
Microformats - a quick primerMicroformats - a quick primer
Microformats - a quick primer
 
smoke1272528461
smoke1272528461smoke1272528461
smoke1272528461
 
Advanced Schema Markup Techniques As Told by Super Saiyans
Advanced Schema Markup Techniques As Told by Super SaiyansAdvanced Schema Markup Techniques As Told by Super Saiyans
Advanced Schema Markup Techniques As Told by Super Saiyans
 
Structured data
Structured dataStructured data
Structured data
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Seo Cheat Sheet
Seo Cheat SheetSeo Cheat Sheet
Seo Cheat Sheet
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
HTML5 Essentials
HTML5 EssentialsHTML5 Essentials
HTML5 Essentials
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
 
Get Structured, Get Sexy... Get Schema!
Get Structured, Get Sexy... Get Schema!Get Structured, Get Sexy... Get Schema!
Get Structured, Get Sexy... Get Schema!
 
Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016Moz SEO Web cheat sheet 2016
Moz SEO Web cheat sheet 2016
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet The Web Developer's SEO Cheat Sheet
The Web Developer's SEO Cheat Sheet
 
Seo cheat sheet
Seo cheat sheetSeo cheat sheet
Seo cheat sheet
 
Seo cheat sheet
Seo cheat sheetSeo cheat sheet
Seo cheat sheet
 
Seo cheat-sheet
Seo cheat-sheetSeo cheat-sheet
Seo cheat-sheet
 
Seo onpage for Developer
Seo onpage for DeveloperSeo onpage for Developer
Seo onpage for Developer
 
Microformats and SEO
Microformats and SEOMicroformats and SEO
Microformats and SEO
 
Makroekonomi topik-8-1
Makroekonomi topik-8-1Makroekonomi topik-8-1
Makroekonomi topik-8-1
 

Kürzlich hochgeladen

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Kürzlich hochgeladen (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

Semantic web support for POSH

  • 1. WEB PLATFORMS SUPPORT FOR POSH CONSTRUCTS IN ORDER TO SEMANTICALLY DESCRIBE THE CONTENT. Dinu Suman
  • 2. WEB 3.0 AND SEMANTIC WEB
  • 3. SEMANTIC WEB “… a place where machines can read Web pages much as we humans read them, a place where search engines and software agents can better troll the Net and find what we’re looking for.” (PCMag)
  • 4. WHAT IS POSH ? Plain Old Semantic HTML (POSH) POSH ≈ “valid, semantic, accessible, well-structured HTML”
  • 5. THE POSH CHECKLIST:  The first rule of POSH is that you must validate your POSH.  Second, drop the use of TABLEs for purely presentational purposes, spacer GIFs, and presentational-html in general.  Next, fix your “Bed and BReakfast” markup.  Eliminate “Anorexic Anchors”.  Use good semantic-class-names.  ... http://microformats.org/wiki/posh
  • 6. SEMANTIC REPRESENTATIONS  Microformats - 2005  RDF – 2004 (not covered here)  Microdata - 2011
  • 7. USAGE:  Search for reviews  Search for songs, albums
  • 8. USAGE  http://www.flickr.com/map/ - Geo tagging
  • 9. MICROFORMATS “A microformat is a web-based approach to semantic markup which seeks to re-use existing HTML/XHTML tags to convey metadata and other attributes in web pages and other contexts that support (X)HTML, such as RSS. This approach allows software to process information intended for end-users (such as contact information, geographic coordinates, calendar events, and the like) automatically.” (Wikipedia)
  • 10. MICROFORMATS  Easy to write  Html attributes used:  class  rel  rev
  • 11. COMMONLY USED TYPE:  hAtom  hCalendar  hCard  hResume  hReview  rel=“tag”, rel=“nofollow”, rel=“licence”  XFN
  • 12. EXAMPLE 1 - HCARD <div id="hcard-Dinu-Suman" class="vcard"> <span class="fn">Dinu Suman</span> <div class="org">Universitatea Alexandru Ioan Cuza</div> <a class="email" href="mailto:dinu.suman@info.uaic.ro">dinu.suman@info.uaic.ro </a> <div class="adr"> <div class="street-address">bd. Carol I</div> <span class="locality">Iasi</span>, <span class="postal-code">70100</span> <span class="country-name">Romania</span> </div> <div class="tel">(0232) 22-33-44</div> </div>
  • 13. EXAMPLE 2 - HCALENDAR <div class="vevent" id="hcalendar-Web-Client-Presentation"> <abbr class="dtstart" title="2012-01-10">January 10th</abbr> : <abbr class="dtend" title="2012-01-18">18th, 2012</abbr> <span class="summary">Web Client Presentation</span> <div class="description">Tema 2 la obiectul “Dezvoltarea aplicatiilor Web la nivel de client" </div> <div class="tags">Tags: <a rel="tag" href="http://eventful.com/events/tags/web">web</a>, <a rel="tag" href="http://eventful.com/events/tags/cliw"> cliw</a>, <a rel="tag" href="http://eventful.com/events/tags/infoiasi"> infoiasi</a>, </div> </div>
  • 14. EXAMPLE 3 - HREVIEW <div class="hreview" id="hreview-cool-Monitor"> <h2 class="summary">cool Monitor</h2> <abbr class="dtreviewed" title="2004-01-09T16:02">Jan 9, 2004</abbr> by <span class="reviewer vcard"> <span class="fn">Dinu</span> </span> <img alt="photo of 'BenQ XL2410T'" src="http://bit.ly/xD5ohY" class="photo" /> <div class="item"> <a class="fn url" href="http://www.trustedreviews.com/BenQ- XL2410T_Monitor_review">BenQ XL2410T</a> </div> <abbr title="5" class="rating">★★★★★</abbr> </div>
  • 15. MICRODATA  Only in Html5 and XHtml 5  (X)Html5 attributes:  itemscope  itemtype  itemid  itemprop  itemref
  • 16. COMMONLY USED TYPE:  Creative works: CreativeWork, Book, Movie, MusicRecording, Recipe, TVSeries ...  Embedded non-text objects: AudioObject, ImageObject, VideoObject  Event  Organization  Person  Place, LocalBusiness, Restaurant ...  Product, Offer, AggregateOffer  Review, AggregateRating
  • 17. EXAMPLE 1 - PERSON <div itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href="www.info.uaic.ro/~dinu.suman"> <div itemprop="name"><strong>Dinu Suman</strong></div> </a> <div itemscope itemtype="http://schema.org/Organization"> <span itemprop="name">Universitatea Alexandru Ioan Cuza</span> </div> <div itemprop="jobtitle">Student</div> <div itemprop="description">Student anul 3</div> <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> <div> <span itemprop="addressLocality">Iasi</span> </div> <div itemprop="postalCode">70000</div> <div itemprop="addressCountry">Romania</div> </div> <div itemprop="email">dinu.suman@info.uaic.ro</div> <div> <meta itemprop="birthDate" content="1-01-1990">DOB: 01/1990/1 </div> </div>
  • 18. EXAMPLE 2 - PRODUCT <div itemscope itemtype="http://schema.org/Product"> <a itemprop="url" href="www.mouse.com/razer-x123"> <div itemprop="name"><strong>Mouse Razer X123</strong></div> </a> <div itemprop="description">Cel mai bun Mouse</div> <div itemprop="brand" itemscope itemtype="http://schema.org/Organization"> <span itemprop="name">Logitech</span> </div> <div>Model: <span itemprop="model">Razer X123</span></div> <div>Product ID: <span itemprop="productID">1</span></div> <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <span itemprop="ratingValue">3.7</span> based on <span itemprop="reviewCount">20</span> reviews</div> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <span itemprop="price">500</span> <link itemprop="itemCondition" href="http://schema.org/NewCondition" /> New </div> </div>
  • 19. EXAMPLE 3 - MOVIE <div itemscope itemtype="http://schema.org/Movie"> <a itemprop="url" href="www.imdb.com/title/tt1375666/"> <div itemprop="name"><strong>Inception</strong></div> </a> <div itemprop="director" itemscope itemtype="http://schema.org/Person"> Directed by: <span itemprop="name">Christopher Nolan</span> </div> <div> Starring: <div itemprop="actors" itemscope itemtype="http://schema.org/Person"> <span itemprop="name">Leonardo DiCaprio</span> </div> <div itemprop="actors" itemscope itemtype="http://schema.org/Person"> <span itemprop="name">Ken Watanabe</span> </div> </div> </div>
  • 20. TOOLS:  Firefox Addon “Operator” - https://addons.mozilla.org/en- US/firefox/addon/operator/  IE Addon “Oomph 2” - http://www.ieaddons.com/en/addons/detail.aspx?id =1110  Safari - http://zappatic.net/projects/safarimicroformats
  • 21. REFERENCES + USEFUL RESOURCES:  http://microformats.org/  http://schema.org  http://developer.search.yahoo.com/start  http://support.google.com/webmasters/bin/topic.py? hl=en&topic=21997  http://bit.ly/yNolQE - Microformats Cheat-Sheet  http://schema-creator.org
  • 22. Q&A?