rubylibre-feedzirra 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/feedzirra/feed.rb +1 -0
- data/lib/feedzirra/parser/rss_entry.rb +2 -0
- data/lib/feedzirra.rb +1 -1
- metadata +2 -2
data/lib/feedzirra/feed.rb
CHANGED
@@ -227,6 +227,7 @@ module Feedzirra
|
|
227
227
|
curl.timeout = options[:timeout] if options[:timeout]
|
228
228
|
|
229
229
|
curl.on_success do |c|
|
230
|
+
c = c.select{ |n| n.kind_of?(Curl::Easy) }.first if c.kind_of?(Array)
|
230
231
|
add_url_to_multi(multi, url_queue.shift, url_queue, responses, options) unless url_queue.empty?
|
231
232
|
xml = decode_content(c)
|
232
233
|
klass = determine_feed_parser_for_xml(xml)
|
@@ -19,10 +19,12 @@ module Feedzirra
|
|
19
19
|
element :link, :as => :url
|
20
20
|
|
21
21
|
element :"dc:creator", :as => :author
|
22
|
+
element :author, :as => :author
|
22
23
|
element :"content:encoded", :as => :content
|
23
24
|
element :description, :as => :summary
|
24
25
|
|
25
26
|
element :pubDate, :as => :published
|
27
|
+
element :pubdate, :as => :published
|
26
28
|
element :"dc:date", :as => :published
|
27
29
|
element :"dc:Date", :as => :published
|
28
30
|
element :"dcterms:created", :as => :published
|
data/lib/feedzirra.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubylibre-feedzirra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Dix
|
@@ -113,7 +113,7 @@ files:
|
|
113
113
|
- spec/feedzirra/feed_utilities_spec.rb
|
114
114
|
- spec/feedzirra/feed_entry_utilities_spec.rb
|
115
115
|
has_rdoc: true
|
116
|
-
homepage: http://github.com/
|
116
|
+
homepage: http://github.com/pauldix/feedzirra
|
117
117
|
post_install_message:
|
118
118
|
rdoc_options: []
|
119
119
|
|