correct RSS feed link type to make IE7 and Safari recognise the feed

svn path=/trunk/boinc/; revision=11909
This commit is contained in:
Rytis Slatkevičius 2007-01-19 18:50:29 +00:00
parent 5af91f736f
commit ff9d0b94ed
3 changed files with 15 additions and 5 deletions

View File

@ -839,3 +839,13 @@ Rom 19 Jan 2007
clientgui/
BOINCTaskBar.cpp
Rytis 19 Jan 2007
- user web: correct RSS feed link type to make IE7 and Safari recognise the
feed.
html/
inc/
util.inc
user/
sample_index.php

View File

@ -111,13 +111,13 @@ function page_head($title, $java_onload=null, $title_plain=null, $prefix="") {
if (!$title_plain) {
echo "<html><head><title>".strip_tags($title)."</title>
<link rel=stylesheet type=text/css href=\"$styleSheet\">
<link rel='alternate' type='text/xml' title=\"$rssname\" href=\"$rsslink\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"$styleSheet\">
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$rssname\" href=\"$rsslink\">
</head>";
} else {
echo "<html><head><title>".strip_tags($title_plain)."</title>
<link rel=stylesheet type=text/css href=\"$styleSheet\">
<link rel='alternate' type='text/xml' title=\"$rssname\" href=\"$rsslink\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"$styleSheet\">
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"$rssname\" href=\"$rsslink\">
</head>";
}
if ($java_onload){

View File

@ -67,7 +67,7 @@ echo "<html>
<head>
<title>".PROJECT."</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"white.css\">
<link rel=\"alternate\" type=\"text/xml\" title=\"".$rssname."\" href=\"".$rsslink."\">
<link rel=\"alternate\" type=\"application/rss+xml\" title=\"".$rssname."\" href=\"".$rsslink."\">
</head><body>
<h1>".PROJECT."</h1>
<table cellpadding=\"8\" cellspacing=\"4\">