cvs commit: www manage_news.pl

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Thu Nov 13 06:07:05 PST 2003


jeroen      03/11/13 07:07:05

  Modified:    alfs     news-bottom.html news-top.html
               blfs     news-top.html news-bottom.html
               lfs      news-bottom.html news-top.html
               .        manage_news.pl
  Log:
  Some small markup changes to the newsfiles and the manage_news.pl script. News sections are now divided in sections so they can be targeted more specifically with stylesheets
  
  Revision  Changes    Path
  1.6       +1 -0      www/alfs/news-bottom.html
  
  Index: news-bottom.html
  ===================================================================
  RCS file: /home/cvsroot/www/alfs/news-bottom.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- news-bottom.html	9 Nov 2003 13:26:29 -0000	1.5
  +++ news-bottom.html	13 Nov 2003 14:07:05 -0000	1.6
  @@ -1,4 +1,5 @@
   <p><a href="http://cvs.linuxfromscratch.org/index.cgi/ALFS/?sortby=rev#dirlist">All CVS entries.</a></p>
  +</div>
   
   </div> <!-- end content -->
   
  
  
  
  1.4       +3 -2      www/alfs/news-top.html
  
  Index: news-top.html
  ===================================================================
  RCS file: /home/cvsroot/www/alfs/news-top.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- news-top.html	12 Nov 2003 11:38:28 -0000	1.3
  +++ news-top.html	13 Nov 2003 14:07:05 -0000	1.4
  @@ -44,10 +44,11 @@
   
   	<div class="pagenav">
   	<ul>
  -		<li><a href="#alfsnews">ALFS-specific news</a></li>
  +		<li><a href="#projectnews">ALFS-specific news</a></li>
   		<li><a href="#generalnews">General news</a></li>
   		<li><a href="#changelog">CVS Changelog</a></li>
   	</ul>
   	</div>
   
  -<h2 id="alfsnews">ALFS-specific news</h2>
  +<div id="projectnews">
  +<h2>ALFS-specific news</h2>
  
  
  
  1.14      +3 -2      www/blfs/news-top.html
  
  Index: news-top.html
  ===================================================================
  RCS file: /home/cvsroot/www/blfs/news-top.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- news-top.html	12 Nov 2003 11:38:28 -0000	1.13
  +++ news-top.html	13 Nov 2003 14:07:05 -0000	1.14
  @@ -43,10 +43,11 @@
   
   	<div class="pagenav">
   	<ul>
  -		<li><a href="#blfsnews">BLFS-specific news</a></li>
  +		<li><a href="#projectnews">BLFS-specific news</a></li>
   		<li><a href="#generalnews">General news</a></li>
   		<li><a href="#changelog">CVS Changelog</a></li>
   	</ul>
   	</div>
   
  -<h2 id="blfsnews">BLFS-specific news</h2>
  +<div id="projectnews">
  +<h2>BLFS-specific news</h2>
  
  
  
  1.20      +1 -0      www/blfs/news-bottom.html
  
  Index: news-bottom.html
  ===================================================================
  RCS file: /home/cvsroot/www/blfs/news-bottom.html,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- news-bottom.html	9 Nov 2003 13:26:29 -0000	1.19
  +++ news-bottom.html	13 Nov 2003 14:07:05 -0000	1.20
  @@ -1,4 +1,5 @@
   <p><a href="http://cvs.linuxfromscratch.org/index.cgi/BLFS/BOOK/?sortby=rev#dirlist">All CVS entries.</a></p>
  +</div>
   
   </div> <!-- end content -->
   
  
  
  
  1.21      +1 -1      www/lfs/news-bottom.html
  
  Index: news-bottom.html
  ===================================================================
  RCS file: /home/cvsroot/www/lfs/news-bottom.html,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- news-bottom.html	12 Nov 2003 11:38:29 -0000	1.20
  +++ news-bottom.html	13 Nov 2003 14:07:05 -0000	1.21
  @@ -1,5 +1,5 @@
   <p><a href="http://cvs.linuxfromscratch.org/index.cgi/LFS/BOOK/?sortby=rev#dirlist">All CVS entries.</a></p>
  -
  +</div>
   </div> <!-- end content -->
   
   <div id="footer">
  
  
  
  1.22      +3 -2      www/lfs/news-top.html
  
  Index: news-top.html
  ===================================================================
  RCS file: /home/cvsroot/www/lfs/news-top.html,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- news-top.html	12 Nov 2003 11:38:29 -0000	1.21
  +++ news-top.html	13 Nov 2003 14:07:05 -0000	1.22
  @@ -44,10 +44,11 @@
   
   	<div class="pagenav">
   	<ul>
  -		<li><a href="#lfsnews">LFS-specific news</a></li>
  +		<li><a href="#projectnews">LFS-specific news</a></li>
   		<li><a href="#generalnews">General news</a></li>
   		<li><a href="#changelog">CVS Changelog</a></li>
   	</ul>
   	</div>
   
  -<h2 id="lfsnews">LFS-specific news</h2>
  +<div id="projectnews">
  +<h2>LFS-specific news</h2>
  
  
  
  1.18      +5 -5      www/manage_news.pl
  
  Index: manage_news.pl
  ===================================================================
  RCS file: /home/cvsroot/www/manage_news.pl,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- manage_news.pl	8 Nov 2003 02:01:38 -0000	1.17
  +++ manage_news.pl	13 Nov 2003 14:07:05 -0000	1.18
  @@ -17,7 +17,7 @@
   # along with this program; if not, write to the Free Software
   # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
   
  -# $Id: manage_news.pl,v 1.17 2003/11/08 02:01:38 gerard Exp $
  +# $Id: manage_news.pl,v 1.18 2003/11/13 14:07:05 jeroen Exp $
   
   use warnings;
   use strict;
  @@ -168,8 +168,8 @@
       }
   }
   else {
  -    print '<p><a href="#header">Back to the top.</a></p>' . "\n" .
  -    '<h2 id="generalnews">General news</h2>' . "\n" unless $section;
  +    print '</div>' . "\n" .
  +    '<div id="generalnews"><h2>General news</h2>' . "\n" unless $section;
       my $count = 0;
       foreach my $part ($mime_entity->parts) {
           last if $count++ == 2;
  @@ -177,8 +177,8 @@
       }
       my $year = isodate2any(${[$mime_entity->parts]}[0]->head, '%Y');
       print "<p><a href=\"${lfs_url}news/${section}${year}/\">Read previous news</a></p>\n";
  -    print '<p><a href="#header">Back to the top.</a></p>' . "\n" .
  -    '<h2 id="changelog">Latest CVS changes:</h2>' . "\n" unless $section;
  +    print '</div>' . "\n" .
  +    '<div id="changelog"><h2>Latest CVS changes:</h2>' . "\n" unless $section;
   }
   
   if ($parser->results->errors) {
  
  
  



More information about the website mailing list