Changeset 14111 for platform/tdiary/plugin
- Timestamp:
- 06/16/08 07:38:07 (5 months ago)
- Files:
-
- 1 modified
-
platform/tdiary/plugin/del_footer.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/plugin/del_footer.rb
r3279 r14111 23 23 require 'fileutils' 24 24 25 def force_to_euc(str)26 begin27 str2 = Uconv.u8toeuc(str)28 rescue Uconv::Error29 str2 = NKF::nkf("-e", str)30 end31 return str232 end33 34 25 def delicious_save_cache cache_file, file 35 26 FileUtils.mkdir_p "#{@cache_path}/delicious" … … 46 37 post = <<-EOS 47 38 <li><a href="#{post.attribute("href").to_s}"> 48 #{ force_to_euc(post.attribute("description").to_s)}39 #{post.attribute("description").to_s} 49 40 </a></li> 50 41 EOS
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)