[Slashdotjp-dev 1573] [1104] fix for new RSS.pm spec

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 4月 2日 (木) 21:27:32 JST


Revision: 1104
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1104
Author:   tach
Date:     2009-04-02 21:27:32 +0900 (Thu, 02 Apr 2009)

Log Message:
-----------
fix for new RSS.pm spec

Modified Paths:
--------------
    slashjp/trunk/plugins/PollBooth/pollBooth.pl


-------------- next part --------------
Modified: slashjp/trunk/plugins/PollBooth/pollBooth.pl
===================================================================
--- slashjp/trunk/plugins/PollBooth/pollBooth.pl	2009-04-02 12:12:12 UTC (rev 1103)
+++ slashjp/trunk/plugins/PollBooth/pollBooth.pl	2009-04-02 12:27:32 UTC (rev 1104)
@@ -576,7 +576,7 @@
 	foreach my $entry (@$questions) {
 		my $poll = $polls->getPoll($entry->{qid});
 		my $pollbooth = getData('rss_pollbooth', { poll	=> $poll });
-		my $readmore = getData('rss_readmore', { poll => $poll });
+		my $suffix = getData('rss_item_suffix', { poll => $poll });
 		push(@$items, {
 			story	=> {
 				uid	=> $entry->{uid},
@@ -585,8 +585,8 @@
 			'link'			=> "$constants->{absolutedir}/polls/$entry->{qid}",
 			title			=> $entry->{question},
 			'time'			=> $entry->{date},
-			description		=> $entry->{question} . $readmore,
-			'content:encoded'	=> $pollbooth . $readmore,
+			description		=> $entry->{question} . $suffix,
+			'content:encoded'	=> $pollbooth . $suffix,
 		});
 	}
 



Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る