[uf-discuss] class="url"?

Chris Messina chris.messina at gmail.com
Sun Nov 5 00:21:19 PST 2006


On 11/4/06, Siegfried Gipp <siegfried at rorkvell.de> wrote:
> Am Samstag, 4. November 2006 23:08 schrieb Chris Messina:
>
> > It might be useful to use 'alternate' as a class value however.
> Good idea, since the alternate property is well established. But then, in
> Scotts example, what does "alternate" mean? Any url in his example is no
> alternate for the one and only primary url. All other urls are urls for
> different purposes.
>
> The alternate property might be useful f.ex. if you offer several different
> contact infos for an event. So for example a http://... url for a contact
> form, a mailto: address for the same purpose, and may be a postal address for
> the same purpose. You might consider adding the alternate property to two of
> them.

Specifically:

<div class="vevent">
  <h1 class="name summary">Web 2.0 Conference 2006</h1>
<abbr class="dtstart" title="2006-11-07">Tuesday, November 7,
2006</abbr> - <abbr class="dtend" title="2006-11-09">Thursday,
November 9, 2006</abbr>
<a href="http://www.web2con.com/web2006/"
class="url">http://www.web2con.com/web2006/</a>
<a href="http://upcoming.org/event/86254/" class="alternate">This
event on Upcoming</a>
</div>

So there we have the official event URL and then an alternate URL that
specfically pertains to the event but is not definitive. Seems useful
to me and in the spirit of other uses of 'alternate'.

Perhaps we should really use rel='alternate' in this case, but I'm not
sure how I feel about that.

Chris


More information about the microformats-discuss mailing list