maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   request : a cricinfo score widget for the cricket worldcup!! (https://talk.maemo.org/showthread.php?t=70003)

Duffer 2011-03-18 20:43

Re: request : a cricinfo score widget for the cricket worldcup!!
 
also cricket

redscorpionkiller 2011-03-18 20:46

Re: request : a cricinfo score widget for the cricket worldcup!!
 
i was really frustrated to see the cricinfo score widgt for the WC in my friend's iphone :( :( that iphone app refreshed for each and every ball :( :(

ejasmudar 2011-03-19 05:58

Re: request : a cricinfo score widget for the cricket worldcup!!
 
i am thinking about using wget and sed/awk to scrape data from cricinfo's web page. I'll let you know how it turns out.

ejasmudar 2011-03-19 08:34

Re: request : a cricinfo score widget for the cricket worldcup!!
 
2 Attachment(s)
Ok, guys, I have made a script to scrape data off Yahoo's cricket page and display it. I am attaching it here.

It can be used as a widget, with Queen Beecon Widget (please use search function).


NOTE: because the forum does not allow uploading scripts, I have uploaded as a zip file. Unzip it in ur MyDocs folder.

To use as a QBW, follow these steps:
a. Make a new QBW widget
b. Edit it as follows:
Change type to Snippet
Add new command
Give a name to the command
Enter the actual command as
Code:

sh /home/user/MyDocs/cwcscore.sh
c. Make other cosmetic changes to the widget as necessary. Be sure to give enough scpacve to display the result
d. If you want, you can set it's refresh option to 30 sec to get updated results.

GreatGonzo 2011-03-19 10:13

Re: request : a cricinfo score widget for the cricket worldcup!!
 
2 Attachment(s)
I use the quick-widget webwidget and have attached it here. see my signature for details.

It is a webkit view of the cricinfo mobile site.
There is an issue with th background color but it works for the live scorecards. Just click in the link to the current game. stylus recommended

You can scroll up and down by tapping on the right-hand side of the widget. If you hold the finger down you'll get a navigation pop-up as well as the general settings mode.

Dancairo 2011-03-19 10:49

Re: request : a cricinfo score widget for the cricket worldcup!!
 
Ijust use this http://livescores.com/cricket.dll through Macuco, looks good and also auto updates..(Australia just lost 3rd wicket..90/3) easy clicks to commentary, wickets, score card, line-ups and match info..I imagine it also works through Micro B. The only reason I use it in Macuco is that the football scores using Macuco is excellent:- http://iphone.livescore.com/#_soccer_scores

Dan

rebelnoob 2011-03-20 14:12

Re: request : a cricinfo score widget for the cricket worldcup!!
 
Quote:

Originally Posted by ejasmudar (Post 970810)
Ok, guys, I have made a script to scrape data off Yahoo's cricket page and display it. I am attaching it here.

It can be used as a widget, with Queen Beecon Widget (please use search function)..

i was using this widget in the morning it was working fine when india was batting but it isnt showing the result of the other innings?? its empty!

ejasmudar 2011-03-20 14:14

Re: request : a cricinfo score widget for the cricket worldcup!!
 
2 Attachment(s)
Hi everyone,
just updated my old script for score.

Also, two new scripts for upcoming matches and old results. I am attaching a zip with all the scripts and a screenshot of how i implemented them with QBW.

rebelnoob 2011-03-20 15:37

Re: request : a cricinfo score widget for the cricket worldcup!!
 
@ejasmundar man i tried all your new scripts but aint getting any results? are you sure the scripts are fine or im i missing something the older script was working earlier but now it aint..nedd help?

ejasmudar 2011-03-20 15:58

Re: request : a cricinfo score widget for the cricket worldcup!!
 
Quote:

Originally Posted by rebelnoob (Post 971803)
@ejasmundar man i tried all your new scripts but aint getting any results? are you sure the scripts are fine or im i missing something the older script was working earlier but now it aint..nedd help?

please try running them from xterm using commands like
Code:

sh /home/users/path/to/scrips/cwcscore.sh
tell me what error u're getting


All times are GMT. The time now is 05:03.

vBulletin® Version 3.8.8