maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon (https://talk.maemo.org/showthread.php?t=47649)

No!No!No!Yes! 2010-03-17 23:34

[Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
1 Attachment(s)
Customize Queen BeeCon Widget (>=v0.1.4) to display:
European Soccer Leagues (+World Cup 2010 & many more) Live Results and Next Matches

The Beecon will also be able to highlight the match of your favourite Team and display a Green ball if it is winning, Yellow ball if match is tied, Red ball if team is losing, White ball if match is still not currently being played. See THIS post for more Leagues/Tournaments

http://i41.tinypic.com/12375g8.png

Ready?!

Preparation Steps:
  1. Download and Install Queen Beecon Widget (>=v0.1.4) (Warning! It's still in extras-devel; if you like it, I need your support for testing and promoting to Testing and Extras)

  2. Download zip file with icons/images attached to the thread for your convenience and extract and store images in the specified N900 directory, create it if not existing. (Warning: inside the zip file there is an image named football-icon.png.3 this is NOT an error!)

    http://i40.tinypic.com/59ye6d.png http://i41.tinypic.com/29marsx.png http://i39.tinypic.com/25uty1e.png

    http://i40.tinypic.com/e7i43b.png http://i42.tinypic.com/6h2w3s.png http://i39.tinypic.com/ruo0p4.png

    http://i41.tinypic.com/xfzwid.png http://i43.tinypic.com/14a6na.png http://i40.tinypic.com/2zivudj.png http://i41.tinypic.com/206kg2r.png

  3. Just drop them HERE:
    http://i39.tinypic.com/2h7dxxu.png

    Let's go...

  4. As an example we'll create the Beecon relevant to the Italian Serie A Soccer League ... Exported Instance Data for Spain, Germany, France, Portugal and England can be found in following posts of this thread.

  5. Make sure you copy the following Exported Instance Data to your phone's clipboard. (Do not modify anything as it is checksum protected and modifications will invalidate checksum!)
    Code:

    [queen-beecon-header]
    version=1,000000
    checksum=2892800
    [queen-beecon-exported-instance]
    widgetType=0
    operationalStatus=0
    hideCanvas=true
    snippetBgRGB=0
    beecon_lt0_ImgZoom=0
    beecon_lt0_BgRGB=2
    beecon_lt0_ImgFilename=queen-beecon-syserr.png
    beecon_eq0_ImgZoom=0
    beecon_eq0_BgRGB=3
    beecon_eq0_ImgFilename=football-win.png
    beecon_eq1_ImgZoom=0
    beecon_eq1_BgRGB=4
    beecon_eq1_ImgFilename=football-tie.png
    beecon_ge2_ImgZoom=0
    beecon_ge2_BgRGB=5
    beecon_ge2_ImgFilename=football-lose.png
    beecon_idxge2_ImgZoom=0
    beecon_idxge2_BgRGB=11
    beecon_idxge2_ImgFilename=football-icon.png
    widWidth=265
    widHeight=210
    instanceTitle=ITA - Serie A
    instanceCmd=wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=ita.1&lang=EN' | awk -v fav='Internazionale' 'BEGIN{FS="";r=3;}/^<\\/style>.+<\\/html>/{match($0,"[\\|] <b  >.+<\\/b> [\\|]");print "\\t\\t\\t\\t\\t<span foreground=\\"red\\" font=\\"bold 14\\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\\/style>.+<br \\/>)|(<a[^>]*>)|(<[\\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\\"green\\" font=\\"bold\\">"m[i]"</span>";if(match(m[i]," [0-9]+\\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \\-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
    cmdImgFilename=calcio-ita.png
    cmdImgZoom=0
    cmdFgRGB=11
    cmdVisibilityPosition=1
    cmdImgVisibilityPosition=8
    cmdJustify=0
    cmdFontName=3
    cmdFontSize=14
    resImgFilename=;queen-beecon-resimg.png
    resImgZoom=0
    resFgRGB=4
    resVisibilityPosition=1
    resImgVisibilityPosition=3
    resJustify=0
    resFontName=2
    resFontSize=11
    updOnStartup=false
    updOnClick=true
    updOnDesktop=false
    delayIndex=0
    updNeworkPolicy=1

  6. Then three usual and basic steps to instantiate the Widget:
    http://i41.tinypic.com/oan8n8.png
    http://i42.tinypic.com/6hlrh4.png
    http://i41.tinypic.com/oq92yc.png
    http://i42.tinypic.com/2ebualz.png

  7. Now click on the Settings Wrench Icon and we reach the Settins Dialog.

  8. Click on the "Advanced" button (1)
    http://i42.tinypic.com/2vxpqo6.png

  9. Confirm that we are PROFESSIONALS :) and we know what we are doing. Button (1)
    http://i43.tinypic.com/ab0cnb.png

  10. We reach the Advanced Settings and Tools Dialog Box... scroll down to the bottom.
    http://i41.tinypic.com/4h9sgz.png

  11. We reach following screen. If we press Button (1), we paste our Exported Instance Data into the Import/Export buffer, ready to be processed.
    http://i42.tinypic.com/ejzpdt.png

  12. After the Import Buffer is filled with Import Data, let's click on Import Snippet/Beecon Button (1)
    http://i40.tinypic.com/14xkqx5.png

  13. And confirm we really want to Import our Instance
    http://i41.tinypic.com/2m43vxf.jpg

  14. SUCCESS!!! We have now imported our Exported Instance.
    http://i44.tinypic.com/15y87xd.png

  15. Let's dismiss the warning and, after imported data is reloaded, we will be back at our Instance Settings Dialog Box. You'll see the new instance data [Buttons (1)(2)(3)(4))
    And we start our newly created Beecon by saving data and running with Button (5)
    http://i43.tinypic.com/1zwya3c.png

And Here we Are!!! But there is one more thing we need to do: Let's change our favourite Team!!!
  1. Let's start the Main Settings Dialog Box Again and click on the "Edit Cmd" button
    http://i43.tinypic.com/rthqg1.png

  2. Let's scroll the command code until we find the following string:

    ... awk -v fav='Internazionale'

    http://i42.tinypic.com/8y9efp.png

  3. And replace it with our favourite Team like this:

    http://i43.tinypic.com/27zw5mv.png

  4. Save changed command with relevant button and "Save and Run" in next dialog!

Have Fun!!!

Data is made available on the internet and is freely accessible also through a normal browser by pointing to m.espn.go.com. Credits go to the cited Companies, Organizations, Product, Services. Please report if any contents is neither appropriate nor allowed to be published and it will be removed within short time span.

No!No!No!Yes! 2010-03-17 23:35

Major Leagues for Spain, Germany, France, Portugal, England
 
http://i41.tinypic.com/12375g8.png

Exported Instance Data for SPAIN
Code:

[queen-beecon-header]
version=1,000000
checksum=2951362
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=football-win.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=football-tie.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=football-lose.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=football-icon.png
widWidth=265
widHeight=210
instanceTitle=SPA - 1<sup>ra</sup> Division
instanceCmd=wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=esp.1&lang=EN' | awk -v fav='AtlĂŠtico Madrid' 'BEGIN{FS="";r=3;}/^<\\/style>.+<\\/html>/{match($0,"[\\|] <b  >.+<\\/b> [\\|]");print "\\t\\t\\t\\t\\t<span foreground=\\"red\\" font=\\"bold 14\\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\\/style>.+<br \\/>)|(<a[^>]*>)|(<[\\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\\"green\\" font=\\"bold\\">"m[i]"</span>";if(match(m[i]," [0-9]+\\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \\-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
cmdImgFilename=calcio-spa.png
cmdImgZoom=0
cmdFgRGB=11
cmdVisibilityPosition=1
cmdImgVisibilityPosition=8
cmdJustify=0
cmdFontName=3
cmdFontSize=14
resImgFilename=;queen-beecon-resimg.png
resImgZoom=0
resFgRGB=4
resVisibilityPosition=1
resImgVisibilityPosition=3
resJustify=0
resFontName=2
resFontSize=11
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=0
updNeworkPolicy=1

Exported Instance Data for GERMANY
Code:

[queen-beecon-header]
version=1,000000
checksum=2889402
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=football-win.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=football-tie.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=football-lose.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=football-icon.png
widWidth=265
widHeight=210
instanceTitle=GER - Bundesliga
instanceCmd=wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=ger.1&lang=EN' | awk -v fav='FC Cologne' 'BEGIN{FS="";r=3;}/^<\\/style>.+<\\/html>/{match($0,"[\\|] <b  >.+<\\/b> [\\|]");print "\\t\\t\\t\\t\\t<span foreground=\\"red\\" font=\\"bold 14\\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\\/style>.+<br \\/>)|(<a[^>]*>)|(<[\\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\\"green\\" font=\\"bold\\">"m[i]"</span>";if(match(m[i]," [0-9]+\\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \\-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
cmdImgFilename=calcio-ger.png
cmdImgZoom=0
cmdFgRGB=11
cmdVisibilityPosition=1
cmdImgVisibilityPosition=8
cmdJustify=0
cmdFontName=3
cmdFontSize=14
resImgFilename=;queen-beecon-resimg.png
resImgZoom=0
resFgRGB=4
resVisibilityPosition=1
resImgVisibilityPosition=3
resJustify=0
resFontName=2
resFontSize=11
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=0
updNeworkPolicy=1

Exported Instance Data for FRANCE
Code:

[queen-beecon-header]
version=1,000000
checksum=2860788
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=football-win.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=football-tie.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=football-lose.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=football-icon.png
widWidth=265
widHeight=210
instanceTitle=FRA - Ligue 1
instanceCmd=wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=fra.1&lang=EN' | awk -v fav='Nice' 'BEGIN{FS="";r=3;}/^<\\/style>.+<\\/html>/{match($0,"[\\|] <b  >.+<\\/b> [\\|]");print "\\t\\t\\t\\t\\t<span foreground=\\"red\\" font=\\"bold 14\\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\\/style>.+<br \\/>)|(<a[^>]*>)|(<[\\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\\"green\\" font=\\"bold\\">"m[i]"</span>";if(match(m[i]," [0-9]+\\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \\-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
cmdImgFilename=calcio-fra.png
cmdImgZoom=0
cmdFgRGB=11
cmdVisibilityPosition=1
cmdImgVisibilityPosition=8
cmdJustify=0
cmdFontName=3
cmdFontSize=14
resImgFilename=;queen-beecon-resimg.png
resImgZoom=0
resFgRGB=4
resVisibilityPosition=1
resImgVisibilityPosition=3
resJustify=0
resFontName=2
resFontSize=11
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=0
updNeworkPolicy=1

Exported Instance Data for PORTUGAL
Code:

[queen-beecon-header]
version=1,000000
checksum=2865404
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=football-win.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=football-tie.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=football-lose.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=football-icon.png
widWidth=265
widHeight=210
instanceTitle=POR - Liga
instanceCmd=wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=por.1&lang=EN' | awk -v fav='Maritimo' 'BEGIN{FS="";r=3;}/^<\\/style>.+<\\/html>/{match($0,"[\\|] <b  >.+<\\/b> [\\|]");print "\\t\\t\\t\\t\\t<span foreground=\\"red\\" font=\\"bold 14\\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\\/style>.+<br \\/>)|(<a[^>]*>)|(<[\\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\\"green\\" font=\\"bold\\">"m[i]"</span>";if(match(m[i]," [0-9]+\\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \\-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
cmdImgFilename=calcio-por.png
cmdImgZoom=0
cmdFgRGB=11
cmdVisibilityPosition=1
cmdImgVisibilityPosition=8
cmdJustify=0
cmdFontName=3
cmdFontSize=14
resImgFilename=;queen-beecon-resimg.png
resImgZoom=0
resFgRGB=4
resVisibilityPosition=1
resImgVisibilityPosition=3
resJustify=0
resFontName=2
resFontSize=11
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=0
updNeworkPolicy=1

Exported Instance Data for ENGLAND
Code:

[queen-beecon-header]
version=1,000000
checksum=2890772
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=football-win.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=football-tie.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=football-lose.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=football-icon.png
widWidth=265
widHeight=210
instanceTitle=ENG - Premier L.
instanceCmd=wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=eng.1&lang=EN' | awk -v fav='Aston Villa' 'BEGIN{FS="";r=3;}/^<\\/style>.+<\\/html>/{match($0,"[\\|] <b  >.+<\\/b> [\\|]");print "\\t\\t\\t\\t\\t<span foreground=\\"red\\" font=\\"bold 14\\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\\/style>.+<br \\/>)|(<a[^>]*>)|(<[\\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\\"green\\" font=\\"bold\\">"m[i]"</span>";if(match(m[i]," [0-9]+\\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \\-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
cmdImgFilename=calcio-eng.png
cmdImgZoom=0
cmdFgRGB=11
cmdVisibilityPosition=1
cmdImgVisibilityPosition=8
cmdJustify=0
cmdFontName=3
cmdFontSize=14
resImgFilename=;queen-beecon-resimg.png
resImgZoom=0
resFgRGB=4
resVisibilityPosition=1
resImgVisibilityPosition=3
resJustify=0
resFontName=2
resFontSize=11
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=0
updNeworkPolicy=1


No!No!No!Yes! 2010-03-18 12:06

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Get ready for the World Cup 2010
... just edit the Beecon command & replace the URL:

http://m.espn.go.com/soccer/scoreboard?leagueTag=ita.1&lang=EN

with:

http://m.espn.go.com/soccer/scoreboard?leagueTag=fifa.world&lang=EN

dread123 2010-03-18 12:32

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
would it not be better to package up all the work being done already for each of the different countries and world cup? if at all possible?? some of us are lazy(me more than anyone hahahaha) but this is great work!

torres76 2010-03-20 18:24

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
How do you copy the following Exported Instance Data to your phone's clipboard ? i worked it out im wondering though why is the writing over lapping the box if you make it smaller the box gets smaller too.

torres76 2010-03-20 18:48

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
How can i change the colour of the text cant see it on top of my wallpaper ?

No!No!No!Yes! 2010-03-21 09:56

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by torres76 (Post 575006)
How do you copy the following Exported Instance Data to your phone's clipboard ? i worked it out im wondering though why is the writing over lapping the box if you make it smaller the box gets smaller too.

Hi, happy you figured it out.
Best way (to me): Just use N900 Microb Browser to open page with Exported Instance Data and Copy to clipboard according to this simple procedure:

http://i41.tinypic.com/2lkplxj.png

http://i42.tinypic.com/rtkljn.png

Then proceed with Instance Settings Dialog.

No!No!No!Yes! 2010-03-21 10:19

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by torres76 (Post 575034)
How can i change the colour of the text cant see it on top of my wallpaper ?

You can change color of texts on Beecon with following Settings:
http://i44.tinypic.com/xqjio1.png
http://i40.tinypic.com/2yl76dy.png
http://i42.tinypic.com/wag40g.png
http://i43.tinypic.com/9vd403.png

No!No!No!Yes! 2010-03-21 10:50

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by torres76 (Post 575006)
...why is the writing over lapping the box if you make it smaller the box gets smaller too.

Sorry, I don't understand what you get and what you would like.

Background image has already been designed to provide dark background to League Text and to Team Matches/Results.

You can make Beecon/Text bigger with just a few steps...
http://i39.tinypic.com/2rxjgbr.png
  1. Change Widget Size
    http://i40.tinypic.com/25t9bwg.png

  2. Scale Background Image to fit new widget size and increase font size
    http://i43.tinypic.com/110k6bq.png

  3. Increase font size for Matches/Results text
    http://i40.tinypic.com/2mg43rp.png

  4. Increase size of font used for the Date by editing the command and changeing the Pango Markup Tag
    http://i39.tinypic.com/2h3c4n5.png
In case of further difficulties, please post a screenshot of what you get and explain what you'd like to obtain. Maybe I can halp you with specific Exported Instance Data for your very needs. ;)

Have fun.

No!No!No!Yes! 2010-03-21 11:32

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
[HowTo] Find WEB URL for other Leagues not listed so far

Create/Import your Beecon according to instructions on first post of this thread

After import has been done, press "Edit Cmd" button and change wget's URL (according to following instructions (relevant part is selected in picture):
http://i42.tinypic.com/29lzm6g.png
  1. UEFA Champions League uefa.champions
  2. UEFA Cup uefa.europa
  3. Spanish Primera División esp.1
  4. Spanish Segunda División esp.2
  5. Italian Serie A ita.1
  6. Italian Serie B ita.2
  7. German Bundesliga ger.1
  8. German 2. Bundesliga ger.2
  9. French Ligue 1 fra.1
  10. French Ligue 2 fra.2
  11. Scottish Premier League sco.1
  12. Scottish Division One sco.2
  13. Scottish Division Two sco.3
  14. Scottish Division Three sco.4
  15. Dutch Eredivisie ned.1
  16. Dutch Eerste Divisie ned.2
  17. Portuguese Liga por.1
  18. Russian Premier League rus.1
  19. Turkish Super Lig tur.1
  20. Greek Super League gre.1
  21. Belgian Jupiler League bel.1
  22. Austrian Bundesliga aut.1
  23. Danish SAS-Ligaen den.1
  24. Swiss Super League sui.1

slewis1972 2010-04-17 08:51

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
HI
Trying to work out how to get live Premier league fixtures and then a results pane, what do I need to alter in the code?

davall 2010-10-29 11:42

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by No!No!No!Yes! (Post 575704)
[HowTo] Find WEB URL for other Leagues not listed so far

Create/Import your Beecon according to instructions on first post of this thread

After import has been done, press "Edit Cmd" button and change wget's URL (according to following instructions (relevant part is selected in picture):
http://i42.tinypic.com/29lzm6g.png
  1. UEFA Champions League uefa.champions
  2. UEFA Cup uefa.europa
  3. Spanish Primera División esp.1
  4. Spanish Segunda División esp.2
  5. Italian Serie A ita.1
  6. Italian Serie B ita.2
  7. German Bundesliga ger.1
  8. German 2. Bundesliga ger.2
  9. French Ligue 1 fra.1
  10. French Ligue 2 fra.2
  11. Scottish Premier League sco.1
  12. Scottish Division One sco.2
  13. Scottish Division Two sco.3
  14. Scottish Division Three sco.4
  15. Dutch Eredivisie ned.1
  16. Dutch Eerste Divisie ned.2
  17. Portuguese Liga por.1
  18. Russian Premier League rus.1
  19. Turkish Super Lig tur.1
  20. Greek Super League gre.1
  21. Belgian Jupiler League bel.1
  22. Austrian Bundesliga aut.1
  23. Danish SAS-Ligaen den.1
  24. Swiss Super League sui.1

Has somebody done this for live standings?
e.g. http://m.espn.go.com/soccer/standing...=ger.1&lang=EN
Thks in advance!

No!No!No!Yes! 2010-10-29 13:22

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by davall (Post 856448)
Has somebody done this for live standings?
e.g. http://m.espn.go.com/soccer/standing...=ger.1&lang=EN
Thks in advance!

Hi, maybe this could be of help with some rework:
http://talk.maemo.org/showthread.php?t=62289

davall 2010-10-29 15:12

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by No!No!No!Yes! (Post 856587)
Hi, maybe this could be of help with some rework:
http://talk.maemo.org/showthread.php?t=62289

Thank you. I'll dig into it. But my first impression is, that i'm lost with all these sed, awk, cut thing.

stevomanu 2010-11-03 01:28

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Im trying to get champions league resuts have changed url but nothing can you check this code !

Code:


wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=uefa.champions&&lang=EN' | awk -v fav='Aston Villa' 'BEGIN{FS="";r=3;}/^<\/style>.+<\/html>/{match($0,"[\|] <b  >.+<\/b> [\|]");print "\t\t\t\t\t<span foreground=\"red\" font=\"bold 14\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\/style>.+<br \/>)|(<a[^>]*>)|(<[\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\"green\" font=\"bold\">"m[i]"</span>";if(match(m[i]," [0-9]+\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'


Sash 2010-11-03 11:28

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by stevomanu (Post 861635)
Im trying to get champions league resuts have changed url but nothing can you check this code !

Code:


wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=uefa.champions&&lang=EN' .....


I just tried your code and it works fine for me. It brings up the Champions League fixtures. Do you have wget installed?

stevomanu 2010-11-03 11:46

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by Sash (Post 861999)
I just tried your code and it works fine for me. It brings up the Champions League fixtures. Do you have wget installed?

ye im sure but will reinstall an check !!

NOPE still no go , have even tryed importing original txt also still nothing happend , red ball shows but no txt !

No!No!No!Yes! 2010-11-03 12:04

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by stevomanu (Post 861635)
Im trying to get champions league resuts have changed url but nothing can you check this code !

Code:


wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=uefa.champions&&lang=EN' | awk -v fav='Aston Villa' 'BEGIN{FS="";r=3;}/^<\/style>.+<\/html>/{match($0,"[\|] <b  >.+<\/b> [\|]");print "\t\t\t\t\t<span foreground=\"red\" font=\"bold 14\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\/style>.+<br \/>)|(<a[^>]*>)|(<[\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\"green\" font=\"bold\">"m[i]"</span>";if(match(m[i]," [0-9]+\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'


http://i.imgur.com/cHvvc.jpg

Confirm it working!

stevomanu 2010-11-03 17:22

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
this is doing my head in now , have reinstalled QBW an wget twice an still not getting a reading from them , all my other QBW widgets are fine just these !

No!No!No!Yes! 2010-11-03 17:27

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by stevomanu (Post 862411)
this is doing my head in now , have reinstalled QBW an wget twice an still not getting a reading from them , all my other QBW widgets are fine just these !

Please, turn on v4 logging and send logfile after a couple of unsuccessful runs ...
(instructions in the wiki)
Ciao.

stevomanu 2010-11-03 18:50

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by No!No!No!Yes! (Post 862415)
Please, turn on v4 logging and send logfile after a couple of unsuccessful runs ...
(instructions in the wiki)
Ciao.

here you go dude !

No!No!No!Yes! 2010-11-03 20:49

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by stevomanu (Post 862489)
here you go dude !

Log file thanks

Are you behind a 300baud modem or something??? :D
wget seems to timeout after 5 seconds without completing the url fetching

I suggest you open up an xterm and experiment a little bit with wget command.
Just copy your command from QBW to clipboard and paste into xterm
Change -T 5 parameter with 10 or 15 and see what happens

http://i.imgur.com/zlaOR.jpg

stevomanu 2010-11-03 21:16

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
thanks dude i got rid of the - T 5 an changed it to 10 an all is good , many thanks mate your a true legand !

what did that mean by changing them ??

No!No!No!Yes! 2010-11-03 21:31

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by stevomanu (Post 862625)
thanks dude i got rid of the - T 5 an changed it to 10 an all is good , many thanks mate your a true legand !

Glad to hear that ... but consider changing your Internet Provider :D

stevomanu 2010-11-03 21:35

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by No!No!No!Yes! (Post 862636)
Glad to hear that ... but consider changing your Internet Provider :D

to be honest dude i have tryed it in few places , an notihng away from home at mo hopefully its still ok when i get back to try !

thanks once again

cybermae 2010-11-06 09:58

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Ok ,I have done everything in the OP and set up for premier league!!

right now,I have on my desktop http://i39.tinypic.com/ruo0p4.png
With the words
Quote:

English Premier L.
on top of the image

So its all good?
It'll update itself for today evenings game?

No!No!No!Yes! 2010-11-06 11:33

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by cybermae (Post 865061)
Ok ,I have done everything in the OP and set up for premier league!!

right now,I have on my desktop http://i39.tinypic.com/ruo0p4.png
With the words on top of the image

So its all good?
It'll update itself for today evenings game?

If your command looks like this you should already have tonite's games:
Code:

wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=eng.1&&lang=EN' | awk -v fav='Aston Villa' 'BEGIN{FS="";r=3;}/^<\/style>.+<\/html>/{match($0,"[\|] <b  >.+<\/b> [\|]");print "\t\t\t\t\t<span foreground=\"red\" font=\"bold 14\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\/style>.+<br \/>)|(<a[^>]*>)|(<[\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\"green\" font=\"bold\">"m[i]"</span>";if(match(m[i]," [0-9]+\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
Test it in phone shell:

you should get:
http://i.imgur.com/nudYo.jpg

cybermae 2010-11-06 11:42

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by No!No!No!Yes! (Post 865097)
If your command looks like this you should already have tonite's games:
Code:

wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=eng.1&&lang=EN' | awk -v fav='Aston Villa' 'BEGIN{FS="";r=3;}/^<\/style>.+<\/html>/{match($0,"[\|] <b  >.+<\/b> [\|]");print "\t\t\t\t\t<span foreground=\"red\" font=\"bold 14\"><i>" substr($0,RSTART+7,RLENGTH-13) "</i></span>";gsub(/(<\/style>.+<br \/>)|(<a[^>]*>)|(<[\/]*div[^>]*>)|(<div class="sec.+$)/,"",$0);x=split($0,m,"(<[^>]*>)");for(i=1;i<x;i++){n=split(m[i],p,"( - )|( [0-9]+-[0-9]+ )|( vs )");if(p[2]==fav||index(p[3],fav)==1){m[i]="<span foreground=\"green\" font=\"bold\">"m[i]"</span>";if(match(m[i]," [0-9]+\-[0-9]+ ")){split(substr(m[i],RSTART+1,RLENGTH-1),s,"[ \-]+");if((p[2]==fav&&s[1]>s[2])||(p[3]==fav&&s[2]>s[1]))r=0;else{if(s[1]==s[2])r=1;else r=2}}}print m[i];}}END{exit r}'
Test it in phone shell:

you should get:
http://i.imgur.com/nudYo.jpg

My code is similar to tht,except I have modified my fav to Manchester United from Aston villa....
But am not getting the games :O
And how do i test in phone shell?
is it xterminal?

Sorry but quite the noob at this



Ok re installing the entire widget...
But at step 11,I dont have the same options as in the Screen shot....
I get this
http://i55.tinypic.com/29vco45.png
Last time around I chose,Import buffer to beecon

No!No!No!Yes! 2010-11-06 13:17

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by cybermae (Post 865105)
My code is similar to tht,except I have modified my fav to Manchester United from Aston villa....
But am not getting the games :O
And how do i test in phone shell?
is it xterminal?

Sorry but quite the noob at this



Ok re installing the entire widget...
But at step 11,I dont have the same options as in the Screen shot....
I get this
http://i55.tinypic.com/29vco45.png
Last time around I chose,Import buffer to beecon

yes test in x-terminal

"import buffer to beecon" is ok

make sure you have package wget installed as well

skricciolo1981 2011-02-01 18:09

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
scusa No No Yes,vorrei chiederti se era possibile e fattibile,aggiungere a questo tuo stupendo Qb,oltre la serie A italiana,che ho gia installato(a proposito ,grazie sei un drago!!) le serie minori italiane,cioe la B,C1,C2, visto che mi tornerebbero tantissimo comodo,tra l altro la mia seconda squadra del cuore sta scendendo in B purtroppo!!!:(
Grazie infinite di cuore
Fabio

No!No!No!Yes! 2011-02-01 19:24

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

Originally Posted by skricciolo1981 (Post 933535)
scusa No No Yes,vorrei chiederti se era possibile e fattibile,aggiungere a questo tuo stupendo Qb,oltre la serie A italiana,che ho gia installato(a proposito ,grazie sei un drago!!) le serie minori italiane,cioe la B,C1,C2, visto che mi tornerebbero tantissimo comodo,tra l altro la mia seconda squadra del cuore sta scendendo in B purtroppo!!!:(
Grazie infinite di cuore
Fabio

Quote:

Originally Posted by No!No!No!Yes! (Post 575704)
[HowTo] Find WEB URL for other Leagues not listed so far

Create/Import your Beecon according to instructions on first post of this thread

After import has been done, press "Edit Cmd" button and change wget's URL (according to following instructions (relevant part is selected in picture):
http://i42.tinypic.com/29lzm6g.png
  1. Italian Serie B ita.2
  2. Italian Serie C1A ita.3
  3. Italian Serie C1B ita.4
  4. Italian Serie C2A ita.5
  5. Italian Serie C2B ita.6

prova cosi'

ciao

skricciolo1981 2011-02-01 21:55

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Grazie mille!!!! perfect!!!!!!!!
you are the best!!!!!!!!!compliment!!!!!!
a buon rendere ciao e grazie ,Fabio

skricciolo1981 2011-02-06 17:29

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
sorry,scusa ancora il disturbo.......provato oggi,funziona solo la serie A,e la serie B, tutta la serie C non va!! ce una soluzione?
ciao e grazie Fabio

oliforum 2011-02-06 22:41

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Is there any chance this to come to EXTRAS soon ?

i dont know L of Linux......

Sash 2011-02-06 23:21

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Queen BeeCon is in Extras.

You'll still have to set it up yourself but it's pretty straightforward if you follow the instructions from No!No!No!Yes!.

Give it a try. Which league are you after?

oliforum 2011-02-07 09:38

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Iv seen it in extras, but as soon as i see all the AT UR OWN RISK and WARNING messages i gave up of trying anything.
The one and the only command i know and that am using from terminal its, root and then reboot :)
I watch alot football , am big fan of Barca,but i have a lot of respect for the English Premier League.
The leagues i would like to folow with this app are all major ones:English,Spanish,Italian,German and the French league.

sagor_sb37 2011-02-11 12:50

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
thanks bro.......................

D4rKlar 2011-02-16 11:19

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Quote:

sorry,scusa ancora il disturbo.......provato oggi,funziona solo la serie A,e la serie B, tutta la serie C non va!! ce una soluzione?
ciao e grazie Fabio
Seems like only Serie A and B are working... has anyone managed to get Serie C going?

Many thanks in advance,

Kind Regards,
D4rKlar

AlexV12 2011-03-11 14:23

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Is it possible to make the beecon widget play a sound if a goal has been scored? would be perfect so i don't have to watch it the whole time.

and how can you place the date more towards the right? The name and date are now shown ontop of each other.

Supersimo88 2011-10-26 12:04

Re: [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon
 
Ma solo a me non va piu?
io ho il widget per la serie A e mentre con lo scorso campionato funzionava alla perfezione ora non mi va piů per niente!


All times are GMT. The time now is 12:59.

vBulletin® Version 3.8.8