From a7e4638feee8c58aa2e1178815848ee694eca8b9 Mon Sep 17 00:00:00 2001 From: lnu Date: Tue, 11 Jul 2006 16:10:42 +0000 Subject: snowscripts support + content-transfer-encoding fixed git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@103 f70e237a-67f3-0310-a06c-d2b8a7116972 --- lib/feed2imap/config.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/feed2imap/config.rb') diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb index 38a1faa..10c4d82 100644 --- a/lib/feed2imap/config.rb +++ b/lib/feed2imap/config.rb @@ -71,7 +71,7 @@ end # A configured feed. simple data container. class ConfigFeed - attr_reader :name, :url, :imapaccount, :folder, :always_new + attr_reader :name, :url, :imapaccount, :folder, :always_new, :execurl, :filter attr_accessor :body def initialize(f, imapaccount, folder) @@ -81,6 +81,8 @@ class ConfigFeed @imapaccount, @folder = imapaccount, folder @freq = f['min-frequency'] @always_new = (f['always-new'] and f['always-new'] != 'false') + @execurl = f['execurl'] + @filter = f['filter'] @freq = @freq.to_i if @freq end -- cgit v1.2.3-54-g00ecf