[uf-discuss] hatom parsing question

Scott Reynen scott at randomchaos.com
Mon Feb 6 08:53:52 PST 2006

On Feb 6, 2006, at 10:25 AM, Chris Casciano wrote:

> <h3><a href="" rel="bookmark"  
> class="headline">Test Post</a> &#183; <abbr class="published"  
> title="2006-02-05T17:03:32-0800">a few seconds ago</abbr> by <span  
> class="author">Chris</span></h3>
> When i run that though the the Almost Universal Parser[2] it seems  
> to pick up both the published date as well as the author values,  
> but the title it is outputting for the post is the full text of the  
> <h3> element:
> Test Post · a few seconds ago by Chris
> Is this parser error, some clash between the spec and markup used  
> by this template? Is there a remedy that doesn't involve completely  
> changing the semantics of the original template?

The spec says "an Entry Title element is identified by the class name  
headline -  an Entry Title element may alternately be identified by  
the <h#> element in an Entry," which makes it sound as if  
class="headline" takes precedence over <h#>, which would make that a  
parsing error. Either way, it appears precedence should be clarified  
in the spec.


More information about the microformats-discuss mailing list