[prev in list] [next in list] [prev in thread] [next in thread]
List: licq-cvs
Subject: [Licq-cvs] website
From: Jon Keating <emostar () users ! sourceforge ! net>
Date: 2005-11-13 14:43:41
Message-ID: E1EbJ53-00074V-EO () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/licq/website
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27135
Modified Files:
download.php
Log Message:
Add some download stats from the SF RSS feed.
Index: download.php
===================================================================
RCS file: /cvsroot/licq/website/download.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- download.php 23 Oct 2005 23:05:33 -0000 1.8
+++ download.php 13 Nov 2005 14:43:39 -0000 1.9
@@ -1,5 +1,25 @@
<?
include "header.php";
+
+ require_once('rss_fetch.inc');
+ $rss = fetch_rss("http://sourceforge.net/export/rss2_projfiles.php?group_id=254");
+ $strDownload = "";
+ if ($rss->items)
+ {
+ foreach ($rss->items as $item)
+ {
+ $title = $item['title'];
+ $desc = $item['description'];
+ if (preg_match("/1.3.2 released/", $title))
+ {
+
+echo $desc;
+ preg_match("/bz2 (.*) to.*/", $desc, $matches);
+print_r($matches);
+ $strDownload .= "<I>". $matches[1] . ")</I>";
+ }
+ }
+ }
?>
@@ -20,7 +40,7 @@
<tr>
<td style="width: 30%"><br><a \
href="http://prdownloads.sourceforge.net/licq/licq-1.3.2.tar.bz2?download">licq-1.3.2.tar.bz2</a><br>
<a \
href="http://prdownloads.sourceforge.net/licq/licq-1.3.2.tar.gz?download">licq-1.3.2.tar.gz</a></td>
- <td>Latest Stable Release<br>(bz2 md5sum: \
0471bb8fed91eefb23dfe153c9a4a806)<br>(gz md5sum: \
d8412c20f106aa01d8b9b4f89d8d3130)</td> + <td>Latest Stable \
Release<br>(bz2 md5sum: 0471bb8fed91eefb23dfe153c9a4a806)<br>(gz md5sum: \
d8412c20f106aa01d8b9b4f89d8d3130)<BR><?echo $strDownload?></td> </tr>
<tr>
<td><a href="licq-daily.tar.bz2">licq-daily.tar.bz2</a></td>
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic