cvs commit: www lfs2rss.pl

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Tue Nov 18 18:02:14 PST 2003


lizardo     03/11/18 19:02:14

  Modified:    .        lfs2rss.pl
  Log:
  lfs2rss.pl: Fixed URL pointing to http://linuxfromscratch.org. Fixed wrong URL creation.
  
  Revision  Changes    Path
  1.6       +3 -3      www/lfs2rss.pl
  
  Index: lfs2rss.pl
  ===================================================================
  RCS file: /home/cvsroot/www/lfs2rss.pl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- lfs2rss.pl	22 Sep 2003 01:05:53 -0000	1.5
  +++ lfs2rss.pl	19 Nov 2003 02:02:14 -0000	1.6
  @@ -28,7 +28,7 @@
   my @items;
   my %channel = 
   (
  -	link => "http://linuxfromscratch.org/",
  +	link => "http://www.linuxfromscratch.org/",
   	language => "en-us"
   );
   
  @@ -49,7 +49,7 @@
   while (<HTML>)
   {
   	# figure out what page we're working on
  -	m/<body id="body" class="(.+)">/
  +	m/<body\s+class="(.+)">/
   		&& ($channel{link} .= "$1/$args{'news-file'}");
   
   	# extract the title of the page
  @@ -130,7 +130,7 @@
   
   =head1 VERSION
   
  -$Id: lfs2rss.pl,v 1.5 2003/09/22 01:05:53 lizardo Exp $
  +$Id: lfs2rss.pl,v 1.6 2003/11/19 02:02:14 lizardo Exp $
   
   =head1 REPORTING BUGS
   
  
  
  



More information about the website mailing list