Enable <link rel="alternate"> links to rss.xml feeds so that
feedreaders and browsers can automatically find the RSS feeds on these pages without the user having to click on the rss link. For FireFox users this enables an orange rss logo on the right side of the location bar, and something similar shows up for IE and Safari.
This commit is contained in:
parent
2365a91c92
commit
32a53aa35c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=31289
2 changed files with 10 additions and 4 deletions
|
|
@ -3,11 +3,14 @@
|
|||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
|
||||
<!ENTITY base "..">
|
||||
<!ENTITY title "FreeBSD GNOME News Flash">
|
||||
<!ENTITY rsslink "&base;/gnome/rss.xml">
|
||||
<!ENTITY rsstitle "&title;">
|
||||
<!ENTITY email "freebsd-gnome">
|
||||
<!ENTITY % navinclude.developers "INCLUDE">
|
||||
<!ENTITY % header.rss "INCLUDE">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD: www/en/gnome/newsflash.xsl,v 1.10 2007/04/16 04:47:15 marcus Exp $ -->
|
||||
<!-- $FreeBSD: www/en/gnome/newsflash.xsl,v 1.11 2008/01/15 21:25:49 murray Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS" exclude-result-prefixes="cvs">
|
||||
|
|
@ -35,7 +38,7 @@
|
|||
<div id="FEEDLINKS">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="rss.xml" title="GNOME RSS 2.0 Feed">
|
||||
<a href="&rsslink;" title="GNOME RSS 2.0 Feed">
|
||||
RSS 2.0 Feed
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue