Op 2013-02-21 om 19:20 schreef Uwe Schuerkamp:
> Hi folks,
> 
> the "current files" link on the bacula website still points to release
> 5.2.6 which might confuse some people ;) 
> 

I had a closer look.

My git clone http://git.bacula.org/docs has
file home-page/en/page/dl.php with
function getfiles() {
   $ch = curl_init();
   curl_setopt($ch, CURLOPT_URL, 
"http://sourceforge.net/projects/bacula/files/";);
   curl_setopt($ch, CURLOPT_HEADER, false);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
   $res = curl_exec($ch);
   curl_close($ch);

   $res = strstr($res, "All Files");
//   echo "res=$res";
   $res = str_replace("\n", "", $res);
   $res = str_replace("\r", "", $res);

   // get list of all available files and their attributes
   $count = preg_match_all(
      //                                  cat    vers    name
      "!href=\"(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)\"" .
      //            size                     date             downloads
      ".*?<td>([\d\.]+ [a-zA-Z]+)</td>.*?<td>(.*?)</td>.*?<td>(.*?)</td>!",
      $res, $files, PREG_SET_ORDER);

   // remove duplicates (due to "latest files" list)
   $out = array_filter_unique(
      $files, create_function('$a,$b', 'return strcmp($a[1], $b[1]);'));
   return $out;
}

What I see is that the string 'All Files' is gone from 
http://sourceforge.net/projects/bacula/files/


So far for this week.

Cheers
Geert Stappers
http://www.vanadcimplicity.com/
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to