cvs commit: www 403.html 404.html manage_news.pl

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Fri Sep 19 10:33:15 PDT 2003


jeroen      03/09/19 11:33:15

  Modified:    .        403.html 404.html manage_news.pl
  Log:
  Only diplay 2 newsitems instead of 5. Changed some links in the 404 and 403 so they work in subdomains.
  
  Revision  Changes    Path
  1.2       +15 -19    www/403.html
  
  Index: 403.html
  ===================================================================
  RCS file: /home/cvsroot/www/403.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- 403.html	19 Sep 2003 15:10:24 -0000	1.1
  +++ 403.html	19 Sep 2003 17:33:15 -0000	1.2
  @@ -6,9 +6,9 @@
   	<meta name="description" content="Linux From Scratch - build your own Linux distribution from scratch" />
   	<meta name="keywords" content="Linux, LinuxFromScratch, Linux From Scratch, build your own Linux, DIY Linux, do-it-yourself Linux, create your own Linux" />
   	<meta name="MSSmartTagsPreventParsing" content="true" />
  -	<link rel="stylesheet" type="text/css" href="/style/screen.css" media="screen" />
  -	<link rel="stylesheet" type="text/css" href="/style/print.css" media="print" />
  -	<link rel="icon" href="/images/favicon.ico" type="image/x-icon" />
  +	<link rel="stylesheet" type="text/css" href="/error/style/screen.css" media="screen" />
  +	<link rel="stylesheet" type="text/css" href="/error/style/print.css" media="print" />
  +	<link rel="icon" href="/error/images/favicon.ico" type="image/x-icon" />
   </head>
   
   <body id="body" class="root">
  @@ -16,19 +16,19 @@
   <div id="header">
   	<ul id="sectionnav">
   		<li><a href="#rootcontent" class="hidden" accesskey="2">Skip to content</a></li>
  -		<li><a href="/lfs/news.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
  -		<li><a href="/blfs/news.html" accesskey="b"><span class="accesskey">B</span>eyond LFS</a></li>
  -		<li><a href="/alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
  -		<li><a href="/hints/news.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
  +		<li><a href="http://linuxfromscratch.org/lfs/news.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
  +		<li><a href="http://linuxfromscratch.org/blfs/news.html" accesskey="b"><span class="accesskey">B</span>eyond LFS</a></li>
  +		<li><a href="http://linuxfromscratch.org/alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
  +		<li><a href="http://linuxfromscratch.org/hints/news.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
   	</ul>
  -	<h1><a href="/lfs/news.html" accesskey="l" title="LFS News page">Linux From Scratch</a></h1>
  -	<h2><a href="/lfs/whatislfs.html">Your distro. Your rules.</a></h2>
  +	<h1><a href="http://linuxfromscratch.org/lfs/news.html" accesskey="l" title="LFS News page">Linux From Scratch</a></h1>
  +	<h2><a href="http://linuxfromscratch.org/lfs/whatislfs.html">Your distro. Your rules.</a></h2>
   	<div id="search">
   		<form method="get" action="http://search.linuxfromscratch.org/index.cgi">
   		<p>
   			<label title="Enter your search terms"><input size="15" type="text" name="query" onfocus="if(this.value==this.defaultValue) this.value='';" value="enter text here" maxlength="255" accesskey="s" /></label>
   			<label title="Submit the search terms"><input type="submit" value="search" /></label><br />
  -			<a href="/search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
  +			<a href="http://linuxfromscratch.org/search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
   			</p>
   		</form>
   	</div>
  @@ -45,7 +45,7 @@
   
   in bzip2 format.</p>
   
  -<p>The page which you have been looking for may be available in <a href="/sitemap.html" title="Categorized navigational overview of this website">the sitemap</a>.</p>
  +<p>The page which you have been looking for may be available in <a href="http://linuxfromscratch.org/sitemap.html" title="Categorized navigational overview of this website">the sitemap</a>.</p>
   <p>If not, try searching for the page with the following methods:</p>
   
   <h3>Swish search</h3>
  @@ -81,8 +81,7 @@
   
   <p><em>Search Tips: A multiple word search can include logical constructs such as "and", "or", and "not". A boolean "and" between words is assumed, meaning documents that contain all of the words will be found. If you wish to find all of the documents that have any one of the specified words, then include an "or" between the words.</em></p>
   <p><em>To truncate a word, type an asterisk (*) at the end of the word. For example, searching for "serv*" will find documents that contain the words "server", "serving", and "service", among others.</em></p>
  -<p><a href="http://swish-e.org/"><img alt="Powered by SWISH-E" width="109"
  -height="35" src="/images/powered_by_swish-e_109x35.png" /></a></p>
  +<p><a href="http://swish-e.org/"><img alt="Powered by SWISH-E" width="109" height="35" src="/error/images/powered_by_swish-e_109x35.png" /></a></p>
   
   <h3>Google search</h3>
   <form method="get" action="http://www.google.com/search">
  @@ -105,8 +104,7 @@
   </tbody></table>
   </form>
   
  -<p><a href="http://www.google.com/"><img alt="Powered by Google"
  -width="135" height="35" src="/images/powered_by_google_135x35.png" /></a></p>
  +<p><a href="http://www.google.com/"><img alt="Powered by Google" width="135" height="35" src="/error/images/powered_by_google_135x35.png" /></a></p>
   
   </div> <!-- end content -->
   
  @@ -117,10 +115,8 @@
   		<li>Site design by Jeroen Coumans.</li>
   	</ul>
   	<ul>
  -		<li><a href="http://validator.w3.org/check/referer"><img
  -src="/images/xhtml-1.1.png" alt="Valid XHTML 1.1!" title="Validate this page's structure" height="15" width="80" /></a></li>
  -		<li><a
  -href="http://jigsaw.w3.org/css-validator/check/referer"><img src="/images/css.png" alt="Valid CSS!" title="Validate this page's style" height="15" width="80" /></a></li>
  +		<li><a href="http://validator.w3.org/check/referer"><img src="/error/images/xhtml-1.1.png" alt="Valid XHTML 1.1!" title="Validate this page's structure" height="15" width="80" /></a></li>
  +		<li><a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="/error/images/css.png" alt="Valid CSS!" title="Validate this page's style" height="15" width="80" /></a></li>
   	</ul>
   </div>
   </body>
  
  
  
  1.28      +15 -15    www/404.html
  
  Index: 404.html
  ===================================================================
  RCS file: /home/cvsroot/www/404.html,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- 404.html	19 Sep 2003 17:14:16 -0000	1.27
  +++ 404.html	19 Sep 2003 17:33:15 -0000	1.28
  @@ -6,9 +6,9 @@
   	<meta name="description" content="Linux From Scratch - build your own Linux distribution from scratch" />
   	<meta name="keywords" content="Linux, LinuxFromScratch, Linux From Scratch, build your own Linux, DIY Linux, do-it-yourself Linux, create your own Linux" />
   	<meta name="MSSmartTagsPreventParsing" content="true" />
  -	<link rel="stylesheet" type="text/css" href="/style/screen.css" media="screen" />
  -	<link rel="stylesheet" type="text/css" href="/style/print.css" media="print" />
  -	<link rel="icon" href="/images/favicon.ico" type="image/x-icon" />
  +	<link rel="stylesheet" type="text/css" href="/error/style/screen.css" media="screen" />
  +	<link rel="stylesheet" type="text/css" href="/error/style/print.css" media="print" />
  +	<link rel="icon" href="/error/images/favicon.ico" type="image/x-icon" />
   </head>
   
   <body id="body" class="root">
  @@ -16,19 +16,19 @@
   <div id="header">
   	<ul id="sectionnav">
   		<li><a href="#rootcontent" class="hidden" accesskey="2">Skip to content</a></li>
  -		<li><a href="/lfs/news.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
  -		<li><a href="/blfs/news.html" accesskey="b"><span class="accesskey">B</span>eyond LFS</a></li>
  -		<li><a href="/alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
  -		<li><a href="/hints/news.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
  +		<li><a href="http://linuxfromscratch.org/lfs/news.html" accesskey="l"><span class="accesskey">L</span>FS</a></li>
  +		<li><a href="http://linuxfromscratch.org/blfs/news.html" accesskey="b"><span class="accesskey">B</span>eyond LFS</a></li>
  +		<li><a href="http://linuxfromscratch.org/alfs/news.html" accesskey="a"><span class="accesskey">A</span>utomated LFS</a></li>
  +		<li><a href="http://linuxfromscratch.org/hints/news.html" accesskey="h"><span class="accesskey">H</span>ints</a></li>
   	</ul>
  -	<h1><a href="/lfs/news.html" accesskey="l" title="LFS News page">Linux From Scratch</a></h1>
  -	<h2><a href="/lfs/whatislfs.html">Your distro. Your rules.</a></h2>
  +	<h1><a href="http://linuxfromscratch.org/lfs/news.html" accesskey="l" title="LFS News page">Linux From Scratch</a></h1>
  +	<h2><a href="http://linuxfromscratch.org/lfs/whatislfs.html">Your distro. Your rules.</a></h2>
   	<div id="search">
   		<form method="get" action="http://search.linuxfromscratch.org/index.cgi">
   		<p>
   			<label title="Enter your search terms"><input size="15" type="text" name="query" onfocus="if(this.value==this.defaultValue) this.value='';" value="enter text here" maxlength="255" accesskey="s" /></label>
   			<label title="Submit the search terms"><input type="submit" value="search" /></label><br />
  -			<a href="/search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
  +			<a href="http://linuxfromscratch.org/search.html" title="For more search options, click here" accesskey="4"><span class="accesskey">S</span>earch options</a>
   			</p>
   		</form>
   	</div>
  @@ -39,7 +39,7 @@
   <h2>Page not found!</h2>
   <p>The page you were searching is not found! Perhaps you mistyped the URL? We apologize for the inconvenience!</p>
   <p>In the case of a broken link, please <a href="http://linuxfromscratch.org/mailman/listinfo/website">contact the webmaster</a>.</p>
  -<p>The page which you have been looking for may be available in <a href="/sitemap.html" title="Categorized navigational overview of this website">the sitemap</a>.</p>
  +<p>The page which you have been looking for may be available in <a href="http://linuxfromscratch.org/sitemap.html" title="Categorized navigational overview of this website">the sitemap</a>.</p>
   <p>If not, try searching for the page with the following methods:</p>
   
   <h3>Swish search</h3>
  @@ -75,7 +75,7 @@
   
   <p><em>Search Tips: A multiple word search can include logical constructs such as "and", "or", and "not". A boolean "and" between words is assumed, meaning documents that contain all of the words will be found. If you wish to find all of the documents that have any one of the specified words, then include an "or" between the words.</em></p>
   <p><em>To truncate a word, type an asterisk (*) at the end of the word. For example, searching for "serv*" will find documents that contain the words "server", "serving", and "service", among others.</em></p>
  -<p><a href="http://swish-e.org/"><img alt="Powered by SWISH-E" width="109" height="35" src="/images/powered_by_swish-e_109x35.png" /></a></p>
  +<p><a href="http://swish-e.org/"><img alt="Powered by SWISH-E" width="109" height="35" src="/error/images/powered_by_swish-e_109x35.png" /></a></p>
   
   <h3>Google search</h3>
   <form method="get" action="http://www.google.com/search">
  @@ -99,7 +99,7 @@
   </form>
   
   <p><a href="http://www.google.com/"><img alt="Powered by Google"
  -width="135" height="35" src="/images/powered_by_google_135x35.png" /></a></p>
  +width="135" height="35" src="/error/images/powered_by_google_135x35.png" /></a></p>
   
   </div> <!-- end content -->
   
  @@ -110,8 +110,8 @@
   		<li>Site design by Jeroen Coumans.</li>
   	</ul>
   	<ul>
  -		<li><a href="http://validator.w3.org/check/referer"><img src="/images/xhtml-1.1.png" alt="Valid XHTML 1.1!" title="Validate this page's structure" height="15" width="80" /></a></li>
  -		<li><a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="/images/css.png" alt="Valid CSS!" title="Validate this page's style" height="15" width="80" /></a></li>
  +		<li><a href="http://validator.w3.org/check/referer"><img src="/error/images/xhtml-1.1.png" alt="Valid XHTML 1.1!" title="Validate this page's structure" height="15" width="80" /></a></li>
  +		<li><a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="/error/images/css.png" alt="Valid CSS!" title="Validate this page's style" height="15" width="80" /></a></li>
   	</ul>
   </div>
   </body>
  
  
  
  1.9       +2 -2      www/manage_news.pl
  
  Index: manage_news.pl
  ===================================================================
  RCS file: /home/cvsroot/www/manage_news.pl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- manage_news.pl	9 Sep 2003 22:57:21 -0000	1.8
  +++ manage_news.pl	19 Sep 2003 17:33:15 -0000	1.9
  @@ -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.8 2003/09/09 22:57:21 lizardo Exp $
  +# $Id: manage_news.pl,v 1.9 2003/09/19 17:33:15 jeroen Exp $
   
   use warnings;
   use strict;
  @@ -179,7 +179,7 @@
       '<h2 id="generalnews">General news</h2>' . "\n" if $section eq "general";
       my $count = 0;
       foreach my $part ($entity->parts) {
  -        last if $count++ == 5;
  +        last if $count++ == 2;
           print mime2html($section, $part);
       }
       print '<p><a href="#header">Back to the top.</a></p>' . "\n" .
  
  
  



More information about the website mailing list