mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9162
This commit is contained in:
parent
f7c9f791a8
commit
a941a17019
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue