[uf-discuss] Extracting N from hCard (was: Citation Straw Proposal
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.
<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
<span class="role">Interactive Developer</span>
<span class="org">MSI Student, School of Information
University of Michigan</span>
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.
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>
> 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
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss