[microformats-discuss] how can you validate?
Peter Mahnke
pmahnke at gmail.com
Wed Oct 12 11:43:57 PDT 2005
Brian,
Thanks for this. I have revised the listing _somewhat_.
<ul class="vcalendar"><li class="vevent"><a class="url"
href="/cgi-bin/events.cgi?key=200506150337&action=getevent"
class="summary">Orange Tree Theatre : Monkey’s Uncle</a><br /><abbr
class="dtstart" title="2005105 OctT1945">5 Oct - 5 Nov 7:45-10pm</abbr><abbr
class="dtend" title="2005105 OctT1945"></abbr>
<br /><span class="location"><a href="
http://www.stmgrts.org.uk/cgi-bin/directory.cgi?key=200506150221&action=getlisting">Orange
Tree Theatre</a></span></li>
<li class="vevent"><a class="url"
href="/cgi-bin/events.cgi?key=200506150428&action=getevent"
class="summary">Richmond Theatre : Jungle Book</a><br /><abbr
class="dtstart" title="20051011-15">11-15 October </abbr><abbr
class="dtend" title="20051011-15"></abbr>
<br /><span class="location"><a href="
http://www.stmgrts.org.uk/cgi-bin/directory.cgi?key=200506150229&action=getlisting">Richmond
Theatre</a></span></li>
<li class="vevent"><a class="url"
href="/cgi-bin/events.cgi?key=200506150430&action=getevent"
class="summary">Richmond Theatre : Harry Hill</a><br /><abbr class="dtstart"
title="20051019T1945">Wednesday, 19 October 7:45-9pm</abbr><abbr
class="dtend" title="20051019T1945"></abbr>
<br /><span class="location"><a href="
http://www.stmgrts.org.uk/cgi-bin/directory.cgi?key=200506150229&action=getlisting">Richmond
Theatre</a></span></li>
<li class="vevent"><a class="url"
href="/cgi-bin/events.cgi?key=200506150433&action=getevent"
class="summary">Richmond Theatre : Swan Lake</a><br /><abbr class="dtstart"
title="20051020-22">20-22 October </abbr><abbr class="dtend"
title="20051020-22"></abbr>
<br /><span class="location"><a href="
http://www.stmgrts.org.uk/cgi-bin/directory.cgi?key=200506150229&action=getlisting">Richmond
Theatre</a></span></li>
</ul>
My issue/question regarding end dates is this... I want to have different
types of end dates based on the time span involved.
For example,
Multiple dates in a single month: 20-22 October NOT 20 October - 22 October
Dates that span months: 22 October - 2 November FINE IN FORMAT
Dates with one date and multiple hours: 19 October 7:45-9pm FINE IN FORMAT?
can you do 19 October 7:45pm</abbr><abbr ...>9:00pm</abbr>, I don't want 19
October 7:45pm - 19 October 9:00pm
Dates with only a start time: 19 October 9pm NOT 19 October - 19 October
Also, the reason I don't want the location is for spacing... I assume hiding
it wouldn't affect a parser -- right?
Thanks again for your help.
Peter
On 10/12/05, brian suda <brian.suda at gmail.com> wrote:
>
> 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&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&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&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&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
> >
> >
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
--
Peter Mahnke
http://www.transitionelement.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://microformats.org/discuss/mail/microformats-discuss/attachments/20051012/2516a769/attachment.htm
More information about the microformats-discuss
mailing list