svnno****@sourc*****
svnno****@sourc*****
2008年 7月 16日 (水) 22:13:30 JST
Revision: 702 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=702 Author: tach Date: 2008-07-16 22:13:30 +0900 (Wed, 16 Jul 2008) Log Message: ----------- Fix content:encoded inserting condition Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm 2008-07-16 09:10:20 UTC (rev 701) +++ slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm 2008-07-16 13:13:30 UTC (rev 702) @@ -466,7 +466,7 @@ $encoded_item->{description} .= pollbooth($story->{qid},1, 0, 1) if $story->{qid}; # add content:encoded for slashdot.jp - $item->{'content:encoded'} = ($item->{description} || $story->{introtext}) . getData('rss_story_readmore', { + $item->{'content:encoded'} ||= ($item->{description} || $story->{introtext}) . getData('rss_story_readmore', { 'link' => $encoded_item->{link}, discussion => $story->{discussion}, }, 'index');