implement hCard microformat
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 7 Apr 2009 13:43:30 +0000 (15:43 +0200)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 7 Apr 2009 13:43:30 +0000 (15:43 +0200)
index.mdwn

index 48b7d03..eaff06a 100644 (file)
@@ -1,31 +1,40 @@
 [[!meta title="stefano zacchiroli home page"]]
+<div id="hcard-Stefano-Zacchiroli" class="vcard">
 <div class="flow">
-[[!img img/zack-bw.jpg link="personal" size="360x220" alt="a picture of Zack"]]
+[[!img img/zack-bw.jpg link="personal" size="360x220" alt="photo of Stefano Zacchiroli" class="photo"]]
 <br />
 <span class="attrib-caption">picture by
 <a href="http://www.flickr.com/photos/kruder396">Alfonso Pierantonio</a></span>
 </div>
-Hi, I'm **Zack** and this is [my homepage](http://upsilon.cc/~zack).
+Hi, I'm **<span class="nickname">Zack</span>** and this is
+<a class="url" href="http://upsilon.cc/~zack">my homepage</a>.
 <table class="identikit">
-  <tr> <th>name</th> <td>Stefano Zacchiroli</td> </tr>
+  <tr> <th>name</th> <td><span class="title">Dr.</span> <span class="fn">Stefano Zacchiroli</span></td> </tr>
   <tr>
     <th>affiliation</th>
-    <td> <a href="http://www.pps.jussieu.fr/">Laboratoire
+    <td> <a class="org" href="http://www.pps.jussieu.fr/">Laboratoire
       <acronym title="Preuves, Programmes et Syst√®mes">PPS</acronym></a>,
       <a href="http://www.univ-paris-diderot.fr">Universit√© Paris Diderot - Paris 7</a>
     </td>
   </tr>
   <tr>
     <th>address</th>
-    <td><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=175+Rue+du+Chevaleret,+75013+Paris,+France&sll=48.833422,2.369368&sspn=0.00041,0.000818&ie=UTF8&ll=48.834329,2.369356&spn=0.013136,0.026178&t=h&z=15&iwloc=addr">175 Rue du Chevaleret, 75013 Paris, France</a> - office 5C01</td>
+    <td><a
+    href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=175+Rue+du+Chevaleret,+75013+Paris,+France&sll=48.833422,2.369368&sspn=0.00041,0.000818&ie=UTF8&ll=48.834329,2.369356&spn=0.013136,0.026178&t=h&z=15&iwloc=addr"><span
+    class="adr"><span class="street-address">175 Rue du
+    Chevaleret</span>, <span class="postal-code">75013</span> <span
+    class="locality">Paris</span>, <span class="country-name">France</span></span></a> - office 5C01
+    </td>
   </tr>
-  <tr> <th>phone</th> <td>+33 1 44 27 8504</td> </tr>
-  <tr> <th>fax</th>   <td>+33 1 44 27 8654</td> </tr>
+  <tr class="tel"> <th><span class="type">work</span></th> <td>+33 1 44 27 8504</td> </tr>
+  <tr class="tel"> <th><span class="type">fax</span></th>  <td>+33 1 44 27 8654</td> </tr>
   <tr>
     <th>email</th>
-    <td><tt>zack@{<a href="mailto:zack@upsilon.cc">upsilon.cc</a>,
-      <a href="mailto:zack@pps.jussieu.fr">pps.jussieu.fr</a>,
-      <a href="mailto:zack@debian.org">debian.org</a>}</tt></td>
+    <td>
+    <tt><a class="email" href="mailto:zack@upsilon.cc">zack@upsilon.cc</a></tt>,
+    <tt><a class="email" href="mailto:zack@pps.jussieu.fr">zack@pps.jussieu.fr</a></tt>,
+    <tt><a class="email" href="mailto:zack@debian.org">zack@debian.org</tt>
+    </td>
   </tr>
   <tr>
     <th><a href="http://www.gnupg.org/"><acronym title="GNU Privacy
@@ -34,6 +43,7 @@ Hi, I'm **Zack** and this is [my homepage](http://upsilon.cc/~zack).
       (ID <a href="http://pgp.cs.uu.nl/stats/F2C423BC.html">F2C423BC</a>)</td>
   </tr>
 </table>
+</div>
 
 I'm a <acronym title="Doctor of Philosophy">[[!wikipedia Ph.D.]]</acronym>
 in computer science, currently doing