[uf-discuss] hcalendar and its attendees

Martin Lemburg martin.lemburg at gmx.net
Wed Apr 7 03:34:02 PDT 2010


Hello,

I just experimented with the hcalender microformat and tried to add attendees to the hcalender.

Sincerely most of the validate/extraction Web services don't care for the attendees. X2V cares for, but the results makes me wonder.

Currently I use the hcalendar and attendee pattern this way (complex excerpt from the web page (under construction)):

 <li>
 <h4 class="summary" id="hcalendar-Chorkonzert-Petite-Messe-Solenelle-2007">Chorkonzert der "Petite Messe Solennelle" von Gioaccino Rossini</h4>
 <ul>
 <li class="vevent" id="hcalendar-Chorkonzert-Petite-Messe-Solenelle-2007-09-15">
 <a class="summary include" href="#hcalendar-Chorkonzert-Petite-Messe-Solenelle-2007">Zusammenfassung</a>
 <abbr class="dtstart dtend dtstamp" title="2007-09-15">15.&nbsp;September</abbr> in der 
 <div class="location vcard" id="hcard-12-Apostel-Kirche-Berlin-Schoeneberg">
 <a class="url fn org" href="http://www.zwoelf-apostel-berlin.de http://www.zwoelf-apostel-berlin.de " title="Webseite(n) der Ev. 12-Apostel-Kirchengemeinde in Berlin Schöneberg">Ev. 12-Apostel-Kirchengemeinde in Berlin Schöneberg</a>
 <div class="eingerueckt adr">
 <div class="street-address">An der Apostelkirche 1</div>
 <div><span class="postal-code">10783</span> <span class="locality">Berlin</span></div>
 <div><span class="region">Berlin</span> / <span class="country-name">Deutschland</span></div>
 </div>
 </div>
 <div class="beteiligten" id="hcalendar-attendes-Chorkonzert-Petite-Messe-Solenelle-2007-09-15">
 <h5>Solisten:</h5>
 <ul>
 <li class="attendee">
 <span class="vcard" id="hcard-Katharina-Klaveness">
 <a class="url fn cn n" href="http://www.internationallaw.no/kath/de/Lebenslauf.html http://www.internationallaw.no/kath/de/Lebenslauf.html " title="Webseite(n) der Sopranistin Katharina Klaveness"><span class="given-name">Katharina</span> <span class="family-name">Klaveness</span></a>
 </span> 
 (<span class="role">Sopranistin</span>)
 </li>
 <!-- ... etc. ... -->
 </ul>
 <h5>Instrumentalisten:</h5>
 <ul>
 <li class="attendee">
 <span class="vcard" id="hcard-Sebastian-Gloeckner">
 <a class="fn cn n" rel="tag" href="http://www.google.com/search?hl=de%26q=Musiker%20Sebastian%20Gl%F6ckner http://www.google.com/search?hl=de%26q=Musiker%20Sebastian%20Gl%F6ckner " title="Informationen zu Sebastian Glöckner bereitgestellt durch Google"><span class="given-name">Sebastian</span> <span class="family-name">Glöckner</span></a>
 </span> 
 (<span class="role">Harmonist</span>)
 </li>
 <!-- ... etc. ... -->
 </ul>
 </div>
 </li>
 <li class="vevent" id="hcalendar-Chorkonzert-Petite-Messe-Solenelle-2007-09-16">
 <a class="summary include" href="#hcalendar-Chorkonzert-Petite-Messe-Solenelle-2007">Zusammenfassung</a>
 <abbr class="dtstart dtend dtstamp" title="2007-09-16">16.&nbsp;September</abbr> in dem wilhelminischen Spiegelsaal vom 
 <div class="location vcard" id="hcard-Spiegelsaal-Claerchens-Ballhaus-Berlin">
 <a class="url fn org" href="http://www.ballhaus.de http://www.ballhaus.de " title="Webseite(n) des Clärchens Ballhaus' zu dem der Spiegelsaal gehört">Clärchens Ballhaus</a>
 <div>(<span class="note">ehemals bzw. zwischenzeitig Ballhaus Mitte</span>)</div>
 <div class="eingerueckt adr">
 <div class="street-address">Auguststraße 24</div>
 <div><span class="postal-code">10117</span> <span class="locality">Berlin</span></div>
 <div><span class="region">Berlin</span> / <span class="country-name">Deutschland</span></div>
 </div>
 </div>
 <a class="beteiligten include" href="#hcalendar-attendes-Chorkonzert-Petite-Messe-Solenelle-2007-09-15">Beteiligten</a>
 </li>
 </ul>
 </li>

Is the usage of the anchor tag with the rel-tag semantics inside the attendee pattern done in the right way?

Are really only mailto URLs allowed inside the attendee structures?

Is the following better (because of the vcards role usage), than the version right above with the try to use the attendees role:

 <li class="attendee" vcard" id="hcard-Anders-Mansson">
 <a class="fn cn n" rel="tag" href="http://www.google.com/search?hl=de%26q=Pianist%20Anders%20M%E5nsson" title="Informationen zu Anders Månsson bereitgestellt durch Google"><span class="given-name">Anders</span> <span class="family-name">Månsson</span></a>
 (<span class="role">Pianist</span>)
 </li>

Is the attendees role really only one of the iCalender definitions or even free text like in a vcard?

Does it really make sense to use the attendee pattern, because the only content seem to be a mailto URL, if converted via X2V.

I hope, I'm mailing to the right mailing list for such questions! Currently I don't know where to ask such questions!

Best regards and thanks in advance for any comment,

Martin Lemburg - 10551 Berlin - Germany - martin.lemburg at gmx.net


More information about the microformats-discuss mailing list