[uf-discuss] a question about concatenation and hAtom entry content

David Janes davidjanes at blogmatrix.com
Wed May 30 01:02:27 PDT 2007


On 5/24/07, Ben Wiley Sittler <bsittler at gmail.com> wrote:
> excerpted from http://microformats.org/wiki/hAtom#Entry_Content :
> > an Entry MAY have 0 or more Entry Content elements. The "logical Entry Content" of an Entry is the
> > concatenation, in order of appearance, of all the Entry Contents within the Entry
> >
> >  Many weblogs split content into multiple sections with a "Read More" link and javascript tricks. This
> >  is also needed in cases where Entry Titles are coded inline and are considered part of the content.
>
> so if an hAtom entry contains
>
> > <p class="entry-content">Content</p>
> > <!-- ad --><p><a href="http://mozilla.com"><img src="chrome://branding/content/about.png" alt="Get Firefox!" /></a></p>
> > <p class="entry-content">More Content</p>
>
> is the logical entry content
> 1. "ContentMore Content" (concatenation with no intervening space),
> 2. "Content More Content" (concatenation with space),
> 3. "Content
> More Content" (concatenation with newline), or
> 4. something else entirely?

I need to think more about this, though I'm fairly certain the answer
should be (1).

Regards, etc...
David

-- 
David Janes
Founder, BlogMatrix
http://www.blogmatrix.com
http://blogmatrix.blogmatrix.com


More information about the microformats-discuss mailing list