[microformats-discuss] how can you validate?

brian suda brian.suda at gmail.com
Wed Oct 12 11:05:03 PDT 2005

This is a good example of several things:

Here is a snippit of the code
<li><span class="vevent">
<a class="url"
<span class="summary">Eel Pie Club : The Errol Linton Band </span></a>
<br />
<abbr class="dtstart" title="20051012T2030">Wednesday, 12 October
<abbr class="dtend" title="20051012T2030"></abbr>

<span class="location">
Cabbage Patch Public House</a></span>

This can be condensed quite abit:
<li class="vevent">
<a class="url summary"
href="/cgi-bin/events.cgi?key=200505240357&amp;action=getevent">Eel Pie
Club : The Errol Linton Band</a>
<br />
<abbr class="dtstart" title="20051012T2030">Wednesday, 12 October
<abbr class="dtend" title="20051012T2030">late</abbr>

class="location">The Cabbage Patch Public House</a>

This also show that you should be putting some information into the
DTEND, or add a DURATION option and say it last 1 hour or something.
Hiding data is a bad idea, and so is leaving information empty.

I don't really consider this a problem with the parsers.

Peter Mahnke wrote:

> I have implemented hCalendar formatting on http://www.stmgrts.org.uk
> on the homepage, but I don't know how to test it.
> I didn't want to implement end dates except as an empty <abbr></abbrt>
> and I hid location via css.
> I have tried to test with a greasemonkey script, but that didn't parse
> things correctly.
> What can I do now?
> Thanks,
> Peter
> -- 
> Peter Mahnke
> http://www.transitionelement.com/
>microformats-discuss mailing list
>microformats-discuss at microformats.org

More information about the microformats-discuss mailing list