I've recently updated SimpleFeeds with the latest version. I had no problems with RDF feeds, but now they are displayed as raw texts, html tags included. This one, for example: http://foobar.blogalia.com/rdf.xml

Is that a problem of the parser, or a problem of the feed? It renders well on any reader...

CommentFileSizeAuthor
#2 simplefeed_item_decode.patch1.05 KBcsevb10

Comments

m3avrck’s picture

Sounds like an issue with SimplePie -- since we are using the latest trunk build of it (which fixed a lot of other problems). That is still in beta mode and is breaking from time to time.

http://www.simplepie.org

csevb10’s picture

StatusFileSize
new1.05 KB

I'm at least somewhat inclined to think it's a simplefeed issue. I wrapped the body in a decode_entities call, and it cleared up the problem. I'll wait on committing this at the moment and just post it as a patch for ya.

csevb10’s picture

Status: Active » Needs review
m3avrck’s picture

Hmm, this looks ok but I'm not sure if it's correct.

The body of every feed item is passed through Drupal's input formats -- what is the default input format for your feed item node type? It might be filtering out stuff.

Or perhaps SimplePie is returning encoded content now.

With the latest changes in trunk this might have gone away, needs a double check.

m3avrck’s picture

This appears a bug in SimplePie after talking with those guys:

http://simplepie.org/support/viewtopic.php?pid=2999

Waiting on a response -- depending on that we'll commit this patch.

m3avrck’s picture

Status: Needs review » Fixed

Been lots of changes, working now.

Anonymous’s picture

Status: Fixed » Closed (fixed)