The mapper doesn't map the summary element to the created node's body as it does map the RSS description element.

Comments

agharbeia’s picture

Title: Parsing Atom » Mapping atom:summary

Although the Common Syndication Parser doesn't parse the atom:summary element into the proper data structure to facilitate this mapping. (see FeedAPI issue #333083: parsing atom )

agharbeia’s picture

I'm guessing this has to do with my test Atom feed having its summary element's content in CDATA block, as described in #238569: Cannot access some elements of feed.

And though the raw structure has it correctly, as I can see in mapping control page when using SimplePie parser, SimplePie too seems not to get summary from the same feed correctly!!

It's not limited to CSP. But I believe it's important for compliance that parsers get this right.

alex_b’s picture

Project: Feed Element Mapper » FeedAPI
Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Feed Element Mapper does not support mapping to elements like title or body.

I'm thinking that this issue needs to be fixed at the FeedAPI parser level: if description is not present summary should be used as body text.

Am I correct that the summary element is not present in the feed item but there is also no description? The body is completely empty?

agharbeia’s picture

Component: Code » Code (general)

Actually, the summary element is present in the my test case, but it was in a CDATA block.