Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enclosure URL attribute fix

  • Loading branch information...
commit 867894d99cf4ee082cb47e53fdadb1a812db24ba 1 parent 5909015
Sébastien Poudat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/urss/feed/rss_entry.rb
View
2  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").text
+ entry.enclosure = nokogiri_instance.xpath("./enclosure").attr('url')
begin
# When having only one media:content then all media:* nodes are used to create one Urss::Media
Please sign in to comment.
Something went wrong with that request. Please try again.