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 +4 -0
- data/lib/rfeedreader/version.rb +1 -1
- data/lib/rfeedreader.rb +2 -2
- data/test/test_rfeedreader.rb +8 -0
- data/website/index.html +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/lib/rfeedreader/version.rb
CHANGED
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
|
270
|
+
def read_description
|
271
271
|
image = item.search("media:thumbnail").to_s.scan(/url=['"]?([^'"]*)['" ]/).to_s
|
272
|
-
|
272
|
+
@description = "<a href='#{@link}' class='image_link'><img src='#{image}' class='picasa_image'/></a>"
|
273
273
|
end
|
274
274
|
end
|
275
275
|
|
data/test/test_rfeedreader.rb
CHANGED
@@ -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.
|
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.
|
7
|
-
date: 2007-09-
|
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
|