Message boards :
Number crunching :
Special Contribution Badge
Message board moderation
Author | Message |
---|---|
Send message Joined: 29 Aug 07 Posts: 12 Credit: 3,164,814 RAC: 0 |
Any chance you could create a simple xml/csv/txt file containing the id's of users who have the special contribution badge so it can be displayed in external sites? I'd rather not have to scrape individual pages to get the data if at all possible. Thanks! |
Send message Joined: 17 Mar 10 Posts: 7 Credit: 99,046,204 RAC: 0 |
To whom it may concern, Bok's inquiry, was at my request. I would like to display my Milky Way contribution badge, as part of my signature from Free-DC. Bok needs the info in order to display it on his website, and I need it there, to get as part of my signature. Please consider our request. Thanks in advance for your prompt attention, Col. Rick A. Sponholz |
Send message Joined: 23 Sep 12 Posts: 159 Credit: 16,977,106 RAC: 0 |
I am pointing the MilkyWay team to the thread. I think we may need to ask for any objections from the team and users and may need to reword some things on the donation page though it is scrapable data as is so maybe not. As for implementation it shouldn't be difficult it is just a simple db query to get the info. Jeff Thompson |
Send message Joined: 17 Mar 10 Posts: 7 Credit: 99,046,204 RAC: 0 |
I am pointing the MilkyWay team to the thread. Jeff, Thanks for your quick response, and your thoughtful consideration. Rick |
Send message Joined: 23 Sep 12 Posts: 159 Credit: 16,977,106 RAC: 0 |
So there are some different ways this can be done. Trying to figure out where to plug it in. If I get this correctly Bok wants all users with this flag set to true. And you need it as information when you query your current user id. So there are two distinct features around the badge status being requested? Jeff Thompson |
Send message Joined: 29 Aug 07 Posts: 12 Credit: 3,164,814 RAC: 0 |
All I really need is a some type of file csv/xml/json/other containing a list of userid's who have the special contribution badge. Updated daily would be enough. I would script something to pull the file and parse, storing the list of id's in one of my tables. It could be added to the standard boinc xml user file too, but I suspect this would be more trouble than it's worth. |
Send message Joined: 14 Feb 09 Posts: 999 Credit: 74,932,619 RAC: 0 |
All I really need is a some type of file csv/xml/json/other containing a list of userid's who have the special contribution badge. Updated daily would be enough. I would script something to pull the file and parse, storing the list of id's in one of my tables. Not for Dr A. He just included logic to export the badges with the stats dump. Dr David Anderson wrote: I added code to db_dump.cpp (the program that creates XML statistics files) |
Send message Joined: 23 Sep 12 Posts: 159 Credit: 16,977,106 RAC: 0 |
I was discussing this on the boinc developers list they have now included it in the code base. It will still need to be modified to work with the way we do badges but hopefully as this gets processed out in the mix it will be in a standard format for aggregation sites so that the processing is minimal at all points in the process. Jeff |
Send message Joined: 29 Aug 07 Posts: 12 Credit: 3,164,814 RAC: 0 |
yes, I saw the mail about it. Still curious to see this, given it hasn't even been implemented at SETI@Home (or their beta site). I already do badges for almost every other project which does them. Given most are credit badges or RAC based, that's easy enough to implement with the values that come out of the standard xml files anyway and until all the projects adopt this code I can't change it. And for those projects which offer individual subproject data (PrimeGrid, Yoyo@Home, NFS@Home etc) where they give badges by subproject they can't adopt this code at all. But it should work here. I'll watch out for it in the exports. |
Send message Joined: 17 Mar 10 Posts: 7 Credit: 99,046,204 RAC: 0 |
Jeff, Any idea when Milky Way will provide the extraordinary Contribution info into the feeds for our badge signatures? I would appreciate anything you could do to expedite it. That badge is way too cool to go unnoticed. I think the visibility of the badge could get you additional contributions. Thanks in advance, Col. Rick A. Sponholz |
Send message Joined: 23 Sep 12 Posts: 159 Credit: 16,977,106 RAC: 0 |
No direct timeline. I am organizing some maintenance on the server before I change the server code. Also the way we do badges needs me to change the code of what David Anderson did a bit though I have a plan, I need to test it. So my timeline is within this month but there are other mission critical pieces we are working on. Also most of the coding is trying to get GPU for N-body live. Sorry I know this isn't a direct answer but I want it done also, though I may be able to get the new guy to do bits of it ;). So I am hoping for this month but I can't write it in stone. Jeff |
Send message Joined: 29 Aug 07 Posts: 12 Credit: 3,164,814 RAC: 0 |
Rick, I did a manual addition in my database for your badge. Bok |
Send message Joined: 17 Mar 10 Posts: 7 Credit: 99,046,204 RAC: 0 |
No direct timeline. Thanks for the update Jeff. It's easier to be patient when you know someone at least wants it done too. Regards, Rick |
Send message Joined: 23 Sep 12 Posts: 159 Credit: 16,977,106 RAC: 0 |
Travis has implemented a version that works with our form of the badges. I am still looking at this implementation. Let us know if it works or not. From Travis, Hi Everyone, I’ve updated: /boinc/milkyway/html/inc/xml.inc to include /boinc/milkyway/user/display_badges.php and updated the show_user_xml function to also add information about user badges. See: http://milkyway.cs.rpi.edu/milkyway/show_user.php?userid=1&format=xml I’ve also created a script which will export the badges, you can find it in: /boinc/milkyway/html/ops/export_badges.php This will write badges to: /boinc/milkyway/download/badges.xml Once a day, as I’ve updated the config.xml file to run it daily as a task. ______________________________________________________________________________________ Jeff |
©2024 Astroinformatics Group