There's a couple feeds we have which have both the description and content:encoded elements. We want to be able to use the full text, which is in the content:encoded tags. Looking through the code, this seems to be how it should work, but doesn't at the moment. I even tested by commenting out the code looking for the "description" and it isn't even picking up anything from content:encoded at all.
Here's a sample feed: http://www.feedcraft.com/feed/jamble/Jamble+Magazine/
I'm not thoroughly knowledgeable of handling feeds, thoughts?
Comments
Comment #1
brenda003Common syndication parser, by the way.
Comment #2
aron novakYes, unfortunately FeedAPI common syndication parser does not look into content:encoded tags currently. I'll consider to fix this soon. Anyway, can you try out what happens if you use parser simplepie? do you get the full content? Thanks for your help in advance!
Comment #3
brenda003Yep, I switched to using Simplepie and it works.
Comment #4
aron novakI will add content:encoded support to parser_common_syndication. This is a feature request, it's a fact that parser_simplepie is more robust parser, parser_common_syndication should handle content:encoded too.
Comment #5
lennart commentedI am using FeedAPI 6.x-1.2 and content:encoded still does not get picked up with the common syndication parser.
I would prefer to use the CSP, but for now I will use SimplePie then :)
Is there still a plan to enable content:encoded for CSP?
Comment #6
aron novakIt was a bug and it should be fixed now. (the code contained support for it but it was broken)
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
lennart commentedWith the new 6.x-1.4 content:encoded does not get picked up with the common syndication parser.
Comment #9
aron novaklennart: Example URL? What is the type of your feed?
Comment #10
lennart commentedAn example could be:
http://www2.adm.ku.dk/portal/presse/rss.asp?kategori=all
From the source:
Only the content in the description tag is being included, not the content in the content:encoded tag.
Comment #11
aron novakWell, the problem was that the description is available, CSP did not see into content:encoded. Now it's fixed. The longer text will be chosen.