www cleanup mega commit:
- Move includes.nav*.sgml to share/sgml/navibar.ent and
<lang>/share/sgml/navibar.l10n.ent.
- Move includes.sgml and includes.xsl to
share/sgml/common.ent, share/sgml/header.ent, <lang>/share/sgml/l10n.ent,
and <lang>/share/sgml/header.l10n.ent.
- Move most of XSLT libraries to share/sgml/*.xsl and
<lang>/share/sgml/*.xsl.
- Move news.xml and other *.xml files for the similar purpose
to share/sgml/*.xml and <lang>/share/sgml/*.xml.
- Switch to use a custom DTD for HTML document. Now we use
"-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension", which is
HTML 4.01 + some entities previously pulled via
"<!ENTITY % includes SYSTEM "includes.sgml"> %includes;" line.
The location of entity file will be resolved by using catalog file.
- Add DOCTYPE declearation to XML documents. This makes the followings
possible:
* Use of &foo; entities for SGML in an XML file instead of defining
{$foo} as the same content.
* &symbolic; entities for Latin characters.
- Duplicated information between SGML and XML, or English and
translated doc, has been removed as much as possible.
This commit is contained in:
parent
de3f531874
commit
5305bb945d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=28475
795 changed files with 4878 additions and 36943 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# Original Revision: 1.14
|
||||
# $FreeBSD: www/zh_CN/security/Makefile,v 1.1.1002.1 2005/12/18 08:09:14 delphij Exp $
|
||||
# $FreeBSD: www/zh_CN/security/Makefile,v 1.1 2006/07/11 15:27:53 delphij Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
|
@ -13,7 +13,7 @@ DOCS+= security.sgml
|
|||
|
||||
INDEXLINK= security.html
|
||||
|
||||
security.html: advisories.html.inc advisories.rdf
|
||||
security.html: advisories.html.inc
|
||||
|
||||
DEPENDSET.DEFAULT= advisories
|
||||
XML.DEFAULT= ${XML_ADVISORIES}
|
||||
|
|
@ -22,6 +22,4 @@ XMLDOCS= advisories:mkindex.xsl::advisories.html.inc
|
|||
NO_DATA.advisories= yes
|
||||
NO_TIDY.advisories= yes
|
||||
|
||||
XMLDOCS+= advisories-rdf:security-rdf.xsl::advisories.rdf
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||
<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
|
||||
<!ENTITY base CDATA "..">
|
||||
<!ENTITY date "$FreeBSD: www/zh_CN/security/charter.sgml,v 1.1.1002.2 2006/01/11 09:43:52 delphij Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/zh_CN/security/charter.sgml,v 1.1 2006/07/11 15:27:53 delphij Exp $">
|
||||
<!ENTITY title "FreeBSD 安全长官宪章">
|
||||
<!ENTITY % navincludes SYSTEM "../includes.navsupport.sgml"> %navincludes;
|
||||
<!ENTITY % includes SYSTEM "../includes.sgml"> %includes;
|
||||
<!ENTITY % navinclude.support "INCLUDE">
|
||||
]>
|
||||
<!-- The FreeBSD Simplified Chinese Project -->
|
||||
<!-- Original Revision: 1.3 -->
|
||||
|
|
|
|||
|
|
@ -1,18 +1,19 @@
|
|||
<?xml version="1.0" encoding="gb2312" ?>
|
||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
|
||||
<!ENTITY base ".">
|
||||
<!ENTITY title "">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD: www/zh_CN/security/mkindex.xsl,v 1.1.1002.1 2005/12/18 08:09:14 delphij Exp $ -->
|
||||
<!-- $FreeBSD: www/zh_CN/security/mkindex.xsl,v 1.1 2006/07/11 15:27:53 delphij Exp $ -->
|
||||
<!-- Original Revision: 1.4 -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
|
||||
|
||||
<xsl:import href="../includes.xsl"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/zh_CN/security/mkindex.xsl,v 1.1 2006/07/11 15:27:53 delphij Exp $'"/>
|
||||
|
||||
<xsl:variable name="base" select="'.'"/>
|
||||
<xsl:variable name="enbase" select="'..'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/zh_CN/security/mkindex.xsl,v 1.1.1002.1 2005/12/18 08:09:14 delphij Exp $'"/>
|
||||
<xsl:variable name="title" select="'untitled'"/>
|
||||
|
||||
<xsl:output type="xml" encoding="gb2312"
|
||||
<xsl:output type="xml" encoding="&xml.encoding;"
|
||||
omit-xml-declaration="yes" />
|
||||
|
||||
<xsl:template match="/">
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="GB2312" ?>
|
||||
|
||||
<!-- $FreeBSD: www/zh_CN/security/security-rdf.xsl,v 1.1.1002.1 2005/12/18 08:09:14 delphij Exp $ -->
|
||||
<!-- Original Revision: 1.1 -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="../includes.xsl"/>
|
||||
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:variable name="base" select="'..'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD'"/>
|
||||
<xsl:variable name="title" select="'untitled'"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:call-template name="rdf-security-advisories">
|
||||
<xsl:with-param name="advisories.xml" select="$advisories.xml" />
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
|
@ -1,17 +1,15 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [
|
||||
<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
|
||||
<!ENTITY base CDATA "..">
|
||||
<!ENTITY enbase CDATA "../..">
|
||||
<!ENTITY date "$FreeBSD: www/zh_CN/security/security.sgml,v 1.1.1002.4 2006/06/13 21:38:36 delphij Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/zh_CN/security/security.sgml,v 1.1 2006/07/11 15:27:53 delphij Exp $">
|
||||
<!ENTITY title "FreeBSD 安全信息">
|
||||
<!ENTITY % navincludes SYSTEM "../includes.navsupport.sgml"> %navincludes;
|
||||
<!ENTITY % includes SYSTEM "../includes.sgml"> %includes;
|
||||
<!ENTITY % navinclude.support "INCLUDE">
|
||||
<!ENTITY % developers SYSTEM "../developers.sgml"> %developers;
|
||||
<!ENTITY advisories.html.inc SYSTEM "advisories.html.inc">
|
||||
]>
|
||||
<!-- The FreeBSD Simplified Chinese Documentation Project -->
|
||||
<!-- Original revision: 1.187 -->
|
||||
|
||||
<!-- $FreeBSD: www/zh_CN/security/security.sgml,v 1.1.1002.4 2006/06/13 21:38:36 delphij Exp $ -->
|
||||
<!-- $FreeBSD: www/zh_CN/security/security.sgml,v 1.1 2006/07/11 15:27:53 delphij Exp $ -->
|
||||
|
||||
<html>
|
||||
&header;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue