[uf-discuss] Extracting N from hCard (was: Citation Straw Proposal
II)
brian suda
brian.suda at gmail.com
Mon May 1 15:39:39 PDT 2006
I think alot of people get confused, but when we are using microformats
within other microformats, we are not limiting what properties can be
used. So while your example is correct, it can easily be expanded to
encompass all of the hCard micforomats.
<div class="citation">
<span class="title">The Book of Ryan</span>
<span class="author-name vcard">
<!-- any valid hcard property here -->
<span class="fn n"><span class="given-name">Ryan</span> <span
class="family-name nickname"><span
class="sort-string">C</span>annon</span></span>
<span class="role">Interactive Developer</span>
<span class="org">MSI Student, School of Information
University of Michigan</span>
</span>
</div>
I don't think it needs to be generalized or reduced any further. FN/N is
basically the minimum of a vcard already, there is not much more to
"reduce" out it of it into its own format.
-brian
Ryan Cannon wrote:
> I added this to the Straw Proposals section of the Wiki, but I'm
> wondering if we need to create a general name microformat for use
> across formats. The problem with citations and author names is that we
> have to do:
>
> <div class="citation">
> <span class="title">The Book of Ryan</span>
> <span class="author-name vcard">
> <span class="fn">Ryan Cannon</span>
> </span>
> </div>
>
> Adding extra markup.
>
> I see two solutions to this:
> - Extracting N/FN properties into their own microformat
> - Creating an implied optimization, such that if a vCard contains no
> other properties,
> it implies "fn" to all text within.
>
> I like the second solution better.
> --Ryan Cannon
>
> Interactive Developer
> MSI Student, School of Information
> University of Michigan
> http://RyanCannon.com/
>
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
More information about the microformats-discuss
mailing list