Help with displaying team statistics in a website.

Message boards : Web interfaces : Help with displaying team statistics in a website.
Message board moderation

To post messages, you must log in.

AuthorMessage
BOINC Atlantic Team
Avatar

Send message
Joined: 11 Oct 11
Posts: 58
United States
Message 43688 - Posted: 23 Apr 2012, 2:50:13 UTC

Hello crunchers,

I've been working on a website for the Atlantic Team and I would like to add a page that displays the current stats for each project. I have been reviewing/testing the information from these pages:

http://boinc.berkeley.edu/trac/wiki/CreditStats
http://boinc.berkeley.edu/trac/wiki/WebRpc

First, I'm at "novice" level for web programming. I've hand-coded the team page, and can edit scripts, but I'm not up to creating custom PHP scripts, etc. The RPC's don't make much sense to me so even though all the information I need might be in front of me, I'm stuck. So here are some questions:

1. Since there are several sites that manage stats I was wondering if there was a repository of pre-existing scripts that I could just customize? My needs are simple, I just want to display the stats for my team, I'm not trying to compete with the larger stats sites, and re-invent the wheel. I mainly want to manage the raw data for display formatting purposes, but maybe in the long run store it in a MySQL database.

2. I was trying some of the examples and noticed that people get a CPID but it looks like teams get a different ID for every project. Is there something like a CPID for teams?

I've got some programming skills but I'm not at the level to tackle this myself so if there are any folks who have done this and can offer some pointers, or other resources I'd greatly appreciate it.

In the future, I'd like to fiddle with the Twitter API and be able to make a daily automated team stats tweet. There are a ton of PHP scripts available for interfacing websites to the Twitter API, but again my problem is getting the data from the projects in the first place.

Thanks.




ID: 43688 · Report as offensive
Profile idahofisherman
Avatar

Send message
Joined: 11 Aug 06
Posts: 154
United States
Message 43692 - Posted: 23 Apr 2012, 5:03:11 UTC - in response to Message 43688.  

Try looking at the following site, the team statistics are all ready for you. all you should have to do is insert aa url in your webpage.

http://boinc.mundayweb.com/one/
ID: 43692 · Report as offensive
BOINC Atlantic Team
Avatar

Send message
Joined: 11 Oct 11
Posts: 58
United States
Message 43700 - Posted: 23 Apr 2012, 10:13:45 UTC - in response to Message 43692.  

@Idahofisherman,

I want a much greater degree of control over how the information is formatted and displayed. Also, future plans include Twitter API integration and storing the data in an MySQL database for use in graphs, etc.

I need the raw data for that, it's available I just want to know what methods have worked best for other sites, and not to re-invent the wheel. (Though I don't mind figuring out stuff myself).




ID: 43700 · Report as offensive
BOINC Atlantic Team
Avatar

Send message
Joined: 11 Oct 11
Posts: 58
United States
Message 43742 - Posted: 24 Apr 2012, 15:54:06 UTC - in response to Message 43700.  

An update: figured out how to wget the team.gz files and grepped out my team ID's for the accounts I participate in.

Now to see if I can figure out a script that can initiate the RPC's and extract the data I want to format and display on the team website.

I've got a novice level of .CSS and no experience writing PHP scripts so this should be a challenge. Any takers on the helping thing?

ID: 43742 · Report as offensive
BOINC Atlantic Team
Avatar

Send message
Joined: 11 Oct 11
Posts: 58
United States
Message 43756 - Posted: 24 Apr 2012, 21:08:01 UTC - in response to Message 43742.  

Well, I'm looking a little foolish because the link to what I need is already on this site:

http://boinc.berkeley.edu/svn/trunk/boinc_stats

Looks like everything, including a better version of the download script I spent all of yesterday "inventing". Hah!

It never fails that no matter how hard i look for something on the Internet, I don't find it until after I post a forum question somewhere...
ID: 43756 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 43759 - Posted: 24 Apr 2012, 23:15:57 UTC - in response to Message 43756.  

Found this in someone's signature:
ralic's law of forums:
Irrespective of any prior research done, you will find the solution to your question shortly after posting it to a public Internet forum, resulting in readers concluding that you have done no research on the matter whatsoever.
;-)

Gruß,
Gundolf
ID: 43759 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 43762 - Posted: 25 Apr 2012, 5:29:22 UTC - in response to Message 43759.  

Found this in someone's signature:
ralic's law of forums:
Irrespective of any prior research done, you will find the solution to your question shortly after posting it to a public Internet forum, resulting in readers concluding that you have done no research on the matter whatsoever.
;-)

Gruß,
Gundolf


Thank you for making my day - I often suffer from NBATGFS*

:D

*not being able to google for shit ;)
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 43762 · Report as offensive

Message boards : Web interfaces : Help with displaying team statistics in a website.

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.