[Slashdotjp-dev 1176] [703] Fix RSS "textinput" handling on Slash/XML/RSS/RSS.pm

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 7月 16日 (水) 22:27:31 JST


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

Log Message:
-----------
Fix RSS "textinput" handling on Slash/XML/RSS/RSS.pm

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-16 13:13:30 UTC (rev 702)
+++ slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm	2008-07-16 13:27:31 UTC (rev 703)
@@ -287,12 +287,12 @@
 		my %textinput = (
 			title		=> getData('search_header_title', {}, 'search'),
 			description	=> getData('search_header_descr', { section => $param->{skin} ? $param->{skin}{title} : undef }, 'search'),
-			name		=> 'query',
+			name		=> 'q',
 			'link'		=> $channel{'link'} . 'search.pl',
 		);
 
 		# let $param->{textinput} override
-		if (ref($param->{image}) eq 'HASH') {
+		if (ref($param->{textinput}) eq 'HASH') {
 			for (keys %textinput) {
 				my $value = defined $param->{textinput}{$_}
 					? $param->{textinput}{$_}

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-07-16 13:13:30 UTC (rev 702)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-07-16 13:27:31 UTC (rev 703)
@@ -15,8 +15,9 @@
     exist on creating RSS
   * Add content:encoded for story main rss
   * Add "mainpage" title to "index.rss"
+  * Fix RSS "textinput" handling on Slash/XML/RSS/RSS.pm
 
- -- Taku YASUI <tach****@osdn*****>  Wed, 16 Jul 2008 04:30:46 +0000
+ -- Taku YASUI <tach****@osdn*****>  Wed, 16 Jul 2008 13:26:14 +0000
 
 slash (2.5.0.192-15) unstable; urgency=low
 


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