Permalink
Browse files

Updating Version

  • Loading branch information...
Sébastien Poudat
Sébastien Poudat committed Nov 1, 2012
1 parent bbc0c9d commit 4d805beab88f744f837068ba78b250a1ac131165
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/urss/feed/rss_entry.rb
@@ -17,7 +17,7 @@ def self.build(nokogiri_instance, namespace=nil)
entry.author = nokogiri_instance.xpath("./dc:creator", nokogiri_instance.namespaces).text
entry.categories = nokogiri_instance.search("category").collect(&:text).join(", ")
entry.content = nokogiri_instance.xpath("./description").text
- entry.enclosure = nokogiri_instance.xpath("./enclosure").attr('url')
+ entry.enclosure = nokogiri_instance.xpath("./enclosure[@url]").text
begin
# When having only one media:content then all media:* nodes are used to create one Urss::Media

0 comments on commit 4d805be

Please sign in to comment.