svn commit: r39222 - in projects/sgml2xml/en_US.ISO8859-1/htdocs: community platforms/ia64 projects projects/ideas

Gabor Kovesdan gabor at FreeBSD.org
Mon Jul 16 09:33:22 UTC 2012


Author: gabor
Date: Mon Jul 16 09:33:21 2012
New Revision: 39222
URL: http://svn.freebsd.org/changeset/doc/39222

Log:
  - Convert XSLT templates to static pages where actually no dynamic content
    is generated
  
  Approved by:	doceng (implicit)

Modified:
  projects/sgml2xml/en_US.ISO8859-1/htdocs/community/social.xsl
  projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/index.xsl
  projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/todo.xsl
  projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/ideas/ideas.xsl
  projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/summerofcode.xsl

Modified: projects/sgml2xml/en_US.ISO8859-1/htdocs/community/social.xsl
==============================================================================
--- projects/sgml2xml/en_US.ISO8859-1/htdocs/community/social.xsl	Mon Jul 16 09:06:08 2012	(r39221)
+++ projects/sgml2xml/en_US.ISO8859-1/htdocs/community/social.xsl	Mon Jul 16 09:33:21 2012	(r39222)
@@ -1,25 +1,16 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
-				"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
+"http://www.FreeBSD.org/XML/doc/share/sgml/xhtml10-freebsd.dtd" [
+<!ENTITY base "..">
+<!ENTITY date "$FreeBSD$">
 <!ENTITY title "FreeBSD Social Networks">
 <!ENTITY email "freebsd-www">
-<!ENTITY % navinclude.community "INCLUDE">
 ]>
 
-<!-- $FreeBSD$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head><title>&title;</title></head>
 
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
-  xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
-  <xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
-  <xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
-
-  <xsl:template name="process.content">
-              <div id="SIDEWRAP">
-                &nav;
-              </div> <!-- SIDEWRAP -->
-
-	      <div id="CONTENTWRAP">
-		&header3;
+  <body class="navinclude.community">
 
 	      <p>&os; is represented on a number of different social
 	        networks.</p>
@@ -56,7 +47,5 @@
 
 	      </ul>
 
-	      </div> <!-- CONTENTWRAP -->
-	      <br class="clearboth" />
-  </xsl:template>
-</xsl:stylesheet>
+  </body>
+</html>

Modified: projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/index.xsl
==============================================================================
--- projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/index.xsl	Mon Jul 16 09:06:08 2012	(r39221)
+++ projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/index.xsl	Mon Jul 16 09:33:21 2012	(r39222)
@@ -1,35 +1,16 @@
-<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
-				"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
+"http://www.FreeBSD.org/XML/doc/share/sgml/xhtml10-freebsd.dtd" [
 <!ENTITY base "../..">
+<!ENTITY date "$FreeBSD$">
 <!ENTITY email "freebsd-ia64">
 <!ENTITY title "FreeBSD/ia64 Project">
-<!ENTITY % navinclude.developers "INCLUDE">
 ]>
 
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
-
-  <xsl:variable name="date" select="'$FreeBSD$'"/>
-
-  <xsl:output doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
-    encoding="iso-8859-1" method="html"/>
-  <xsl:template match="/">
-    <html>
-      &header1;
-      <body>
-
-	<div id="CONTAINERWRAP">
-	  <div id="CONTAINER">
-	    &header2;
-
-	    <div id="CONTENT">
-	      <div id="SIDEWRAP">
-                &nav;
-              </div> <!-- SIDEWRAP -->
-
-	      <div id="CONTENTWRAP">
-		&header3;
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head><title>&title;</title></head>
 
+  <body class="navinclude.developers">
 		<img align="right" alt="McKinley die" src="mckinley-die.png"/>
 
 		<p>Search the ia64 mailing list archives:</p>
@@ -82,8 +63,5 @@
 		  of ABI breaking changes in the pipeline and having to maintain
 		  backward compatibility this early in a ports life is less than
 		  ideal.</p>
-	      </div> <!-- CONTENTWRAP -->
-
-	      <br class="clearboth" />
-  </xsl:template>
-</xsl:stylesheet>
+  </body>
+</html>

Modified: projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/todo.xsl
==============================================================================
--- projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/todo.xsl	Mon Jul 16 09:06:08 2012	(r39221)
+++ projects/sgml2xml/en_US.ISO8859-1/htdocs/platforms/ia64/todo.xsl	Mon Jul 16 09:33:21 2012	(r39222)
@@ -1,35 +1,16 @@
-<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
-				"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
+"http://www.FreeBSD.org/XML/doc/share/sgml/xhtml10-freebsd.dtd" [
 <!ENTITY base "../..">
+<!ENTITY date "$FreeBSD$">
 <!ENTITY email "freebsd-ia64">
 <!ENTITY title "FreeBSD/ia64 Project">
-<!ENTITY % navinclude.developers "INCLUDE">
 ]>
 
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head><title>&title;</title></head>
 
-  <xsl:variable name="date" select="'$FreeBSD$'"/>
-
-  <xsl:output doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
-    encoding="iso-8859-1" method="html"/>
-
-  <xsl:template match="/">
-    <html>
-      &header1;
-      <body>
-
-	<div id="CONTAINERWRAP">
-	  <div id="CONTAINER">
-	    &header2;
-
-	    <div id="CONTENT">
-	      <div id="SIDEWRAP">
-                &nav;
-              </div> <!-- SIDEWRAP -->
-
-	      <div id="CONTENTWRAP">
-		&header3;
+  <body class="navinclude.developers">
 
 		<img align="right" alt="Montecito die" src="montecito-die.png"/>
 
@@ -141,9 +122,5 @@
 	    currently forced to ignore memory because of this.
 	  </li>
 	</ul>
-
-	      </div> <!-- CONTENTWRAP -->
-
-	      <br class="clearboth" />
-  </xsl:template>
-</xsl:stylesheet>
+  </body>
+</html>

Modified: projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/ideas/ideas.xsl
==============================================================================
--- projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/ideas/ideas.xsl	Mon Jul 16 09:06:08 2012	(r39221)
+++ projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/ideas/ideas.xsl	Mon Jul 16 09:33:21 2012	(r39222)
@@ -1,32 +1,18 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
-				"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
+"http://www.FreeBSD.org/XML/doc/share/sgml/xhtml10-freebsd.dtd" [
+<!ENTITY date "$FreeBSD$">
 <!ENTITY title "The &os; list of projects and ideas for volunteers">
 <!ENTITY email "freebsd-www">
-<!ENTITY % navinclude.developers "INCLUDE">
-<!ENTITY % developers PUBLIC "-//FreeBSD//ENTITIES FreeBSD Developers Entities//EN" "http://www.FreeBSD.org/XML/www/share/sgml/developers.ent"> %developers;
 ]>
 
-<!-- $FreeBSD$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head><title>&title;</title></head>
 
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
-  xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
-  <xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
-  <xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
-
-  <xsl:template name="process.content">
-              <div id="SIDEWRAP">
-                &nav;
-              </div> <!-- SIDEWRAP -->
-
-	      <div id="CONTENTWRAP">
-		&header3;
-<h2>Introduction</h2>
+  <body class="navinclude.developers">
 
 <p>The ideas page has moved to the <a
   href="http://wiki.freebsd.org/IdeasPage">FreeBSD wiki</a>.</p>
 
-	      </div> <!-- CONTENTWRAP -->
-	      <br class="clearboth" />
-  </xsl:template>
-</xsl:stylesheet>
+  </body>
+</html>

Modified: projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/summerofcode.xsl
==============================================================================
--- projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/summerofcode.xsl	Mon Jul 16 09:06:08 2012	(r39221)
+++ projects/sgml2xml/en_US.ISO8859-1/htdocs/projects/summerofcode.xsl	Mon Jul 16 09:33:21 2012	(r39222)
@@ -1,26 +1,16 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
-				"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
+"http://www.FreeBSD.org/XML/doc/share/sgml/xhtml10-freebsd.dtd" [
+<!ENTITY base "../..">
+<!ENTITY date "$FreeBSD$">
 <!ENTITY title "FreeBSD Summer Projects">
 <!ENTITY email "freebsd-www">
-<!ENTITY % navinclude.developers "INCLUDE">
-<!ENTITY % developers PUBLIC "-//FreeBSD//ENTITIES FreeBSD Developers Entities//EN" "http://www.FreeBSD.org/XML/www/share/sgml/developers.ent"> %developers;
 ]>
 
-<!-- $FreeBSD$ -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head><title>&title;</title></head>
 
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
-  xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
-  <xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
-  <xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
-
-  <xsl:template name="process.content">
-              <div id="SIDEWRAP">
-                &nav;
-              </div> <!-- SIDEWRAP -->
-
-	      <div id="CONTENTWRAP">
-		&header3;
+  <body class="navinclude.developers">
 
 <p>The FreeBSD Project is looking forward to participating as a mentoring
   organization in <a
@@ -275,12 +265,12 @@ href="http://wiki.freebsd.org/moin.cgi/S
     <p>Note that these dates may change, and the Google FAQ timeline is the
       authoritative source of detailed schedule information:</p>
 
-    <ul><p><a href="http://www.google-melange.com/gsoc/events/google/gsoc2011">GSoC 2011 Timeline</a></p></ul>
+    <ul><li><a href="http://www.google-melange.com/gsoc/events/google/gsoc2011">GSoC 2011 Timeline</a></li></ul>
 
     <p>All students must register with, and submit applications via, the
       Google Summer of Code home page:</p>
 
-    <ul><p><a href="http://www.google-melange.com/gsoc/homepage/google/gsoc2011">Google Summer of Code Home Page</a></p></ul></li>
+    <ul><li><a href="http://www.google-melange.com/gsoc/homepage/google/gsoc2011">Google Summer of Code Home Page</a></li></ul></li>
 
   <li><p><strong>What advice do you have for a student who might want to
     submit a proposal?</strong></p>
@@ -371,12 +361,10 @@ href="http://wiki.freebsd.org/moin.cgi/S
     secretaries to distribute.  You can also print out and post copies of the
     <a href="2011-freebsd-gsoc.pdf">FreeBSD GSoC 2011 poster</a>.</p>
 
-  <p><a href="2011-freebsd-gsoc.pdf" align="left"> <img
+  <p><a href="2011-freebsd-gsoc.pdf" style="float: left;"> <img
     src="2011-freebsd-gsoc.jpg"
     alt="[FreeBSD GSoC 2011 poster thumnail]" height="248" width="192"
     border="0" /></a></p>
 
-	      </div> <!-- CONTENTWRAP -->
-	      <br class="clearboth" />
-  </xsl:template>
-</xsl:stylesheet>
+  </body>
+</html>


More information about the svn-doc-projects mailing list