[uf-discuss] hCard to represent simple entities (was: Tentative proposal...)

Andy Mabbett andy at pigsonthewing.org.uk
Thu Jan 3 16:44:59 PST 2008


In message <D0531DB4-856C-4CC9-BD56-4539D4D4AA13 at eatyourgreens.org.uk>,
Jim O'Donnell <jim at eatyourgreens.org.uk> writes

>Reference strings, in TEI markup at least, can also refer to the  names
>of books, ships, plays, films and pretty much anything that can  be
>given a name. hCard works for people and places, but is it general
>enough to cover those cases?
>
>It would be handy to have a general method for preserving the
>semantics of the <rs> tag (http://tei.oucs.ox.ac.uk/Query/tag.xq?
>name=rs)

P.S.

Having re-read the cited page, I see that the format is:

        <rs type="person">Joe Smith</rs>

and (I presume):

        <rs type="book">War and Peace</rs>

Since there are type delimiters, I would say that these parallel:

        <foo class="hcard"><foo class="fn">Joe Smith</foo></foo>

and the hypothetical:

        <foo class="hbook"><foo class="fn">War and Peace</foo></foo>


In other words:

        rs-person -> hcard-fn

        rs-book   -> hbook-fn

Though TEI allows any string as a value for "type", and microformats
require pre-defined "type" equivalents.

-- 
Andy Mabbett


More information about the microformats-discuss mailing list