<div>Hi uF list,</div>
<div> </div>
<div>I'm writing a hCalendar parser and I'm using the content on <a href="http://microformats.org/wiki/hcalendar-examples">http://microformats.org/wiki/hcalendar-examples</a> as my baseline tests. </div>
<div> </div>
<div>My question may be caused by a lack of understanding of the 'microformats way' but I would like to know if there is a single way of representing the categories property of a hCalendar?</div>
<div> </div>
<div>The reason for my confusion is that the categories hCal properties is represented in 3 different ways...</div>
<div> </div>
<div>a) In "4.6.1 Event Component" (<a href="http://microformats.org/wiki/hcalendar-examples#4.6.1_Event_Component">http://microformats.org/wiki/hcalendar-examples#4.6.1_Event_Component</a>) you have:</div>
<div> <ul><br> <li class="category">Business</li><br> <li class="category">Human Resources</li><br> </ul><br> </div>
<div>b) in "Example 5: journal entry category" (<a href="http://microformats.org/wiki/hcalendar-examples#Example_5:_journal_entry">http://microformats.org/wiki/hcalendar-examples#Example_5:_journal_entry</a>) there is
</div>
<div> <ul class="category"><br> <li>Project Report</li><br> <li>xyz</li><br> <li>Weekly Meeting</li><br> </ul><br> </div>
<div>c) and in "5. iCalendar Object Examples, example 1" (<a href="http://microformats.org/wiki/hcalendar-examples#5._iCalendar_Object_Examples">http://microformats.org/wiki/hcalendar-examples#5._iCalendar_Object_Examples
</a>) you have:</div>
<div> <ul class="categories"><br> <li>Conference</li><br> </ul></div>
<div> </div>
<div>a) is fine for me though it takes more work to convert 'category' to 'categories' for an ical</div>
<div>b) I think this is wrong since the ical property used is "CATEGORY" but the RFC says it should be "CATEGORIES"</div>
<div>c) this would be fine too, but both a) and c) are valid there are now lots of ways (ok, 2) to parse the XHTML.</div>
<div> </div>
<div>my preferred method of expressing categories would be as follows, but I don't know if this format is still in flux...</div>
<div> <ul><br> <li class="categories">Business</li><br> <li class="categories">Human Resources</li><br> </ul></div>
<div> </div>
<div>So which is correct? Are they all correct and they all need to be understood? Some guidance would be appreciated.</div>
<div> </div>
<div>Also, what is the ettiqette for updating the uF wiki? Just get in there and go for it or pass it through a moderator? One of the examples needs to be updated because the XHTML is incorrect "<span class="rsvp">TRUE></span>" - notice the text is "TRUE>"
</div>
<div> </div>
<div>I'm looking forward to your replies (hopefully)</div>
<div> </div>
<div>Mark</div>
<div><br clear="all"> </div>