I finally got core RSS generation patched to allow modules to change the item's body http://drupal.org/node/41703 but now I find out that views_rss.module had copied the old node code:

  // Except for the original being a while and this being a foreach, this is
  // completely cut & pasted from node.module.

Here's a patch to bring views into line with both 4.7 and HEAD's RSS code.

CommentFileSizeAuthor
views_rss.module.patch1.73 KBdrewish

Comments

drewish’s picture

Version: 6.x-2.x-dev » 4.7.x-1.x-dev

hold off on applying this to the 5.0 branch while i see if we can get this comitted: http://drupal.org/node/103371

it should be good to go on 4.7 though.

moshe weitzman’s picture

actually, i think we can use the new views_build_view() param that lets caller run its own query. then we pass the $result to node_feed() and get rid of this code duplication. untested, but works in my head.

merlinofchaos’s picture

Committed to both branches to keep them in sync. drewish, if you get that patch in just open a new issue here.

merlinofchaos’s picture

Status: Needs review » Fixed

Whoops, apparently I never set this fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)