rfeedreader 1.0.6 → 1.0.7

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
+ == 1.0.7 2007-12-20
2
+
3
+ * Solve: Remove 
 html entity
4
+
1
5
  == 1.0.6 2007-12-16
2
6
 
3
7
  * Solve: Feed title encoding problem
@@ -2,7 +2,7 @@ module Rfeedreader #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/rfeedreader.rb CHANGED
@@ -20,6 +20,7 @@ module Rfeedreader
20
20
  # Strip html tags, tabs and new lines
21
21
  text.gsub!(/<[^>]*>/s, " ")
22
22
  text.gsub!(/<strong>/, " ")
23
+ text.gsub!(/&#xD;/, '')
23
24
  # strip any comments, and if they have a newline at the end (ie. line with
24
25
  # only a comment) strip that too
25
26
  text.gsub!(/<!--(.*?)-->[\n]?/m, "")
@@ -230,4 +230,8 @@ class TestRfeedreader < Test::Unit::TestCase
230
230
  def test_bbvablogs
231
231
  read_first "http://centroinnovacion.bbvablogs.com/feed/"
232
232
  end
233
+
234
+ def test_ul_list
235
+ read_first "http://delong.typepad.com/sdj/rss.xml"
236
+ end
233
237
  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">1.0.6</a>
36
+ <a href="http://rubyforge.org/projects/rfeedreader" class="numbers">1.0.7</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: 1.0.6
7
- date: 2007-12-16 00:00:00 +01:00
6
+ version: 1.0.7
7
+ date: 2007-12-20 00:00:00 +01: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