Patch to fix 2.12 press release HTML
- From: Peter Williams <peter newton cx>
- To: gnome-web-list gnome org
- Subject: Patch to fix 2.12 press release HTML
- Date: Wed, 07 Dec 2005 19:28:23 -0500
Hey,
I sent this earlier but I think it flew in under the radar. I believe
the attached patch should make the 2.12 press release on the website
appear again. The DocBook is just plain invalid right now and the
stylesheet code needs a bit of fixing. OK to commit?
Peter
--
Peter Williams / peter newton cx
? www.gnome.org/start/2.12/press_release/TEST
? www.gnome.org/start/2.12/press_release/docbook/bg/bg
? www.gnome.org/start/2.12/press_release/docbook/ca/ca
? www.gnome.org/start/2.12/press_release/docbook/cy/cy
? www.gnome.org/start/2.12/press_release/docbook/de/de
? www.gnome.org/start/2.12/press_release/docbook/el/el
? www.gnome.org/start/2.12/press_release/docbook/es/es
? www.gnome.org/start/2.12/press_release/docbook/fr/fr
? www.gnome.org/start/2.12/press_release/docbook/id/id
? www.gnome.org/start/2.12/press_release/docbook/it/it
? www.gnome.org/start/2.12/press_release/docbook/mk/mk
? www.gnome.org/start/2.12/press_release/docbook/nl/nl
? www.gnome.org/start/2.12/press_release/docbook/pa/pa
? www.gnome.org/start/2.12/press_release/docbook/pt_BR/pt_BR
? www.gnome.org/start/2.12/press_release/docbook/ru/ru
? www.gnome.org/start/2.12/press_release/docbook/th/th
? www.gnome.org/start/2.12/press_release/docbook/uk/uk
? www.gnome.org/start/2.12/press_release/docbook/vi/vi
Index: www.gnome.org/start/2.12/press_release/Makefile.am
===================================================================
RCS file: /cvs/gnome/gnomeweb-wml/www.gnome.org/start/2.12/press_release/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- www.gnome.org/start/2.12/press_release/Makefile.am 30 Sep 2005 04:58:59 -0000 1.2
+++ www.gnome.org/start/2.12/press_release/Makefile.am 6 Dec 2005 20:19:26 -0000
@@ -25,16 +25,16 @@
#And this would be easier if I could define some variables inside the @for loop.
#Murray Cumming
html:
- @for docbookdir in $(DOC_LINGUAS_PLUS_ORIGINAL); do \
+ for docbookdir in $(DOC_LINGUAS_PLUS_ORIGINAL); do \
echo "Generating html for language: " $$docbookdir; \
rm -rf $$docbookdir; \
mkdir $$docbookdir; \
echo "Running xlstproc on: " docbook/$$docbookdir/$(ROOTDOC); \
- xsltproc --xinclude -o $$docbookdir/index.html \
+ xsltproc --xinclude -o $$docbookdir/unused.html.ignore \
--param yelp_max_chunk_depth 1 \
- --stringparam admon.graphics.path ./images/ \
+ --stringparam admon.graphics.path ./images/ \
--stringparam http_root http://www.gnome.org \
- --stringparam http_prefix /start/2.12/notes \
+ --stringparam http_prefix /start/2.12/press_release \
$(STYLE_PATH)db2html.xsl docbook/$$docbookdir/$(ROOTDOC); \
echo " xlstproc finished"; \
for i in $$docbookdir/*.html; do \
Index: www.gnome.org/start/2.12/press_release/docbook/C/press_release.xml
===================================================================
RCS file: /cvs/gnome/gnomeweb-wml/www.gnome.org/start/2.12/press_release/docbook/C/press_release.xml,v
retrieving revision 1.15
diff -u -r1.15 press_release.xml
--- www.gnome.org/start/2.12/press_release/docbook/C/press_release.xml 1 Sep 2005 06:36:23 -0000 1.15
+++ www.gnome.org/start/2.12/press_release/docbook/C/press_release.xml 6 Dec 2005 20:19:26 -0000
@@ -11,15 +11,19 @@
<!-- the "xinclude" and "postvalid" command line options to xmllint -->
<!-- and the "xinclude" option to xsltproc -->
-<article id="index" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
+<article id="toplevel" lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
<articleinfo>
<title>GNOME &version; Press Release</title>
<abstract>
-
<title>GNOME &version; DESKTOP AND DEVELOPER PLATFORM RELEASED</title>
+ <para>New version of the popular free-software desktop environment offers convenience and capability.</para>
+ </abstract>
+ </articleinfo>
+
+<sect1 id="index">
-<sect1>
+<title>GNOME &version; DESKTOP AND DEVELOPER PLATFORM RELEASED</title>
<para><emphasis>New version of the popular free-software desktop environment offers convenience and capability.</emphasis></para>
@@ -71,8 +75,5 @@
</sect2>
</sect1>
-
- </abstract>
- </articleinfo>
</article>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]