summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-23 11:16:33 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-23 11:16:33 +0100
commit8182a507b717c28c010380f356cde2f3261ee40e (patch)
tree911b64a3703c7f3ee24a137cd78f78153edc566b /data/rbot/plugins
parent9d19d55d6492b45392890dbe7cbb11ab1bfb4ee2 (diff)
rss plugin: missing 9 in FEED_NS regexp
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/rss.rb2
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