Date: Tue, 14 Feb 2006 14:42:36 -0800 From: Murray Stokely <murray@freebsdmall.com> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: doc-committers@freebsd.org, cvs-doc@freebsd.org Subject: Re: cvs commit: www/en/news news.xml Message-ID: <20060214224236.GA94862@freebsdmall.com> In-Reply-To: <20060214101711.GD900@turion.vk2pj.dyndns.org> References: <200601312347.k0VNltZ6090432@repoman.freebsd.org> <20060213215407.GB20768@freebsdmall.com> <1139869509.684.7.camel@dude.automatvapen.se> <20060213223903.GE20768@freebsdmall.com> <20060214101711.GD900@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 14, 2006 at 09:17:11PM +1100, Peter Jeremy wrote: > The downside is that you could potentially wind up with very old > "news" items if there aren't any new committers or non-new-committer > entries for a while. You probably need to include a cutoff time > so that entries older than, say 3 months, aren't included. Yes, the staleness of our news items aside from new committer entries is the crux of the problem. > >At the same time we could maybe fetch the newest entry from the java > >or gnome individual news.xml files, since those also are seldom copied > >to the front page. > > Are there any other major projects? I agree this might be nice but > there's a limited amount of space on the home page. I am not proposing adding more than the existing 5 events on the page (actually, there is a bug such that it fetches the most recent 5 days with events and displays all of them, which is 7 now). I proposed using the java and gnome individual news.xml files as additional sources of content from which to choose the 5 newest items. So, ideally, I would like to choose the 3 newest entries from news.xml, java/news.xml, and gnome/news.xml that do not contain the word 'new committer'. I'd then like to choose the 2 newest entries that do contain the word 'new committer'. I'd then like to sort all 5 of those by date and put them on the front page. It might be better to score the news and gnome entries lower than main news.xml items, but if we can do the above then we can easily tweak things like that. That is very, very difficult to do in XSLT. I will buy a beer at BSDCan for anyone who can show me how to do it. - Murray
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060214224236.GA94862>