Changeset 16966 for platform/tdiary

Show
Ignore:
Timestamp:
08/02/08 09:51:45 (4 months ago)
Author:
hsbt
Message:

support v2.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/tdiary/plugin/section_footer.rb

    r7016 r16966  
    152152         begin 
    153153            timeout(10) do 
    154                open( 'http://badges.del.icio.us/feeds/json/url/data?hash=' + url_md5 ) do |file| 
     154               open( "http://feeds.delicious.com/v2/json/urlinfo/#{url_md5}}") do |file| 
    155155                  File::open( file_name, 'wb' ) do |f| 
    156156                     f.write( file.read )