Microformats

Matthias Pfefferle
microformats
barcamp rhein-neckar
  matthias pfefferle




                       1
microformats.org über
    microformats

• Designed for humans first and machines
  second, microformats are a set of simple,
  open data formats built upon existing and
  widely adopted standards.




                                              2
ein beispiel:



                3
hCalendar



            4
<p class=quot;veventquot;>
<span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von
Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00
+02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr
class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a
href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url
locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>.
</p>




                                                               5
<p class=quot;veventquot;>
<span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von
Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00
+02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr
class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a
href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url
locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>.
</p>




                                                               6
<p class=quot;veventquot;>
<span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von
Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00
+02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr
class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a
href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url
locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>.
</p>




                                                               7
<p class=quot;veventquot;>
<span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von
Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00
+02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr
class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a
href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url
locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>.
</p>




                                                               8
<p class=quot;veventquot;>
<span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von
Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00
+02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr
class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a
href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url
locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>.
</p>




                                                               9
<p class=quot;veventquot;>
<span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von
Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00
+02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr
class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a
href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url
locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>.
</p>




                                                               10
was sind microformats?



                         11
microformats prinzipien
• solve a specific problem
• start as simple as possible
• design for humans first, machines second
• reuse building blocks from widely adopted
  standards
• modularity / embeddability
• enable and encourage decentralized
                                              12
andere begriffe

• semantic XHTML
• real world semantics
• lowercase semantic web
• lossless XHTML


                           13
14
definition von
microformats


                15
wiederverwendung von
verbreiteten standards


                         16
beispiel hCalendar und
iCalendar (RFC 2445)


                         17
<p class=quot;veventquot;>
<span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von
Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00
+02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr
class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a
href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url
locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>.
</p>




                                                               18
BEGIN:VCALENDAR
PRODID:-//suda.co.uk//X2V 0.9.2.1 (BETA)//EN
X-ORIGINAL-URL:http://notizblog.org/
X-WR-CALNAME;CHARSET=utf-8:
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
LOCATION;CHARSET=utf-8:Hochschule Mannheim, Fakultät für
Gestaltung
SUMMARY;CHARSET=utf-8:Barcamp Rhein-Neckar
URL:http://www.gestaltung.hs-mannheim.de/
DTSTART;VALUE=DATE-TIME:20071124T090000Z
DTEND;VALUE=DATE:20071125
END:VEVENT
END:VCALENDAR




                                                            19
beispiel hCard und
vCard (RFC 2426)


                     20
<p class=quot;vcardquot;>
  <span class=quot;fn org locationquot;>
     Hochschule Mannheim, Fakultät für Gestaltung
  </span>
  <span class=quot;adrquot;>
    <span class=quot;street-addressquot;>Windeckstr. 110</span>
    <span class=quot;postal-codequot;>68163</span> <span
class=quot;localityquot;>Mannheim</span>
  </span>
</p>




                                                          21
BEGIN:VCARD
VERSION:3.0
N:;;;;
ORG;CHARSET=UTF-8:Hochschule Mannheim, Fakultät für
Gestaltung
FN;CHARSET=UTF-8:Hochschule Mannheim, Fakultät für
Gestaltung
UID:
ADR;CHARSET=UTF-8:;;Windeckstr. 110;Mannheim;;68163;
END:VCARD




                                                       22
weitere microformats



                       23
XFN
XHTML friendly network




                         24
beispiel

<a href=quot;http://example.orgquot; rel=quot;friend metquot;>

<a href=quot;http://example.orgquot; rel=quot;contactquot;>

<a href=quot;http://example.orgquot; rel=quot;colleague co-residentquot;>

<a href=quot;http://example.orgquot; rel=quot;mequot;>




                                                            25
• rel-license - bsp.: creative commons
• rel-nofollow - bsp.: google
• geo - um geo-daten anzugeben
• hAtom - pendant zu dem atom-feed
• hResume
• hReview

                                         26
warum sollte ich
microformats einsetzen?


                          27
effektivere suche



                    28
29
dezentrale communities
     und services


                         30
31
single sign on



                 32
33
data portability



                   34
35
social network
  portability


                 36
37
38
exportieren von kontakt
  bzw. kalender daten


                          39
40
41
42
43
44
wer nutzt
microformats?


                45
webseiten
• Yahoo (flickr, upcoming)
• Google (Search, Blogger, Maps)
• Apple (.Mac, Apple Store)
• BBC
• WordPress
• LastFM

                                   46
tools

• Firefox (nativ in firefox 3)
• mehrere Safari Plugins
• IE 8 soll microformats unterstützen
• vCard explorer


                                        47
warum microformats
 und nicht z.b. rdfa


                       48
microformats

• valides html (posh)
• weite verbreitung
• abbildung bestehender standards
• einfache implementierung (classes)


                                       49
hCard
<div class=quot;vcardquot;>
       <img src=quot;http://evan.prodromou.name/images/Evan48.jpgquot; alt=quot;photoquot; class=quot;photoquot;/>
       <a class=quot;url fnquot; href=quot;http://evan.prodromou.name/quot;>Evan Prodromou</a>
       <div class=quot;adrquot;>
         <div class=quot;street-addressquot;>1481 rue Rachel Est</div>
         <span class=quot;localityquot;>Montreal</span>,
         <span class=quot;regionquot;>QC</span>
         <span class=quot;postal-codequot;>H2J2K3</span>
       </div>
       <div class=quot;telquot;>+1-514-554-EVAN</div>
       <a class=quot;emailquot; href=quot;mailto:evan@prodromou.namequot;>evan@prodromou.name</a>
</div>




                                                                                             50
RDFa vCard
<div class=quot;vcardquot; xmlns:v=quot;http://www.w3.org/2001/vcard-rdf/3.0#quot;
          about=quot;http://evan.prodromou.name/quot;>
       <img src=quot;http://evan.prodromou.name/images/Evan48.jpgquot; alt=quot;photoquot;
property=quot;v:photoquot;/>
       <a property=quot;v:FNquot; href=quot;http://evan.prodromou.name/quot;>Evan Prodromou</a>
       <div role=quot;v:ADRquot;>
         <div property=quot;v:Streetquot;>1481 rue Rachel Est</div>
         <span property=quot;v:Localityquot;>Montreal</span>,
         <span property=quot;v:Regionquot;>QC</span>
         <span property=quot;v:Postal-codequot;>H2J2K3</span>
       </div>
       <div role=quot;v:TELquot;>
         <span property=quot;v:Typequot;>Voice</span>:
         <span property=quot;v:Valuequot;>+1-514-554-EVAN</span>
       </div>
       <a rel=quot;v:EMAILquot; href=quot;mailto:evan@prodromou.namequot;>evan@prodromou.name</a>
</div>




                                                                                    51
microformats und das
    semantic web


                       52
grddl und xslt



                 53
<!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.1//ENquot; quot;http://www.w3.org/TR/xhtml11/DTD/
xhtml11.dtdquot;>
<html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xml:lang=quot;enquot; lang=quot;enquot;>
 <head profile=quot;http://www.w3.org/2003/g/data-viewquot;>
    <title>Robin's Schedule</title>
    <link rel=quot;transformationquot; href=quot;http://www.w3.org/2002/12/cal/glean-hcalquot;/>
  </head>
  <body>
     <p class=quot;veventquot;>
        <strong class=quot;summaryquot;>Fashion Expo</strong> in
        <span class=quot;locationquot;>Paris, France</span>:
        <abbr class=quot;dtstartquot; title=quot;2006-10-20quot;>Oct 20</abbr> to
        <abbr class=quot;dtendquot; title=quot;2006-10-23quot;>22</abbr>
     </p>
  </body>
</html>




                                                                                       54
55
<?xml version=quot;1.0quot; encoding=quot;utf-8quot;?>
<rdf:RDF xmlns:dataview=quot;http://www.w3.org/2003/g/data-view#quot;
          xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
          xml:base=quot;http://microform.at/test/grddl.htmlquot;><!--XHTML Transformation produced
by $Id: rdf-in-xhtml-processor.xsl,v 1.46 2007/05/30 12:18:21 dom Exp $--><c:Vcalendar
xmlns:r=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot;
                 xmlns:c=quot;http://www.w3.org/2002/12/cal/icaltzd#quot;
                 xmlns:h=quot;http://www.w3.org/1999/xhtmlquot;
                 r:about=quot;quot;>
      <c:prodid>-//connolly.w3.org//RDF Calendar $Date: 2007/06/30 19:05:32 $ (BETA)//EN</
c:prodid>
      <c:version>2.0</c:version>
      <c:component>
          <c:Vevent>
             <summary xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xml:lang=quot;enquot;>Fashion
Expo</summary>
             <dtstart xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot;
                      r:datatype=quot;http://www.w3.org/2001/XMLSchema#datequot;>2006-10-20</
dtstart>

            <dtend xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot;
                   r:datatype=quot;http://www.w3.org/2001/XMLSchema#datequot;>2006-10-23</dtend>
            <url xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; r:resource=quot;quot;/>
            <location xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xml:lang=quot;enquot;>Paris,
France</location>
         </c:Vevent>
      </c:component>
   </c:Vcalendar>
</rdf:RDF>




                                                                                             56
57
links
• http://mikroformate.org
• http://planetmikroformate.de
• http://planetmicroformats.com/
• mein blog: http://notizblog.org/tag/
  microformats/



                                         58
1 von 58

Recomendados

Thinking about CSS Architecture von
Thinking about CSS ArchitectureThinking about CSS Architecture
Thinking about CSS Architecture拓樹 谷
21.1K views136 Folien
メンテナブルでありつづけるためのCSS設計 von
メンテナブルでありつづけるためのCSS設計メンテナブルでありつづけるためのCSS設計
メンテナブルでありつづけるためのCSS設計拓樹 谷
37.1K views102 Folien
Why Sass? von
Why Sass?Why Sass?
Why Sass?拓樹 谷
1.7K views59 Folien
CSS設計の理想と現実 von
CSS設計の理想と現実CSS設計の理想と現実
CSS設計の理想と現実拓樹 谷
7.6K views129 Folien
Websemantics von
WebsemanticsWebsemantics
WebsemanticsMatthias Pfefferle
8.7K views37 Folien
Findability von
FindabilityFindability
FindabilityMatthias Pfefferle
8.6K views52 Folien

Más contenido relacionado

Destacado

ChatGPT and the Future of Work - Clark Boyd von
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
28K views69 Folien
Getting into the tech field. what next von
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
6.6K views22 Folien
Google's Just Not That Into You: Understanding Core Updates & Search Intent von
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
6.9K views99 Folien
How to have difficult conversations von
How to have difficult conversations How to have difficult conversations
How to have difficult conversations Rajiv Jayarajah, MAppComm, ACC
5.6K views19 Folien
Introduction to Data Science von
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
82.6K views51 Folien
Time Management & Productivity - Best Practices von
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
169.8K views42 Folien

Destacado(20)

ChatGPT and the Future of Work - Clark Boyd von Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd28K views
Getting into the tech field. what next von Tessa Mero
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero6.6K views
Google's Just Not That Into You: Understanding Core Updates & Search Intent von Lily Ray
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray6.9K views
Time Management & Productivity - Best Practices von Vit Horky
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky169.8K views
The six step guide to practical project management von MindGenius
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius36.7K views
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright... von RachelPearson36
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson3612.7K views
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present... von Applitools
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools55.5K views
12 Ways to Increase Your Influence at Work von GetSmarter
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter401.7K views
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G... von DevGAMM Conference
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference3.6K views
Barbie - Brand Strategy Presentation von Erica Santiago
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago25.1K views
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well von Saba Software
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software25.3K views
Introduction to C Programming Language von Simplilearn
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn8.5K views
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr... von Palo Alto Software
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
The Pixar Way: 37 Quotes on Developing and Maintaining a Creative Company (fr...
Palo Alto Software88.4K views
9 Tips for a Work-free Vacation von Weekdone.com
9 Tips for a Work-free Vacation9 Tips for a Work-free Vacation
9 Tips for a Work-free Vacation
Weekdone.com7.2K views
How to Map Your Future von SlideShop.com
How to Map Your FutureHow to Map Your Future
How to Map Your Future
SlideShop.com275.1K views

Microformats

  • 1. microformats barcamp rhein-neckar matthias pfefferle 1
  • 2. microformats.org über microformats • Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards. 2
  • 5. <p class=quot;veventquot;> <span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00 +02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>. </p> 5
  • 6. <p class=quot;veventquot;> <span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00 +02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>. </p> 6
  • 7. <p class=quot;veventquot;> <span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00 +02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>. </p> 7
  • 8. <p class=quot;veventquot;> <span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00 +02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>. </p> 8
  • 9. <p class=quot;veventquot;> <span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00 +02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>. </p> 9
  • 10. <p class=quot;veventquot;> <span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00 +02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>. </p> 10
  • 12. microformats prinzipien • solve a specific problem • start as simple as possible • design for humans first, machines second • reuse building blocks from widely adopted standards • modularity / embeddability • enable and encourage decentralized 12
  • 13. andere begriffe • semantic XHTML • real world semantics • lowercase semantic web • lossless XHTML 13
  • 14. 14
  • 18. <p class=quot;veventquot;> <span class=quot;summaryquot;>Barcamp Rhein-Neckar</span>, von Samstag den <abbr class=quot;dtstartquot; title=quot;2007-11-24T11:00:00 +02:00quot;>24.11. um 11:00 Uhr</abbr> bis Sonntag <abbr class=quot;dtendquot; title=quot;2007-11-25quot;>25.11.07</abbr> an der <a href=quot;http://www.gestaltung.hs-mannheim.de/quot; class=quot;url locationquot;>Hochschule Mannheim, Fakultät für Gestaltung</a>. </p> 18
  • 19. BEGIN:VCALENDAR PRODID:-//suda.co.uk//X2V 0.9.2.1 (BETA)//EN X-ORIGINAL-URL:http://notizblog.org/ X-WR-CALNAME;CHARSET=utf-8: VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT LOCATION;CHARSET=utf-8:Hochschule Mannheim, Fakultät für Gestaltung SUMMARY;CHARSET=utf-8:Barcamp Rhein-Neckar URL:http://www.gestaltung.hs-mannheim.de/ DTSTART;VALUE=DATE-TIME:20071124T090000Z DTEND;VALUE=DATE:20071125 END:VEVENT END:VCALENDAR 19
  • 20. beispiel hCard und vCard (RFC 2426) 20
  • 21. <p class=quot;vcardquot;> <span class=quot;fn org locationquot;> Hochschule Mannheim, Fakultät für Gestaltung </span> <span class=quot;adrquot;> <span class=quot;street-addressquot;>Windeckstr. 110</span> <span class=quot;postal-codequot;>68163</span> <span class=quot;localityquot;>Mannheim</span> </span> </p> 21
  • 22. BEGIN:VCARD VERSION:3.0 N:;;;; ORG;CHARSET=UTF-8:Hochschule Mannheim, Fakultät für Gestaltung FN;CHARSET=UTF-8:Hochschule Mannheim, Fakultät für Gestaltung UID: ADR;CHARSET=UTF-8:;;Windeckstr. 110;Mannheim;;68163; END:VCARD 22
  • 25. beispiel <a href=quot;http://example.orgquot; rel=quot;friend metquot;> <a href=quot;http://example.orgquot; rel=quot;contactquot;> <a href=quot;http://example.orgquot; rel=quot;colleague co-residentquot;> <a href=quot;http://example.orgquot; rel=quot;mequot;> 25
  • 26. • rel-license - bsp.: creative commons • rel-nofollow - bsp.: google • geo - um geo-daten anzugeben • hAtom - pendant zu dem atom-feed • hResume • hReview 26
  • 29. 29
  • 30. dezentrale communities und services 30
  • 31. 31
  • 33. 33
  • 35. 35
  • 36. social network portability 36
  • 37. 37
  • 38. 38
  • 39. exportieren von kontakt bzw. kalender daten 39
  • 40. 40
  • 41. 41
  • 42. 42
  • 43. 43
  • 44. 44
  • 46. webseiten • Yahoo (flickr, upcoming) • Google (Search, Blogger, Maps) • Apple (.Mac, Apple Store) • BBC • WordPress • LastFM 46
  • 47. tools • Firefox (nativ in firefox 3) • mehrere Safari Plugins • IE 8 soll microformats unterstützen • vCard explorer 47
  • 48. warum microformats und nicht z.b. rdfa 48
  • 49. microformats • valides html (posh) • weite verbreitung • abbildung bestehender standards • einfache implementierung (classes) 49
  • 50. hCard <div class=quot;vcardquot;> <img src=quot;http://evan.prodromou.name/images/Evan48.jpgquot; alt=quot;photoquot; class=quot;photoquot;/> <a class=quot;url fnquot; href=quot;http://evan.prodromou.name/quot;>Evan Prodromou</a> <div class=quot;adrquot;> <div class=quot;street-addressquot;>1481 rue Rachel Est</div> <span class=quot;localityquot;>Montreal</span>, <span class=quot;regionquot;>QC</span> <span class=quot;postal-codequot;>H2J2K3</span> </div> <div class=quot;telquot;>+1-514-554-EVAN</div> <a class=quot;emailquot; href=quot;mailto:evan@prodromou.namequot;>evan@prodromou.name</a> </div> 50
  • 51. RDFa vCard <div class=quot;vcardquot; xmlns:v=quot;http://www.w3.org/2001/vcard-rdf/3.0#quot; about=quot;http://evan.prodromou.name/quot;> <img src=quot;http://evan.prodromou.name/images/Evan48.jpgquot; alt=quot;photoquot; property=quot;v:photoquot;/> <a property=quot;v:FNquot; href=quot;http://evan.prodromou.name/quot;>Evan Prodromou</a> <div role=quot;v:ADRquot;> <div property=quot;v:Streetquot;>1481 rue Rachel Est</div> <span property=quot;v:Localityquot;>Montreal</span>, <span property=quot;v:Regionquot;>QC</span> <span property=quot;v:Postal-codequot;>H2J2K3</span> </div> <div role=quot;v:TELquot;> <span property=quot;v:Typequot;>Voice</span>: <span property=quot;v:Valuequot;>+1-514-554-EVAN</span> </div> <a rel=quot;v:EMAILquot; href=quot;mailto:evan@prodromou.namequot;>evan@prodromou.name</a> </div> 51
  • 52. microformats und das semantic web 52
  • 54. <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.1//ENquot; quot;http://www.w3.org/TR/xhtml11/DTD/ xhtml11.dtdquot;> <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xml:lang=quot;enquot; lang=quot;enquot;> <head profile=quot;http://www.w3.org/2003/g/data-viewquot;> <title>Robin's Schedule</title> <link rel=quot;transformationquot; href=quot;http://www.w3.org/2002/12/cal/glean-hcalquot;/> </head> <body> <p class=quot;veventquot;> <strong class=quot;summaryquot;>Fashion Expo</strong> in <span class=quot;locationquot;>Paris, France</span>: <abbr class=quot;dtstartquot; title=quot;2006-10-20quot;>Oct 20</abbr> to <abbr class=quot;dtendquot; title=quot;2006-10-23quot;>22</abbr> </p> </body> </html> 54
  • 55. 55
  • 56. <?xml version=quot;1.0quot; encoding=quot;utf-8quot;?> <rdf:RDF xmlns:dataview=quot;http://www.w3.org/2003/g/data-view#quot; xmlns:rdf=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xml:base=quot;http://microform.at/test/grddl.htmlquot;><!--XHTML Transformation produced by $Id: rdf-in-xhtml-processor.xsl,v 1.46 2007/05/30 12:18:21 dom Exp $--><c:Vcalendar xmlns:r=quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#quot; xmlns:c=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xmlns:h=quot;http://www.w3.org/1999/xhtmlquot; r:about=quot;quot;> <c:prodid>-//connolly.w3.org//RDF Calendar $Date: 2007/06/30 19:05:32 $ (BETA)//EN</ c:prodid> <c:version>2.0</c:version> <c:component> <c:Vevent> <summary xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xml:lang=quot;enquot;>Fashion Expo</summary> <dtstart xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; r:datatype=quot;http://www.w3.org/2001/XMLSchema#datequot;>2006-10-20</ dtstart> <dtend xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; r:datatype=quot;http://www.w3.org/2001/XMLSchema#datequot;>2006-10-23</dtend> <url xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; r:resource=quot;quot;/> <location xmlns=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xml:lang=quot;enquot;>Paris, France</location> </c:Vevent> </c:component> </c:Vcalendar> </rdf:RDF> 56
  • 57. 57
  • 58. links • http://mikroformate.org • http://planetmikroformate.de • http://planetmicroformats.com/ • mein blog: http://notizblog.org/tag/ microformats/ 58