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 +8 -0
- data/lib/rfeedreader/version.rb +1 -1
- data/lib/rfeedreader.rb +3 -4
- data/website/index.html +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/lib/rfeedreader/version.rb
CHANGED
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 = (
|
166
|
-
@link = (
|
167
|
-
@link = (
|
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.
|
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.
|
7
|
-
date: 2007-09-
|
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
|