cvs commit: www lfs2rss.pl

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Fri Sep 5 00:42:59 PDT 2003


jeroen      03/09/05 01:42:59

  Modified:    .        lfs2rss.pl
  Log:
  Fixed Rob's lfs2rss.pl script for news headers with a patch from Anderson.
  
  Revision  Changes    Path
  1.3       +2 -2      www/lfs2rss.pl
  
  Index: lfs2rss.pl
  ===================================================================
  RCS file: /home/cvsroot/www/lfs2rss.pl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- lfs2rss.pl	1 Sep 2003 21:33:00 -0000	1.2
  +++ lfs2rss.pl	5 Sep 2003 07:42:59 -0000	1.3
  @@ -60,7 +60,7 @@
   		&& ($channel{description} = sanitize($1));
   	
   	# extract the news items
  -	if (m/<h3 id="(.+)">(.+)<\/h3>/)
  +	if (m/<h3 id="([^"]+)"><a[^>]+>(.+)<\/a><\/h3>/)
   	{
   		my %item;
   		$item{link} = "$channel{link}#$1";
  @@ -129,7 +129,7 @@
   
   =head1 VERSION
   
  -$Id: lfs2rss.pl,v 1.2 2003/09/01 21:33:00 jeroen Exp $
  +$Id: lfs2rss.pl,v 1.3 2003/09/05 07:42:59 jeroen Exp $
   
   =head1 REPORTING BUGS
   
  
  
  



More information about the website mailing list