aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rss2html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-05-15 20:06:28 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-05-15 20:14:38 +0200
commit1beba4bae98c2d6af47283cc2fe21c88225f8f0d (patch)
treed8172cd413b79c756c64fb06e818d2cb8898c281 /bin/rss2html
parentf2ee673dbb6f9569a1515d0007efb2053868ca6b (diff)
downloadrss2html-1beba4bae98c2d6af47283cc2fe21c88225f8f0d.tar.gz
rss2html-1beba4bae98c2d6af47283cc2fe21c88225f8f0d.tar.bz2
rss2html-1beba4bae98c2d6af47283cc2fe21c88225f8f0d.zip
Pass title in args, no need for a separate arg.
Diffstat (limited to 'bin/rss2html')
-rwxr-xr-xbin/rss2html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rss2html b/bin/rss2html
index 14febfa..0661360 100755
--- a/bin/rss2html
+++ b/bin/rss2html
@@ -29,7 +29,7 @@ end
feeds = YAML.load(IO.read(config_file))
items = []
-feeds.each do |t, f|
- feed = Rss2Html::Feed.new(t, f)
+feeds.each do |k, f|
+ feed = Rss2Html::Feed.new(f)
puts feed.render
end