summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-18 14:38:45 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-18 14:40:39 -0700
commit7c45d8dbfd8e7f8f7279bab67058109d244d9752 (patch)
tree78bbbf5c3aa0bd992e56ebf011c08dc9a071fe9a
parent0333babe7f25640c3b24b117065a18cc266d114e (diff)
No need to waste bandwidth with more.
-rw-r--r--Rakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 16bcb6b..6585e9f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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]