[gnomeweb-wml] cheese: add a script to autogenerate download page



commit 385eaca6adead9e55aec9c90fdef73b39334a210
Author: Filippo Argiolas <filippo argiolas gmail com>
Date:   Wed Jun 17 11:43:00 2009 +0200

    cheese: add a script to autogenerate download page
    
    Add a script to autogenerate download page and commit results from its
    first run. Seems to work pretty fine, next step is to autoupdate news too.

 projects.gnome.org/cheese/Makefile.am            |    6 +
 projects.gnome.org/cheese/archive.shtml          |   34 ++
 projects.gnome.org/cheese/archive_header.shtml   |   52 +++
 projects.gnome.org/cheese/download.shtml         |  509 +---------------------
 projects.gnome.org/cheese/footer.shtml           |    2 +-
 projects.gnome.org/cheese/stable.shtml           |   84 ++++
 projects.gnome.org/cheese/stable_archive.shtml   |   96 ++++
 projects.gnome.org/cheese/unstable.shtml         |   60 +++
 projects.gnome.org/cheese/unstable_archive.shtml |  288 ++++++++++++
 projects.gnome.org/cheese/update.pl              |  109 +++++
 10 files changed, 736 insertions(+), 504 deletions(-)
---
diff --git a/projects.gnome.org/cheese/Makefile.am b/projects.gnome.org/cheese/Makefile.am
index 50e4c62..b096692 100644
--- a/projects.gnome.org/cheese/Makefile.am
+++ b/projects.gnome.org/cheese/Makefile.am
@@ -8,6 +8,12 @@ mrproper:
 page_SCRIPTS= \
 	index.shtml \
 	download.shtml \
+	stable.shtml \
+	unstable.shtml \
+	archive_header.shtml \
+	archive.shtml \
+	archive_stable.shtml \
+	archive_unstable.shtml \
 	tour.shtml \
 	header.shtml \
 	footer.shtml \
diff --git a/projects.gnome.org/cheese/archive.shtml b/projects.gnome.org/cheese/archive.shtml
new file mode 100644
index 0000000..90186d8
--- /dev/null
+++ b/projects.gnome.org/cheese/archive.shtml
@@ -0,0 +1,34 @@
+<!--#set var="title" value="Cheese - Old releases"-->
+<!--#set var="section" value="archive"-->
+<!--#include virtual="archive_header.shtml"-->
+
+    <div id="body">
+
+      <div id="top">
+
+        <!-- <a href="screenshots"> <img src="data/images/cheese-big.png" alt="cheese!"/> </a> -->
+        <img src="data/images/cheese-big.png" alt="cheese!"/>
+
+      </div><!-- top -->
+
+      <div id="bottom">
+
+        <div id="left">
+            <h2>Old Stable releases</h2>
+
+	    <!--#include virtual="stable_archive.shtml"-->
+
+        </div>
+
+        <div id="right">
+
+          <h2>Old Development releases</h2>
+
+	    <!--#include virtual="unstable_archive.shtml"-->
+
+        </div>
+      </div><!-- bottom -->
+    </div><!-- body -->
+
+<!--#set var="last_change" value="$LAST_MODIFIED"-->
+<!--#include virtual="footer.shtml"-->
diff --git a/projects.gnome.org/cheese/archive_header.shtml b/projects.gnome.org/cheese/archive_header.shtml
new file mode 100644
index 0000000..e6728cd
--- /dev/null
+++ b/projects.gnome.org/cheese/archive_header.shtml
@@ -0,0 +1,52 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
+  "http://www.w3.org/TR/REC-html40/loose.dtd";>
+<html>
+  <head>
+    <title><!--#echo var="title"--></title>
+    <link rel="stylesheet" media="all" href="data/themes/cheese/document.all.css" title="Gnome"/>
+    <link rel="stylesheet" media="screen" href="data/themes/cheese/document.screen.css" title="Gnome"/>
+    <link rel="stylesheet" media="all" href="data/shadowbox/css/shadowbox.css"/>
+    <script type="text/javascript" src="data/shadowbox/js/yui-utilities.js"></script>
+    <script type="text/javascript" src="data/shadowbox/js/shadowbox-yui.js"></script>
+    <script type="text/javascript" src="data/shadowbox/js/shadowbox.js"></script>
+    <script type="text/javascript"><!--
+    window.onload = function(){
+      var options = {
+        handleUnsupported:  'remove',
+        loadingImage:       'data/shadowbox/images/loading.gif'
+      };
+      Shadowbox.init(options);
+    };
+    --></script>
+
+    <meta name="description" content="Cheese" />
+    <style type="text/css">
+	.download img {
+		display: none;
+        }
+	.download p {
+		margin: 0px;
+		font-size: smaller;
+	}
+    </style>
+  </head>
+  <body>
+
+    <div id="header">
+      <h1>Home</h1>
+    </div>
+    <div id="menu">
+      <h2>Menu</h2>
+      <ul>
+        <li><a href="http://www.gnome.org/projects";>Gnome Projects</a>
+          <ul>
+<!--#if expr='"$section" = "home"'--><li class="current"><!--#else--><li><!--#endif--><a href="index.shtml">Home</a> </li>
+<!--#if expr='"$section" = "tour"'--><li class="current"><!--#else--><li><!--#endif--><a href="tour.shtml">Tour</a> </li>
+<!--#if expr='"$section" = "download"'--><li class="current"><!--#else--><li><!--#endif--><a href="download.shtml">Download</a> </li>
+            <li><a href="http://live.gnome.org/Cheese/FAQ";>FAQ</a> </li>
+            <li><a href="http://live.gnome.org/Cheese";>Wiki</a> </li>
+            <li><a href="http://live.gnome.org/Cheese/Snapshots";>Snapshots</a> </li>
+          </ul>
+        </li>
+      </ul>
+    </div>
diff --git a/projects.gnome.org/cheese/download.shtml b/projects.gnome.org/cheese/download.shtml
index c78ae85..f046566 100644
--- a/projects.gnome.org/cheese/download.shtml
+++ b/projects.gnome.org/cheese/download.shtml
@@ -14,7 +14,6 @@
       <div id="bottom">
 
         <div id="left">
-
             <h2>Stable</h2>
 
             <p>
@@ -26,246 +25,10 @@
             need several development packages.
             </p>
 
+	    <!--#include virtual="stable.shtml"-->
             <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.26/cheese-2.26.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.26.2
-              </a>
-              <p>
-              was released on May 18th 2008<br />
-              md5sums: ab6bd52bac51235ec37182ee8969941a
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.26/cheese-2.26.0.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.26.0
-              </a>
-              <p>
-              was released on March 16th 2008<br />
-              md5sums: bb526e605e9ffcf29cc91aa2c2667058
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.24/cheese-2.24.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.24.2
-              </a>
-              <p>
-              was released on November 24th 2008<br />
-              md5sums: 2f4b3c1b0040128be8f28b4d135beaa3
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.24/cheese-2.24.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.24.1
-              </a>
-              <p>
-              was released on October 20th 2008<br />
-              md5sums: 6508bafea2c00a852c4292043c51c121
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.24/cheese-2.24.0.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.24.0
-              </a>
-              <p>
-              was released on September 22nd 2008<br />
-              md5sums: a33c0b6cb211f2ee75757caca77f935b
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.3.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.22.3
-              </a>
-              <p>
-              was released on June 29th 2008<br />
-              md5sums: c5f767bd9a55d2a515fd8960ec3523c0
-              </p>
+              <a href="archive.shtml">Older stable releases...</a>
             </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.22.2
-              </a>
-              <p>
-              was released on May 26th 2008<br />
-              md5sums: 56029b9030098530a540422ab9a4d811
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.22.1
-              </a>
-              <p>
-              was released on April 7th 2008<br />
-              md5sums: e1e290e5b6df7ac9e7f79ee824710d01
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.0.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.22.0
-              </a>
-              <p>
-              was released on March 10th 2008<br />
-              md5sums: 1ee38d72153065f84198244e2cd96a14
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.3/cheese-0.3.0.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.3.0
-              </a>
-              <p>
-              was released on December 24th 2007<br />
-              md5sums: 4fc566d8b68020618fe81d0e6ea0232b
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.4.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.2.4
-              </a>
-              <p>
-              was released on September 5th 2007<br />
-              md5sums: f3a14b9ef07167f5fb6b34ccd67de339
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.3.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.2.3
-              </a>
-              <p>
-              was released on August 30th 2007<br />
-              md5sums: 652f9e86447a1c797a179eb70b7a4ab0
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.2.2
-              </a>
-              <p>
-              was released on August 21st 2007<br />
-              md5sums: 1998f9ee1027a4bfe1500b43ac7121e6
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.2.1
-              </a>
-              <p>
-              was released on August 20th 2007<br />
-              md5sums: ff71eb6e7a1c56b8ac283fdde9bbc224
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.0.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.2.0
-              </a>
-              <p>
-              was released on August 15th 2007<br />
-              md5sums: ebb2461d8d9ddc813baaf7b1ef91fe20
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.4.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.1.4
-              </a>
-              <p>
-              was released on August 2nd 2007<br />
-              md5sums: 1545c51d52dbdc4b1c9c532071a3ca75
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.3.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.1.3
-              </a>
-              <p>
-              was released on July 2nd 2007<br />
-              md5sums: 7847b4d91cd183d84124600180d423a8
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.1.2
-              </a>
-              <p>
-              was released on July 1st 2007<br />
-              md5sums: 27de81a9f96249e8134692f8797846fd
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.1.1
-              </a>
-              <p>
-              was released on June 25th 2007<br />
-              md5sums: 3e2fd7efe0c46fdb1737355f3a5c0d83
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.0.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 0.1.0
-              </a>
-              <p>
-              released on June 12th 2007<br />
-              md5sums: eb9d7961e6a604e1987fc77cabaa8688
-              </p>
-            </div>
-
         </div>
 
         <div id="right">
@@ -289,270 +52,10 @@
 
           <h3>Already baked development packages</h3>
 
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.27/cheese-2.27.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.27.2
-              </a>
-              <p>
-              released on May 25th 2009<br />
-              md5sums: 17b443543ebd87c8e9c773c2455148c1
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.27/cheese-2.27.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.27.1
-              </a>
-              <p>
-              released on May 5th 2009<br />
-              md5sums: 4f9b714df1f8b3ccceb3ffa5ad58c841
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.92.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.25.92
-              </a>
-              <p>
-              released on March 2nd 2009<br />
-              md5sums: 014c5646b7b2c3389dd7d281384f941f
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.91.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.25.91
-              </a>
-              <p>
-              released on February 16th 2009<br />
-              md5sums: 69e302a0438c64122529cd349b7044c7
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.90.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.25.90
-              </a>
-              <p>
-              released on February 2nd 2009<br />
-              md5sums: 1137d80afcc4be99c047704a70b47b59
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.4.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.25.4
-              </a>
-              <p>
-              released on January 5th 2009<br />
-              md5sums: fb0ec94cc252c7a719a0cdd011a74cb8
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.3.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.25.3
-              </a>
-              <p>
-              released on December 16th 2008<br />
-              md5sums: 7491016ec7a1be192fac28e9685b85e5
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.25.2
-              </a>
-              <p>
-              released on December 1st 2008<br />
-              md5sums: fda4377306d24def4fb806b4b698c324
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.25.1
-              </a>
-              <p>
-              released on November 3rd 2008<br />
-              md5sums: 40fa1c69f3f719e15a294c0f7eb46f23
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.92.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.92
-              </a>
-              <p>
-              released on September 8th 2008<br />
-              md5sums: 5ff9b66e4b356b79a8a8b2a0a4dea38b
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.91.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.91
-              </a>
-              <p>
-              released on September 1st 2008<br />
-              md5sums: f3d220c93c58ced545a25178636750b9
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.90.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.90
-              </a>
-              <p>
-              released on August 18th 2008<br />
-              md5sums: f2ffc5d2d1c07da2d5a085ed8cf7fc86
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.6.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.6
-              </a>
-              <p>
-              released on August 5th 2008<br />
-              md5sums: 2bdbac73205513f36e91d8a589655d95
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.5.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.5
-              </a>
-              <p>
-              released on July 21st 2008<br />
-              md5sums: 49ade729a10d7341416cf54ba8c3a767
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.4.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.4
-              </a>
-              <p>
-              released on June 16th 2008<br />
-              md5sums: 05a8a6c090b07fedf8e262a9b815acbf
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.3.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.3
-              </a>
-              <p>
-              released on June 2nd 2008<br />
-              md5sums: 6a2cd4e46f9f5099672600d5fbd3c6da
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.2.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.2
-              </a>
-              <p>
-              released on May 12th 2008<br />
-              md5sums: b79329e8391b0e0b38a2f0eaeea40f30
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.23.1
-              </a>
-              <p>
-              released on April 21st 2008<br />
-              md5sums: c61797ad48b632221cff6815c8d62be3
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.92.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.21.92
-              </a>
-              <p>
-              released on February 26th 2008<br />
-              md5sums: a68c7cf2155f799bbc59aad51532f6f4
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.91.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.21.91
-              </a>
-              <p>
-              released on February 11th 2008<br />
-              md5sums: e76217a0c47aee853c6512339fdf4643
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.90.1.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.21.90.1
-              </a>
-              <p>
-              released on January 29th 2008<br />
-              md5sums: 8c191ffd1d81d1a556d8c86d050dd4fb
-              </p>
-            </div>
-
-            <div class="download">
-              <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.5.tar.gz";
-                title="Source code of the latest stable release">
-                <img src="data/images/package-x-generic.png" alt="source package" />
-                Cheese 2.21.5
-              </a>
-              <p>
-              released on January 14th 2008<br />
-              md5sums: c1e5c94879bccf01325b841a3e163055
-              </p>
-            </div>
-
+	  <!--#include virtual="unstable.shtml"-->
+          <div class="download">
+            <a href="archive.shtml">Older development releases...</a>
+          </div>
         </div>
       </div><!-- bottom -->
     </div><!-- body -->
diff --git a/projects.gnome.org/cheese/footer.shtml b/projects.gnome.org/cheese/footer.shtml
index d95c4df..30a35d2 100644
--- a/projects.gnome.org/cheese/footer.shtml
+++ b/projects.gnome.org/cheese/footer.shtml
@@ -1,5 +1,5 @@
     <div id="copyright">
-      <p>Copyright &copy; 2007-2009 <a href="http://home.cs.tum.edu/~siegel";>daniel g. siegel</a>
+      <p>Copyright &copy; 2007-2009 <a href="http://home.cs.tum.edu/~siegel";>daniel g. siegel</a>, 2009 <a href="http://live.gnome.org/FilippoArgiolas";>Filippo Argiolas</a>
       <br />
       GNOME and the foot logo are trademarks of the GNOME Foundation.
       <br />
diff --git a/projects.gnome.org/cheese/stable.shtml b/projects.gnome.org/cheese/stable.shtml
new file mode 100644
index 0000000..867b211
--- /dev/null
+++ b/projects.gnome.org/cheese/stable.shtml
@@ -0,0 +1,84 @@
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.26/cheese-2.26.2.tar.gz";
+     title="Download 2.26.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.26.2
+  </a>
+  <p>
+    released on May 19th 2009 <br />
+    md5sum: bd8ed8834fe92996a59919229aaa3038
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.26/cheese-2.26.0.tar.gz";
+     title="Download 2.26.0 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.26.0
+  </a>
+  <p>
+    released on March 16th 2009 <br />
+    md5sum: 17c991c695c3a7549da6e42d1b327d79
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.24/cheese-2.24.3.tar.gz";
+     title="Download 2.24.3 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.24.3
+  </a>
+  <p>
+    released on January 12th 2009 <br />
+    md5sum: 11ef1f92b77844b124276c92b464e23a
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.24/cheese-2.24.2.tar.gz";
+     title="Download 2.24.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.24.2
+  </a>
+  <p>
+    released on November 25th 2008 <br />
+    md5sum: 5631594e77d3dcab060a6869d764baea
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.24/cheese-2.24.1.tar.gz";
+     title="Download 2.24.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.24.1
+  </a>
+  <p>
+    released on October 20th 2008 <br />
+    md5sum: 0cc61eaec685ba2447339ae9d1ceb157
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.24/cheese-2.24.0.tar.gz";
+     title="Download 2.24.0 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.24.0
+  </a>
+  <p>
+    released on September 22nd 2008 <br />
+    md5sum: 12536184509158aeffadb3f4aa1fd3fc
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.3.tar.gz";
+     title="Download 2.22.3 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.22.3
+  </a>
+  <p>
+    released on June 29th 2008 <br />
+    md5sum: c3f888c1d9bf6087e2008993d4450248
+  </p>
+</div>
+
diff --git a/projects.gnome.org/cheese/stable_archive.shtml b/projects.gnome.org/cheese/stable_archive.shtml
new file mode 100644
index 0000000..6fb2f25
--- /dev/null
+++ b/projects.gnome.org/cheese/stable_archive.shtml
@@ -0,0 +1,96 @@
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.2.tar.gz";
+     title="Download 2.22.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.22.2
+  </a>
+  <p>
+    released on May 26th 2008 <br />
+    md5sum: cc7dae47d077164d2b760d50692a3ce1
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.1.tar.gz";
+     title="Download 2.22.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.22.1
+  </a>
+  <p>
+    released on April  8th 2008 <br />
+    md5sum: d38c16fe60a31fad9a64e8e8a473c678
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.22/cheese-2.22.0.tar.gz";
+     title="Download 2.22.0 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.22.0
+  </a>
+  <p>
+    released on March 10th 2008 <br />
+    md5sum: 94aa1c9837d011c94e4c44d922cd4ea7
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.4.tar.gz";
+     title="Download 0.2.4 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.2.4
+  </a>
+  <p>
+    released on September  5th 2007 <br />
+    md5sum: 4187b5962185a12c96fc423a1f9209b0
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.3.tar.gz";
+     title="Download 0.2.3 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.2.3
+  </a>
+  <p>
+    released on August 30th 2007 <br />
+    md5sum: 23c70533e77d30e8b35ae8552ca2ccb0
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.2.tar.gz";
+     title="Download 0.2.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.2.2
+  </a>
+  <p>
+    released on August 21st 2007 <br />
+    md5sum: f8aa07edcc22740cfd497fba6ecbf096
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.1.tar.gz";
+     title="Download 0.2.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.2.1
+  </a>
+  <p>
+    released on August 20th 2007 <br />
+    md5sum: 3b5402d179bd7b6368aae1976dfcb44e
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.2/cheese-0.2.0.tar.gz";
+     title="Download 0.2.0 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.2.0
+  </a>
+  <p>
+    released on August 15th 2007 <br />
+    md5sum: 65c897105758b1472c4ff38a041cc240
+  </p>
+</div>
+
diff --git a/projects.gnome.org/cheese/unstable.shtml b/projects.gnome.org/cheese/unstable.shtml
new file mode 100644
index 0000000..0b095d5
--- /dev/null
+++ b/projects.gnome.org/cheese/unstable.shtml
@@ -0,0 +1,60 @@
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.27/cheese-2.27.3.tar.gz";
+     title="Download 2.27.3 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.27.3
+  </a>
+  <p>
+    released on June 16th 2009 <br />
+    md5sum: 93fc5bcb03062ab1280774dc73cf1b09
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.27/cheese-2.27.2.tar.gz";
+     title="Download 2.27.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.27.2
+  </a>
+  <p>
+    released on May 26th 2009 <br />
+    md5sum: 93539fad282884bcc85111861c2f1224
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.27/cheese-2.27.1.tar.gz";
+     title="Download 2.27.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.27.1
+  </a>
+  <p>
+    released on May  5th 2009 <br />
+    md5sum: 9899984f3b3b7b1f55b3695e6beb4e9e
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.92.tar.gz";
+     title="Download 2.25.92 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.25.92
+  </a>
+  <p>
+    released on March  2nd 2009 <br />
+    md5sum: ce57dc5e4535466165517f3e82381bc4
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.91.tar.gz";
+     title="Download 2.25.91 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.25.91
+  </a>
+  <p>
+    released on February 16th 2009 <br />
+    md5sum: 00809808e02e879413a268c9e4939885
+  </p>
+</div>
+
diff --git a/projects.gnome.org/cheese/unstable_archive.shtml b/projects.gnome.org/cheese/unstable_archive.shtml
new file mode 100644
index 0000000..dccea54
--- /dev/null
+++ b/projects.gnome.org/cheese/unstable_archive.shtml
@@ -0,0 +1,288 @@
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.90.tar.gz";
+     title="Download 2.25.90 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.25.90
+  </a>
+  <p>
+    released on February  3rd 2009 <br />
+    md5sum: 4fc108d5e18f5aba61be6f1174799882
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.4.tar.gz";
+     title="Download 2.25.4 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.25.4
+  </a>
+  <p>
+    released on January  6th 2009 <br />
+    md5sum: d97ac3f4569dafaf043f61291843714a
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.3.tar.gz";
+     title="Download 2.25.3 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.25.3
+  </a>
+  <p>
+    released on December 15th 2008 <br />
+    md5sum: 588da04d919531a4bf071fb7a46cc0d6
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.2.tar.gz";
+     title="Download 2.25.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.25.2
+  </a>
+  <p>
+    released on December  1st 2008 <br />
+    md5sum: 1399ee965be8deae9518ba6e80c0542c
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.25/cheese-2.25.1.tar.gz";
+     title="Download 2.25.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.25.1
+  </a>
+  <p>
+    released on November  4th 2008 <br />
+    md5sum: 93957c44d66f1799f3a77515698a3c49
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.92.tar.gz";
+     title="Download 2.23.92 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.92
+  </a>
+  <p>
+    released on September  9th 2008 <br />
+    md5sum: abb3203570a150c74472ec5b8ec91ea7
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.91.tar.gz";
+     title="Download 2.23.91 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.91
+  </a>
+  <p>
+    released on September  1st 2008 <br />
+    md5sum: c74e71898444967251e8cb1ca411df30
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.90.tar.gz";
+     title="Download 2.23.90 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.90
+  </a>
+  <p>
+    released on August 18th 2008 <br />
+    md5sum: cd310e5d912c0909233af76664c942f4
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.6.tar.gz";
+     title="Download 2.23.6 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.6
+  </a>
+  <p>
+    released on August  5th 2008 <br />
+    md5sum: a75c0084de670e96fb4a67e13f8ea3b2
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.5.tar.gz";
+     title="Download 2.23.5 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.5
+  </a>
+  <p>
+    released on July 21st 2008 <br />
+    md5sum: d600b8d85ffc83d15df306deebc38601
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.4.tar.gz";
+     title="Download 2.23.4 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.4
+  </a>
+  <p>
+    released on June 16th 2008 <br />
+    md5sum: 78c472e2887cc56a2e79fa2a4099b524
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.3.tar.gz";
+     title="Download 2.23.3 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.3
+  </a>
+  <p>
+    released on June  2nd 2008 <br />
+    md5sum: 053e5b311c9b8ca9a6d66ae471c2f950
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.2.tar.gz";
+     title="Download 2.23.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.2
+  </a>
+  <p>
+    released on May 12th 2008 <br />
+    md5sum: 8282dc534fb7d8bdb8a155367829ba56
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.23/cheese-2.23.1.tar.gz";
+     title="Download 2.23.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.23.1
+  </a>
+  <p>
+    released on April 21st 2008 <br />
+    md5sum: 686c1a8b338b116f5fb3d88fff7ef1de
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.92.tar.gz";
+     title="Download 2.21.92 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.21.92
+  </a>
+  <p>
+    released on February 26th 2008 <br />
+    md5sum: c75947ef79bb2be12fa18d698889e7d1
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.91.tar.gz";
+     title="Download 2.21.91 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.21.91
+  </a>
+  <p>
+    released on February 11th 2008 <br />
+    md5sum: d137c7643329c8aab695cb688efbfc32
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.90.1.tar.gz";
+     title="Download 2.21.90.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.21.90.1
+  </a>
+  <p>
+    released on January 29th 2008 <br />
+    md5sum: 7726483e377c523020a1c1c1f6a33e61
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/2.21/cheese-2.21.5.tar.gz";
+     title="Download 2.21.5 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 2.21.5
+  </a>
+  <p>
+    released on January 14th 2008 <br />
+    md5sum: bbd993b0571596edf819a38514fd6bcc
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.3/cheese-0.3.0.tar.gz";
+     title="Download 0.3.0 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.3.0
+  </a>
+  <p>
+    released on December 24th 2007 <br />
+    md5sum: 63489464a86b1070dde86555f42e0273
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.4.tar.gz";
+     title="Download 0.1.4 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.1.4
+  </a>
+  <p>
+    released on August  2nd 2007 <br />
+    md5sum: ef02d52a3478651d9bc2363ea9448fde
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.3.tar.gz";
+     title="Download 0.1.3 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.1.3
+  </a>
+  <p>
+    released on July  2nd 2007 <br />
+    md5sum: 5c44b88a039d6e33c9d318d420344946
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.2.tar.gz";
+     title="Download 0.1.2 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.1.2
+  </a>
+  <p>
+    released on July  1st 2007 <br />
+    md5sum: 94b3c1fb088c1284e51e3e64f01bfec1
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.1.tar.gz";
+     title="Download 0.1.1 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.1.1
+  </a>
+  <p>
+    released on June 25th 2007 <br />
+    md5sum: 9f0c80ad1aa91346f9fce84cae243358
+  </p>
+</div>
+
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/http://ftp.gnome.org/pub/GNOME/sources/cheese/0.1/cheese-0.1.0.tar.gz";
+     title="Download 0.1.0 tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese 0.1.0
+  </a>
+  <p>
+    released on June 12th 2007 <br />
+    md5sum: 869059640e9ea9396da6cf2ac334c8ad
+  </p>
+</div>
+
diff --git a/projects.gnome.org/cheese/update.pl b/projects.gnome.org/cheese/update.pl
new file mode 100755
index 0000000..59cd9ff
--- /dev/null
+++ b/projects.gnome.org/cheese/update.pl
@@ -0,0 +1,109 @@
+#!/usr/bin/perl -w
+
+use Net::FTP;
+use Date::Format;
+
+my $max_stables = 7;
+my $max_unstables = 5;
+my $gnomeurl = "ftp.gnome.org";
+my $directory = "pub/GNOME/sources/cheese/";
+
+my $gnomeftp = Net::FTP->new($gnomeurl, Debug => 0)
+    or die "Cannot connect to some.host.name: $@";
+
+$gnomeftp->login("anonymous",'-anonymous@')
+    or die "Cannot login ", $ftp->message;
+
+$gnomeftp->cwd($directory)
+    or die "Cannot set working directory ", $ftp->message;
+
+my @maindir = $gnomeftp->ls()
+    or die "Cannot list directory ", $ftp->message;
+
+
+my %packages;
+
+print "-- Retrieving packages informations from ftp.gnome.org\n";
+
+for (@maindir) {
+    @dir = $gnomeftp->ls("$_");
+    for (@dir) {
+        m/^(.*)\.(.*)\/(.*)\.tar\.gz/g or next;
+        $filename = "$3.tar.gz";
+        $packages{$filename}{"news"} = "$3\.changes";
+        $packages{$filename}{"url"} =
+            "http://ftp.gnome.org/pub/GNOME/sources/cheese/$_";;
+        $packages{$filename}{"major"} = $1;
+        $packages{$filename}{"minor"} = $2;
+        print "++ $filename\n";
+        $sumfile = $gnomeftp->get("$1.$2/$3.md5sum");
+        open (SUM, "<$sumfile");
+        $sum = <SUM>;
+        $sum =~ s/^(\w+)\s.*$/$1/;
+        chomp ($sum);
+        close (SUM);
+        unlink $sumfile;
+        $packages{$filename}{"sum"} = $sum;
+        $mdtm = $gnomeftp->mdtm($_)
+            or die "Cannot retrieve mtime ", $ftp->message;
+        $packages{$filename}{"epoch"} = $mdtm;
+        $packages{$filename}{"mdtm"} = time2str ("%B %o %Y", $mdtm);
+        if ($filename =~ m/.*-(\d+\.\d+.\d+)(\.[\d\.]+)?\.tar\.gz/) {
+            $packages{$filename}{"release"} = "$1" . ($2 or "");
+        }
+    }
+}
+
+$gnomeftp->quit;
+
+# sort by mtime
+my @sorted_keys =
+    sort { $packages{$b}{"epoch"} <=> $packages{$a}{"epoch"} } keys %packages;
+
+open (STABLE, ">stable.shtml");
+open (UNSTABLE, ">unstable.shtml");
+open (STABLE_ARCHIVE, ">stable_archive.shtml");
+open (UNSTABLE_ARCHIVE, ">unstable_archive.shtml");
+
+$i = 0;
+$j = 0;
+
+for (@sorted_keys) {
+    print "==========================\n";
+    print "filename: $_\n";
+    print "news: " . $packages{$_}{"news"} . "\n";
+    print "release: " . $packages{$_}{"release"} . "\n";
+    print "md5sum: " . $packages{$_}{"sum"} . "\n";
+    print "epoch: " . $packages{$_}{"epoch"} . "\n";
+    print "release date: " . $packages{$_}{"mdtm"} . "\n";
+    if ($packages{$_}{"minor"} % 2) {
+        if ($i < $max_unstables) {
+            $i++;
+            $fh = UNSTABLE;
+        } else { $fh = UNSTABLE_ARCHIVE; }
+    } else {
+        if ($j < $max_stables) {
+            $j++;
+            $fh = STABLE;
+        } else { $fh = STABLE_ARCHIVE; }
+    }
+    print $fh <<EOF;
+<div class="download">
+  <a href="http://ftp.gnome.org/pub/GNOME/sources/cheese/$packages{$_}{"url"}";
+     title="Download $packages{$_}{"release"} tarball">
+    <img src="data/images/package-x-generic.png" alt="source package" />
+      Cheese $packages{$_}{"release"}
+  </a>
+  <p>
+    released on $packages{$_}{"mdtm"} <br />
+    md5sum: $packages{$_}{"sum"}
+  </p>
+</div>
+
+EOF
+}
+
+close (STABLE);
+close (UNSTABLE);
+close (STABLE_ARCHIVE);
+close (UNSTABLE_ARCHIVE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]