| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 9
|
|
| Author |
|
|
KeithSloan
Cruncher Joined: May 1, 2009 Post Count: 25 Status: Offline Project Badges:
|
I would like to provide a link to my statistics from my own website.
----------------------------------------Is it possible to arrange for statistics to be made available on a public uri. Thanks ![]() |
||
|
|
deltavee
Ace Cruncher Texas Hill Country Joined: Nov 17, 2004 Post Count: 4894 Status: Offline Project Badges:
|
I would like to provide a link to my statistics from my own website. Is it possible to arrange for statistics to be made available on a public uri. Thanks How about a widget? http://www.worldcommunitygrid.org/ms/viewGetMarketingImage.do |
||
|
|
jonnieb-uk
Ace Cruncher England Joined: Nov 30, 2011 Post Count: 6105 Status: Offline Project Badges:
|
You could make use of a SNURK sig such as appear at the foor of this post, deltavee's post and many other members posting in the forum. To obtain one post a request here .
----------------------------------------Alternatively your personal stats, in XML format, are here: https://secure.worldcommunitygrid.org/stat/viewCompareMembers.do?userNames[0].value=KeithSloan&xml=true (Copy & paste the whole line rather than clicking on the link) [edit]You could also add a link to your website to My Forum Profile ![]() ---------------------------------------- [Edit 2 times, last edit by jonnieb-uk at Feb 1, 2014 10:50:48 AM] |
||
|
|
KeithSloan
Cruncher Joined: May 1, 2009 Post Count: 25 Status: Offline Project Badges:
|
You could make use of a SNURK sig such as appear at the foor of this post, deltavee's post and many other members posting in the forum. To obtain one post a request here . Alternatively your personal stats, in XML format, are here: https://secure.worldcommunitygrid.org/stat/viewCompareMembers.do?userNames[0].value=KeithSloan&xml=true (Copy & paste the whole line rather than clicking on the link) [edit]You could also add a link to your website to My Forum Profile ![]() Okay I am trying to read the xml with php but don't understand what I am doing I have <?php $url="https://secure.worldcommunitygrid.org/stat/viewCompareMembers.do?userNames[0].value=KeithSloan&xml=true"; $xml = simplexml_load_file($url); $value = (string) $xml->query->results->item[0]; echo $value ?> But I seem to just get a blank ot null as $xml How should I be accessing ![]() |
||
|
|
jonnieb-uk
Ace Cruncher England Joined: Nov 30, 2011 Post Count: 6105 Status: Offline Project Badges:
|
Sorry Keith but I have no knowledge of php.
---------------------------------------- I've asked team colleagues if anyone can assist or maybe someone else in the wider community will provide a solution. |
||
|
|
KeithSloan
Cruncher Joined: May 1, 2009 Post Count: 25 Status: Offline Project Badges:
|
Sorry Keith but I have no knowledge of php. I've asked team colleagues if anyone can assist or maybe someone else in the wider community will provide a solution.Perhaps you could confirm that the URL returns xml. If I enter the URL in a browser, I just get the info as text, which is not what I was expecting. I was expecting some xml stuff along with the info. Maybe browsers process xml and just display text, but that was not what I was expecting. ![]() |
||
|
|
KeithSloan
Cruncher Joined: May 1, 2009 Post Count: 25 Status: Offline Project Badges:
|
Doing some more testing it looks like https://secure.worldcommunitygrid.org/stat/viewCompareMembers.do?userNames[0].value=KeithSloan&xml=true
----------------------------------------Returns text rather than xml. If I leave off the xml=true I get a web page. Is there a way to get it to output the stats as xml? ![]() |
||
|
|
wplachy
Senior Cruncher Joined: Sep 4, 2007 Post Count: 423 Status: Offline |
the link https://secure.worldcommunitygrid.org/stat/viewCompareMembers.do?userNames[0].value=KeithSloan&xml=true returns:
----------------------------------------<?xml version="1.0" encoding="UTF-8"?> -<MemberStats> -<MemberStat> <Name>KeithSloan</Name> <MemberId>583284</MemberId> <RegisterDate>2009-05-01</RegisterDate> <LastResult>2014-02-07T17:55:41</LastResult> <NumDevices>3</NumDevices> -<StatisticsTotals> <RunTime>42985803</RunTime> <RunTimeRank>79451</RunTimeRank> <Points>1703000</Points> <PointsRank>56817</PointsRank> <Results>3247</Results> <ResultsRank>57589</ResultsRank> </StatisticsTotals> . . . </MemberStat> </MemberStats> Which is XML. It work fine in both IE and Firefox. I've been using it for 3 years to capture my EOD stats. What are you seeing?
Bill P
![]() |
||
|
|
KeithSloan
Cruncher Joined: May 1, 2009 Post Count: 25 Status: Offline Project Badges:
|
With Firefox 20.0 on Ubuntu 10.04 it just gives me the text values, but I have now found that if I save the page as a file it gives the full xml. Also if I try Chromium it gives me the xml. So thanks I will go back to my php and try a figure why accessing as xml is not working,
----------------------------------------![]() [Edit 1 times, last edit by KeithSloan at Feb 8, 2014 9:19:08 AM] |
||
|
|
|