Update of /cvsroot/compbench/compbenchmarks-web/lib
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv21409
Modified Files:
news.pl
Log Message:
Detailled news shown.
Index: news.pl
===================================================================
RCS file: /cvsroot/compbench/compbenchmarks-web/lib/news.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** news.pl 30 Nov 2006 18:52:37 -0000 1.2
--- news.pl 9 Sep 2007 18:20:33 -0000 1.3
***************
*** 18,22 ****
my $item = shift;
my $title = $item->findvalue('title');
! # my $description = $item->findvalue('description');
my $pubDate = $item->findvalue('pubDate');
my $date;
--- 18,22 ----
my $item = shift;
my $title = $item->findvalue('title');
! my $description = $item->findvalue('description');
my $pubDate = $item->findvalue('pubDate');
my $date;
***************
*** 30,35 ****
$date=$pubDate;
}
! # $description =~ s/\. /.<br>/g;
! print "<li>$date : $title</li>";
}
--- 30,38 ----
$date=$pubDate;
}
! $title =~ s/& /& /g;
! $description =~ s/& /& /g;
! $description =~ s/\. /.<br>/g;
! print "<tr><td class='news_date'>$date</td><td class='news_head'>$title</td></tr>";
! print "<tr><td> </td><td class='news_detail'>$description</td></tr>";
}
***************
*** 45,55 ****
my $item;
! print "<p>This items are imported daily from sourceforge. Take a loot at <a href='http://sourceforge.net/news/?group_id=150828'>project's dedicated page</a> for details.</p>";
! print "<ul>";
foreach $item ($items->get_nodelist) {
show_a_news($item);
}
! print "</ul>";
}
--- 48,58 ----
my $item;
! print "<p>This items are imported daily from sourceforge. Take a look at <a href='http://sourceforge.net/news/?group_id=150828'>project's dedicated page</a> for further informations.</p>";
! print "<table summary='news'>";
foreach $item ($items->get_nodelist) {
show_a_news($item);
}
! print "</table>";
}
|