• R/O
  • SSH
  • HTTPS

slashdotjp: Commit


Commit MetaInfo

Revision1104 (tree)
Time2009-04-02 21:27:32
Authortach

Log Message

fix for new RSS.pm spec

Change Summary

Incremental Difference

--- slashjp/trunk/plugins/PollBooth/pollBooth.pl (revision 1103)
+++ slashjp/trunk/plugins/PollBooth/pollBooth.pl (revision 1104)
@@ -576,7 +576,7 @@
576576 foreach my $entry (@$questions) {
577577 my $poll = $polls->getPoll($entry->{qid});
578578 my $pollbooth = getData('rss_pollbooth', { poll => $poll });
579- my $readmore = getData('rss_readmore', { poll => $poll });
579+ my $suffix = getData('rss_item_suffix', { poll => $poll });
580580 push(@$items, {
581581 story => {
582582 uid => $entry->{uid},
@@ -585,8 +585,8 @@
585585 'link' => "$constants->{absolutedir}/polls/$entry->{qid}",
586586 title => $entry->{question},
587587 'time' => $entry->{date},
588- description => $entry->{question} . $readmore,
589- 'content:encoded' => $pollbooth . $readmore,
588+ description => $entry->{question} . $suffix,
589+ 'content:encoded' => $pollbooth . $suffix,
590590 });
591591 }
592592
Show on old repository browser