diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-18 14:38:45 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-18 14:40:39 -0700 |
commit | 7c45d8dbfd8e7f8f7279bab67058109d244d9752 (patch) | |
tree | 78bbbf5c3aa0bd992e56ebf011c08dc9a071fe9a | |
parent | 0333babe7f25640c3b24b117065a18cc266d114e (diff) | |
download | unicorn-7c45d8dbfd8e7f8f7279bab67058109d244d9752.tar.gz |
No need to waste bandwidth with more.
-rw-r--r-- | Rakefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -37,6 +37,7 @@ cgit_url = "http://git.bogomips.org/cgit/unicorn.git" desc 'prints news as an Atom feed' task :news_atom do require 'nokogiri' + new_tags = tags[0,10] puts(Nokogiri::XML::Builder.new do feed :xmlns => "http://www.w3.org/2005/Atom" do id! "http://unicorn.bogomips.org/NEWS.atom.xml" @@ -44,8 +45,8 @@ task :news_atom do subtitle "Rack HTTP server for Unix and fast clients" link! :rel => 'alternate', :type => 'text/html', :href => 'http://unicorn.bogomips.org/NEWS.html' - updated tags.first[:time] - tags.each do |tag| + updated new_tags.first[:time] + new_tags.each do |tag| entry do title tag[:subject] updated tag[:time] |