[uf-discuss] a question about concatenation and hAtom entry content
Ben Wiley Sittler
bsittler at gmail.com
Wed May 23 22:22:54 PDT 2007
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
> 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),
More Content" (concatenation with newline), or
4. something else entirely?
at present rss panel x does #1 when the element with
class="entry-content" is phrase-level, and #3 when it is block-level.
however i noticed that Luke Arno's hAtom to Atom converter (
http://lukearno.com/projects/hatom2atom/ ) seems to favor #1 in all
hoping to get an answer to this (and update rss panel x if needed)
More information about the microformats-discuss