[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RSS Feed for DWN?



* Martin Schulze <joey@infodrom.org> [2006-06-26 20:58] :
> MJ Ray wrote:
> > Martin Schulze <joey@infodrom.org>
> > > Two examples are here:
> > > http://people.debian.org/~joey/dwn.en.rdf
> > > http://people.debian.org/~joey/dwn.de.rdf
> > 
> > These are 404 Not Found at this time.
> 
> The RDF files are now generated automatically if there is a version
> of the current issue available in that particular language and the
> RDF file will be installed automatically in the web directory as well.

This week's DWN (2006/27) contains a link to Removed Packages. I think
it should be filtered out with a change like this one to dwn-to-rdf.pl
(not tested):

Index: dwn-to-rdf.pl
===================================================================
RCS file: /cvs/webwml/webwml/english/News/weekly/dwn-to-rdf.pl,v
retrieving revision 1.2
diff -u -u -r1.2 dwn-to-rdf.pl
--- dwn-to-rdf.pl	6 Jul 2006 05:42:11 -0000	1.2
+++ dwn-to-rdf.pl	7 Jul 2006 15:37:43 -0000
@@ -112,7 +112,7 @@
 	} elsif (/(.*)<\/p>/) {
 	    $body .= $1;
 
-	    if ($body !~ /(newpkg_main|<code>wnpp-alert<\/code>|href="mailto:dwn\@debian.org";)/
+	    if ($body !~ /(newpkg_main|<code>wnpp-alert<\/code>|removals.txt|href="mailto:dwn\@debian.org";)/
 		&& $headline ne "Security Updates"			# English
 		&& $headline ne "Mises � jour de s�curit�"		# French
 		&& $headline ne "�i�w�����s�j"				# Chinese


Greetings,


Fred



Reply to: