aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/webring.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/webring.rb b/bin/webring.rb
index 1a7b15a..6a502e2 100644
--- a/bin/webring.rb
+++ b/bin/webring.rb
@@ -28,7 +28,7 @@ feeds.each do |feed_url|
28 28
29 first = rss.items.first 29 first = rss.items.first
30 author = rss.channel.title 30 author = rss.channel.title
31 website = rss.channel.link 31 website = rss.channel.link.gsub(%r{</?[^>]+?>}, '')
32 title = first.title 32 title = first.title
33 link = first.link 33 link = first.link
34 34
@@ -63,6 +63,7 @@ feeds.each do |feed_url|
63 out_html.concat(partial) 63 out_html.concat(partial)
64 64
65 puts "Feed: #{author}" 65 puts "Feed: #{author}"
66 puts "Website: #{website}"
66 puts "Title: #{title}" 67 puts "Title: #{title}"
67 puts "Link: #{link}" 68 puts "Link: #{link}"
68 puts "Summary: #{summary}" 69 puts "Summary: #{summary}"