[FFmpeg-cvslog] [ffmpeg.org]: r264 - in trunk: Makefile src/about src/about_title src/bugreports src/bugreports_title src/documentation src/documentation_title src/download src/download_title src/index src/index_t...
superdump
subversion
Mon Feb 16 23:59:45 CET 2009
Author: superdump
Date: Mon Feb 16 23:59:43 2009
New Revision: 264
Log:
Add a page template for content that is identical on every page. Add files
containing the title of each page. Remove the template code from the page files
such that only the body remains. Alter the Makefile to use the template files
and the new page files to generate the pages.
Added:
trunk/src/about_title
trunk/src/bugreports_title
trunk/src/documentation_title
trunk/src/download_title
trunk/src/index_title
trunk/src/legal_title
trunk/src/mailinglists_title
trunk/src/projects_title
trunk/src/shame_title
trunk/src/template_footer
trunk/src/template_head1
trunk/src/template_head2
Modified:
trunk/Makefile
trunk/src/about
trunk/src/bugreports
trunk/src/documentation
trunk/src/download
trunk/src/index
trunk/src/legal
trunk/src/mailinglists
trunk/src/projects
trunk/src/shame
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/Makefile Mon Feb 16 23:59:43 2009 (r264)
@@ -5,13 +5,17 @@
TARGETS=$(addsuffix .html,$(addprefix htdocs/,$(SRCS)))
+PAGE_DEPS=src/template_head1 src/template_head2 src/template_footer sed_commands
+
all: $(TARGETS)
clean:
rm -f $(TARGETS)
-htdocs/%.html: src/% Makefile sed_commands
- sed -f sed_commands $< > $@
+htdocs/%.html: src/% src/%_title $(PAGE_DEPS)
+ sed -f sed_commands $< | \
+ cat src/template_head1 $<_title src/template_head2 - \
+ src/template_footer > $@
.PHONY: all clean
Modified: trunk/src/about
==============================================================================
--- trunk/src/about Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/about Mon Feb 16 23:59:43 2009 (r264)
@@ -1,15 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>About FFmpeg</title>
- <link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
FFMPEG_ABOUT_NAVBAR
<h1>About FFmpeg</h1>
@@ -34,6 +22,3 @@
muxers for multimedia container formats.</li>
</ul>
-
-</body>
-</html>
Added: trunk/src/about_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/about_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>About FFmpeg</title>
Modified: trunk/src/bugreports
==============================================================================
--- trunk/src/bugreports Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/bugreports Mon Feb 16 23:59:43 2009 (r264)
@@ -1,18 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-
-<head profile="http://www.w3.org/2005/10/profile">
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>FFmpeg: Submitting a Bug Report</title>
-<link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
-
<h1>Reporting a Bug To The FFmpeg Project</h1>
<p>
@@ -127,6 +112,3 @@
<b>Furthermore movie files uploaded to services like megaupload, rapidshare or
any other similar service will be ignored. We are not willing to spend our
time fighting with this ridiculous, bloated and spam-filled crap.</b>
-
-</body>
-</html>
Added: trunk/src/bugreports_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/bugreports_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>Submitting a Bug Report</title>
Modified: trunk/src/documentation
==============================================================================
--- trunk/src/documentation Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/documentation Mon Feb 16 23:59:43 2009 (r264)
@@ -1,16 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>FFmpeg Documentation</title>
- <link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
-
<h1>FFmpeg Documentation</h1>
<h2>Reporting Bugs</h2>
@@ -55,6 +42,3 @@
<li><a href="http://wiki.multimedia.cx/index.php?title=FFmpeg_demuxer_howto">FFmpeg demuxer howto</a>, describes how to add a (de)muxer to libavformat.
<li><a href="http://wiki.multimedia.cx/index.php?title=FFmpeg_filter_howto">FFmpeg filter howto</a>, describes how to add a filter to libavilter.
</ul>
-
-</body>
-</html>
Added: trunk/src/documentation_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/documentation_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>Documentation</title>
Modified: trunk/src/download
==============================================================================
--- trunk/src/download Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/download Mon Feb 16 23:59:43 2009 (r264)
@@ -1,16 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>FFmpeg Download and SVN</title>
- <link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
-
<h1>FFmpeg Download and SVN</h1>
<h2>Getting FFmpeg</h2>
@@ -63,6 +50,3 @@
<h2>Formal Releases</h2>
If you are looking for a formal release, stop now, there are none.
Maybe we will have some in the future, but don't hold your breath.
-
-</body>
-</html>
Added: trunk/src/download_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/download_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>Get FFmpeg</title>
Modified: trunk/src/index
==============================================================================
--- trunk/src/index Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/index Mon Feb 16 23:59:43 2009 (r264)
@@ -1,19 +1,3 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>FFmpeg</title>
- <link rel="icon" href="favicon.png" type="image/png" />
- <link rel="stylesheet" type="text/css" href="default.css" />
-</head>
-
-<body>
-
-
-FFMPEG_WEBSITE_NAVBAR
-
-
<h1>Project Description</h1>
<p>
@@ -185,6 +169,3 @@
development. A few select highlights are decoders for VC-1/WMV3/WMV9, VMware,
VP5, VP6 video and WavPack, IMC, DCA audio and a WMA encoder.
</p>
-
-</body>
-</html>
Added: trunk/src/index_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/index_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>FFmpeg</title>
Modified: trunk/src/legal
==============================================================================
--- trunk/src/legal Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/legal Mon Feb 16 23:59:43 2009 (r264)
@@ -1,15 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>FFmpeg License and Legal Considerations</title>
- <link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
FFMPEG_ABOUT_NAVBAR
<h1>FFmpeg License and Legal Considerations</h1>
@@ -145,6 +133,3 @@
Of course none of this is related to you using FFmpeg or another codec
implementation. If you want to be safe the only option is not to touch
any software at all.
-
-</body>
-</html>
Added: trunk/src/legal_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/legal_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>FFmpeg License and Legal Considerations</title>
Modified: trunk/src/mailinglists
==============================================================================
--- trunk/src/mailinglists Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/mailinglists Mon Feb 16 23:59:43 2009 (r264)
@@ -1,16 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>FFmpeg Mailing Lists</title>
- <link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
-
<h1>FFmpeg Mailing Lists</h1>
<p>
@@ -133,6 +120,3 @@
means development of FFmpeg itself. Development of other software that uses
the FFmpeg libraries is offtopic there.
</p>
-
-</body>
-</html>
Added: trunk/src/mailinglists_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/mailinglists_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>Mailing Lists</title>
Modified: trunk/src/projects
==============================================================================
--- trunk/src/projects Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/projects Mon Feb 16 23:59:43 2009 (r264)
@@ -1,15 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>FFmpeg-based Projects</title>
- <link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
FFMPEG_ABOUT_NAVBAR
<h1>FFmpeg-Based Projects</h1>
@@ -175,6 +163,3 @@
</td>
</tr>
</table>
-
-</body>
-</html>
Added: trunk/src/projects_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/projects_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>FFmpeg-based Projects</title>
Modified: trunk/src/shame
==============================================================================
--- trunk/src/shame Mon Feb 16 03:02:06 2009 (r263)
+++ trunk/src/shame Mon Feb 16 23:59:43 2009 (r264)
@@ -1,15 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
-<head profile="http://www.w3.org/2005/10/profile">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Hall of Shame</title>
- <link rel="icon" href="favicon.png" type="image/png">
-</head>
-
-<body bgcolor="#FFFFFF">
-
-FFMPEG_WEBSITE_NAVBAR
FFMPEG_ABOUT_NAVBAR
<h1>Hall of Shame</h1>
@@ -94,6 +82,3 @@
<li><a href="http://shedworx.com/">VoltaicHD</a>,
<a href="http://roundup.ffmpeg.org/roundup/ffmpeg/issue660">issue tracker entry</a></li>
</ul>
-
-</body>
-</html>
Added: trunk/src/shame_title
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/shame_title Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1 @@
+ <title>Hall of Shame</title>
Added: trunk/src/template_footer
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/template_footer Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1,4 @@
+
+
+</body>
+</html>
Added: trunk/src/template_head1
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/template_head1 Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1,5 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Added: trunk/src/template_head2
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/src/template_head2 Mon Feb 16 23:59:43 2009 (r264)
@@ -0,0 +1,23 @@
+ <link rel="icon" href="favicon.png" type="image/png" />
+ <link rel="stylesheet" type="text/css" href="default.css" />
+</head>
+
+<body>
+
+<div class="center">
+<img src="ffmpeg-logo.png" width="568" height="140" alt="FFmpeg" />
+
+<hr />
+
+<a href="index.html">Home/News</a> |
+<a href="about.html">About</a> |
+<a href="download.html">Get FFmpeg</a> |
+<a href="changelog.html">Changelog</a> |
+<a href="documentation.html">Documentation</a> |
+<a href="bugreports.html">Reporting Bugs</a> |
+<a href="mailinglists.html">Mailing Lists</a>
+</div>
+
+<hr />
+
+
More information about the ffmpeg-cvslog
mailing list