From 771d0e18a59ea19faecfe2081db34522fc78e53a Mon Sep 17 00:00:00 2001 From: kou Date: Sat, 9 Apr 2005 05:47:33 +0000 Subject: * sample/rss/tdiary_plugin/rss-recent.rb: supported configuration via Web browser. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ sample/rss/tdiary_plugin/rss-recent.rb | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/ChangeLog b/ChangeLog index bffb70856..3e5b5d969 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Apr 9 14:42:29 2005 Kouhei Sutou + + * sample/rss/tdiary_plugin/rss-recent.rb: supported configuration + via Web browser. + Sat Apr 9 11:59:57 2005 Kouhei Sutou * lib/rss: backoported from HEAD. diff --git a/sample/rss/tdiary_plugin/rss-recent.rb b/sample/rss/tdiary_plugin/rss-recent.rb index 261ca872b..f574135e3 100644 --- a/sample/rss/tdiary_plugin/rss-recent.rb +++ b/sample/rss/tdiary_plugin/rss-recent.rb @@ -263,3 +263,27 @@ def rss_recent_pubDate_to_dc_date(target) end end end + +add_conf_proc('rss-recent', label_rss_recent_title) do + item = 'rss-recent.use-image-link' + if @mode == 'saveconf' + @conf[item] = (@cgi.params[item][0] == 't') + end + + <<-HTML +
+

#{label_rss_recent_use_image_link_title}

+

#{label_rss_recent_use_image_link_description}

+

+ +

+
+ HTML +end -- cgit