BuzzerBeater Forums

BB Global (English) > BuzzerBeaterStats

BuzzerBeaterStats

Set priority
Show messages by
From: LA-Niko
This Post:
00
49968.319 in reply to 49968.1
Date: 4/27/2009 3:38:58 AM
Overall Posts Rated:
2121
BB-Stats Currently Down.

It is looking like I will have to re-think the country page

Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
Message deleted
From: LA-Niko
This Post:
00
49968.321 in reply to 49968.1
Date: 4/29/2009 2:46:59 AM
Overall Posts Rated:
2121
BB-Stats Update

The site is back up and the speed of the country page improved. The totals have been removed for each league as they took too much to calculate.

Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
This Post:
00
49968.322 in reply to 49968.316
Date: 4/30/2009 12:51:38 AM
Overall Posts Rated:
2121
I am trying to fix this problem with the BBAPI XML.

I have searched and searched and haven't found a solution.

I cant see how I can add entity declarations on the fly with XMLReader...

The stuff I have read suggests that for RelaxNG Schema code such as <amp/> should be used instead of &amp; because it does not allow for manipulating the entity structure.


Any help with this would be greatly appreciated. But one very important thing is that I am not going to change my parser.

Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
This Post:
00
49968.323 in reply to 49968.322
Date: 4/30/2009 6:57:11 AM
Overall Posts Rated:
3737
Any help with this would be greatly appreciated. But one very important thing is that I am not going to change my parser.


I think this will be a sticking point. I'm not an XML expert, but if your parser isn't handling completely-valid, spelled-out-in-the-XML-spec "&amp;"...

(http://www.w3.org/TR/2008/REC-xml-20081126/#dt-chardata)

...your parser is broken. Maybe you have good reasons for having no choice but to use a broken one. Using one that isn't broken is the obvious solution otherwise.

Can you do some very naive transformation of the XML you do get to convert the XML to something your parser can understand? Like s/&amp;/\<amp\/\>/g or whatever?

Also, I question whether your parser is broken? Are you sure you're not doing anything to the XML, intentionally or not, before handing it to XMLReader? I can't imagine handling &amp; would be broken.

Edit: I just ran the test validation script at:

(http://ca.php.net/manual/en/xmlreader.isvalid.php#xmlread...)

... against the XML I dumped above in (49968.316), and it comes back as valid in PHP 5.2.6.

Finally, I'm guessing from your username that you're also testing a problem with ampersands or other entitified characters in login names, and my understanding from Domenico is that this known issue (see (77432.6) and onward) won't be fixed any time soon.


Last edited by Mod-oeuftete at 4/30/2009 11:29:20 AM

This Post:
00
49968.324 in reply to 49968.323
Date: 5/1/2009 10:09:24 PM
Overall Posts Rated:
2121
Here is the code from my login script. I consulted a web expert and they said that the XML should have a DTD to declare the entity otherwise it will fall-back to XML Transitional?
I don't do anything to the XML I just grab it directly from the CURL operation which I use to authenticate.

From bblogin.php5
------
... curl code to retrieve the xml ...

$reader = new XMLReader();
if(!$reader->XML(curl_exec($curl),"UTF-8")) {...throw error...}
curl_close($curl);
$loggedin = false;// default value
while ($reader->read())
{
... continue with login process...
-------

Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
From: LA-Niko
This Post:
00
49968.325 in reply to 49968.1
Date: 5/3/2009 6:00:58 AM
Overall Posts Rated:
2121
BB-Stats Design

Hi All,
I know there are plenty of people with ideas about how BBStats could look better so I thought I would share with all of you the current ideas for the new layout for BBStats

(http://i39.tinypic.com/33y04f4.jpg)

Post in here about how I can improve the design. Hopefully with some ideas from Avirto I might be able to set up different themes that you can choose from in the settings area (not yet created)

Also I have registered (http://www.buzzerbeaterstats.com) to reflect the dual domains that buzzerbeater uses.

Thanks,
JudgeNik

EDIT: Updated link to rev.4 of the design and added mention of the new website address

Last edited by LA-Niko at 5/3/2009 10:12:08 AM

Creator of (http://www.buzzerbeaterstats.com) and (http://www.buzzerbeaternews.com/) -- Ex GM of Australia -- Division 1 winner of Italy Season 1 then moved team to Australia after the country was created by the BBs. Australian team manager for 2 seasons. Won various tournaments and division 1 titles in the following seasons.
This Post:
00
49968.326 in reply to 49968.325
Date: 5/3/2009 3:30:23 PM
Overall Posts Rated:
246246
Thanks for all your effort, I really appreciate. I like the design.

One suggestion for a stat could be a tactics summary by team & league.

From: GrFlur

This Post:
00
49968.327 in reply to 49968.1
Date: 5/9/2009 12:08:39 PM
Overall Posts Rated:
592592
hey

one question or three



Thanks to josef ka and GM moutlinho we have a new salary calculation... and thanks to the Spanish federation Tiradores sin fronteras we have a very accurate salary Stop for potential players so ...

can you add new staff based on those data?

For example

Add a current / next season salary on the roster page
add an accurate training lvl based on salary (if not alredy is)

a visual rememberance about top salary for each type of potential ...


¿this could be interesting?


Howl to the Moon, you won't regret it.
Message deleted
Message deleted
Advertisement