It is currently May 17th, 2022, 11:22 am

Yahoo Fantasy Football scores

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
RustyShacklef4d
Posts: 1
Joined: October 17th, 2011, 11:51 am

Yahoo Fantasy Football scores

Post by RustyShacklef4d »

I made a simple skin to get my fantasy football scores. Didn't know if anyone else would want to use it. Here's the code, the only thing you'd have to change in the code would do a find replace for XXXXXX for your league id number. It will show the first 5 users in the league. I have no need to add more right now as my league only has 5 people in it.

Code: Select all

[Rainmeter]
Author=Rusty
AppVersion=1
Update=1000
MiddleMouseDownAction=!RainmeterDeactivateConfig
BackgroundMode=1

[Metadata]
Name=Rusty's Fantasy Football Scores
Description=Shows the scores from my fantasy football league
Version=0.1
License=Creative Commons BY-NC-SA 3.0

[Variables]
skin.Style=Horizontal
@Include=#ROOTCONFIGPATH#SETTINGS\Variables.inc

; MEASURES ====================================
[mLeagueName]
Measure=Plugin
Plugin=WebParser.dll
Url=http://football.fantasysports.yahoo.com/f1/XXXXXX
RegExp="(?siU)<span><em>Viewing Info for League: </em><strong>(.*)</strong>.*<td class="first"><a href="/f1/XXXXXX/1">(.*)</.*"last">(.*)</td>.*<td class="first"><a href="/f1/XXXXXX/2">(.*)</.*"last">(.*)</td>.*<td class="first"><a href="/f1/XXXXXX/3">(.*)</.*"last">(.*)</td>.*<td class="first"><a href="/f1/XXXXXX/4">(.*)</.*"last">(.*)</td>.*<td class="first"><a href="/f1/XXXXXX/5">(.*)</.*"last">(.*)</td>.*"
UpdateRate=600
StringIndex=1


[mPlayer1Name]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
UpdateRate=600
StringIndex=2

[mPlayer1Score]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
UpdateRate=600
StringIndex=3

[mPlayer2Name]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
UpdateRate=600
StringIndex=4

[mPlayer2Score]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
StringIndex=5
UpdateRate=600

[mPlayer3Name]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
UpdateRate=600
StringIndex=6

[mPlayer3Score]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
StringIndex=7
UpdateRate=600

[mPlayer4Name]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
UpdateRate=600
StringIndex=8

[mPlayer4Score]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
StringIndex=9
UpdateRate=600

[mPlayer5Name]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
UpdateRate=600
StringIndex=10

[mPlayer5Score]
Measure=Plugin
Plugin=WebParser.dll
Url=[mLeagueName]
StringIndex=11
UpdateRate=600





; STYLES ======================================

@Include2=#ROOTCONFIGPATH#SETTINGS\Style#skin.Style#.inc

[sPopup]
Hidden=0

[sTextL]
Hidden=0

; METERS ======================================

[Icon]
Meter=IMAGE
MeterStyle=sIcon
ImageName=football.png
ToolTipText="Open The League page"
LeftMouseUpAction=!Execute [http://football.fantasysports.yahoo.com/f1/XXXXXX]
MouseActionCursor=1

[Line]
Meter=IMAGE
MeterStyle=sLine

[Title]
Meter=STRING
MeterStyle=sTitle
Text=Fantasy Football Scores

[Subtitle]
Meter=STRING
MeterStyle=sSubtitle
MeasureName=mLeagueName

[Item1Label]
Meter=STRING
MeterStyle=sTextL
MeasureName=mPlayer1Name
y=#h.Item#
ToolTipText="Open %1's Page"
LeftMouseUpAction=!Execute [http://football.fantasysports.yahoo.com/f1/XXXXXX/1]
MouseActionCursor=1

[Item1Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mPlayer1Score

[Seperator1]
Meter=IMAGE
MeterStyle=sSeperator

[Item2Label]
Meter=STRING
MeterStyle=sTextL
MeasureName=mPlayer2Name
ToolTipText="Open %1's Page"
LeftMouseUpAction=!Execute [http://football.fantasysports.yahoo.com/f1/XXXXXX/2]
MouseActionCursor=1

[Item2Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mPlayer2Score
[Seperator2]
Meter=IMAGE
MeterStyle=sSeperator

[Item3Label]
Meter=STRING
MeterStyle=sTextL
MeasureName=mPlayer3Name
ToolTipText="Open %1's Page"
LeftMouseUpAction=!Execute [http://football.fantasysports.yahoo.com/f1/XXXXXX/3]
MouseActionCursor=1

[Item3Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mPlayer3Score
[Seperator3]
Meter=IMAGE
MeterStyle=sSeperator

[Item4Label]
Meter=STRING
MeterStyle=sTextL
MeasureName=mPlayer4Name
ToolTipText="Open %1's Page"
LeftMouseUpAction=!Execute [http://football.fantasysports.yahoo.com/f1/XXXXXX/4]
MouseActionCursor=1

[Item4Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mPlayer4Score

[Seperator4]
Meter=IMAGE
MeterStyle=sSeperator

[Item5Label]
Meter=STRING
MeterStyle=sTextL
MeasureName=mPlayer5Name
ToolTipText="Open %1's Page"
LeftMouseUpAction=!Execute [http://football.fantasysports.yahoo.com/f1/XXXXXX/5]
MouseActionCursor=1

[Item5Value]
Meter=STRING
MeterStyle=sTextR
MeasureName=mPlayer5Score

[Seperator5]
Meter=IMAGE
MeterStyle=sSeperator

[Gap]
Meter=IMAGE
MeterStyle=sGap
You do not have the required permissions to view the files attached to this post.