I have a similar problem and have tried this suggestion but still no go. Any Ideas ?
Code: Select all
[Rainmeter]
Author=Malcolm Newton
Update=1000
BackgroundMode=1
[Variables]
skin.Style=Horizontal
@Include=#SKINSPATH#\Variables.inc
skin.Width=600
Fpath=#CURRENTPATH#downloadfile\html.txt
Url=http://www.buffalogasprices.com/
RegExp=(?siU).*Buffalo Avg</h1> <br /> <h2>(.*)</h2>
; MEASURES ====================================
[LoadBuff]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1200
Url=#UrL#
RegExp=#RegExp#
Debug2File="Debug2File.txt"
debug=2
;[DISPLAY METERS]==================================
[Line]
Meter=IMAGE
MeterStyle=sTextL
[Icon]
Meter=IMAGE
MeterStyle=sIcon
ImageName=gas.jpg
[Title]
Meter=STRING
MeterStyle=sTitle
Text=Gas Price in Buffalo NY
x=20
[Price3]
MeasureName=LoadBuff
Meter=STRING
X=2
y=22r
StringIndex=1
DynamicVariables=1
text=Buff :%1
debug log is
NOTICE: (02:17:45.281) Refreshing skin "waittimes\Gasprices-buff.ini"
DEBUG: (02:17:45.281) Reading file: C:\Documents and Settings\mnewton\Application Data\Rainmeter\Rainmeter.ini
DEBUG: (02:17:45.281) Reading file: C:\Documents and Settings\mnewton\My Documents\Rainmeter\Skins\waittimes\Gasprices-buff.ini
DEBUG: (02:17:45.281) Reading file: C:\Documents and Settings\mnewton\My Documents\Rainmeter\Skins\\Variables.inc
DEBUG: (02:17:45.281) C:\Documents and Settings\mnewton\My Documents\Rainmeter\Skins\waittimes\Debug2File.txt
DEBUG: (02:17:45.281) WebParser.dll: Fetching: http://www.buffalogasprices.com/
DEBUG: (02:17:45.781) WebParser.dll: [LoadBuff] (Index 0)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<base id="ctl00_head_base" href="http://www.buffalogasprices.com/"></base
DEBUG: (02:17:45.781) WebParser.dll: [LoadBuff] (Index 1) 3.809
So it finds the right data 3.809 which is between a <h2> and an </h2)
but the text=Buff :%1
displays nothing
strange
I have another skin similar that works ok.
MN