lib/feedlrop/feedlrop.rb in feedlrop-0.1.21 vs lib/feedlrop/feedlrop.rb in feedlrop-0.1.22
- old
+ new
@@ -26,21 +26,19 @@
File.open( fname , "w")
end
def get_all_unread_count
@categories.each do | x |
- # f.puts "id=#{x.id.split('/')[-1]}"
f = true
if x.class != String
category_id = x.id.split('/')[-1]
else
f = false
end
next unless f
en = @client.user_unread_counts( {:streamId => x.id } )
en.unreadcounts.each do |y|
- puts "y.id=#{y.id}"
if y.id =~ /^feed\/(.+)/
url = $1
csv_add( category_id , url , y[:count] )
@dbmgr.add( category_id , url , y[:count] )
end