chris.messina at gmail.com
Sat Nov 4 14:08:30 PST 2006
Scott is correct., and Seigfried's comment is useful and should be
reflected on the wiki.
The class=url defines the *definitive* URL for the event or hcard. All
other anchors are essentially ignored -- in that they represent
non-significant or secondary data only (in leiu of the existing
It might be useful to use 'alternate' as a class value however.
On 11/4/06, Scott Reynen <scott at randomchaos.com> wrote:
> On Nov 4, 2006, at 1:38 PM, Siegfried Gipp wrote:
> > for what purpose is the class="url" as attribute of a link?
> > The href attribute of the <a> container on the other hand does
> > contain a url.
> > It has to contain a url according to the html and xhtml
> > specifications.
> Right, so the class="url" is communicating something else: that this
> URL is /the/ URL for the surrounding vevent. A vevent can contain
> several URLs that have little to do with the event itself, e.g.:
> <span class="location"><a href="http://www.argenthotel.com/">Argent
> Hotel, San Francisco, CA</a></span>
> So we need class="url" to know which URLs belong to the vevent, and
> which don't.
> There would probably be a better way to communicate that than
> class="url", since at first glance, it's redundant. But because
> hcalendar is a 1-to-1 property mapping of vcalendar (to ease
> adoption), the property name URL in vcalendar became class="url" in
> > The only correct usage of class="url" would be if that
> > html container indeed contains a url.
> Unlike most other properties, the URL property takes it's value from
> the href attribute, not contents of the container. This isn't
> explained very clearly in the hcalendar description, but it is
> explained pretty clearly in hcard:
> "For the "PHOTO" property and any other property that takes a URL as
> its value, the href="..." attribute provides the property value."
> microformats-discuss mailing list
> microformats-discuss at microformats.org
Citizen Provocateur &
Open Source Ambassador-at-Large
Cell: 412 225-1051
This email is: [ ] bloggable [X] ask first [ ] private
More information about the microformats-discuss