diff --git a/morss/feedify.ini b/morss/feedify.ini
index d28a1e0..263de06 100644
--- a/morss/feedify.ini
+++ b/morss/feedify.ini
@@ -99,7 +99,7 @@ item_link = ./a/@href
item_desc = ./div[class=desc]
item_content = ./div[class=content]
-base =
Feed reader by morss
+base = file:reader.html.template
[twitter]
mode = html
diff --git a/morss/feeds.py b/morss/feeds.py
index 8137213..1004d82 100644
--- a/morss/feeds.py
+++ b/morss/feeds.py
@@ -47,7 +47,11 @@ def parse_rules(filename=None):
for section in rules.keys():
for arg in rules[section].keys():
- if '\n' in rules[section][arg]:
+ if rules[section][arg].startswith('file:'):
+ import_file = os.path.join(os.path.dirname(__file__), rules[section][arg][5:])
+ rules[section][arg] = open(import_file).read()
+
+ elif '\n' in rules[section][arg]:
rules[section][arg] = rules[section][arg].split('\n')[1:]
return rules
diff --git a/morss/reader.html.template b/morss/reader.html.template
index 80e6163..dfff1e4 100644
--- a/morss/reader.html.template
+++ b/morss/reader.html.template
@@ -1,11 +1,9 @@
-@require(feed)
- @feed.title – via morss
-
-
+ Feed reader by morss
+