[microformats-discuss] vcalendar in the wild
Tantek Ç elik
tantek at cs.stanford.edu
Sat Aug 13 13:40:41 PDT 2005
On 8/13/05 1:14 PM, "David Janes -- BlogMatrix" <davidjanes at blogmatrix.com>
wrote:
> I'm looking at this page "http://upcoming.org/event/27561/" which
> implements the hcalendar/vcalendar microformat. Here's the HTML snippet
> I'm wondering about:
>
> <div class="venue location">
> <b><a href="/venue/9496">The Original Motorcycle Cafe & Lounge</a></b><br />
> <div class="address">
> 355 King St. West (<a href="http://maps.google.com/maps?q=355 King
St.
> West, Toronto, Ontario">Google Maps</a>,
> <a href="http://maps.yahoo.com/py/maps.py?addr=355 King St.
> West&csz=Toronto+Ontario">Yahoo! Maps</a>)<br />
> Toronto, Ontario </div>
> </div>
>
> Is there any reasonable interpretation of the "location" field that
> doesn't include the "(Google Maps, Yahoo Maps)" strings?
One solution would be to markup the location (which is actually an entire
venue in this case) as an embedded hCard which explicitly excludes the extra
information. E.g. (unnecessary <b> & <br />s removed):
<div class="venue location vcard">
<b><a class="url fn org" href="/venue/9496">The Original Motorcycle Cafe &
Lounge</a></b><br />
<div class="address adr">
<span class="street-address">355 King St. West</span>
(<a href="http://maps.google.com/maps?q=355 King St.
West, Toronto, Ontario">Google Maps</a>,
<a href="http://maps.yahoo.com/py/maps.py?addr=355 King St.
West&csz=Toronto+Ontario">Yahoo! Maps</a>)<br />
<span class="locality">Toronto</span>,
<span class="region">Ontario</span>
</div>
</div>
> Needless to say, this page isn't XHTML compliant with that raw "&"
> sitting on the second line!
Indeed, certainly an improvement the upcoming.org folks could make.
I'll drop them an email.
Thanks for pointing this out David!
Tantek
More information about the microformats-discuss
mailing list