From: Kouhei S. <ko...@co...> - 2006-03-13 14:09:08
|
須藤です. In <f7d...@ma...> "Re: [tDiary-devel] Re: rss-recent: support HTTPS" on Mon, 13 Mar 2006 21:18:33 +0900, "TADA Tadashi" <sh...@sp...> wrote: > > あと,オプションのrss-recent.use-image-linkと,classの > > rss-recent*が気になります. > > これはどうしようかなぁ。直さなくても実害はないからいいかな、と > 考えていたんですけど。 実害はないのですが,少し気持ち悪い気がします. 試していませんが,recent_rss.rbのrss-recentを recent-rss(recent_rss?)にして,こんな内容のrss-recent.rbを作 るという作戦は使えませんか?({ja,en}/rss-recent.rbも同じよ うな感じで) load './recent_rss' def recent_rss(url, *rest) use_image_link = @options['recent-rss.use-image-link'] unless use_image_link.nil? @options['rss-recent.use-image-link'] = use_image_link end result = rss_recent(url, *rest) result.gsub(/class="recent-rss/, 'class=rss-recent') end |