It is currently April 26th, 2024, 11:58 am

Currency USDPLN

Get help with creating, editing & fixing problems with skins
User avatar
kehtron1
Posts: 28
Joined: October 27th, 2021, 11:34 am
Location: Poland

Re: Currency USDPLN

Post by kehtron1 »

Hi
I changed it and it is ok now, if there is no problem, I will not change it.
And the additional file with the odt extension is a file that provides information about the source of the banking website with USDPLN quotation.
I thought it would help you.
Best regards
Mariusz
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16172
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Currency USDPLN

Post by balala »

kehtron1 wrote: October 29th, 2021, 2:36 pm I changed it and it is ok now, if there is no problem, I will not change it.
I'm glad if you got it working. However just additionally, which solution did you use, the eclectic-tech's modified RegExp, or my second code?
User avatar
kehtron1
Posts: 28
Joined: October 27th, 2021, 11:34 am
Location: Poland

Re: Currency USDPLN

Post by kehtron1 »

Hello.
I entered your second code.
I did not open the experimental one.
Best regards
Mariusz
User avatar
kehtron1
Posts: 28
Joined: October 27th, 2021, 11:34 am
Location: Poland

Re: Currency USDPLN

Post by kehtron1 »

But thank you for presenting an alternative solution to eclectic-tech.
Best regards
Mariusz
User avatar
balala
Rainmeter Sage
Posts: 16172
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Currency USDPLN

Post by balala »

kehtron1 wrote: November 2nd, 2021, 9:01 pm I entered your second code.
I did not open the experimental one.
eclectic-tech's solution is good as well. Can be used.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5406
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Currency USDPLN

Post by eclectic-tech »

balala wrote: November 3rd, 2021, 7:49 am eclectic-tech's solution is good as well. Can be used.
Yes, there is usually more than one way to do most things in Rainmeter.
Options are a good thing! :D
User avatar
kehtron1
Posts: 28
Joined: October 27th, 2021, 11:34 am
Location: Poland

Re: Currency USDPLN

Post by kehtron1 »

Hello
A bit stupid, I am still fixing the problem with weather settings.
I enter my city Rzeszów Poland data PLXX0067 and nothing appears.
Maybe it's a sign, comma or dash.
I've tried many times and nothing.
Maybe you can help again.
Thank you in advance and best regards
Mariusz

Code: Select all

;Weather Status & 3-Day Forecast (TPE,TWN)

[Rainmeter]
Background=bg.png
Author=moxamax (modded by garbanzox)

[Variables]
;Please replace your location code of Weather.com below, e.g: Taipei is TWXX0021.
;You can check it on Weather.com or Google.
;And you may also delete "&unit=m" if you prefer the Fahrenheit Scale.
URL=http://xml.weather.com/weather/local/PLXX0067?cc=*&dayf=6
Font=Trebuchet MS

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

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=18000
Url=http://xml.weather.com/weather/local/PLXX0067?cc=*&dayf=6

RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
;--------------------------------

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

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDesc1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=18

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

;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

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

;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDesc2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=29

[MeasureWeatherDay2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=20

;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27

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

;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDesc3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=40

[MeasureWeatherDay3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=31

;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34

;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38

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

[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=160
Y=2
FontColor=0,0,0,180
StringStyle=NORMAL
FontSize=25
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDay]
Meter=STRING
X=93
Y=5
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Prefix="Today"

[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=93
Y=18
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=143
Y=1

[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=156
Y=0
Hidden=1
;------------------------- offset Y: +40

[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=160
Y=50
FontColor=0,0,0,180
StringStyle=NORMAL
FontSize=25
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDay1]
MeasureName=MeasureWeatherDay1
Meter=STRING
X=93
Y=54
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterDesc1]
MeasureName=MeasureWeatherDesc1
Meter=STRING
X=93
Y=67
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=156
Y=49
;------------------------- offset Y: +40

[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=160
Y=98
FontColor=0,0,0,180
StringStyle=NORMAL
FontSize=25
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDay2]
MeasureName=MeasureWeatherDay2
Meter=STRING
X=93
Y=103
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterDesc2]
MeasureName=MeasureWeatherDesc2
Meter=STRING
X=93
Y=116
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=156
Y=97
;------------------------- offset Y: +40

[MeterTemp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=160
Y=146
FontColor=0,0,0,180
StringStyle=NORMAL
FontSize=25
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDay3]
MeasureName=MeasureWeatherDay3
Meter=STRING
X=93
Y=151
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterDesc3]
MeasureName=MeasureWeatherDesc3
Meter=STRING
X=93
Y=164
FontColor=0,0,0,180
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=156
Y=145
Last edited by SilverAzide on November 26th, 2021, 3:04 pm, edited 1 time in total.
Reason: Please use code tags when posting code. It's the </> button.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2610
Joined: March 23rd, 2015, 5:26 pm

Re: Currency USDPLN

Post by SilverAzide »

You have multiple issues. First and foremost, weather.com deprecated their XML data feed years ago, so this skin is never going to work without major modifications. Secondly, weather.com does not use those "short codes" like PLXX0067 anymore. You need to find a more recent skin (something created or released after approximately August 2020) or modify this one.
Gadgets Wiki GitHub More Gadgets...
User avatar
jsmorley
Developer
Posts: 22630
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Currency USDPLN

Post by jsmorley »

Yes, you might want to start here:

https://forum.rainmeter.net/viewtopic.php?t=34689

And if you want to correct the skin you have, you might look here:

https://forum.rainmeter.net/viewtopic.php?t=34734
User avatar
kehtron1
Posts: 28
Joined: October 27th, 2021, 11:34 am
Location: Poland

Re: Currency USDPLN

Post by kehtron1 »

Hi
I am asking for help in configuring the e-mail.
I don't know how to swap.
My mail -
https://poczta.o2.pl/
My login -
kehtron1
My password - *******
Thanks for the help in advance.
Best regards
Mariusz

Code: Select all

[Rainmeter]
Author=Jessydior, modified by Tatenokai
Update=1000
AdminRights=1

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

[Variables]
AccountName=AccountName
Password=Password
FontName=Constantia
FontSize=12
White=0,0,0
White1=0,0,0

update.Spd=600
Substitute="&amp;":"&","&quot;":"","&Quot;":"","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","Gmail - Inbox":"","&#39;":"'"

ToggleLoading=[!RainmeterHideMeter LoadingMessage][!RainmeterShowMeter MailMessage]
Url=https://#AccountName#:#Password#@gmail.google.com/gmail/feed/atom 

-------------------------Measures-------------------------

[RSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp="(?siU)<title>(.+)</title>(.+)<entry(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>"
UpdateRate=#update.Spd#
StringIndex=1
Substitute=#Substitute#
FinishAction=!execute #ToggleLoading#[!RainmeterRedraw]
Debug=1

[MeasureMailCount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp="(?siU)<fullcount>(.*)</fullcount>"
StringIndex=2
FinishAction=!Execute [!RainmeterRedraw]

[MeasureCount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureMailCount]
StringIndex=1
UpdateRate=140

-------------------------Meters-------------------------

[MeterMailIcon]
Meter=IMAGE
X=0
Y=10
W=65
H=67
ImageName=mail_icon.png
LeftMouseUpAction=!Execute [!RainmeterRefresh]
MiddleMouseUpAction=!Execute ["http://mail.google.com/mail/"][!RainmeterRefresh]

[MeterTitle]
Meter=STRING
MeasureName=MeasureCount
X=55
Y=20
W=100
H=20
FontColor=#White#
StringStyle=NORMAL
StringAlign=LEFT
FontSize=14
FontFace=#FontName#
AntiAlias=1
ClipString=1

[LoadingMessage]
Meter=STRING
MeasureName=RSS
Prefix="Loading, Click on the icon to Refresh..."
X=70
Y=29
W=120
H=20
FontColor=#White#
StringStyle=NORMAL
FontSize=10
FontFace=#FontName#
AntiAlias=1
ClipString=1

[MailMessage]
Meter=STRING
MeasureName=RSS
Prefix="    Nowa wiadomosc"
X=50
Y=29
W=190
H=35
FontColor=#White#
StringStyle=NORMAL
FontSize=12
FontFace=#FontName#
AntiAlias=1
ClipString=1
Hidden=1
Last edited by balala on January 17th, 2022, 2:07 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are posting code snippets. It's the </> button.