For some reasons, image files attached to my node will get displayed twice in my site's RSS feed, but are displayed the way they should on the site's front page. You can see a live example of this on my site and it's RSS feed.

A few things to keep in mind:

  • The front page is generated by the views module.
  • The site is multilingual and using the i18n module.
  • Images duplicated are inserted by the inline module.
  • Images are inserted automatically -- the inline tag isn't used.
  • Although the feed is processed by FeedBurner, the same is displayed in the original feed generated by Drupal.
  • The inline module is using the imagecache module to scale the images down.

First, I'm wondering if it's caused by the inline module. And second, how should I fix this?

CommentFileSizeAuthor
#2 inline_489660.patch494 bytesremi

Comments

remi’s picture

I have a temporary fix. I commented out the line 238 in inline.module where it says in the inline_nodeapi() function:

case 'rss item':

Now I realise the inline module is inserted the images twice, once because the node body is filtered and inserted by the views modules, and second because it's inserting the images for every RSS item.

remi’s picture

StatusFileSize
new494 bytes

Here's a patch file for the temporary change stated above.

sapark’s picture

Thanks!

povinho’s picture

Version: 6.x-1.0 » 6.x-2.x-dev

Hi!

I was having the same problem on my Feed. I'm using Auto-inline (No [inline:..] on the text) and Inline Version 6.x-dev

I've removed line 450 of "inline_upload.module"

-> case 'rss item':

Until now no problems...

I don't understand why this wasn't ported to version 2!

Thank you very much.