svnno****@sourc*****
svnno****@sourc*****
2009年 4月 2日 (木) 18:57:16 JST
Revision: 1101 http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1101 Author: tach Date: 2009-04-02 18:57:16 +0900 (Thu, 02 Apr 2009) Log Message: ----------- back to original Modified Paths: -------------- slashjp/trunk/Slash/XML/RSS/RSS.pm -------------- next part -------------- Modified: slashjp/trunk/Slash/XML/RSS/RSS.pm =================================================================== --- slashjp/trunk/Slash/XML/RSS/RSS.pm 2009-04-02 09:50:19 UTC (rev 1100) +++ slashjp/trunk/Slash/XML/RSS/RSS.pm 2009-04-02 09:57:16 UTC (rev 1101) @@ -457,17 +457,15 @@ $encoded_item->{description} = $desc; my $extra = ''; - # disabled on slashdot.jp (2008-09-09, tach) # If the text of the <img src>'s query string changes, # Stats.pm getTopBadgeURLs() may also have to change. - #$extra .= qq{<p><a href="$action"><img src="$channel->{'link'}slashdot-it.pl?from=rss&op=image&style=h0&sid=$story->{sid}"></a></p>} - # if $constants->{rdfbadge}; - #$extra .= "<p><a href=\"$action\">Read more of this story</a> at $constants->{sitename}.</p>" - # if $action; + $extra .= qq{<p><a href="$action"><img src="$channel->{'link'}slashdot-it.pl?from=rss&op=image&style=h0&sid=$story->{sid}"></a></p>} + if $constants->{rdfbadge}; + $extra .= "<p><a href=\"$action\">Read more of this story</a> at $constants->{sitename}.</p>" + if $action && !$constants->{tweak_japanese}; # add poll if any $extra .= pollbooth($story->{qid},1, 0, 1) if $story->{qid}; $encoded_item->{description} .= $self->encode($extra) if $extra; - } }