rfeedreader 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.0.9 2007-01-11
2
+
3
+ * Solve: remove all html tags
4
+
1
5
  == 1.0.8 2007-01-11
2
6
 
3
7
  * Add: alias Entry.url for Entry.link
@@ -2,7 +2,7 @@ module Rfeedreader #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/rfeedreader.rb CHANGED
@@ -18,8 +18,7 @@ module Rfeedreader
18
18
 
19
19
  if text.index("<")
20
20
  # Strip html tags, tabs and new lines
21
- text.gsub!(/<[^>]*>/s, " ")
22
- text.gsub!(/<strong>/, " ")
21
+ text.gsub!(/<.[^>]*>/, '')
23
22
  text.gsub!(/&#xD;/, '')
24
23
  # strip any comments, and if they have a newline at the end (ie. line with
25
24
  # only a comment) strip that too
@@ -234,4 +234,8 @@ class TestRfeedreader < Test::Unit::TestCase
234
234
  def test_ul_list
235
235
  read_first "http://delong.typepad.com/sdj/rss.xml"
236
236
  end
237
+
238
+ def test_strong
239
+ read_first "http://elbloglamentable.es/feed/"
240
+ end
237
241
  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.8</a>
36
+ <a href="http://rubyforge.org/projects/rfeedreader" class="numbers">1.0.9</a>
37
37
  </div>
38
38
  <h2>What</h2>
39
39
 
metadata CHANGED
@@ -3,7 +3,7 @@ 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.8
6
+ version: 1.0.9
7
7
  date: 2008-01-11 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: