feedtools 0.2.28 → 0.2.29
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG
CHANGED
@@ -360,7 +360,7 @@ module FeedTools
|
|
360
360
|
|
361
361
|
if FeedTools.configurations[:sanitization_enabled]
|
362
362
|
fragments = HTML5::HTMLParser.parse_fragment(
|
363
|
-
html, :tokenizer => HTML5::HTMLSanitizer)
|
363
|
+
html, :tokenizer => HTML5::HTMLSanitizer, :encoding => 'UTF-8')
|
364
364
|
else
|
365
365
|
fragments = HTML5::HTMLParser.parse_fragment(html)
|
366
366
|
end
|
data/lib/feed_tools/version.rb
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
|
3
|
+
<channel>
|
4
|
+
<title>RockCast Italia</title>
|
5
|
+
<link>http://rockcastitalia.com/</link>
|
6
|
+
<description>novità</description>
|
7
|
+
<generator>Feeder 220 http://reinventedsoftware.com/feeder/</generator>
|
8
|
+
</channel>
|
9
|
+
</rss>
|
data/test/unit/encoding_test.rb
CHANGED
@@ -96,4 +96,10 @@ class EncodingTest < Test::Unit::TestCase
|
|
96
96
|
assert_equal("big5", feed.encoding)
|
97
97
|
}
|
98
98
|
end
|
99
|
-
|
99
|
+
|
100
|
+
def test_utf_content
|
101
|
+
with_feed(:from_file => '/wellformed/encoding/utf8.xml') {|feed|
|
102
|
+
assert_equal("novit\303\240", feed.description)
|
103
|
+
}
|
104
|
+
end
|
105
|
+
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feedtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
platform:
|
4
|
+
version: 0.2.29
|
5
|
+
platform: ""
|
6
6
|
authors:
|
7
7
|
- Bob Aman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-03-26 00:00:00 +10:30
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -2203,6 +2203,7 @@ files:
|
|
2203
2203
|
- test/feeds/wellformed/encoding/utf-32le.xml
|
2204
2204
|
- test/feeds/wellformed/encoding/utf-8-bom.xml
|
2205
2205
|
- test/feeds/wellformed/encoding/utf16.xml
|
2206
|
+
- test/feeds/wellformed/encoding/utf8.xml
|
2206
2207
|
- test/feeds/wellformed/encoding/utf_16.xml
|
2207
2208
|
- test/feeds/wellformed/encoding/utf_32.xml
|
2208
2209
|
- test/feeds/wellformed/encoding/x80_437.xml
|
@@ -3023,7 +3024,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3023
3024
|
requirements: []
|
3024
3025
|
|
3025
3026
|
rubyforge_project: feedtools
|
3026
|
-
rubygems_version:
|
3027
|
+
rubygems_version: 0.9.5
|
3027
3028
|
signing_key:
|
3028
3029
|
specification_version: 2
|
3029
3030
|
summary: Parsing, generation, and caching system for xml news feeds.
|