hcalendar-authoring: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
<h1>hCalendar authoring</h1>
[[http://sister-sunshine.110mb.com/html/lusiana/ lusiana]] [[http://unremig.110mb.com/ew-ii/ ew60 ii]] [[http://sister-sunshine.110mb.com/html/prestito-melzo/ prestito melzo]] [[http://gekijuls.110mb.com/cuando-volveras/ cuando volveras dance radio remix]] [[http://unremig.110mb.com/rowlandson-mary/ rowlandson mary white]] [[http://unremig.110mb.com/unibal/ unibal]] [[http://mouse-zae.110mb.com/hard-disk.htm hard disk extreme 250 gb]] [[http://forever-your.110mb.com/data/s-trio.htm s3 trio 3d 2x driver xp]] [[http://nationavce.110mb.com/view/behringer-control.htm behringer control]] [[http://unremig.110mb.com/philips-tv/ philips tv color]] [[http://trouble166.110mb.com/eos-.htm eos 300 d canon]] [[http://nationavce.110mb.com/view/tesauro-francesco.htm tesauro francesco]] [[http://olikka.110mb.com/library/maroon-lyrics.htm maroon5 lyrics tis love]] [[http://nationavce.110mb.com/view/dvdrw.htm dvdrw 4 7]] [[http://sister-sunshine.110mb.com/html/shavit/ shavit]] [[http://forever-your.110mb.com/data/adobe-encore.htm adobe encore]] [[http://trene-von-anty.110mb.com/description/store-fixture.htm store fixture parts]] [[http://nationavce.110mb.com/view/ati-radeon.htm ati radeon 7000]] [[http://yeeden.110mb.com/data/japan-girl/ japan girl]] [[http://unremig.110mb.com/www-libero/ www libero t]] [[http://book-wench.110mb.com/text/fine-settimana/ fine settimana inglese]] [[http://dialed.110mb.com/small/dragostea-din/ dragostea din tei remix]] [[http://funk-mastah-ion.110mb.com/data/camere-e.htm camere e corridoi]] [[http://lazythoughts.110mb.com/lib/giuseppe-verde/ giuseppe verde]] [[http://forever-your.110mb.com/data/betws-y.htm betws y coed]] [[http://ultra-creator.110mb.com/articles/lora-del.htm lora del delitto]] [[http://sneezingpops.110mb.com/chupa-toda/ chupa toda]] [[http://sneezingpops.110mb.com/just-walk/ just walk away]] [[http://trouble166.110mb.com/chicas-calatas.htm chicas calatas]] [[http://sister-sunshine.110mb.com/html/brother/ brother 9660]] [[http://funk-mastah-ion.110mb.com/data/franci.htm franci]] [[http://stitchesnglue.110mb.com/dormire-una.htm dormire una notte a olbia]] [[http://olikka.110mb.com/library/radomsko.htm radomsko]] [[http://yeeden.110mb.com/data/funzioni/ funzioni]] [[http://lazythoughts.110mb.com/lib/lettori-di/ lettori di smart card 7 1]] [[http://yeeden.110mb.com/data/foresta-nera/ foresta nera]] [[http://blue-olusha.110mb.com/library/totally-spies/ totally spies com]] [[http://sneezingpops.110mb.com/dual-processor/ dual processor]] [[http://mouse-zae.110mb.com/linguistic.htm linguistic]] [[http://dialed.110mb.com/small/negozi-da/ negozi da giardino]] [[http://gekijuls.110mb.com/contact-lens/ contact lens]] [[http://some-omeelse.110mb.com/data/test-di.htm test di preselezione per aereo]] [[http://forever-your.110mb.com/data/sogno-listz.htm sogno listz]] [[http://unremig.110mb.com/nikon-/ nikon 1870 af dx]] [[http://sister-sunshine.110mb.com/html/xp-professional/ xp professional upgrade]] [[http://yeeden.110mb.com/data/il-colore/ il colore del melograno]] [[http://stitchesnglue.110mb.com/kaity.htm kaity]] [[http://lazythoughts.110mb.com/lib/pronostico-basket/ pronostico basket]] [[http://funk-mastah-ion.110mb.com/data/ktag-g.htm ktag5400 1g]] [[http://book-wench.110mb.com/text/hard-disk/ hard disk esterno lettore foto]] [[http://blue-olusha.110mb.com/library/oroscopo-pippo/ oroscopo pippo baudo]] [[http://trouble166.110mb.com/rbay.htm rbay]] [[http://yeeden.110mb.com/data/samsung-lavatrici/ samsung lavatrici 1200 giri]] [[http://nationavce.110mb.com/view/jbuilderx.htm jbuilderx]] [[http://trouble166.110mb.com/speed.htm speed]] [[http://blue-olusha.110mb.com/library/il-gazzettino/ il gazzettino di padova]] [[http://stitchesnglue.110mb.com/confession-usher.htm confession usher]] [[http://forever-your.110mb.com/data/riassunto-il.htm riassunto il sentiero dei]] [[http://unremig.110mb.com/vacanza-baleari/ vacanza baleari]] [[http://ultra-creator.110mb.com/articles/fossil-italia.htm fossil italia s r l]] [[http://nationavce.110mb.com/view/incontro-capri.htm incontro capri]] [[http://trene-von-anty.110mb.com/description/baldoni-video.htm baldoni video]] [[http://book-wench.110mb.com/text/day-after/ day after tomorrow]] [[http://funk-mastah-ion.110mb.com/data/creature.htm creature]] [[http://sneezingpops.110mb.com/claudia-kool/ claudia kool]] [[http://ultra-creator.110mb.com/articles/centro-benessere.htm centro benessere liguria]] [[http://forever-your.110mb.com/data/iodio.htm iodio]] [[http://gekijuls.110mb.com/xizo/ xizo]] [[http://book-wench.110mb.com/text/chochas/ chochas]] [[http://ultra-creator.110mb.com/articles/euro-dance.htm euro dance 11]] [[http://trene-von-anty.110mb.com/description/para-vivir.htm para vivir]] [[http://blue-olusha.110mb.com/library/ravizza/ ravizza]] [[http://yeeden.110mb.com/data/finanziamento-san/ finanziamento san dona piave]] [[http://nationavce.110mb.com/view/ufficio-alba.htm ufficio alba]] [[http://sister-sunshine.110mb.com/html/ceramiche-minghetti/ ceramiche minghetti]] [[http://some-omeelse.110mb.com/data/carrozzine-peg.htm carrozzine peg perego]] [[http://yeeden.110mb.com/data/lavoro-a/ lavoro a busto arsizio]] [[http://unremig.110mb.com/carreta-de/ carreta de coches]] [[http://nationavce.110mb.com/view/gilles-deleuze.htm gilles deleuze nietzsche e la filosofia]] [[http://yeeden.110mb.com/data/tanz-bambolina/ tanz bambolina rmx]] [[http://trouble166.110mb.com/www-roadstar.htm www roadstar]] [[http://stitchesnglue.110mb.com/la-pittura.htm la pittura italiana del 700]] [[http://ultra-creator.110mb.com/articles/deleted.htm deleted]] [[http://gekijuls.110mb.com/toner-brother/ toner brother hl1270]] [[http://trene-von-anty.110mb.com/description/jilted-john.htm jilted john]] [[http://forever-your.110mb.com/data/dvd-pioneer.htm dvd pioneer 16x]] [[http://book-wench.110mb.com/text/camera-forli/ camera forli]] [[http://unremig.110mb.com/matsubara/ matsubara]] [[http://ultra-creator.110mb.com/articles/la-smorfia.htm la smorfia]] [[http://trouble166.110mb.com/vicky-covergirl.htm vicky covergirl]] [[http://mouse-zae.110mb.com/kaiak.htm kaiak]] [[http://forever-your.110mb.com/data/sarah-kane.htm sarah kane libri]] [[http://unremig.110mb.com/oki-toner/ oki toner rainbow]] [[http://lazythoughts.110mb.com/lib/argo-c/ argo 245c]] [[http://forever-your.110mb.com/data/hate-that.htm hate that frog]] [[http://unremig.110mb.com/i-ragazzi/ i ragazzi di scampia]] [[http://some-omeelse.110mb.com/data/nike-donna.htm nike donna]] [[http://trouble166.110mb.com/download-programmi.htm download programmi per bioritmo]] [[http://ultra-creator.110mb.com/articles/annunci-trans.htm annunci trans napoli]] [[http://stitchesnglue.110mb.com/una-demo.htm una demo per war world]] [[http://mouse-zae.110mb.com/www-principe.htm www principe alba adriatica com]] [[http://forever-your.110mb.com/data/terra-libera.htm terra libera gabry ponte]] [[http://unremig.110mb.com/antonello-de/ antonello de pierro erotismo]] [[http://funk-mastah-ion.110mb.com/data/provincia-brescia.htm provincia brescia]] [[http://ultra-creator.110mb.com/articles/claudio-baglioni.htm claudio baglioni fotografie]] [[http://unremig.110mb.com/badesi-sardegna/ badesi sardegna]] [[http://trouble166.110mb.com/hassirmel.htm hassirmel]] [[http://funk-mastah-ion.110mb.com/data/ag.htm ag1]] [[http://nationavce.110mb.com/view/bicicletta-atala.htm bicicletta atala]] [[http://unremig.110mb.com/xsl/ xsl]] [[http://olikka.110mb.com/library/gig-d.htm gig d agostino silence]] [[http://yeeden.110mb.com/data/radeon-x/ radeon x800 se agp]] [[http://trouble166.110mb.com/olympus-xd.htm olympus xd card 512mb]] [[http://some-omeelse.110mb.com/data/www-negreit.htm www negreit]] [[http://gekijuls.110mb.com/nikon-obiettivi/ nikon obiettivi sigma]] [[http://unremig.110mb.com/rooms-neo/ rooms neo geo]] [[http://blue-olusha.110mb.com/library/le-campanelle/ le campanelle]] [[http://forever-your.110mb.com/data/pala-cavicchi.htm pala cavicchi]] [[http://sister-sunshine.110mb.com/html/la-fessura/ la fessura]] [[http://book-wench.110mb.com/text/foto-paris/ foto paris hilton]] [[http://some-omeelse.110mb.com/data/arenaria-botanica.htm arenaria (botanica)]] [[http://sister-sunshine.110mb.com/html/nino-ippolito/ nino ippolito]] [[http://nationavce.110mb.com/view/un-uomo.htm un uomo venuto da molto lontano]] [[http://stitchesnglue.110mb.com/midi-vari.htm midi vari]] [[http://unremig.110mb.com/la-leggenda/ la leggenda]] [[http://dialed.110mb.com/small/i-senza/ i senza paura]] [[http://nationavce.110mb.com/view/musicology-prince.htm musicology prince]] [[http://dialed.110mb.com/small/una-petizione/ una petizione per halo sulla rete]] [[http://lazythoughts.110mb.com/lib/www-fassina/ www fassina it]] [[http://stitchesnglue.110mb.com/sims-.htm sims 2 playstation 2]] [[http://stitchesnglue.110mb.com/amd-athlon.htm amd athlon 64 3800]] [[http://trene-von-anty.110mb.com/description/kevin-bigley.htm kevin bigley]] [[http://mouse-zae.110mb.com/deskjet-cbi.htm deskjet 450cbi]] [[http://blue-olusha.110mb.com/library/cebus/ cebus]] [[http://slavkamolot.110mb.com/library/sintoamplificatore-home/ sintoamplificatore home theatre]] [[http://mouse-zae.110mb.com/pentium.htm pentium 4]] [[http://mouse-zae.110mb.com/foto-sesso.htm foto sesso gratis bizzarre]] [[http://gekijuls.110mb.com/hellbound-eminem/ hellbound eminem]] [[http://forever-your.110mb.com/data/ktapbg.htm ktapbg4 512]] [[http://mouse-zae.110mb.com/harry-potter.htm harry potter 53]] [[http://lazythoughts.110mb.com/lib/rosita-celentano/ rosita celentano]] [[http://blue-olusha.110mb.com/library/accessori-per/ accessori per palm]] [[http://sneezingpops.110mb.com/vanoni-paolo/ vanoni paolo ti ricordi]] [[http://mouse-zae.110mb.com/simon-paul.htm simon paul]] [[http://dialed.110mb.com/small/percorsi-autostradali/ percorsi autostradali europa]] [[http://olikka.110mb.com/library/sex-termometer.htm sex termometer]] [[http://blue-olusha.110mb.com/library/telecamera-dvd/ telecamera dvd]] [[http://sneezingpops.110mb.com/happy-funny/ happy funny]] [[http://sister-sunshine.110mb.com/html/fuchunjiang/ fuchunjiang]] [[http://some-omeelse.110mb.com/data/saggio-breve.htm saggio breve esempio]] [[http://sneezingpops.110mb.com/ollastra/ ollastra]] [[http://mouse-zae.110mb.com/proxify.htm proxify]] [[http://yeeden.110mb.com/data/freno/ freno]] [[http://some-omeelse.110mb.com/data/diomedes.htm diomedes]] [[http://book-wench.110mb.com/text/perle-di/ perle di ghiaccio]] [[http://lazythoughts.110mb.com/lib/incontrare-ragazze/ incontrare ragazze]] [[http://yeeden.110mb.com/data/inizia-il/ inizia il beta test pubblico di world of warcraft]] [[http://mouse-zae.110mb.com/tagliaerba-motore.htm tagliaerba motore]] [[http://ultra-creator.110mb.com/articles/tour-dei.htm tour dei cantanti]] [[http://stitchesnglue.110mb.com/scheda-memoria.htm scheda memoria secure digital]] [[http://sneezingpops.110mb.com/golf-gt/ golf gt special]] [[http://trouble166.110mb.com/schiller-mit.htm schiller mit heppner]] [[http://mouse-zae.110mb.com/mercedes-.htm mercedes 190 d]] [[http://sister-sunshine.110mb.com/html/maglieria-davoli/ maglieria davoli]] [[http://ultra-creator.110mb.com/articles/ati-sapphire.htm ati sapphire radeon x800 256mb pcie]] [[http://blue-olusha.110mb.com/library/balli-di/ balli di gruppo 2004]] [[http://trene-von-anty.110mb.com/description/la-preparazione.htm la preparazione fisica al ciclismo]] [[http://gekijuls.110mb.com/how-came/ how came dei d12]] [[http://trouble166.110mb.com/fax-globo.htm fax globo]] [[http://lazythoughts.110mb.com/lib/dj-tommy/ dj tommy stay]] [[http://dialed.110mb.com/small/aziente-tessili/ aziente tessili lecco]] [[http://yeeden.110mb.com/data/code-arabesque/ code arabesque]] [[http://trouble166.110mb.com/olympus.htm olympus 300]] [[http://mouse-zae.110mb.com/olimpus-c.htm olimpus c480 zoom]] [[http://blue-olusha.110mb.com/library/vgn-sony/ vgn sony portatili]] [[http://book-wench.110mb.com/text/www-cartoons/ www cartoons]] [[http://nationavce.110mb.com/view/samanta-degre.htm samanta degre]] [[http://ultra-creator.110mb.com/articles/samsung-spn.htm samsung sp2014n]] [[http://gekijuls.110mb.com/mp-gigione/ mp3 gigione]] [[http://yeeden.110mb.com/data/nikon-enel/ nikon enel2]] [[http://trene-von-anty.110mb.com/description/digital-receiver.htm digital receiver]] [[http://forever-your.110mb.com/data/bach-aria.htm bach aria iv corda]] [[http://sneezingpops.110mb.com/passo-rapido/ passo rapido]] [[http://funk-mastah-ion.110mb.com/data/ozoe.htm ozoe]] [[http://slavkamolot.110mb.com/library/macchine-usate/ macchine usate in sicilia]] [[http://book-wench.110mb.com/text/fasciatoio-rimini/ fasciatoio rimini]] [[http://yeeden.110mb.com/data/crack-toca/ crack toca racer driver 2 no cd]] [[http://slavkamolot.110mb.com/library/guernica-e/ guernica e la gurra]] [[http://mouse-zae.110mb.com/verbatim-dvd.htm verbatim dvd r 8 5 gb]] [[http://sister-sunshine.110mb.com/html/nora-roberts/ nora roberts]] [[http://gekijuls.110mb.com/pc-con/ pc con monitor lcd 17]] [[http://some-omeelse.110mb.com/data/costi-oh.htm costi oh mami]] [[http://sneezingpops.110mb.com/tv-sony/ tv sony lcd 32]] [[http://slavkamolot.110mb.com/library/twenty-centuri/ twenty centuri fox soundtrack]] [[http://unremig.110mb.com/wait-until/ wait until]] [[http://funk-mastah-ion.110mb.com/data/sexygirl.htm sexygirl]] [[http://some-omeelse.110mb.com/data/renault-twingo.htm renault twingo helios]] [[http://trene-von-anty.110mb.com/description/benny-benasi.htm benny benasi satisfaction]] [[http://funk-mastah-ion.110mb.com/data/televisore-.htm televisore 10 pollici radio]] [[http://dialed.110mb.com/small/www-filosofia/ www filosofia com]] <h1>hCalendar authoring</h1>


This page contains useful tips and guidelines for how to author [[hcalendar|hCalendar]] events, either from scratch, or by adding markup to existing content.
This page contains useful tips and guidelines for how to author [[hcalendar|hCalendar]] events, either from scratch, or by adding markup to existing content.

Revision as of 02:24, 26 August 2007

[lusiana] [ew60 ii] [prestito melzo] [cuando volveras dance radio remix] [rowlandson mary white] [unibal] [hard disk extreme 250 gb] [s3 trio 3d 2x driver xp] [behringer control] [philips tv color] [eos 300 d canon] [tesauro francesco] [maroon5 lyrics tis love] [dvdrw 4 7] [shavit] [adobe encore] [store fixture parts] [ati radeon 7000] [japan girl] [www libero t] [fine settimana inglese] [dragostea din tei remix] [camere e corridoi] [giuseppe verde] [betws y coed] [lora del delitto] [chupa toda] [just walk away] [chicas calatas] [brother 9660] [franci] [dormire una notte a olbia] [radomsko] [funzioni] [lettori di smart card 7 1] [foresta nera] [totally spies com] [dual processor] [linguistic] [negozi da giardino] [contact lens] [test di preselezione per aereo] [sogno listz] [nikon 1870 af dx] [xp professional upgrade] [il colore del melograno] [kaity] [pronostico basket] [ktag5400 1g] [hard disk esterno lettore foto] [oroscopo pippo baudo] [rbay] [samsung lavatrici 1200 giri] [jbuilderx] [speed] [il gazzettino di padova] [confession usher] [riassunto il sentiero dei] [vacanza baleari] [fossil italia s r l] [incontro capri] [baldoni video] [day after tomorrow] [creature] [claudia kool] [centro benessere liguria] [iodio] [xizo] [chochas] [euro dance 11] [para vivir] [ravizza] [finanziamento san dona piave] [ufficio alba] [ceramiche minghetti] [carrozzine peg perego] [lavoro a busto arsizio] [carreta de coches] [gilles deleuze nietzsche e la filosofia] [tanz bambolina rmx] [www roadstar] [la pittura italiana del 700] [deleted] [toner brother hl1270] [jilted john] [dvd pioneer 16x] [camera forli] [matsubara] [la smorfia] [vicky covergirl] [kaiak] [sarah kane libri] [oki toner rainbow] [argo 245c] [hate that frog] [i ragazzi di scampia] [nike donna] [download programmi per bioritmo] [annunci trans napoli] [una demo per war world] [www principe alba adriatica com] [terra libera gabry ponte] [antonello de pierro erotismo] [provincia brescia] [claudio baglioni fotografie] [badesi sardegna] [hassirmel] [ag1] [bicicletta atala] [xsl] [gig d agostino silence] [radeon x800 se agp] [olympus xd card 512mb] [www negreit] [nikon obiettivi sigma] [rooms neo geo] [le campanelle] [pala cavicchi] [la fessura] [foto paris hilton] [arenaria (botanica)] [nino ippolito] [un uomo venuto da molto lontano] [midi vari] [la leggenda] [i senza paura] [musicology prince] [una petizione per halo sulla rete] [www fassina it] [sims 2 playstation 2] [amd athlon 64 3800] [kevin bigley] [deskjet 450cbi] [cebus] [sintoamplificatore home theatre] [pentium 4] [foto sesso gratis bizzarre] [hellbound eminem] [ktapbg4 512] [harry potter 53] [rosita celentano] [accessori per palm] [vanoni paolo ti ricordi] [simon paul] [percorsi autostradali europa] [sex termometer] [telecamera dvd] [happy funny] [fuchunjiang] [saggio breve esempio] [ollastra] [proxify] [freno] [diomedes] [perle di ghiaccio] [incontrare ragazze] [inizia il beta test pubblico di world of warcraft] [tagliaerba motore] [tour dei cantanti] [scheda memoria secure digital] [golf gt special] [schiller mit heppner] [mercedes 190 d] [maglieria davoli] [ati sapphire radeon x800 256mb pcie] [balli di gruppo 2004] [la preparazione fisica al ciclismo] [how came dei d12] [fax globo] [dj tommy stay] [aziente tessili lecco] [code arabesque] [olympus 300] [olimpus c480 zoom] [vgn sony portatili] [www cartoons] [samanta degre] [samsung sp2014n] [mp3 gigione] [nikon enel2] [digital receiver] [bach aria iv corda] [passo rapido] [ozoe] [macchine usate in sicilia] [fasciatoio rimini] [crack toca racer driver 2 no cd] [guernica e la gurra] [verbatim dvd r 8 5 gb] [nora roberts] [pc con monitor lcd 17] [costi oh mami] [tv sony lcd 32] [twenty centuri fox soundtrack] [wait until] [sexygirl] [renault twingo helios] [benny benasi satisfaction] [televisore 10 pollici radio] [www filosofia com]

hCalendar authoring

This page contains useful tips and guidelines for how to author hCalendar events, either from scratch, or by adding markup to existing content.

Goal: The goal of this document is to provide some good intuitive guidelines that should make it as easy and as quick as possible for any web author to create hCalendar events or add hCalendar markup to existing content.

Audience: Web authors and designers. This document is written for easy consumption and understanding by any web designer who knows at least enough (X)HTML and CSS to use HTML class names on elements and write CSS selectors that apply styles to those class names. Please help with clarifying/simplifying this document accordingly.

Author(s): Tantek Çelik

Creating new hCalendar events

Start with the hCalendar creator, and for additional fields and properties (e.g. contact, attendees, etc.), see the hCalendar examples page as well as the rest of this page.

Adding hCalendar markup to existing content

Minimal Markup Changes

The important thing to keep in mind when adding microformats to existing content, is the fact that microformats are designed so that they can be added with minimal (almost always no) changes to the existing presentation of the page. Thus keep this in mind: change as little markup as possible. If you want to fix various pages to be valid XHTML as well, that's fine goal and highly encouraged.

Find Events

Start with looking for all mentions of events on a page, such as an "Upcoming Events" or "Recent Events" listing. Those are all potential hCalendar events. Even more so if they are linked to their respective URLs (e.g. per event pages with more details).

If an event is mentioned several times on a page, consider marking up the mention which is the most persistent, detailed, definitive, or otherwise thorough as an hCalendar event. Ideally you might want to mark up all instances of a events with hCalendar, but for now, just keep it simple and markup the most representative instance. (Perhaps the most "definitive" instance, which could also then be marked up with a <dfn> element around the summary/title of the event for additional semantic XHTML goodness.)

Determine The Surrounding Element for Each

For each event that you want to add hCalendar, find the smallest element that contains all the info about that event, without overlapping with any other event on the page.

Add the class name "vevent" to that element.

If there is no such element (perhaps the nearest enclosing element contains more than one event), then add a <span class="vevent">...</span> or <div class="vevent">...</div> that wraps the info about about that event and just that event.

The rest of the markup for this hCalendar event MUST go inside that element with the class name "vevent".

In all cases, where it says to add an element with class name of "xyz", if you can find an existing element that precisely surrounds the necessary content, then re-use that element and simply add the class name "xyz" to it (by adding it to the class attribute on the existing element, or by adding a new class attribute class="xyz" to elements without a class attribute).

For instance, assuming you have the following markup:

    <div class="someFoo">
       <p> This is my wonderful markup, it contains some event information inside of it</p>
       <h6>Some Wonderful Event</h6>
       <p> From the people who brought you Great Times and Fun Lovin, 
           comes the Some Wonderful Event at the Local Sports Stadium.  
           Come at <b>A Specified Time</b>, and enjoy yourself! </p>
    </div>

If you need to add an element with the class of "vevent" around your event content, you could re-use the existing div element, and add the class "vevent" to it like so:

    <div class="someFoo vevent">

Similarly, if you decide not to re-purpose an existing container, you can just wrap the content around a new block:

    <div class="someFoo">
      <div class="vevent">
         <p> This is my wond...
         ...
         ... and enjoy yourself! </p>
      </div>
    </div>

The Importance of Time and Topic

Several properties are required in hCalendar. At a minimum, an event needs a "summary" (AKA title) and "dtstart" (starting date time), as well as either a "dtend" (ending date time) or "duration". Thus be sure to mark up the name/summary/title of the event with the class name "summary". E.g.

<div class="vevent">
 <span class="summary">An Event Apart, New York City, NY</span>,
 <abbr class="dtstart" title="20060710">July 10</abbr>-<abbr class="dtend" title="20060712">11th, 2006</abbr>
</div>

This event might be presented like:

An Event Apart, New York City, NY, July 10-11th, 2006

Note: the use of the abbr element's title attribute to markup a machine readable absolute datetime in addition to the human readable text. Note also that the machine readable ending date is the day *after* the date specified in the human readable content. The reason for this is that hCalendar still interprets an ending date without a time as an instant in time, that is midnight, the absolute beginning of that day, thus ending the event the day before. See hCalendar and hcalendar-example1-steps for more details on the use of the abbr element in this fashion.

Eliminating Default Dotted Underline

Some browsers (Camino, Firefox, Mozilla) put a dotted underline or border on each abbr. This is typically an ugly effect and distracting in most clean modern web designs. Thus be sure to use the following rule in your style sheet to eliminate this default presentation.

abbr{border:0}

In the above example, this would have the following effect (which may not look any different for some readers):

An Event Apart, New York City, NY, July 10-11th, 2006

Representative URLs

One of the most common patterns for events in web content is to link them to their definitive/preferred web site.

"Event Rolls" are a good example of this (see also XOXO for proper semantic list and outline markup).

Since the class attribute takes a space separated set of class names, one can often markup the URL on the same element as the name, e.g. by replacing the first <span> in the above example with an <a href> hyperlink:

<div class="vevent">
 <a href="http://aneventapart.com/events/2006/nyc/" class="summary url">An Event Apart, New York City, NY</a>,
 <abbr class="dtstart" title="20060710">July 10</abbr>-<abbr class="dtend" title="20060712">11th, 2006</abbr>
</div>

This event might be presented like:

An Event Apart, New York City, NY, July 10-11th, 2006

Location Location Location

As with real estate, the location of an event is quite relevant, and important to markup properly. At a minimum, identify the location related information in the event and mark it up with the class name of "location", e.g. continuing with the above example:

<div class="vevent">
 <a href="http://aneventapart.com/events/2006/nyc/" class="summary url">An Event Apart, 
  <span class="location">New York City, NY</span></a>, 
 <abbr class="dtstart" title="20060710">July 10</abbr>-<abbr class="dtend" title="20060712">11th, 2006</abbr>
</div>

This is good, but can be made even better with the addition of the adr microformat to explicitly identify the city and state:

<div class="vevent">
 <a href="http://aneventapart.com/events/2006/nyc/" class="summary url">An Event Apart, 
  <span class="location adr"><span class="locality">New York City</span>, <span class="region">NY</span></span></a>, 
 <abbr class="dtstart" title="20060710">July 10</abbr>-<abbr class="dtend" title="20060712">11th, 2006</abbr>
</div>

Even better, if the location has a name, such as a business or organization, make the location into complete hCard rather than just an adr:

<div class="vevent">
 <a href="http://aneventapart.com/events/2006/nyc/" class="summary url">An Event Apart, 
  <span class="location vcard">
   <span class="fn org">Scandinavia House</span>,
   <span class="adr"><span class="locality">New York City</span>, <span class="region">NY</span></span>
  </span></a>,
 <abbr class="dtstart" title="20060710">July 10</abbr>-<abbr class="dtend" title="20060712">11th, 2006</abbr>
</div>

More tips and guidelines

Feel free to add more tips that experience has taught you while marking up events with hCalendar, even if all you add is a brief catch phrase that reminds you.

  • How to mark up the contact and organizer
  • How to mark up attendees (including speakers)
  • ...

Related Pages

This specification is a work in progress. As additional aspects are discussed, understood, and written, they will be added. These thoughts, issues, and questions are kept in separate pages.