summaryrefslogtreecommitdiff
path: root/share/sgml/templates.newsflash.xsl
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2008-01-16 02:57:37 +0000
committerMurray Stokely <murray@FreeBSD.org>2008-01-16 02:57:37 +0000
commit2365a91c920830c6f982d11502d276252340d6ff (patch)
tree7686072a6d85cbe372b71d5e64d3ec459f163ce3 /share/sgml/templates.newsflash.xsl
parent2b2f2982316bf12a0b2893e176ce698ea9721d8d (diff)
Add support for <link rel="alternate"> links to the RSS 2.0 feeds
where present so that browsers can automatically detect the presense of a feed and present the user with a subscribe icon (orange RSS icon on right side of location bar in Firefox) so they don't have to manually look for a subscription button on the html page.
Notes
svn path=/www/; revision=31288
Diffstat (limited to 'share/sgml/templates.newsflash.xsl')
-rw-r--r--share/sgml/templates.newsflash.xsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/sgml/templates.newsflash.xsl b/share/sgml/templates.newsflash.xsl
index ee33c68d7b..aedbbd435d 100644
--- a/share/sgml/templates.newsflash.xsl
+++ b/share/sgml/templates.newsflash.xsl
@@ -3,10 +3,13 @@
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
<!ENTITY title "FreeBSD News Flash">
<!ENTITY email "freebsd-www">
+<!ENTITY rsslink "rss.xml">
+<!ENTITY rsstitle "&title;">
<!ENTITY % navinclude.about "INCLUDE">
+<!ENTITY % header.rss "INCLUDE">
]>
-<!-- $FreeBSD: www/share/sgml/templates.newsflash.xsl,v 1.2 2006/08/21 18:27:43 hrs Exp $ -->
+<!-- $FreeBSD: www/share/sgml/templates.newsflash.xsl,v 1.3 2008/01/15 21:30:38 murray Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">