rfeedreader 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.9.9 2007-09-05
2
+
3
+ * Solve picasa problem
4
+
1
5
  == 0.9.8 2007-09-04
2
6
 
3
7
  * Solve problem reading links
@@ -2,7 +2,7 @@ module Rfeedreader #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 9
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/rfeedreader.rb CHANGED
@@ -267,9 +267,9 @@ module Rfeedreader
267
267
  end
268
268
 
269
269
  class Entry_Picasa<Entry
270
- def read_description(item)
270
+ def read_description
271
271
  image = item.search("media:thumbnail").to_s.scan(/url=['"]?([^'"]*)['" ]/).to_s
272
- return "<a href='#{@link}' class='image_link'><img src='#{image}' class='picasa_image'/></a>"
272
+ @description = "<a href='#{@link}' class='image_link'><img src='#{image}' class='picasa_image'/></a>"
273
273
  end
274
274
  end
275
275
 
@@ -120,4 +120,12 @@ class TestRfeedreader < Test::Unit::TestCase
120
120
  def test_read_empty_entries
121
121
  read_first "http://blogs.ya.com/eltikitaka/atom.xml"
122
122
  end
123
+
124
+ def test_read_nico
125
+ read_first "http://www.zanorg.com/nicoshark/rss/fil_rss.xml"
126
+ end
127
+
128
+ def test_read_picasa
129
+ read_first "http://picasaweb.google.com/data/feed/base/user/christine.klassen?category=album&alt=rss&hl=en_GB&access=public"
130
+ end
123
131
  end
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>rfeedreader</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rfeedreader"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/rfeedreader" class="numbers">0.9.8</a>
36
+ <a href="http://rubyforge.org/projects/rfeedreader" class="numbers">0.9.9</a>
37
37
  </div>
38
38
  <h2>What</h2>
39
39
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: rfeedreader
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.8
7
- date: 2007-09-04 00:00:00 +02:00
6
+ version: 0.9.9
7
+ date: 2007-09-05 00:00:00 +02:00
8
8
  summary: Feed parser to read feed and return first posts of this feed. Special parsing from sources like Flickr, Jumcut, Google video, ...
9
9
  require_paths:
10
10
  - lib