It is currently March 28th, 2024, 11:49 pm

Weather SKIN REQUEST

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

FreeRaider wrote:balala, you have forgotten to indicate the item variable
As usually, I again forgot something. Sorry.
Here it is:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1

[Variables]
Item=(?(?=.*<tr>).*<td>(.*)</td>.*<td><input type="radio" name="starting_image" value=".*"  /></td>.*<td><a href="(.*)" target="_blank" .*</td>.*</tr>)
The [Rainmeter] section is needed as well.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Now I'm eager to learn this :D thanks all anything else you would like to add :thumbup: :thumbup: :thumbup:
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Rainmeter Program hangs
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

What you mean by
vHAPpY wrote:Rainmeter Program hangs
?
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Weather SKIN REQUEST

Post by fonpaolo »

balala wrote:What you mean by
?
Probably, given the size and number of images downloaded, it will take a while...
Even using the browser sometimes hangs when you access the site.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Given codes

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1

[Variables]
Item=(?(?=.*<tr>).*<td>(.*)</td>.*<td><input type="radio" name="starting_image" value=".*"  /></td>.*<td><a href="(.*)" target="_blank" .*</td>.*</tr>)

[MeasureImagesURL]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
RegExp=(?siU)#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#
FinishAction=[!EnableMeasureGroup "Images"][!CommandMeasure "MeasureImage0" "Update"][!CommandMeasure "MeasureImage1" "Update"][!CommandMeasure "MeasureImage2" "Update"][!CommandMeasure "MeasureImage3" "Update"][!CommandMeasure "MeasureImage4" "Update"][!CommandMeasure "MeasureImage5" "Update"][!CommandMeasure "MeasureImage6" "Update"][!CommandMeasure "MeasureImage7" "Update"][!CommandMeasure "MeasureImage8" "Update"][!CommandMeasure "MeasureImage9" "Update"][!EnableMeasure "MeasureTimer"][!ShowMeterGroup "ImgDat"]

[MeasureDate0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=1

[MeasureImageURL0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=2
IfMatch=^$
IfMatchAction=[!SetVariable Img0 "0"]
IfNotMatchAction=[!SetVariable Img0 "1"]

[MeasureDate1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=3

[MeasureImageURL1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=4
IfMatch=^$
IfMatchAction=[!SetVariable Img1 "0"]
IfNotMatchAction=[!SetVariable Img1 "1"]

[MeasureDate2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=5

[MeasureImageURL2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=6
IfMatch=^$
IfMatchAction=[!SetVariable Img2 "0"]
IfNotMatchAction=[!SetVariable Img2 "1"]

[MeasureDate3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=7

[MeasureImageURL3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=8
IfMatch=^$
IfMatchAction=[!SetVariable Img3 "0"]
IfNotMatchAction=[!SetVariable Img3 "1"]

[MeasureDate4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=9

[MeasureImageURL4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=10
IfMatch=^$
IfMatchAction=[!SetVariable Img4 "0"]
IfNotMatchAction=[!SetVariable Img4 "1"]

[MeasureDate5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=11

[MeasureImageURL5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=12
IfMatch=^$
IfMatchAction=[!SetVariable Img5 "0"]
IfNotMatchAction=[!SetVariable Img5 "1"]

[MeasureDate6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=13

[MeasureImageURL6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=14
IfMatch=^$
IfMatchAction=[!SetVariable Img6 "0"]
IfNotMatchAction=[!SetVariable Img6 "1"]

[MeasureDate7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=15

[MeasureImageURL7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=16
IfMatch=^$
IfMatchAction=[!SetVariable Img7 "0"]
IfNotMatchAction=[!SetVariable Img7 "1"]

[MeasureDate8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=17

[MeasureImageURL8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=18
IfMatch=^$
IfMatchAction=[!SetVariable Img8 "0"]
IfNotMatchAction=[!SetVariable Img8 "1"]

[MeasureDate9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=19

[MeasureImageURL9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=20
IfMatch=^$
IfMatchAction=[!SetVariable Img9 "0"]
IfNotMatchAction=[!SetVariable Img9 "1"]

[MeasureImage0]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL0]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage1]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL1]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage2]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL2]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage3]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL3]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage4]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL4]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage5]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL5]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage6]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL6]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage7]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL7]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage8]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL8]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage9]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL9]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureTimer]
Measure=Calc
Formula=( COUNT % ( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# ))
DynamicVariables=1
Disabled=1

[MeterImages]
Meter=Image
MeasureName=MeasureImage[MeasureTimer]
X=0
Y=0
Hidden=1
DynamicVariables=1
Group=ImgDat

[MaterDates]
Meter=STRING
MeasureName=MeasureDate[MeasureTimer]
X=([MeterImages:W]/2)
Y=-3R
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CENTERBOTTOM
AntiAlias=1
Text=%1
DynamicVariables=1
Hidden=1
Group=ImgDat

[MeterBack]
Meter=Image
ImageName="#@#images\webcam\back.png"
X=0
Y=0
UpdateDivider=-1

[MeterTop]
Meter=Image
ImageName="#@#images\webcam\top.png"
X=0
Y=0
UpdateDivider=-1
Still no image being downloaded
Files inside.png
:(
You do not have the required permissions to view the files attached to this post.
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Weather SKIN REQUEST

Post by fonpaolo »

Rainmeter Log is your best friend for understand what's going wrong.

Right mouse click on your skin, click "Manage skin" and then "Open log" if there's a problem, you'll find there, copy and paste the errors it gives for your skin.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

log.png
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

The code you've posted above works well for me. The only inconvenience about it is that it takes up to 10 secs until the images appear, but after this period, they appear.
Are you sure it's not working in your case? If it's not, try to restart Rainmeter, in many cases when you're working with the WebParser plugin, a such restart is required. I mean a complete restart of Rainmeter (right click its tray icon, click Exit, then start it again).
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

it is really not working for me :( sad

is there something wrong with my folders or plug in's needed in the folder itself?