[uf-discuss] Cognition 0.1 alpha 9

Toby A Inkster mail at tobyinkster.co.uk
Sun Jun 1 09:55:26 PDT 2008

Dear all,

Today is my birthday, and as *my* birthday present to *you*, I  
present the latest preview release of Cognition.


Many of the improvements have been in terms of performance. Cognition  
is about 10 times faster than it was in alpha 8. This has been  
achieved by splitting the program into daemon and client processes,  
in much the same way as SpamAssassin works. (SpamAssassin is another  
Perl-based parser with thousands of lines of code which had  
performance problems largely due to initialisation.) Also to help  
performance, the daemon uses an HTTP cache, and an object cache to  
avoid re-parsing pages that haven't changed.

There have been improvements in compliance with hCard/vCard/jCard  
(e.g. plural name properties are now supported properly), hCalendar/ 
iCalendar (fixes for datetime, plus support for http:// 
xml.coverpages.org/draft-royer-ical-vcard-01.txt) and geo (now  
supports explicit plus signs used in numbers).

Apart from these little tweaks here and there, Cognition now adds  
almost-complete support for hReview 0.3. (It doesn't support ratings  
being used within a tag, but does support tags used within a rating.)  
Reviews can be output as RDF/XML or RDF/JSON using Danny Ayers and  
Tom Heath's RDF review vocabulary <http://danja.talis.com/xmlns/ 

Download Cognition to try it, or have a play with the slightly dodgy  
web service here:


Toby A Inkster
<mailto:mail at tobyinkster.co.uk>

More information about the microformats-discuss mailing list