[uf-discuss] Re: Appropriate microformats for journal listings?

Toby A Inkster mail at tobyinkster.co.uk
Tue Apr 8 08:44:58 PDT 2008


Ben Ward wrote:

> VCARD has a concept of ‘AGENTS’, which effectively nests vcards within
> each other. They're unhandled in desktop software, so demand to work out
> parsing rules in hCard has been low.

For what it's worth, Cognition has successfully parsed agents since the 
first alpha release. It supports agents as an embedded vCard:

	<div class="agent vcard">
		<span class="fn">John Citizen</span>
		...
	</div>

or as a plain string:

	<div class="agent">John Citizen</div>

Cognition can be used as a command-line tool, through its web interface 
at <http://srv.buzzword.org.uk/> or as a Perl module.

An example hCard which includes a couple of agents -- one of each form --
is at <http://examples.tobyinkster.co.uk/hcard>.

-- 
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 13 days, 2:50.]

                   Tagliatelle with Fennel and Asparagus
   http://tobyinkster.co.uk/blog/2008/04/06/tagliatelle-fennel-asparagus/



More information about the microformats-discuss mailing list