[Slashdotjp-dev 1163] [690] * Add "dc:source" and "dc:relation" to RSS output

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 7月 9日 (水) 16:54:35 JST


Revision: 690
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=690
Author:   tach
Date:     2008-07-09 16:54:35 +0900 (Wed, 09 Jul 2008)

Log Message:
-----------
* Add "dc:source" and "dc:relation" to RSS output

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm
    slashjp/branches/2.5.0.192/debian/changelog


-------------- 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-07 11:16:49 UTC (rev 689)
+++ slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm	2008-07-09 07:54:35 UTC (rev 690)
@@ -324,6 +324,10 @@
 					if $item->{'time'};
 				$encoded_item->{dc}{creator} = $self->encode($item->{creator})
 					if $item->{creator};
+				$encoded_item->{dc}{source} = $item->{source}
+					if $item->{source};
+				$encoded_item->{dc}{relation} = $item->{relation}
+					if $item->{relation};
 			}
 
 			for my $key (keys %$item) {

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-07-07 11:16:49 UTC (rev 689)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-07-09 07:54:35 UTC (rev 690)
@@ -3,8 +3,9 @@
   * Fix for reason_modifier setting for users.pl
     - Use reason_id as key instead of name
   * Add workaround for unicode WAVE DASH problem
+  * Add "dc:source" and "dc:relation" to RSS output
 
- -- Taku YASUI <tach****@osdn*****>  Mon,  7 Jul 2008 11:16:23 +0000
+ -- Taku YASUI <tach****@osdn*****>  Wed,  9 Jul 2008 07:53:55 +0000
 
 slash (2.5.0.192-15) unstable; urgency=low
 


Slashdotjp-dev メーリングリストの案内
Back to archive index