Quantcast
Viewing all articles
Browse latest Browse all 3201

ashish93 on "Struggling with Jarvis theme in Windows7 for weather update (linking to website)"

This is a Jarvis theme for windows 7. In which one of the skin is for updates on weather. following is the script to derive data related to weather from the website. How should I use this ? Where do I need to make changes ?

[rainmeter]
iron man/jarvis theme desktop
by barbadianOne
-weather

VARIABLES============================================

;Metadata added by RainBrowser

;http://rainmeter.net/RainCMS/?q=Rainmeter101_AnatomyOfASkin

[Metadata]

Name=

Config=

Description=

Instructions=

Version=

Tags=

License=

Variant=

Preview=

;End of added Metadata

[variables]

@include=#skinspath#iron man\UserVariables.inc

[background]

meter=image

imagename=weatherY.png

x=0

y=0

[Current]

Measure=Plugin

Plugin=Plugins\WebParser.dll

UpdateRate=3000

Url=http://xml.weather.com/weather/local/#location#?cc=*&unit=#metric#&dayf=0

RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"

[Today]

Measure=Plugin

Plugin=Plugins\WebParser.dll

UpdateRate=3000

Url=http://xml.weather.com/weather/local/#Location#?cc=*&unit=#Metric#&dayf=1

RegExp="(?siU)<dayf>.*<lsup>(.*)</lsup>.*<day d="0" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"

[MeasureWeatherTemp]

Measure=Plugin

Plugin=Plugins\WebParser.dll

Url=[Current]

StringIndex=17

[MeasureWeatherDesc]

Measure=Plugin

Plugin=Plugins\WebParser.dll

Url=[Current]

StringIndex=19

Substitute=" And ":" and ","Lgt.":"Light ","Snow/":"Snow & "

[meterdesc]

measurename=measureweatherdesc

meter=string

x=120

y=35

fontcolor=e7d00a

fontsize=10

stringalign=center

stringstyle=BOLD

fontface=electrofied

antialias=1

[metertemp]

measurename=measureweathertemp

meter=string

x=225

y=86

stringstyle=normal

fontcolor=e7d00a

fontsize=42

stringalign=center

stringstyle=BOLD

fontface=after disaster

antialias=1

postfix="°"


Viewing all articles
Browse latest Browse all 3201

Trending Articles