[uf-discuss] hCalendar - every week event
Tantek Ç elik
tantek at cs.stanford.edu
Tue Apr 25 17:14:55 PDT 2006
On 4/25/06 4:33 AM, "Danilo Laurindo" <danilolaurindo at gmail.com> wrote:
> Sure! Here it is...
> http://www.dgabcsolutions.com.br/preview/camarascs/cm_home.asp
>
> I'm still formatting most things, so don't worry about the css yet. :)
>
> On the left side you have the nav bar, that I will implement xoxo (but
> haven't started yet), and below it there is the event and a vcard.
> It is written: Sessões ordinárias: Terças-feiras, às 16h (Ordinary Sessions,
> Tuesdays, starting at 4pm)
>
> Is this enough?
You currently have the markup:
<div class="vevent">
<p><span class="summary">Sessões ordinárias:</span><br />Terças-feiras, às
<span class="starttime">16h</span></p></div>
<div class="vcard">
<h3>Endereço</h3>
<p class="adr"><span class="street-address">Rua Amazonas, 408</span> - <span
class="locality">Centro</span> - Cep: <span
class="postal-code">09520-060</span> - <span class="tel"><span
class="type">PABX:</span> <span class="value">(11) 4228-6000</span></span> -
Horário: das 8h às 18h</p></div>
Which marks up quite a bit, but I think it can be improved:
<div class="vevent">
<p><span class="summary">Sessões ordinárias:</span><br />
<abbr class="rrule" title="FREQ=WEEKLY;BYDAY=TU">Terças-feiras</abbr>,
<abbr class="dtstart" title="20060425T1600-0300">às 16h</abbr></p>
<div class="location vcard">
<h3 class="fn org">Endereço</h3>
<p class="adr"><span class="street-address">Rua Amazonas, 408</span> - <span
class="locality">Centro</span> - Cep: <span
class="postal-code">09520-060</span> - <span class="tel">PABX: <span
class="value">(11) 4228-6000</span></span> - Horário: das 8h às
18h</p></div>
</div>
That should work.
This puts an RRULE and DTSTART on the event, in addition to marking up the
location as an hCard.
Tantek
More information about the microformats-discuss
mailing list