[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"
href="/cgi-bin/events.cgi?key=200505240357&amp;action=getevent">
<span class="summary">Eel Pie Club : The Errol Linton Band </span></a>
<br />
<abbr class="dtstart" title="20051012T2030">Wednesday, 12 October
8:30pm</abbr>
<abbr class="dtend" title="20051012T2030"></abbr>
<span class="location">
<a
href="http://www.stmgrts.org.uk/cgi-bin/directory.cgi?key=200505230524&amp;action=getlisting">The
Cabbage Patch Public House</a></span>
</span>
</li>
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
8:30pm</abbr>-
<abbr class="dtend" title="20051012T2030">late</abbr>
<a
href="http://www.stmgrts.org.uk/cgi-bin/directory.cgi?key=200505230524&amp;action=getlisting"
class="location">The Cabbage Patch Public House</a>
</li>
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.
-brian
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
>http://microformats.org/mailman/listinfo/microformats-discuss
>>


More information about the microformats-discuss mailing list

AltStyle によって変換されたページ (->オリジナル) /