rfeedfinder 0.9.8 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.9.9 2007-10-13
2
+
3
+ * Solve problem with baseuri
4
+
1
5
  == 0.9.8 2007-10-11
2
6
 
3
7
  * Solve problem with Hpricot
data/lib/rfeedfinder.rb CHANGED
@@ -42,7 +42,8 @@ module Rfeedfinder
42
42
  uri = link[:src].to_s if uri.empty?
43
43
  uri = link[:SRC].to_s if uri.empty?
44
44
  if !uri.strip.empty? and uri !~ /^javascript/
45
- uri = URI.join(baseuri, uri).to_s if uri =~ /^\//
45
+ uri = URI.join(baseuri, uri).to_s if uri !~ /^http:\/\//
46
+ puts "uri: #{uri}"
46
47
  links << uri
47
48
  end
48
49
  end
@@ -2,7 +2,7 @@ module Rfeedfinder #: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
@@ -123,4 +123,11 @@ class TestRfeedfinder < Test::Unit::TestCase
123
123
  def test_412_error
124
124
  feed_finder "http://www.arteleku.net/4.1/blog/laburrak/?feed=rss2", "http://www.arteleku.net/4.1/blog/laburrak/?feed=rss2"
125
125
  end
126
+
127
+ def test_maria
128
+ #feed_finder "http://www.carmenfernandez.net"
129
+ #feed_finder "http://getxogorria.blogcindario.com"
130
+ #feed_finder "http://jeanpaulmarat.blogspot.com"
131
+ feed_finder "http://resistiendocavernablogcindario.com"
132
+ end
126
133
  end
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>rfeedfinder</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rfeedfinder"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/rfeedfinder" class="numbers">0.9.8</a>
36
+ <a href="http://rubyforge.org/projects/rfeedfinder" 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: rfeedfinder
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.8
7
- date: 2007-10-11 00:00:00 +02:00
6
+ version: 0.9.9
7
+ date: 2007-10-13 00:00:00 +02:00
8
8
  summary: rFeedFinder uses RSS autodiscovery, Atom autodiscovery, spidering, URL correction, and Web service queries -- whatever it takes -- to find the feed.
9
9
  require_paths:
10
10
  - lib