Commit 0246a88e authored by Anil Daoud's avatar Anil Daoud

+ last (hopefully...) fixes for the rss feed

parent 4d3223b0
......@@ -31,7 +31,7 @@
if( $style == "full" )
{
echo ("<div class=\"item\">\n");
$date = "<a id=\"NEWS$max\"><span class=\"date\">".date("Y-m-d", strtotime( $date) )."</span>".$date."</a>";
$date = "<a class=\"link\" href=\"http://www.videolan.org/news.html#NEWS$max\" /><a id=\"NEWS$max\"><span class=\"date\">".date("Y-m-d", strtotime( $date) )."</span>".$date."</a>";
echo ("<p><b><span class=\"title\">".$title."</span></b> (".$date.")\n");
echo ("<span class=\"description\">".$text."</span>\n");
echo ("</p></div>\n");
......
......@@ -15,7 +15,7 @@
style="margin: 0px 50px;" width="300" height="167" />
</td>
<td class="news-title">
Latest news
Latest news <a href="http://www.videolan.org/videolan-news.rss"><img src="images/rss.png" alt="RSS 1.0" /></a>
</td>
</tr>
<tr valign="top">
......@@ -121,4 +121,4 @@
</tr>
</table>
<? footer('$Id: index.html,v 1.89 2004/02/09 16:31:13 anil Exp $'); ?>
<? footer('$Id: index.html,v 1.90 2004/03/20 20:04:39 anil Exp $'); ?>
......@@ -2,7 +2,7 @@
* Stolen from the Gnumeric website by Sam :-)
* Hardly modified by karibu :(
*
* $Id: main.css,v 1.92 2004/03/20 18:58:06 anil Exp $ */
* $Id: main.css,v 1.93 2004/03/20 20:04:39 anil Exp $ */
body {
font-family: sans-serif, Helvetica, Arial;
......@@ -371,6 +371,11 @@ span.date
display: none;
}
span.description
{
display: none;
}
/*********
* Menu *
*********/
......
<?
$title = "VideoLAN - news";
$title = "VideoLAN - News";
$lang = "en";
$date = "14 February 2001";
$menu = array( "home", "news" );
......@@ -8,9 +8,11 @@
<h1> News archive </h1>
<span class="description"><a href="http://www.videolan.org/">VideoLAN</a> is a Free Software and Open Source multi-platform video streaming solution. It also features a cross-plaform multimedia player, <a href="http://www.videolan.org/vlc/">VLC</a>, which can be used to read the stream from the network or display video read locally on the computer</span>
<?
include($_SERVER["DOCUMENT_ROOT"]."include/news.php3");
shownews("full",0);
?>
<? footer('$Id: news.html,v 1.9 2004/03/20 17:40:05 anil Exp $'); ?>
<? footer('$Id: news.html,v 1.10 2004/03/20 20:04:39 anil Exp $'); ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment