From afc0efa9c2c8fe2c1b32e9a7e24780b16a101913 Mon Sep 17 00:00:00 2001 From: Daniel Gerzo Date: Fri, 20 Jun 2008 20:03:29 +0000 Subject: [PATCH] - add support for Errata Notices RSS Feed Reviewed by: keramida, hrs --- en/index.xsl | 12 +++++- en/security/Makefile | 4 +- en/security/errata-rss.xsl | 26 ++++++++++++ en/security/errata.rss | 26 ++++++++++++ share/sgml/libcommon.xsl | 86 +++++++++++++++++++++++++++++++++++++- 5 files changed, 151 insertions(+), 3 deletions(-) create mode 100644 en/security/errata-rss.xsl create mode 100644 en/security/errata.rss diff --git a/en/index.xsl b/en/index.xsl index 714a050146..3eb9a4cca6 100644 --- a/en/index.xsl +++ b/en/index.xsl @@ -4,7 +4,7 @@ ]> - + @@ -310,6 +310,16 @@ +
+
    +
  • + More +
  • +
  • + Errata Notices RSS Feed +
  • +
+
diff --git a/en/security/Makefile b/en/security/Makefile index d3c544ab2e..9a295886e1 100644 --- a/en/security/Makefile +++ b/en/security/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/security/Makefile,v 1.15 2008/01/10 04:23:39 murray Exp $ +# $FreeBSD: www/en/security/Makefile,v 1.16 2008/03/01 01:55:27 simon Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -19,6 +19,7 @@ INDEXLINK= security.html security.html: advisories.html.inc advisories.rdf DEPENDSET.DEFAULT= advisories +DEPENDSET.errata-rss= notices XML.DEFAULT= ${XML_ADVISORIES} XMLDOCS= advisories:mkindex.xsl::advisories.html.inc @@ -27,5 +28,6 @@ NO_TIDY.advisories= yes XMLDOCS+= advisories-rdf:security-rdf.xsl::advisories.rdf XMLDOCS+= advisories-rss:security-rss.xsl::rss.xml +XMLDOCS+= errata-rss:errata-rss.xsl::errata.xml .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/security/errata-rss.xsl b/en/security/errata-rss.xsl new file mode 100644 index 0000000000..cb9b8af6e1 --- /dev/null +++ b/en/security/errata-rss.xsl @@ -0,0 +1,26 @@ + + + +]> + + + + + + + + + + + + + + + + + + diff --git a/en/security/errata.rss b/en/security/errata.rss new file mode 100644 index 0000000000..cb9b8af6e1 --- /dev/null +++ b/en/security/errata.rss @@ -0,0 +1,26 @@ + + + +]> + + + + + + + + + + + + + + + + + + diff --git a/share/sgml/libcommon.xsl b/share/sgml/libcommon.xsl index 93905e4c1e..3d60ef2d9b 100644 --- a/share/sgml/libcommon.xsl +++ b/share/sgml/libcommon.xsl @@ -1,7 +1,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + FreeBSD Errata Norices + http://www.FreeBSD.org/security/ + + <xsl:value-of select="$title" /> + + Errata notices published from the FreeBSD Project + en-us + secteam@FreeBSD.org (FreeBSD Security Team) + secteam@FreeBSD.org (FreeBSD Security Team) + http://blogs.law.harvard.edu/tech/rss + 120 + + http://www.FreeBSD.org/logo/logo-full.png + <xsl:value-of select="$title" /> + + + + + rss.xml + + + + + + + + + + + + <xsl:value-of select="name"/> + + + http://www.FreeBSD.org/security + + + + + + + + + + + + + + + + + +