From owner-freebsd-doc@FreeBSD.ORG Thu Jul 31 17:43:55 2008 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62941106568C for ; Thu, 31 Jul 2008 17:43:55 +0000 (UTC) (envelope-from murray@stokely.org) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id E57118FC1F for ; Thu, 31 Jul 2008 17:43:54 +0000 (UTC) (envelope-from murray@stokely.org) Received: by ug-out-1314.google.com with SMTP id q2so454264uge.37 for ; Thu, 31 Jul 2008 10:43:53 -0700 (PDT) Received: by 10.67.116.20 with SMTP id t20mr2798641ugm.58.1217526233482; Thu, 31 Jul 2008 10:43:53 -0700 (PDT) Received: by 10.66.245.18 with HTTP; Thu, 31 Jul 2008 10:43:53 -0700 (PDT) Message-ID: <2a7894eb0807311043j5de21c0s52141469a02b34d3@mail.gmail.com> Date: Thu, 31 Jul 2008 10:43:53 -0700 From: "Murray Stokely" To: "Simon L. Nielsen" In-Reply-To: <20080731161738.GA1450@zaphod.nitro.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200807311601.m6VG1dLK002017@repoman.freebsd.org> <20080731161738.GA1450@zaphod.nitro.dk> Cc: freebsd-doc@freebsd.org Subject: Re: cvs commit: www/share/sgml news.xml X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 17:43:55 -0000 On Thu, Jul 31, 2008 at 9:17 AM, Simon L. Nielsen wrote: > Making the front page only pick X entries and not entries from X days > would be a great project for someone (else)... > > I looked at fixing the XSLT but due to the format of news.xml I > couldn't make it work and I unfortunatly don't have the time to change > news.xml to a less annoying format. > > Anyway, enough ranting for this time :-). Hah yes, I am pretty sure I have sent a similar mail to doc@ several years ago. It chooses events from the last N days, not the last N events. So when we have multiple events on days the list can get quite long. It sounds pretty easy but the xslt is a bit trickier than you would think and I also didn't solve it the last time I tried. - Murray