Skip to content
Reid Beels edited this page Aug 4, 2011 · 1 revision

Bainstorming for dealing with hcal

hCalendar

To make a valid hcal markup, you need to define three classes at a minimun:

vevent

  • summary
  • dtstart

These classes can be added to any html tag and do not need to be styled. Once you've added these basic tags it is a valid event that can be incorporated into the aggregator.

Other tags you might consider using:

location

dtend

url

contact

category (may occur more than once)

Example hcal markup for http://www.pdxfcpug.com/meetings.html

<-- ADD CLASS="VEVENT" TO PAGE BODY-->


<body  class ="vevent" vlink="#666666" text="#ffffff" marginwidth="0" marginheight="0" link="#cccccc" bgcolor="#000000" alink="#999999" onload="preloadImages();" topmargin="0" leftmargin="0">

 

<...>


<-- ADD CLASS ="SUMMARY"-->

<td id="contentText" width="50%" valign="top" align="left">
<h2>MEETING INFORMATION :</h2>

<p>
<br/>
<div class="summary">Portland Final Cut User Group now meets on the first Tuesday of every month from 6:30-8:30 PM.</div>
<br/>
<br/>
The location is:
<br/>
<font face="Arial, Helvetica, sans-serif">
<-- ADD CLASS ="LOCATION"-->
<span class="location">PCC/Cascade Campus
<br/>
705 N. Killingsworth St. (x Albina)
<br/>
Moriarty Arts and Humanities Building, Room 104.</span>
<br/>
<-- ADD CLASS ="URL"-->
<span class="url">Link:
<a target="_blank" href="http://www.pcc.edu/about/locations/cascade/">www.pcc.edu/about/locations/cascade/ </a></span>
</font>
<br/>
<br/>
</p>
 
<...>

<td id="contentText" width="50%">
<-- ADD CLASS ="DTSTART"-->
<h2 class="dtstart">Tuesday December 04, 2007 6:15pm AGENDA:</h2>
<table>
<tbody>
<tr>
<td height="20">6:15 - 6:30</td>