
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
NEW SEASON, NEW FEATURES
This Karamba theme displays LIVE Football results on your desktop. You can choose between many championships/competitions.
Requirements:
------------
- Because it parses an HTML sport site, Python (2.3) HTML parser libs are required.
What it does is the following:
-----------------------------
- you can see simultaneously up to 10 matches results from European Championships, all this being parsed from a French website
- if you CLICK ON A SCORE, you will see the scorers!
- if there are more than 10 matches at the time, you can SCROLL UP/DOWN the list with your mouse wheel
- when a goal is scored, you get notified by a pop-up in the upper left corner of your screen
Known Bugs:
----------
- pop-ups are sometimes a bit sensible to site updates.
PLEASE KEEP ME POSTED FOR SUGGESTIONS and of course ANY COMMENT WILL BE VERY WELCOMED!
12 years ago
Release 1.4.2:
-------------
- Fixed bug (website content changed)
Release 1.4.1:
-------------
- Fixed bug (disappearing second team) after external update of website
(SORRY FOR THE INCONVENIENCE, I cannot control that...)
Release 1.4:
-----------
- Championship selection among many European Champs
Release 1.3:
-----------
- Few bugs fixed after website update (scorers reappear)
- beginning of an English translation
Release 1.2:
-----------
- Compilation in .skz file
- A few bugs resolved
12 years ago
Release 1.4.2:
-------------
- Fixed bug (website content changed)
Release 1.4.1:
-------------
- Fixed bug (disappearing second team) after external update of website
(SORRY FOR THE INCONVENIENCE, I cannot control that...)
Release 1.4:
-----------
- Championship selection among many European Champs
Release 1.3:
-----------
- Few bugs fixed after website update (scorers reappear)
- beginning of an English translation
Release 1.2:
-----------
- Compilation in .skz file
- A few bugs resolved
gskbyte
13 years ago
PD: what icon and decoration themes are you using in your KDE desktop?
Report
anubisg1
13 years ago
Report
LocoMojo
13 years ago
How disappointing!
We really need something like this for American football or is there already something out there?
Anyone know?
LocoMojo
Report
SirRomanov
13 years ago
http://www.nfl.com/scores
I looked at the page source View/Page Source under Firefox) and it doesn't look very difficult to retrieve the info...
Looks like you are going to parse HTML pages... happy? :-D
Report
SirRomanov
13 years ago
Have a look to my code, the only thing for you to find is a website that would display the US Football results in an easy-to-understand HTML format...
Then you just need to get used to Python Expat Parser (easy as pie!) and you modify my theme so to realize your dream ;-)
Find such a site and I'll help you if you wish.
Btw, I was told to change soccer to football by a European fellow... wasn't all my fault ;-)
Report
LocoMojo
13 years ago
Any help would be greatly appreciated.
These are the scoreboards I'm interested in:
http://www.sportsline.com/nfl/scoreboard
http://www.sportsline.com/collegefootball/scoreboard
As for your calling it "football", no apologies necessary. I have Euro friends who never cease to rag on me about us calling American football "football". They keep telling me that it should be called something like "pansy assed, padded throw ball".
*Sigh*
That's alright though, as soon as the Americans start getting a little more interested in soccer, we'll own it and tell y'all what to call it.
:)
Thanks again, in advance, for any help.
LocoMojo
Report
LocoMojo
13 years ago
Any help would be greatly appreciated.
These are the scoreboards I'm interested in:
http://www.sportsline.com/nfl/scoreboard
http://www.sportsline.com/collegefootball/scoreboard
As for your calling it "football", no apologies necessary. I have Euro friends who never cease to rag on me about us calling American football "football". They keep telling me that it should be called something like "pansy assed, padded throw ball".
*Sigh*
That's alright though, as soon as the Americans start getting a little more interested in soccer, we'll own it and tell y'all what to call it.
:)
Thanks again, in advance, for any help.
LocoMojo
Report
hari1983
13 years ago
Report
SirRomanov
13 years ago
http://www.kde-apps.org/content/show.php/KFootStats+%2819+Championships%21%29?content=46131
I personnaly use it only in console (very handy), it works as follows:
classement $COUNTRY
resultats $COUNTRY
where classement means "ranking", resultats means "results" and $COUNTRY is the first 3 letters of the country you want... in French... so
* default is France
* ANG is England
* ESP is Spain
* ITA is Italy
* (...)
Enjoy.
Report
hari1983
13 years ago
Report
SirRomanov
13 years ago
Because the new season is coming, I guess I'll try to make a few changes.
First, because the site I take the info from changed quite a bit, when clicking on the scores, scorers are not displayed anymore... this'll be fixed in no time.
Then i'll try to make it translate automatically at least the "Termine" and "Mi-temps" in "Finished", "Half-Time". This won't take long.
And at last, maybe i'll make a menu so to choose only the championships of your interest.
If you have other suggestions...
Report
SirRomanov
13 years ago
Because the new season is coming, I guess I'll try to make a few changes.
First, because the site I take the info from changed quite a bit, when clicking on the scores, scorers are not displayed anymore... this'll be fixed in no time.
Then i'll try to make it translate automatically at least the "Termine" and "Mi-temps" in "Finished", "Half-Time". This won't take long.
And at last, maybe i'll make a menu so to choose only the championships of your interest.
If you have other suggestions...
Report
TrashOverride
13 years ago
10x
Report
SirRomanov
13 years ago
The backgrounds were in use for a previous version, I do not even know if they still fit to the "window" size. If you still want to have one, uncomment the line:
# karamba.createBackgroundImage(widget, 0, 0, "fond2.png")
and maybe Gimp'ize the fond2.png file to suit your wish.
As for the colour, you have a bunch of :
karamba.changeTextColor(widget, theText, R,G,B)
in the code. You may want to change those also.
Every textebox is in fact representing a column and not a line in the widget.
If you still have problems, do not hesitate to post a message.
Report
squidy
13 years ago
Report
SirRomanov
13 years ago
I made a few programs like these that parse HTML/XML webpages, with Python and Expat, it's easy as pie ;-)
Report
squidy
13 years ago
Report
TrashOverride
13 years ago
Report
SirRomanov
13 years ago
I keep looking and will try to release something where you could choose the countries you're interested in.
Report