Update of /cvsroot/phpwiki/phpwiki/themes/default/templates
In directory usw-pr-cvs1:/tmp/cvs-serv22719/themes/default/templates
Modified Files:
head.tmpl
Log Message:
Added RSS Auto-discover - see comments for details
Index: head.tmpl
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/head.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -2 -b -p -d -r1.2 -r1.3
--- head.tmpl 9 Sep 2002 08:38:19 -0000 1.2
+++ head.tmpl 12 Oct 2002 19:11:44 -0000 1.3
@@ -21,6 +21,8 @@ printf("<?xml version=\"1.0\" encoding=\
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
+<meta name="generator" content="phpWiki" />
<meta name="PHPWIKI_VERSION" content="<?=PHPWIKI_VERSION?>" />
<base href="<?=BASE_URL?>" />
+<link rel="shortcut icon" href="<?=$Theme->getImageURL('favicon.ico')?>" />
<?php /**
* Additional navigation links are provided here in the html header for browsers
@@ -30,5 +32,4 @@ printf("<?xml version=\"1.0\" encoding=\
* http://www.euronet.nl/~tekelenb/WWW/LINK/index.html
*/ ?>
-<link rel="shortcut icon" href="<?=$Theme->getImageURL('favicon.ico')?>" />
<link rel="home" title="<?=HOME_PAGE?>" href="<?=WikiURL(HOME_PAGE)?>" />
<link rel="help" title="<?=_("HowToUseWiki")?>" href="<?=WikiURL(_("HowToUseWiki"))?>" />
@@ -43,5 +44,5 @@ printf("<?xml version=\"1.0\" encoding=\
* Provide alternate variations of the page content:
* 'viewsource' and 'browse'.
- * RSS or translated pages could go here too.
+ * Translated pages could go here too.
*/
if (!empty($revision)) {
@@ -57,5 +58,12 @@ printf("<?xml version=\"1.0\" encoding=\
} ?>
<link rel="alternate" title="<?= $alternatelinkTitle ?>" href="<?= $alternatelinkUrl ?>" />
-<?php } ?>
+<?php }
+ /**
+ * Link tag for RSS auto-discovery. See
+ * http://diveintomark.org/archives/2002/05/30.html#rss_autodiscovery
+ * http://www.oreillynet.com/cs/weblog/view/wlg/1475
+ */
+?>
+<link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL(RECENT_CHANGES, array('format' => 'rss')?>" />
<?php /**
|