Skip to content

Commit

Permalink
Merge pull request #13 from l3kn/patch-1
Browse files Browse the repository at this point in the history
Remove redundant 'rdf' in looks_like_feed?

Nice catch, thanks!
  • Loading branch information
damog committed Dec 31, 2014
2 parents a73e98b + c676218 commit be8ec82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/feedbag.rb
Expand Up @@ -161,7 +161,7 @@ def find(url, args = {})
end

def looks_like_feed?(url)
if url =~ /(\.(rdf|xml|rdf|rss)$|feed=(rss|atom)|(atom|feed)\/?$)/i
if url =~ /(\.(rdf|xml|rss)$|feed=(rss|atom)|(atom|feed)\/?$)/i
true
else
false
Expand Down

0 comments on commit be8ec82

Please sign in to comment.