summaryrefslogtreecommitdiff
path: root/lib/feed2imap/config.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/config.rb4
1 files changed, 3 insertions, 1 deletions
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