rfeedreader 0.9.4 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,11 @@
1
+ == 0.9.6 2007-09-03
2
+
3
+ * Clean output
4
+
5
+ == 0.9.5 2007-09-03
6
+
7
+ * Correct typo from last release
8
+
1
9
  == 0.9.4 2007-09-03
2
10
 
3
11
  * Add link attribute to read URL of the HTML page associated with a feed.
@@ -2,7 +2,7 @@ module Rfeedreader #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 9
5
- TINY = 4
5
+ TINY = 6
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/rfeedreader.rb CHANGED
@@ -106,7 +106,6 @@ module Rfeedreader
106
106
 
107
107
  def initialize(link, hpricot_doc)
108
108
  @feed_url = link
109
- puts "link: #{link}"
110
109
  read_title hpricot_doc
111
110
  read_link hpricot_doc
112
111
  read_charset hpricot_doc
@@ -162,9 +161,9 @@ module Rfeedreader
162
161
  end
163
162
 
164
163
  def read_link(hpricot_doc)
165
- @link = (doc/"link").first.inner_text
166
- @link = (doc/"link[@rel=alternate]").first[:href] if @link.empty?
167
- @link = (doc/"link").first[:href] if @link.empty?
164
+ @link = (hpricot_doc/"link").first.inner_text
165
+ @link = (hpricot_doc/"link[@rel=alternate]").first[:href] if @link.empty?
166
+ @link = (hpricot_doc/"link").first[:href] if @link.empty?
168
167
  end
169
168
 
170
169
  def source_type
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.4</a>
36
+ <a href="http://rubyforge.org/projects/rfeedreader" class="numbers">0.9.6</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.4
7
- date: 2007-09-03 00:00:00 +02:00
6
+ version: 0.9.6
7
+ date: 2007-09-04 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