From: <tad...@us...> - 2008-07-02 08:37:40
|
Revision: 3317 http://tdiary.svn.sourceforge.net/tdiary/?rev=3317&view=rev Author: tadatadashi Date: 2008-07-02 01:37:43 -0700 (Wed, 02 Jul 2008) Log Message: ----------- fixed over deleting category name from title. Modified Paths: -------------- trunk/plugin/ChangeLog trunk/plugin/makerss.rb Modified: trunk/plugin/ChangeLog =================================================================== --- trunk/plugin/ChangeLog 2008-07-01 21:46:19 UTC (rev 3316) +++ trunk/plugin/ChangeLog 2008-07-02 08:37:43 UTC (rev 3317) @@ -1,3 +1,7 @@ +2008-07-02 TADA Tadashi <sh...@sp...> + * makerss.rb: fixed over deleting category name from title. thanks for + TAKAHASHI Tamotsu. + 2008-06-18 SHIBATA Hiroshi <shi...@gm...> * tlink.rb: convert to toutf8 instead of toeuc. Modified: trunk/plugin/makerss.rb =================================================================== --- trunk/plugin/makerss.rb 2008-07-01 21:46:19 UTC (rev 3316) +++ trunk/plugin/makerss.rb 2008-07-02 08:37:43 UTC (rev 3317) @@ -341,8 +341,8 @@ body_leave = body_leave_proc( date ) @makerss_in_feed = false - sub = apply_plugin( subtitle, true ).strip - sub.sub!( /^(\[([^\]]+)\])+ */, '' ) + sub = subtitle.sub( /^(\[([^\]]+)\])+ */, '' ) + sub = apply_plugin( sub, true ).strip if sub.empty? sub = @conf.shorten( remove_tag( body ).strip, 20 ) end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |