svnno****@sourc*****
svnno****@sourc*****
2009年 3月 24日 (火) 18:04:15 JST
Revision: 1080 http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1080 Author: tach Date: 2009-03-24 18:04:15 +0900 (Tue, 24 Mar 2009) Log Message: ----------- Enable to use absolute path for content:encoded link in RSS.pm Modified Paths: -------------- slashjp/trunk/Slash/XML/RSS/RSS.pm slashjp/trunk/debian/changelog -------------- next part -------------- Modified: slashjp/trunk/Slash/XML/RSS/RSS.pm =================================================================== --- slashjp/trunk/Slash/XML/RSS/RSS.pm 2009-03-18 09:41:17 UTC (rev 1079) +++ slashjp/trunk/Slash/XML/RSS/RSS.pm 2009-03-24 09:04:15 UTC (rev 1080) @@ -167,6 +167,9 @@ $self->{rdfitem_content_encoded} = defined $param->{rdfitem_content_encoded} ? $param->{rdfitem_content_encoded} : $constants->{rdfitem_content_encoded}; + $self->{rdfitemdesc_link_absolute} = defined $param->{rdfitemdesc_link_absolute} + ? $param->{rdfitemdesc_link_absolute} + : $constants->{rdfitemdesc_link_absolute}; my $rss = XML::RSS->new( version => $version, @@ -561,7 +564,7 @@ # slashized links or slash tags ... but if # we do have a problem, we can move this to # rss_story() -- pudge - $desc = parseSlashizedLinks($desc); + $desc = parseSlashizedLinks($desc, { absolute => $self->{rdfitemdesc_link_absolute} }); $desc = processSlashTags($desc); # here we could reprocess content as XHTML if we Modified: slashjp/trunk/debian/changelog =================================================================== --- slashjp/trunk/debian/changelog 2009-03-18 09:41:17 UTC (rev 1079) +++ slashjp/trunk/debian/changelog 2009-03-24 09:04:15 UTC (rev 1080) @@ -10,8 +10,9 @@ - pollBooth.pl: add first 250 chars of questions on index page * Redirect Antenna URL on IndexHandler * Fix getStoryByTime() condition (never return "neverdisplay" stories) + * Enable to use absolute path for content:encoded link in RSS.pm - -- Taku YASUI <tach****@osdn*****> Wed, 18 Mar 2009 09:39:55 +0000 + -- Taku YASUI <tach****@osdn*****> Tue, 24 Mar 2009 09:02:10 +0000 slash (2.5.0.233-7) unstable; urgency=low