[uf-discuss] Extracting N from hCard (was: Citation Straw
Proposal II)
Tantek Ç elik
tantek at cs.stanford.edu
Mon May 1 16:50:06 PDT 2006
Brian is correct.
In addition, semantically the "author" isn't just a *name*, the author is a
*person*, and the microformat for a person is hCard. That's why we are
using hCard there.
If however, you wanted to reuse "fn" for the name of the work being cited, I
could see a case being made for extracting "fn" for that reason, e.g.
<div class="citation">
<span class="fn">The Book of Ryan</span>
<span class="author vcard">
<span class="fn">Ryan Cannon</span>
</span>
</div>
Thanks,
Tantek
On 5/1/06 3:39 PM, "brian suda" <brian.suda at gmail.com> wrote:
> 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
>>
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
More information about the microformats-discuss
mailing list