cvs commit: www/test news-2003.txt manage_news.pl

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Mon Sep 1 23:16:02 PDT 2003


jeroen      03/09/02 00:16:02

  Modified:    test/lfs news-2003.txt
               test     news-2003.txt manage_news.pl
  Log:
  Applied Anderson's patch to reverse some of my previous change of relative links in the news files.Updated the newsmanager script to convert relative links only when archiving.
  
  Revision  Changes    Path
  1.3       +1 -1      www/test/lfs/news-2003.txt
  
  Index: news-2003.txt
  ===================================================================
  RCS file: /home/cvsroot/www/test/lfs/news-2003.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- news-2003.txt	1 Sep 2003 20:14:19 -0000	1.2
  +++ news-2003.txt	2 Sep 2003 06:16:02 -0000	1.3
  @@ -44,7 +44,7 @@
   Id: neweditor
   
   		<p>Just to inform you all, Alex Groenewoud is setup as the latest addition to the editorial team and will be helping out effective right now.</p>
  -		<p>Alex is well known for his excellent contributions in the past to LFS in the form of grammatical patches. His most recent work is a <a href="http://linuxfromscratch.org/news/2003/07/#bookredone">rewriting of the book</a> with a new structure. This led to some recent changes in the LFS book, of which we're bound to see more now.</p>
  +		<p>Alex is well known for his excellent contributions in the past to LFS in the form of grammatical patches. His most recent work is a <a href="http://linuxfromscratch.org/news/lfs/2003/07.html#thebookredone">rewriting of the book</a> with a new structure. This led to some recent changes in the LFS book, of which we're bound to see more now.</p>
   		<p>We wish Alex good luck with editing LFS and we are confident that he will continue to make useful contributions to the book and the project.</p>
   		<p><a href="http://linuxfromscratch.org/pipermail/lfs-dev/2003-August/036114.html">See lfs-dev for a discussion of this post</a></p>
   
  
  
  
  1.3       +6 -6      www/test/news-2003.txt
  
  Index: news-2003.txt
  ===================================================================
  RCS file: /home/cvsroot/www/test/news-2003.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- news-2003.txt	1 Sep 2003 20:14:19 -0000	1.2
  +++ news-2003.txt	2 Sep 2003 06:16:02 -0000	1.3
  @@ -12,13 +12,13 @@
   		<p>The LFS team is proud to present the new website! There were some disadvantages with the old site which are adressed in this new design.</p>
   		<ul>
   			<li>The website now uses semantically correct and valid XHTML-1.1 and CSS-2 throughout the entire site (check it for yourself with the button's at the bottom). A new look is simply a matter of adjusting the stylesheet. The site is optimized for Unix browsers, such as <a href="http://www.mozilla.org">Mozilla</a> and <a href="http://www.konqueror.org">Konqueror</a>, and is more friendly for text browsers, such as <a href="http://lynx.browser.org/">lynx</a>.</li>
  -			<li>We've tried to reduce the load on the main LFS server. First of all, <a href="http://linuxfromscratch.org/becomemirror.html" title="Learn how to become a mirror">mirror usage</a> is now enforced from the main section pages. Thanks to the use of relative links, mirrors can keep a copy of the entire site. A new initiative is the use of <a href="http://linuxfromscratch.org/packages.html">P2P network links</a> for downloading the LFS tarballs. Right now this is a volunteer effort, but is well on its way to becoming the most reliable method of getting the packages.</li>
  -			<li>Together with the fresh look comes a fresh navigation system. In graphical browsers you can navigate quickly to each LFS project with the top links. On the right column you'll always see the site-wide navigation links, while the left column is reserved for project-specific links. Be sure to check out the <a href="http://linuxfromscratch.org/accesskeys.html">accessibility statement</a>, which tells you how to use keyboard shortcuts to navigate the website. In text browsers you'll see a number of skip-links have been added so you can quickly navigate through the website. You'll also be pleasantly surprised when printing the website.</li>
  -			<li>The website's focus has shifted towards being more of a central portal for LFS and the community. The most visible change towards this goal is the inclusion of news pages for each section. Each section's news page reflects the most current state of development for that section. Through the use of some clever scripts information from CVS changelog and Bugzilla is dynamically injected into the pages. Besides that, each newspage features project-wide news and project-specific news so you can keep track of your favorite LFS project. Most news comes directly from the mailing lists. To stay informed of all website changes, you can view <a href="http://linuxfromscratch.org/website.html#changelog">the dynamically generated changelog.</a></li>
  -			<li>Some sections have rewritten or new content. For example, the hints section now has additional instructions on <a href="http://linuxfromscratch.org/hints/submit.html">how to write and submit hints</a> and even <a href="http://linuxfromscratch.org/hints/adoptahint.html">how to take over other people's hints</a>! The <a href="http://linuxfromscratch.org/alfs/news.html">ALFS</a> section now also lists other people's build scripts next to its own official Automated LFS system. The <a href="http://linuxfromscratch.org/faq/">FAQ</a> is split up in an LFS and BLFS specific section, while remaining easily navigable. </li>
  +			<li>We've tried to reduce the load on the main LFS server. First of all, <a href="../becomemirror.html" title="Learn how to become a mirror">mirror usage</a> is now enforced from the main section pages. Thanks to the use of relative links, mirrors can keep a copy of the entire site. A new initiative is the use of <a href="../packages.html">P2P network links</a> for downloading the LFS tarballs. Right now this is a volunteer effort, but is well on its way to becoming the most reliable method of getting the packages.</li>
  +			<li>Together with the fresh look comes a fresh navigation system. In graphical browsers you can navigate quickly to each LFS project with the top links. On the right column you'll always see the site-wide navigation links, while the left column is reserved for project-specific links. Be sure to check out the <a href="../accesskeys.html">accessibility statement</a>, which tells you how to use keyboard shortcuts to navigate the website. In text browsers you'll see a number of skip-links have been added so you can quickly navigate through the website. You'll also be pleasantly surprised when printing the website.</li>
  +			<li>The website's focus has shifted towards being more of a central portal for LFS and the community. The most visible change towards this goal is the inclusion of news pages for each section. Each section's news page reflects the most current state of development for that section. Through the use of some clever scripts information from CVS changelog and Bugzilla is dynamically injected into the pages. Besides that, each newspage features project-wide news and project-specific news so you can keep track of your favorite LFS project. Most news comes directly from the mailing lists. To stay informed of all website changes, you can view <a href="../website.html#changelog">the dynamically generated changelog.</a></li>
  +			<li>Some sections have rewritten or new content. For example, the hints section now has additional instructions on <a href="../hints/submit.html">how to write and submit hints</a> and even <a href="../hints/adoptahint.html">how to take over other people's hints</a>! The <a href="../alfs/news.html">ALFS</a> section now also lists other people's build scripts next to its own official Automated LFS system. The <a href="../faq/">FAQ</a> is split up in an LFS and BLFS specific section, while remaining easily navigable. </li>
   			<li>As you can see, there are lots of additional goodies hidden on the website. The best thing to do is to start surfing! Please send all comments, positive and negative, to <a href="http://linuxfromscratch.org/mailman/listinfo/website" title="Mail us your suggestions and thoughts about this website">the website mailing list</a>. Also use that list if you find any bugs in this site, whether it's a browser not displaying pages properly or an orphaned link. Please include some information about your browser and the resolution you're using. </li>
   		</ul>
  -		<p>There's more information available at the <a href="http://linuxfromscratch.org/website.html">website information page</a></p>
  +		<p>There's more information available at the <a href="../website.html">website information page</a></p>
   
   --NEWS_ITEM_BOUNDARY
   Title: Team Coordinators
  @@ -151,7 +151,7 @@
   		<code>* ^List-Id: .*<listname.linuxfromscratch.org></code>
   		<p>So that's listname<strong>.</strong>linuxfromscratch.org, not listname<strong>@</strong>linuxfromscratch.org.</p>
   		<p>Examples: <code>lfs-dev.linuxfromscratch.org</code>, <code>faq.linuxfromscratch.org</code>, <code>blfs-support.linuxfromscratch.org</code></p>
  -		<p><em>Update:</em> the <a href="http://linuxfromscratch.org/mail.html">mail instructions page</a> has been updated.</p>
  +		<p><em>Update:</em> the <a href="../mail.html">mail instructions page</a> has been updated.</p>
   
   --NEWS_ITEM_BOUNDARY
   Title: Logo contest
  
  
  
  1.2       +3 -12     www/test/manage_news.pl
  
  Index: manage_news.pl
  ===================================================================
  RCS file: /home/cvsroot/www/test/manage_news.pl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- manage_news.pl	1 Sep 2003 19:28:59 -0000	1.1
  +++ manage_news.pl	2 Sep 2003 06:16:02 -0000	1.2
  @@ -28,7 +28,7 @@
   use URI;
   use Pod::Usage;
   
  -my $my_version = "0.1";
  +my $my_version = "0.2";
   
   my $help = 0;
   my $man = 0;
  @@ -192,17 +192,8 @@
           "<a href=\"$archive_url#" . Get_header($part->head, "id") . "\">".
           Get_header($part->head, "title") . "</a></h3>\n" .
           "\t\t<h4>" . Get_header($part->head, "author") . " - " .
  -        Get_header($part->head, "date") . "</h4>\n";
  -
  -        # Use the HTML::Parser and URI modules to resolve relative links
  -        my $html_p = HTML::Parser->new(api_version => 3,
  -            start_h => [\&handle_StartTag, "tagname, attr"],
  -            end_h => [\&handle_EndTag, "tagname"],
  -            text_h => [\&handle_Text, "dtext" ],
  -        );
  -        $html_p->parse($part->bodyhandle->as_string);
  -        print $buffer . "\n\n";
  -        $buffer = "";
  +        Get_header($part->head, "date") . "</h4>\n" .
  +        $part->bodyhandle->as_string . "\n";
       }
       if (Get_header($entity->head, "section") =~ /^general$/i) {
           print <<EOF;
  
  
  



More information about the website mailing list