lib/feedbag.rb in feedbagtoo-0.7.2 vs lib/feedbag.rb in feedbagtoo-0.7.3
- old
+ new
@@ -138,18 +138,18 @@
end
(doc/"a").each do |a|
next unless a["href"]
if self.looks_like_feed?(a["href"]) and (a["href"] =~ /\// or a["href"] =~ /#{url_uri.host}/)
- title = a["title"] || a.inner_html || a['alt'] || title
+ title = a["title"] || a.innerText || a['alt'] || title
self.add_feed(a["href"], url, $base_uri, title, description || title)
end
end
(doc/"a").each do |a|
next unless a["href"]
if self.looks_like_feed?(a["href"])
- title = a["title"] || a.inner_html || a['alt'] || title
+ title = a["title"] || a.innerText || a['alt'] || title
self.add_feed(a["href"], url, $base_uri, title, description || title)
end
end
# Added support for feeds like http://tabtimes.com/tbfeed/mashable/full.xml