Boinc stats EN+CZ

PHP skripty
User avatar
Posts: 417
Joined: 07. 07. 2007 10:51
Location: Ostrava - Polanka nad Odrou

Boinc stats EN+CZ

Postby Ashus » 09. 07. 2007 19:38

This little PHP tool parses periodically retreived xml with your stats from Boinc servers. It ensures lightning-fast displaying of your stats on your website. And it is adjustable to suit your visual style (colors, styles...).
Requires Linux server or some kind of wget-like file downloader and Cron for Windows.

Part one:
Insert the following line into your crontab file and edit CPID (Cross-Platform ID - get it after login to any boinc site at bottom of the main page) and output path.

Code: Select all

30 5 * * * root wget -O /var/www/boinc.xml 1>/dev/null 2>&1 &
Also, run the program to verify, that it works OK.

Part two:
Upload the script to your webserver and configure settings (language, AllProjectStats ID, Seti classic workunit count). Include the script using include('/var/www/'); to any page you want to display it on. Lastly, edit the table styles or classes to match your website look.
(1.41 KiB) Downloaded 30 times
Coffee phreak!

Who is online

Users browsing this forum: No registered users and 1 guest