diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-23 11:16:33 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-23 11:16:33 +0100 |
commit | 8182a507b717c28c010380f356cde2f3261ee40e (patch) | |
tree | 911b64a3703c7f3ee24a137cd78f78153edc566b | |
parent | 9d19d55d6492b45392890dbe7cbb11ab1bfb4ee2 (diff) |
rss plugin: missing 9 in FEED_NS regexp
-rw-r--r-- | data/rbot/plugins/rss.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 226579dd..97640838 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -366,7 +366,7 @@ class RSSFeedsPlugin < Plugin } end - FEED_NS = %r{xmlns.*http://(purl\.org/rss|www.w3c.org/199/02/22-rdf)} + FEED_NS = %r{xmlns.*http://(purl\.org/rss|www.w3c.org/1999/02/22-rdf)} def htmlinfo_filter(s) return nil unless s[:headers] and s[:headers]['x-rbot-location'] return nil unless s[:headers]['content-type'].first.match(/xml|rss|atom|rdf/i) or |