*** empty log message ***

svn path=/trunk/boinc/; revision=9162
This commit is contained in:
David Anderson 2005-12-30 06:48:19 +00:00
parent f7c9f791a8
commit a941a17019
4 changed files with 19 additions and 2 deletions

View File

@ -14872,3 +14872,17 @@ David 28 Dec 2005
client/
client_state.C
David 29 Dec 2005
- add <guid> elements to RSS items and make the <link>s unique.
Apparently this is needed by some RSS readers.
NOTE: for this to take effect,
project will need to check out the following files,
then rename sample_rss_main.php to rss_main.php
html/
inc/
news.inc
user/
sample_rss_main.php

View File

@ -58,7 +58,8 @@ for( $item=0; $item < $news; $item++ ) {
$d = strftime("%a, %d %b %Y", $d);
echo "<item>
<title>Project News ".strip_tags($project_news[$item][0])."</title>
<link>http://boinc.berkeley.edu/</link>
<link>http://boinc.berkeley.edu/old_news.php#$item</link>
<guid>$item</guid>
<description>".strip_tags($project_news[$item][1])."</description>
<pubDate>$d</pubDate>
</item>

View File

@ -19,6 +19,7 @@ function show_news($items, $n) {
function show_old_news($items, $n) {
for ($i=$n; $i<count($items); $i++) {
echo "<a name=$i>\n";
news_item($items[$i][0], $items[$i][1]);
}
}

View File

@ -57,7 +57,8 @@ for( $item=0; $item < $news; $item++ ) {
$d = strftime("%a, %d %b %Y", $d);
echo "<item>
<title>Project News ".strip_tags($project_news[$item][0])."</title>
<link>".URL_BASE."</link>
<link>".URL_BASE."old_news.php#$item</link>
<guid>$item</guid>
<description>".strip_tags($project_news[$item][1])."</description>
<pubDate>$d</pubDate>
</item>