web praser and rainmeter refresh

Help with creating, editing & fixing problems with skins
User avatar

web praser and rainmeter refresh

April 21st, 2010, 11:44 pm
Digi
   [52 posts]

hi guys

my problem is that rainmeter wont refresh or to be more precise the web parser giving me an rerror...this is what i get in the log file

Code: Select all

DEBUG: (00:02:50.525) WebParser: Fetching URL: http://www.rainmeter.net/forum/rss.php?count=4
DEBUG: (00:02:50.525) WebParser (1083) The system cannot find the file specified.


how can i fix this issue?



thanks alot in advance
User avatar

Re: web praser and rainmeter refresh

April 21st, 2010, 11:54 pm
jsmorley
Developer   [15895 posts]

The url is ok, so there must be something else. paste the whole skin in using the code tags and let's see.
User avatar

Re: web praser and rainmeter refresh

April 22nd, 2010, 12:08 am
Digi
   [52 posts]

thanks for thespeedy reply jsmorley mate

this happning with 2 skin the weather and the web feed.... i should say it could be cos when i started rainmeter i had no internet but after i connect the net i refreshd all theskins and restarted rainmeter butstill nothing...here is the code for the 2 skins

the weather skin

Code: Select all

;===========================================
;  Rainmeter configuration file
;===========================================

[Rainmeter]
Author=TheNobody
AppVersion=1.2
Update=1000
BackgroundMode=0



;===========================================
;  Weather Dysplay
;===========================================

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
fontColor.Text=255, 255, 255, 240
bar.color=255, 255, 255, 50
bar.color=255, 255, 255, 50
graph.line1=255, 255, 255, 75
graph.line2=255, 255, 255, 37
border.color=255, 255, 255, 75

FontName=Trebuchet MS
FontHeight=8
AntiAlias=1

;Please replace your location code of Weather.com below, e.g: New York is USNY0996.
;You can check it on Weather.com or Google.
dest=UKXX0052
; define Fahrenheit Scale = f or Celsius = m
SCALE=m
; define show Scale Mark
SCALE.txt=°C
;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
; updated weather ~15 minut
UpdateRate=3600
Url=http://xml.weather.com/weather/local/#dest#?cc=*&unit=#SCALE#&dayf=6

RegExp="(?siU)<weather ver=(.*)>(.*)<dnam>(.*)</dnam>(.*)<lat>(.*)</lat>(.*)<lon>(.*)</lon>(.*)<sunr>(.*)</sunr>(.*)<suns>(.*)</suns>(.*)<lsup>(.*)</lsup>(.*)<tmp>(.*)</tmp>(.*)<flik>(.*)</flik>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<r>(.*)</r>(.*)<d>(.*)</d>(.*)<s>(.*)</s>(.*)<d>(.*)</d>(.*)<t>(.*)</t>(.*)<hmid>(.*)</hmid>(.*)<vis>(.*)</vis>(.*)<i>(.*)</i>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="4" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)"
StringIndex=1
;Debug=1

;--------------------------------

[MeasureWeatherDestination]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3



[MeasureWeatherLastUpdate]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=13

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=15

[MeasureWeatherTempLike]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
;Substitute="Clear":"Senin","Fair":"Fãrã nori ","Partly Cloudy":"Parþial noros","Mostly Cloudy":"În general noros","Cloudy":"Noros","Freezing Rain":"Ploaie rece","Light Rain Shower":"Averse de ploaie","Light Rain":"Ploaie uºoarã","Rain":"Ploaie","Thunder":"Tunet","Shower":"Averse de ploaie","Light Snow":"Ninsoare uºoarã","Snow":"Zãpadã","Sunny":"Însorit","Windy":"Vânt","Haze":"Ceaþã uºoarã","Fog":"Ceaþã","Set":"Stabil","T-Storm":"Furtunã"
StringIndex=19

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21


;-------------------------

;tomorrow's day, id=45
;tomorrow's date, id=46, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
;Substitute="Monday":"Luni","Tuesday":"Marþi","Wednesday":"Miercuri","Thursday":"Joi","Friday":"Vineri","Saturday":"Sambãtã","Sunday":"Duminicã"
StringIndex=45

[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=48

[MeasureWeatherTemp1_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=50

;tomorrow's weather icon, id=23
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=52

[MeasureWeatherDay1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=54

[MeasureWeatherPrecipitation1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=56

;-------------------------

;

;================================================================

[Backing]
Meter=Image
X=100
Y=0
W=400
H=300
SolidColor=255,255,255,0


[MeterTempDestination]
MeasureName=MeasureWeatherDestination
Meter=STRING
X=80
Y=17r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1



[MeterTempDescription]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=80
Y=12r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=10
FontFace=#FontName#
Antialias=1

[MeterTempToday]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=80
Y=20r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=16
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1

[MeterTempLikeToday]
MeasureName=MeasureWeatherTempLike
Meter=STRING
X=80
Y=25r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Text="(Feels like %1#SCALE.txt#)"
Antialias=1

[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=52
Y=100
W=60
H=50
ImageAlign=Center


;-------------------------



[MeterDay1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=80
Y=170
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterWeatherDay1]
MeasureName=MeasureWeatherDay1
Meter=STRING
X=80
Y=185
StringStyle=Bold
StringAlign=CENTER
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterPrecipitationDay1]
MeasureName=MeasureWeatherPrecipitation1
Meter=STRING
X=80
Y=65r
StringStyle=Bold
StringAlign=CENTER
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Text="Chance of Rain %1%"
Antialias=1

[MeterTempDay1]
MeasureName=MeasureWeatherTemp1_Lo
MeasureName2=MeasureWeatherTemp1
Meter=STRING
X=80
Y=15r
StringStyle=BOLD
StringAlign=Center
FontColor=255,255,255,200
FontSize=#FontHeight#
FontFace=#FontName#
Text="%1#SCALE.txt# - %2#SCALE.txt#"
Antialias=1

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=54
Y=205
W=50
H=40
ImgaeAlign=Center
;-------------------------



the web feed skin

Code: Select all

[Rainmeter]
Update=1000

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
RSSURL=http://www.rainmeter.net/forum/rss.php?count=4
RSSLink=http://www.rainmeter.net/forum
FontName=Century Gothic
BlackFont=0,0,0,255
PurpFont=60,50,135,255
WhiteFont=255,255,255
BarColor1=255,255,255
FontColor1=255,255,255
FontColor2=0,0,0,190
FontColor3=255, 255, 255, 160
FontColorActive=180,180,180
FontHeight1=8
FontHeight2=7
AntiAlias=1
Substitute="&amp;":"&","&quot;":"","&Quot;":"","&lt;br&gt;":"","<![CDATA[":"","]]>":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'"

; ------------------------

[Filter]
Meter=IMAGE
SolidColor=0,0,0,0
X=0
Y=0
H=160
W=200


[Line1a]
Meter=IMAGE
SolidColor=#BarColor1#
X=0
Y=111
H=2
W=190
AntiAlias=1

[IconRain]
Meter=IMAGE
ImageName=rainmeterwhite.png
X=5
Y=0
H=35
W=35
LeftMouseDownAction=!Execute ["#RSSLink#"]

[Rainmeter_Text]
Meter=String
X=170
Y=5
FontColor=255,255,255
FontSize=14
FontFace=#FontName#
StringStyle=Normal
StringAlign=RIGHT
AntiAlias=1
Text="rainmeter"
;-------------------------



[RSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#RSSURL#
RegExp="(?siU)<title>(.*)<\/title>(?(?=.*<lastBuildDate>(.*)<\/lastBuildDate>))(?(?=.*<link>(.*)<\/link>.)).*<description>(.*)<\/description>(?:(?:.*<url>(.*)<\/url>)|.*).*<item(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)(?:.*<title>(.*)<\/title>(?(?=.*<pubDate>(.*)<\/pubDate>)).*<link>(.*)<\/link>.*<description>(.*)<\/description>|.*)"
UpdateRate=600
StringIndex=1
Substitute=#Substitute#

[MeasureRSS1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=6
Substitute=#Substitute#

[MeasureLink1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=8
Substitute="&amp;":"&"

---

[MeasureRSS2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=10
Substitute=#Substitute#

[MeasureLink2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=12
Substitute="&amp;":"&"

---

[MeasureRSS3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=14
Substitute=#Substitute#

[MeasureLink3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=16
Substitute="&amp;":"&"

---

[MeasureRSS4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=18
Substitute=#Substitute#

[MeasureLink4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=20
Substitute="&amp;":"&"

---

[MeasureRSS5]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=22
Substitute=#Substitute#

[MeasureLink5]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=24
Substitute="&amp;":"&"

---

[MeasureRSS6]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=26
Substitute=#Substitute#

[MeasureLink6]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=28
Substitute="&amp;":"&"

---

[MeasureRSS7]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=30
Substitute=#Substitute#

[MeasureLink7]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=32
Substitute="&amp;":"&"

---

[MeasureRSS8]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=34
Substitute=#Substitute#

[MeasureLink8]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=36
Substitute="&amp;":"&"

---

[MeasureRSS9]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=38
Substitute=#Substitute#

[MeasureLink9]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=40
Substitute="&amp;":"&"

---

[MeasureRSS10]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=42
Substitute=#Substitute#

[MeasureLink10]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[RSS]
StringIndex=44
Substitute="&amp;":"&"

; ------------------------------------------------------------------------------------------------






[Feed1]
Meter=STRING
MeasureName=MeasureRSS1
X=5
Y=37
H=14
W=180
ClipString=1

StringStyle=NORMAL
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
MouseOverAction=!execute [!RainmeterShowMeter Link1][!RainmeterHideMeter Feed1][!RainmeterRedraw]

[Link1]
Meter=STRING
MeasureName=MeasureRSS1
X=r
Y=r
H=14
W=180
ClipString=1

StringStyle=BOLD
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
Hidden=1
MouseLeaveAction=!execute [!RainmeterShowMeter Feed1][!RainmeterHideMeter Link1][!RainmeterRedraw]
LeftMouseDownAction=[MeasureLink1]

[Feed2]
Meter=STRING
MeasureName=MeasureRSS2
MeasureName2=MeasureLink2
X=5
Y=15r
H=14
W=180
ClipString=1

StringStyle=NORMAL
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
MouseOverAction=!execute [!RainmeterShowMeter Link2][!RainmeterHideMeter Feed2][!RainmeterRedraw]

[Link2]
Meter=STRING
MeasureName=MeasureRSS2
X=r
Y=r
H=14
W=180
ClipString=1
StringStyle=BOLD
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
Hidden=1
MouseLeaveAction=!execute [!RainmeterShowMeter Feed2][!RainmeterHideMeter Link2][!RainmeterRedraw]
LeftMouseDownAction=[MeasureLink2]

[Feed3]
Meter=STRING
MeasureName=MeasureRSS3
MeasureName2=MeasureLink3
X=5
Y=15r
H=14
W=180
ClipString=1

StringStyle=NORMAL
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
MouseOverAction=!execute [!RainmeterShowMeter Link3][!RainmeterHideMeter Feed3][!RainmeterRedraw]

[Link3]
Meter=STRING
MeasureName=MeasureRSS3
X=r
Y=r
H=14
W=180
ClipString=1

StringStyle=BOLD
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
Hidden=1
MouseLeaveAction=!execute [!RainmeterShowMeter Feed3][!RainmeterHideMeter Link3][!RainmeterRedraw]
LeftMouseDownAction=[MeasureLink3]

[Feed4]
Meter=STRING
MeasureName=MeasureRSS4
MeasureName2=MeasureLink4
X=5
Y=15r
H=14
W=180
ClipString=1
StringStyle=NORMAL
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
MouseOverAction=!execute [!RainmeterShowMeter Link4][!RainmeterHideMeter Feed4][!RainmeterRedraw]

[Link4]
Meter=STRING
MeasureName=MeasureRSS4
X=r
Y=r
H=14
W=180
ClipString=1

StringStyle=BOLD
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
Hidden=1
MouseLeaveAction=!execute [!RainmeterShowMeter Feed4][!RainmeterHideMeter Link4][!RainmeterRedraw]
LeftMouseDownAction=[MeasureLink4]

[Feed5]
Meter=STRING
MeasureName=MeasureRSS5
MeasureName2=MeasureLink5
X=5
Y=15r
H=14
W=180
ClipString=1

StringStyle=NORMAL
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
MouseOverAction=!execute [!RainmeterShowMeter Link5][!RainmeterHideMeter Feed5][!RainmeterRedraw]

[Link5]
Meter=STRING
MeasureName=MeasureRSS5
X=r
Y=r
H=14
W=180
ClipString=1

StringStyle=BOLD
FontColor=#FontColor1#
FontSize=#FontHeight1#
FontFace=#FontName#
AntiAlias=1
Hidden=1
MouseLeaveAction=!execute [!RainmeterShowMeter Feed5][!RainmeterHideMeter Link5][!RainmeterRedraw]
LeftMouseDownAction=[MeasureLink5]



thanks alot mate
User avatar

Re: web praser and rainmeter refresh

April 22nd, 2010, 2:27 am
jsmorley
Developer   [15895 posts]

The weather skin works just fine for me. I don't understand about "not having internet" when you start Rainmeter. Try getting your internet connected then stopping and starting Rainmeter. Does the skin work then?
User avatar

Re: web praser and rainmeter refresh

April 22nd, 2010, 3:25 am
Digi
   [52 posts]

they are working now....i didnt do anything to it...was waiting for ur reply...this is weired :shock: never happened b4, i had a look in the documentation but couldnt find the meaning for these errors...this is the log file

Code: Select all

DEBUG: (01:04:37.764) WebParser: Fetching URL: http://www.rainmeter.net/forum/rss.php?count=4
DEBUG: (01:04:37.779) WebParser (1083) The system cannot find the file specified.


DEBUG: (01:12:36.063) WebParser: Fetching URL: http://feeds.gawker.com/lifehacker/full
DEBUG: (01:12:36.406) WebParser (1083) Unknown error: 12007
DEBUG: (01:14:55.294) WebParser: Fetching URL: http://www.rainmeter.net/forum/rss.php?count=4
DEBUG: (01:14:55.418) WebParser (1083) Unknown error: 12007
DEBUG: (01:22:58.663) WebParser: Fetching URL: http://feeds.gawker.com/lifehacker/full
DEBUG: (01:23:04.653) WebParser: Finished URL: http://feeds.gawker.com/lifehacker/full
DEBUG: (01:25:19.922) WebParser: Fetching URL: http://www.rainmeter.net/forum/rss.php?count=4


strange ha?

Return to “Help: Rainmeter Skins”



Who is online

Users browsing this forum: Bing [Bot] and 4 guests