[uf-discuss] complex even mark-up query

Brian Suda brian.suda at gmail.com
Fri Dec 22 09:16:37 PST 2006


On 12/22/06, Andy Mabbett <andy at pigsonthewing.org.uk> wrote:
>
> I should be interested to know how others would mark up this text using hCalendar.

<p class="vevent"><span class="summary">Work parties</span> will be
held at Belvide on Saturday mornings, <abbr class="rdate"
title="2007-01-13T09:30:00/PT3H,2007-01-20T09:30:00/PT3H,2007-01-27T09:30:00/PT3H,2007-03-03T09:30:00/PT3H">January
13th, 20th, 27th, & February 3rd, from 9.30am–12.30pm</abbr>, to carry
out habitat improvement, including scrub removal and coppicing. <span
class="location">Meet in the car park</span>; tools and gloves will be
provided. All help will be very welcome.</p>

This is just one interpretation, if you want a description, then you
can add <span class="description"> around the text you want. If you
want to also include the URL of the page as the URL in the iCalendar
file, then you can aslo add <a class="include" href="#fetched">

The RDATE should help "smooth out" all of those dates in a row. There
has been a problem with some calendar applications not being able to
import iCalendar files with RDATEs, but there isn't any documentation
about this yet.

If you manage to put some sample markup into a live HTML page please
send the link, it is much easier to verify, test and debug on a URL
than text in an email.

Thanks,
-brian

> The relevant URL for the events is that of the page on which the above
> appears, and is in the page footer as:
>
>         <p id="fetched">Fetched from <span id="pageurl">[URL]</span></p>
>
> styled to appear only when printed.
>


-- 
brian suda
http://suda.co.uk



More information about the microformats-discuss mailing list