[gnomeweb-wml] cheese: move to server side includes
- From: Filippo Argiolas <fargiolas src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnomeweb-wml] cheese: move to server side includes
- Date: Wed, 17 Jun 2009 06:07:02 -0400 (EDT)
commit b61e46fb2b08c979773b0b6e0527a2495bb5e924
Author: Filippo Argiolas <filippo argiolas gmail com>
Date: Tue Jun 16 20:53:15 2009 +0200
cheese: move to server side includes
Reorganize the website with server side includes to avoid redundancy and
make it easier to maintain.
projects.gnome.org/cheese/Makefile.am | 8 +-
.../cheese/{download.html => download.shtml} | 53 +----
projects.gnome.org/cheese/footer.shtml | 16 ++
projects.gnome.org/cheese/header.shtml | 43 ++++
projects.gnome.org/cheese/index.html | 230 --------------------
projects.gnome.org/cheese/index.shtml | 122 +++++++++++
projects.gnome.org/cheese/news.shtml | 67 ++++++
.../cheese/{screenshots.html => screenshots.shtml} | 55 +-----
.../cheese/{tour.html => tour.shtml} | 74 +------
9 files changed, 271 insertions(+), 397 deletions(-)
---
diff --git a/projects.gnome.org/cheese/Makefile.am b/projects.gnome.org/cheese/Makefile.am
index dfc73a1..50e4c62 100644
--- a/projects.gnome.org/cheese/Makefile.am
+++ b/projects.gnome.org/cheese/Makefile.am
@@ -6,9 +6,11 @@ mrproper:
rm -rf *;
page_SCRIPTS= \
- index.html \
- download.html \
- tour.html \
+ index.shtml \
+ download.shtml \
+ tour.shtml \
+ header.shtml \
+ footer.shtml \
detect.py \
$(NULL)
diff --git a/projects.gnome.org/cheese/download.html b/projects.gnome.org/cheese/download.shtml
similarity index 92%
rename from projects.gnome.org/cheese/download.html
rename to projects.gnome.org/cheese/download.shtml
index ea9ce3d..c78ae85 100644
--- a/projects.gnome.org/cheese/download.html
+++ b/projects.gnome.org/cheese/download.shtml
@@ -1,33 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>Cheese - Downloads</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"/>
-
- <meta name="description" content="Cheese" />
- </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>
- <li><a href="index">Home</a> </li>
- <li><a href="tour">Tour</a> </li>
- <li class="current"><a href="download">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>
+<!--#set var="title" value="Cheese - Downloads"-->
+<!--#set var="section" value="download"-->
+<!--#include virtual="header.shtml"-->
<div id="body">
@@ -584,21 +557,5 @@
</div><!-- bottom -->
</div><!-- body -->
- <div id="copyright">
- <p>Copyright © 2007-2009 <a href="http://home.cs.tum.edu/~siegel">daniel g. siegel</a>
- <br />
- GNOME and the foot logo are trademarks of the GNOME Foundation.
- <br />
- <a href="http://tango.freedesktop.org/The_People">Great guys!</a> <a href="http://tango.freedesktop.org/">Great Icons!</a> Free beer for the
- <a href="http://tango.freedesktop.org/">Tango Desktop Project!</a>
- <br />
- <a href="http://validator.w3.org/check/referer">Optimized</a> for <a href="http://www.w3.org/">standards</a>.
- <br />
- <script type="text/javascript">
- document.write("Last Updated: " + document.lastModified );
- </script>
- </p>
- </div>
-
- </body>
-</html>
+<!--#set var="last_change" value="$LAST_MODIFIED"-->
+<!--#include virtual="footer.shtml"-->
diff --git a/projects.gnome.org/cheese/footer.shtml b/projects.gnome.org/cheese/footer.shtml
new file mode 100644
index 0000000..d95c4df
--- /dev/null
+++ b/projects.gnome.org/cheese/footer.shtml
@@ -0,0 +1,16 @@
+ <div id="copyright">
+ <p>Copyright © 2007-2009 <a href="http://home.cs.tum.edu/~siegel">daniel g. siegel</a>
+ <br />
+ GNOME and the foot logo are trademarks of the GNOME Foundation.
+ <br />
+ <a href="http://tango.freedesktop.org/The_People">Great guys!</a> <a href="http://tango.freedesktop.org/">Great Icons!</a> Free beer for the
+ <a href="http://tango.freedesktop.org/">Tango Desktop Project!</a>
+ <br />
+ <a href="http://validator.w3.org/check/referer">Optimized</a> for <a href="http://www.w3.org/">standards</a>.
+ <br />
+ Last Updated: <!--#echo var="last_change"-->
+ </p>
+ </div>
+
+ </body>
+</html>
diff --git a/projects.gnome.org/cheese/header.shtml b/projects.gnome.org/cheese/header.shtml
new file mode 100644
index 0000000..acb73f5
--- /dev/null
+++ b/projects.gnome.org/cheese/header.shtml
@@ -0,0 +1,43 @@
+<!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" />
+ </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/index.shtml b/projects.gnome.org/cheese/index.shtml
new file mode 100644
index 0000000..be834ab
--- /dev/null
+++ b/projects.gnome.org/cheese/index.shtml
@@ -0,0 +1,122 @@
+<!--#set var="title" value="Cheese"-->
+<!--#set var="section" value="home"-->
+<!--#include virtual="header.shtml"-->
+
+ <div id="body">
+
+ <div id="top">
+ <!-- <a href="screenshots"> <img src="data/images/cheese-big.png" alt="cheese!"/> </a> -->
+ <a href="tour.shtml"><img src="data/images/cheese-big.png" alt="cheese!"/></a>
+ <!-- <a href="tour.shtml"> <img src="data/images/cheese-tour.png" alt="cheese tour"/> </a> -->
+ <!-- <a href="http://home.cs.tum.edu/~siegel/news/2008_06_12-awesomeness"> <img src="data/images/cheese-birthday.png" alt="cheese birthday"/> </a> -->
+ <!-- <a href="tour.shtml"> <img src="data/images/cheese-2.24.png" alt="cheese tour"/> </a> -->
+ </div><!-- top -->
+
+ <!--
+ <div id="warningbox">
+ <p>
+ Dear Cheese user!<br/>
+ We are constantly trying to support more and more webcams. Therefore we
+ need YOUR help! Yeah, exactly, we mean YOU! Got 5 minutes spare time?
+ Please <a href="detect.py">download this small python script</a>, start
+ HAL, attach your webcam and run it. The output, which is a
+ <a href="http://people.freedesktop.org/~david/hal-spec/hal-spec.html#spec-device-info">HAL-fdi</a>
+ file, should be send to
+ <a href="mailto:patrys pld-linux org?subject=detect py output for Cheese">Patryk Zawadzki</a>,
+ who then will enhance the webcam-handling in Cheese by using HAL.<br/>
+ Thanks a lot!
+
+ </p>
+ </div>
+ -->
+
+ <div id="bottom">
+ <div id="bottomLeft">
+
+ <h2>What is Cheese?</h2>
+
+ <p>
+ Cheese uses your webcam to take photos and videos, applies fancy
+ special effects and lets you share the fun with others.
+ It was written as part of Google's 2007 Summer of Code lead by
+ <a href="http://home.cs.tum.edu/~siegel">daniel g. siegel</a> and
+ mentored by <a href="http://raphael.slinckx.net">Raphaël
+ Slinckx</a>.
+ Under the hood, Cheese uses GStreamer to apply fancy
+ effects to photos and videos. With Cheese it is easy to take photos
+ of you, your friends, pets or whatever you want and share them with
+ others. After a success of the Summer
+ of Code, the development continued and we still are looking for
+ people with nice ideas and patches ;)
+ </p>
+
+ <h2>What are the Requirements?</h2>
+ <div class="iconr">
+ <img src="data/images/application-x-executable.png" alt="icon" />
+ </div>
+ <ul>
+ <li>GNOME 2.26</li>
+ <li>GStreamer 0.10</li>
+ <li><a href="http://burtonini.com/blog/computers/postr">postr</a> for Flickr export (optional)</li>
+ <li><a href="http://f-spot.org">f-spot</a> for F-Spot export (optional)</li>
+ <li><a href="https://launchpad.net/nautilus-sendto">nautilus-sendto</a> for improved export (optional)</li>
+ <li>a webcam</li>
+ <li>a brain</li>
+ </ul>
+ <p>
+ For a more detailed list of requirements, have a look at the
+ <a href="http://svn.gnome.org/svn/cheese/tags/2.26.0/README">README file</a>
+ </p>
+
+ <h2>Bugs</h2>
+ <div class="iconl">
+ <img src="data/images/applications-development.png" alt="icon" />
+ </div>
+ <p>
+ Well, if you want to keep them, they are yours, we donate them to
+ you! But if you want to bug some people and kick some ass, you should
+ report them to the <a href="http://bugzilla.gnome.org/">GNOME Bug Tracking System.</a>
+ by <a href="http://bugzilla.gnome.org/simple-bug-guide.cgi?product=cheese">filing your bug here</a>.
+ <br/>
+ Also, please try to test your bug against the Git version of Cheese first. Your problem may already be fixed!
+ </p>
+
+ <h2>Mailing list</h2>
+ <div class="iconr">
+ <img src="data/images/internet-group-chat.png" alt="icon" />
+ </div>
+ <p>
+ Do you want a little discussion about Cheese? Do you want to start
+ flames, because there is no effect which makes you look like Arnold
+ Schwarzenegger? Do you want to complain, because there is no
+ filter, which simulates an ice-cream? Join our
+ <a href="http://mail.gnome.org/mailman/listinfo/cheese-list">mailing list</a>
+ (You have to join the list to send mails to it)
+ </p>
+
+ <h2>Press and User Reactions</h2>
+ <div style="width: 49%; float: left;">
+ <ul>
+ <li><a target="_blank" href="http://arstechnica.com/journals/linux.ars/2007/08/21/cheese-brings-photoboth-functionality-to-linux">ArsTechnica Review</a></li>
+ <li><a target="_blank" href="http://www.gnomejournal.org/article/60/an-interview-with-daniel-g-siegel">GnomeJournal Interview with daniel g. siegel</a></li>
+ <li><a target="_blank" href="http://ubuntuforums.org/showthread.php?t=486722">Cheese HowTo in the Ubuntu Forums</a></li>
+ </ul>
+ </div>
+ <div style="width: 49%; float: left;">
+ <ul>
+ <li><a target="_blank" href="http://www.phoronix.com/scan.php?page=article&item=980&num=2">Phoronix Article about Improvements in GNOME 2.22</a></li>
+ <li><a target="_blank" href="http://tombuntu.com/index.php/2007/09/19/cheesy-photo-booth-like-app-for-gnome/">Tombuntu Article about Cheese</a></li>
+ <li><a target="_blank" href="http://lwn.net/Articles/316870/">LWN Article about Cheese</a></li>
+ </ul>
+ </div>
+
+ </div>
+
+ <div id="bottomRight">
+ <!--#include virtual="news.shtml"-->
+ </div>
+ </div><!-- bottom -->
+ </div><!-- body -->
+
+<!--#set var="last_change" value="$LAST_MODIFIED"-->
+<!--#include virtual="footer.shtml"-->
diff --git a/projects.gnome.org/cheese/news.shtml b/projects.gnome.org/cheese/news.shtml
new file mode 100644
index 0000000..022c008
--- /dev/null
+++ b/projects.gnome.org/cheese/news.shtml
@@ -0,0 +1,67 @@
+ <h2>News</h2>
+
+ <h3>May 25th 2009</h3>
+ <p>
+ <b>Unstable</b>
+ version 2.27.2 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-May/msg00073.html">Release Notes</a>.
+
+ <h3>May 18th 2009</h3>
+ <p>
+ <b>Stable</b>
+ version 2.26.2 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-May/msg00048.html">Release Notes</a>.
+
+ <h3>May 5th 2009</h3>
+ <p>
+ <b>Unstable</b>
+ version 2.27.1 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-May/msg00020.html">Release Notes</a>.
+
+ <h3>March 16th 2009</h3>
+ <p>
+ <b>Stable</b>
+ version 2.26.0 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-March/msg00072.html">Release Notes</a>.
+
+ <h3>March 2nd 2009</h3>
+ <p>
+ <b>Unstable</b>
+ version 2.25.92 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-March/msg00013.html">Release Notes</a>.
+
+ <h3>February 16th 2009</h3>
+ <p>
+ <b>Unstable</b>
+ version 2.25.91 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-February/msg00058.html">Release Notes</a>.
+
+ <h3>February 2nd 2009</h3>
+ <p>
+ <b>Unstable</b>
+ version 2.25.90 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-February/msg00020.html">Release Notes</a>.
+
+ <h3>January 5th 2009</h3>
+ <p>
+ <b>Unstable</b>
+ version 2.25.4 was released!<br/>
+ </p>
+ <a href="download.shtml">Download it</a>
+ <a href="http://mail.gnome.org/archives/gnome-announce-list/2008-January/msg00016.html">Release Notes</a>.
+
+
diff --git a/projects.gnome.org/cheese/screenshots.html b/projects.gnome.org/cheese/screenshots.shtml
similarity index 67%
rename from projects.gnome.org/cheese/screenshots.html
rename to projects.gnome.org/cheese/screenshots.shtml
index b5bab42..de7e9a3 100644
--- a/projects.gnome.org/cheese/screenshots.html
+++ b/projects.gnome.org/cheese/screenshots.shtml
@@ -1,35 +1,6 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Cheese - Screenshots</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"/>
-
- </head>
- <body>
-
- <div id="header">
- <h1>Home</h1>
- </div>
- <div id="menu">
- <h2>Menu</h2>
- <ul>
- <li class="current"><a
- href="index.html">Home</a>
- <ul>
- <li><a href="screenshots.html">Screenshots</a> </li>
- <li><a href="tour.html">Tour</a> </li>
- <li><a href="download.html">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>
+<!--#set var="title" value="Cheese - Screenshots"-->
+<!--#set var="section" value="screenshots"-->
+<!--#include virtual="header.shtml"-->
<div id="body">
@@ -132,21 +103,5 @@
</div>
</div>
- <div id="copyright">
- <p>Copyright © 2007,2008 <a href="http://home.cs.tum.edu/~siegel">daniel g. siegel</a>
- <br />
- GNOME and the foot logo are trademarks of the GNOME Foundation.
- <br />
- <a href="http://tango.freedesktop.org/The_People">Great guys!</a> <a href="http://tango.freedesktop.org/">Great Icons!</a> Free beer for the
- <a href="http://tango.freedesktop.org/">Tango Desktop Project!</a>
- <br />
- <a href="http://validator.w3.org/check/referer">Optimized</a> for <a href="http://www.w3.org/">standards</a>.
- <br />
- <script type="text/javascript">
- document.write("Last Updated: " + document.lastModified );
- </script>
- </p>
- </div>
-
- </body>
-</html>
+<!--#set var="last_change" value="$LAST_MODIFIED"-->
+<!--#include virtual="footer.shtml"-->
diff --git a/projects.gnome.org/cheese/tour.html b/projects.gnome.org/cheese/tour.shtml
similarity index 70%
rename from projects.gnome.org/cheese/tour.html
rename to projects.gnome.org/cheese/tour.shtml
index 2f02a14..b153a65 100644
--- a/projects.gnome.org/cheese/tour.html
+++ b/projects.gnome.org/cheese/tour.shtml
@@ -1,56 +1,14 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>Cheese - Tour</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"/>
-
- <meta name="description" content="Cheese" />
-
-
- <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>
- </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>
- <li><a href="index">Home</a> </li>
- <li class="current"><a href="tour">Tour</a> </li>
- <li><a href="download">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>
+<!--#set var="title" value="Cheese"-->
+<!--#set var="section" value="tour"-->
+<!--#include virtual="header.shtml"-->
<div id="body">
<div id="top">
<!-- <a href="screenshots"> <img src="data/images/cheese-big.png" alt="cheese!"/></a> -->
- <!-- <a href="tour"> <img src="data/images/cheese-tour.png" alt="cheese tour"/></a> -->
- <!-- <a href="tour"> <img src="data/images/cheese-2.24.png" alt="cheese tour"/></a> -->
- <a href="tour"><img src="data/images/cheese-big.png" alt="cheese!"/></a>
+ <!-- <a href="tour.shtml"> <img src="data/images/cheese-tour.png" alt="cheese tour"/></a> -->
+ <!-- <a href="tour.shtml"> <img src="data/images/cheese-2.24.png" alt="cheese tour"/></a> -->
+ <a href="tour.shtml"><img src="data/images/cheese-big.png" alt="cheese!"/></a>
</div><!-- top -->
<div id="bottom">
@@ -208,21 +166,5 @@
</div><!-- bottom -->
</div><!-- body -->
- <div id="copyright">
- <p>Copyright © 2007-2009 <a href="http://home.cs.tum.edu/~siegel">daniel g. siegel</a>
- <br />
- GNOME and the foot logo are trademarks of the GNOME Foundation.
- <br />
- <a href="http://tango.freedesktop.org/The_People">Great guys!</a> <a href="http://tango.freedesktop.org/">Great Icons!</a> Free beer for the
- <a href="http://tango.freedesktop.org/">Tango Desktop Project!</a>
- <br />
- <a href="http://validator.w3.org/check/referer">Optimized</a> for <a href="http://www.w3.org/">standards</a>.
- <br />
- <script type="text/javascript">
- document.write("Last Updated: " + document.lastModified );
- </script>
- </p>
- </div>
-
- </body>
-</html>
+<!--#set var="last_change" value="$LAST_MODIFIED"-->
+<!--#include virtual="footer.shtml"-->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]