diff options
author | Alex Legler <alex@a3li.li> | 2013-11-12 10:14:11 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2013-11-12 10:14:11 +0100 |
commit | 57636048032b59c89dd233b2b2d5db12bab947c7 (patch) | |
tree | 2421bfbe5a341cf0fc9d4cec3067a130370c2dcb | |
parent | Add license and basic author info (diff) | |
download | infra-status-57636048032b59c89dd233b2b2d5db12bab947c7.tar.gz infra-status-57636048032b59c89dd233b2b2d5db12bab947c7.tar.bz2 infra-status-57636048032b59c89dd233b2b2d5db12bab947c7.zip |
Set link in Atom feed
-rw-r--r-- | infra-status.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/infra-status.rb b/infra-status.rb index d1bb4c3..b3bec91 100644 --- a/infra-status.rb +++ b/infra-status.rb @@ -40,9 +40,10 @@ end get '/feed.atom' do rss = RSS::Maker.make('atom') do |maker| - maker.channel.author = 'Gentoo Infrastructure Team' - maker.channel.title = 'Gentoo Infrastructure Notices' - maker.channel.id = MY_URL + maker.channel.author = 'Gentoo Infrastructure Team' + maker.channel.title = 'Gentoo Infrastructure Notices' + maker.channel.link = MY_URL + maker.channel.id = MY_URL maker.channel.updated = Time.now.to_s NoticeStore.instance.active_notices.each do |notice| |