hcalendar-examples-fr

From Microformats Wiki
Revision as of 20:50, 18 June 2007 by SaqJ0n (talk | contribs)
Jump to navigation Jump to search

exemples de hCalendar

Exemples de hCalendars.

Auteurs

exemples RFC 2445 dans hCalendar

Ce sont des exemples hCalendar 1:1 pour chaque exemple dans la RFC 2445.

Les errata sont appliqués à partir d'ici.

Ces exemples sont de stricts copier-coller tirés de la RFC, ils ne devraient pas être édités.

4.6.1 Composant Event

Ci-après un exemple du composant de calendrier "VEVENT" utilisé pour représenter une réunion qui sera aussi opaque pour les recherches du temps occupé :

BEGIN:VEVENT
UID:19970901T130000Z-123401@host.com
DTSTAMP:19970901T1300Z
DTSTART:19970903T163000Z
DTEND:19970903T190000Z
SUMMARY:Annual Employee Review
CLASS:PRIVATE
CATEGORIES:BUSINESS,HUMAN RESOURCES
END:VEVENT

Cet event iCalendar comme un hCalendar :

<div class="vevent">
  <h5 class="summary">Annual Employee Review</h5>
  <div>posted on <abbr class="dtstamp" title="19970901T1300Z">September 1, 1997</abbr></div>
  <div>UID: <span class="uid">19970901T130000Z-123401@host.com</span></div>
  <div>Dates: <abbr class="dtstart" title="19970903T163000Z">Septempter 3, 1997, 16:30</abbr> -
      <abbr class="dtend" title="19970903T190000Z">19:00 UTC</abbr></div>
  <div>This meeting is <strong class="class">private</strong>.</div>
  <div>Filed under:</div>
  <ul>
    <li class="category">Business</li>
    <li class="category">Human Resources</li>
  </ul>
</div>

Ce hCalendar pourrait être affiché comme :

Annual Employee Review
posted on September 1, 1997
UID: 19970901T130000Z-123401@host.com
Dates: Septempter 3, 1997, 16:30 - 19:00 UTC
This meeting is Private.
Filed under:
  • Business
  • Human Resources

Exemple 2

Ce qui suit est un exemple du composant calendrier "VEVENT" utilisé pour représenter un aide-mémoire qui ne sera pas opaque, mais plutôt transparent aux recherches sur le temps occupé :

BEGIN:VEVENT
UID:19970901T130000Z-123402@host.com
DTSTAMP:19970901T1300Z
DTSTART:19970401T163000Z
DTEND:19970402T010000Z
SUMMARY:Laurel is in sensitivity awareness class.
CLASS:PUBLIC
CATEGORIES:BUSINESS,HUMAN RESOURCES
TRANSP:TRANSPARENT
END:VEVENT

Cet event iCalendar en tant que fragment hCalendar :

<div class="vevent">
  <h5 class="summary">Laurel is in sensitivity awareness class.</h5>
  <div>Posted on: <abbr class="dtstamp" title="19970901T1300Z">September 1, 1997</abbr></div>
  <div class="uid">19970901T130000Z-123402@host.com</div>
  <div>Dates: <abbr class="dtstart" title="19970401T163000Z">April 1, 1997, 16:30 UTC</abbr>-
    <abbr class="dtend" title="19970402T010000Z">April 2, 1997 01:00 UTC</abbr></div>
  <div>This event is <span class="class">public</span> and <span class="transp">transparent</span> to free/busy scheduling.</div>
  <div>Filed under:</div>
    <ul>
      <li class="category">Business</li>
      <li class="category">Human Resources</li>
    </ul>
</div>

Cet hCalendar pourrait être affiché comme :

Laurel is in sensitivity awareness class.
Posted on: September 1, 1997
19970901T130000Z-123402@host.com
Dates: April 1, 1997, 16:30 UTC-April 2, 1997 01:00 UTC
This event is public and transparent to free/busy scheduling.
Filed under:
  • Business
  • Human Resources


Exemple 3

Ce qui suit est un exemple du composant calendrier "VEVENT" utilisé pour représenter un anniversaire qui arrivera chaque année. Parce que cela ne prend pas de temps, il n'apparaîtra pas comme opaque dans une recherche sur le temps occupé ; peu importe ce qu'indique la valeur de la propriété "TRANSP" :

BEGIN:VEVENT
UID:19970901T130000Z-123403@host.com
DTSTAMP:19970901T1300Z
DTSTART:19971102
SUMMARY:Our Blissful Anniversary
CLASS:CONFIDENTIAL
CATEGORIES:ANNIVERSARY,PERSONAL,SPECIAL OCCASION
RRULE:FREQ=YEARLY
END:VEVENT

Cet event iCalendar comme un fragment hCalendar :

<div class="vevent">
  <h5 class="summary">Our Blissful Anniversary</h5>
  <div>Posted on: <abbr class="dtstamp" title="19970901T1300Z">September 1, 1997</abbr></div>
  <div class="uid">19970901T130000Z-123403@host.com</div>
  <div>Date: <abbr class="dtstart" title="19971102">November 2, 1997</abbr></div>
  <div>This event is <strong class="class">confidential</strong>.</div>
  <div>Filed under:</div>
  <ul>
     <li class="category">Anniversary</li>
     <li class="category">Personal</li>
     <li class="category">Special Occassion</li>
  </ul>
   <div class="rrule">Repeat <span class="freq">yearly</span>.</div>
</div>

PROBLEMATIQUES :

  • Nous avons eu une plus grande discussion à propos de RRULE qui a besoin d'être résolue, ces exemples aideront en cela, je l'espère. --RyanKing

Ce hCalendar pourrait s'afficher comme :

Our Blissful Anniversary
Posted on: September 1, 1997
19970901T130000Z-123403@host.com
Date: November 2, 1997
This event is confidential.
Filed under:
  • Anniversary
  • Personal
  • Special Occassion
Repeat yearly

4.6.2 A faire : Composant

Exemple : Ce qui suit est un exemple d'un composant calendrier "VTODO" :

BEGIN:VTODO
UID:19970901T130000Z-123404@host.com
DTSTAMP:19970901T1300Z
DTSTART:19970415T133000Z
DUE:19970416T045959Z
SUMMARY:1996 Income Tax Preparation
CLASS:CONFIDENTIAL
CATEGORIES:FAMILY,FINANCE
PRIORITY:1
STATUS:NEEDS-ACTION
END:VTODO

Ce fragment iCalendar sous hCalendar:

@TODO

4.6.3 Composant Journal

Exemple : Ce qui suit est un exemple du composant calendrier "VJOURNAL" :

BEGIN:VJOURNAL UID:19970901T130000Z-123405@host.com DTSTAMP:19970901T1300Z DTSTART;VALUE=DATE:19970317 SUMMARY:Staff meeting minutes DESCRIPTION:1. Staff meeting: Participants include Joe\, Lisa

 and Bob. Aurora project plans were reviewed. There is currently
 no budget reserves for this project. Lisa will escalate to
 management. Next meeting on Tuesday.\n
 2. Telephone Conference: ABC Corp. sales representative called
 to discuss new printer. Promised to get us a demo by Friday.\n
 3. Henry Miller (Handsoff Insurance): Car was totaled by tree.
 Is looking into a loaner car. 654-2323 (tel).

END:VJOURNAL

Ce fragment iCalendar comme hCalendar :

@TODO

4.6.4. Composant Free/Busy

Exemple : Ce qui suit est une exemple d'un composant calendrier "VFREEBUSY" utilisé pour requêter une information sur le temps libre ou occupé :

BEGIN:VFREEBUSY
ORGANIZER:MAILTO:jane_doe@host1.com
ATTENDEE:MAILTO:john_public@host2.com
DTSTART:19971015T050000Z
DTEND:19971016T050000Z
DTSTAMP:19970901T083000Z
END:VFREEBUSY

Ce fragment iCalendar sous hCalendar :

@TODO

Ce qui suit est un exemple d'un composant calendrier "VFREEBUSY" utilisé pour répondre à la requête avec l'information sur le temps occupé :

BEGIN:VFREEBUSY
ORGANIZER:MAILTO:jane_doe@host1.com
ATTENDEE:MAILTO:john_public@host2.com
DTSTAMP:19970901T100000Z
FREEBUSY;VALUE=PERIOD:19971015T050000Z/PT8H30M,
 19971015T160000Z/PT5H30M,19971015T223000Z/PT6H30M
URL:http://host2.com/pub/busy/jpublic-01.ifb
COMMENT:This iCalendar file contains busy time information for
  the next three months.
END:VFREEBUSY


Ce fragment iCalendar sous hCalendar :

@TODO

Ce qui suit est un exemple d'un composant calendrier "VFREEBUSY" utilisé pour publier l'information sur le temps occupé.

BEGIN:VFREEBUSY
ORGANIZER:jsmith@host.com
DTSTART:19980313T141711Z
DTEND:19980410T141711Z
FREEBUSY:19980314T233000Z/19980315T003000Z
FREEBUSY:19980316T153000Z/19980316T163000Z
FREEBUSY:19980318T030000Z/19980318T040000Z
URL:http://www.host.com/calendar/busytime/jsmith.ifb
END:VFREEBUSY

Ce fragment iCalendar sous hCalendar :

@TODO


5. Exemples Objet iCalendar

L'exemple suivant spécifie une conférence de trois jours qui démarrer le 18 septembre 1996 à 8:00 AM EDT, et se termine à 6:00 PM EDT le 20 septembre 1996.

BEGIN:VEVENT
DTSTAMP:19960704T120000Z
UID:uid1@host.com
ORGANIZER:MAILTO:jsmith@host.com
DTSTART:19960918T143000Z
DTEND:19960920T220000Z
STATUS:CONFIRMED
CATEGORIES:CONFERENCE 
SUMMARY:Networld Interop Conference
DESCRIPTION:Networld Interop Conference and Exhibit\nAtlanta World Congress Center\nAtlant\, Georgia
END:VEVENT

Cet événement iCalendar sous un fragment hCalendar : la syntaxe des participants semble incomplète

<div class="vevent">
  <h5 class="summary">Networld Interop Conference</h5>
  <div class="description">Networld Interop Conference and Exhibit Atlanta World Congress
  Center Atlanta, Georgia</div>
  <div>Posted on: <abbr class="dtstamp" title="19960704T120000Z">July 4, 1996</abbr></div>
  <div class="uid">uid1@host.com</div>
  <div>Organized by: <a class="organizer" href="mailto:jsmith@host.com">jsmith@host.com</a></div>
  <div>Dates: <abbr class="dtstart" title="19960918T143000Z">September 18, 1996, 14:30 UTC</abbr> -
     <abbr class="dtend" title="19960920T220000Z">September 20, 1996, 22:00 UTC</abbr></div>
  <div>Status: <span class="status">CONFIRMED</span></div>
  <div>Filed under:</div>
  <ul>
     <li class="category">Conference</li>
  </ul>
</div>

Ce hCalendar pourrait être affiché comme :

Networld Interop Conference
Networld Interop Conference and Exhibit Atlanta World Congress Center Atlanta, Georgia
Posted on: July 4, 1996
uid1@host.com
Organized by: jsmith@host.com
Dates: September 18, 1996, 14:30 UTC - September 20, 1996, 22:00 UTC
Status: confirmed
Filed under:
  • Conference


Exemple 2

L'exemple suivant spécifie une réunion programmée d'un groupe qui démarre le 12 mars 1998 à 8:30 AM EST et se termine à 9:30 AM EST le 12 mars 1998. L'"Organizer" a programmé la réunion avec un ou plusieurs calendriers utilisateurs dans un groupe. Une spécification de "time zone" pour l'Est des Etats Unis a été spécifiée.

BEGIN:VCALENDAR
PRODID:-//RDU Software//NONSGML HandCal//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:US-Eastern
BEGIN:STANDARD
DTSTART:19981025T020000
RDATE:19981025T020000
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19990404T020000
RDATE:19990404T020000
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:19980309T231000Z
UID:guid-1.host1.com
ORGANIZER;ROLE=CHAIR:MAILTO:mrbig@host.com
ATTENDEE;RSVP=TRUE;ROLE=REQ-PARTICIPANT;CUTYPE=GROUP:MAILTO:employee-A@host.com
DESCRIPTION:Project XYZ Review Meeting
CATEGORIES:MEETING
CLASS:PUBLIC
CREATED:19980309T130000Z
SUMMARY:XYZ Project Review
DTSTART;TZID=US-Eastern:19980312T083000
DTEND;TZID=US-Eastern:19980312T093000
LOCATION:1CP Conference Room 4350
END:VEVENT
END:VCALENDAR

Ce iCalendar sous un hCalendar :

@TODO

Ce hCalendar pourrait être affiché comme :

@TODO

Exemple 3

BEGIN:VCALENDAR
METHOD:xyz
VERSION:2.0
PRODID:-//ABC Corporation//NONSGML My Product//EN
BEGIN:VEVENT
DTSTAMP:19970324T1200Z
SEQUENCE:0
UID:uid3@host1.com
ORGANIZER:MAILTO:jdoe@host1.com
ATTENDEE;RSVP=TRUE:MAILTO:jsmith@host1.com
DTSTART:19970324T123000Z
DTEND:19970324T210000Z
CATEGORIES:MEETING,PROJECT
CLASS:PUBLIC
SUMMARY:Calendaring Interoperability Planning Meeting
DESCRIPTION:Discuss how we can test c