It is currently November 29th, 2021, 4:48 am

Please can someone help me get rss readder working.

Help with creating, editing & fixing problems with skins
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Please can someone help me get rss readder working.

Post by Parkour Addict »

I tried every thing some how I can't get any weather or rss reader working...her is my code

Code: Select all

; ------------------------------------------------------------------------------------------------
; ENIGMA ATOM READER
; Class: Sidebar

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterRefresh #CURRENTCONFIG#

[Metadata]
Name=Enigma Atom
Config=Enigma | Sidebar | Reader | Atom-Reader
Description=This skin shows the latest items from any Atom feed.
Instructions=Change your feed URL using the variable "Atom".
Version=2.6
Tags=Atom | Sidebar
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
Credits=Thanks to JSMorley for the regular expressions.

[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc

; ------------------------------------------------------------------------------------------------
; MEASURES

[Feed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
RegExp=(?siU)<title type="text">(.*)</title>.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T
UpdateRate=1000
StringIndex=1
Substitute=#SubstituteFeed#

[FeedURL]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=2
Substitute=#SubstituteFeed#

[MeasureItem1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=3
Substitute=#SubstituteFeed#

[MeasureLink1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=4
Substitute=#SubstituteLink#

---

[MeasureItem2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=5
Substitute=#SubstituteFeed#

[MeasureLink2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=6
Substitute=#SubstituteLink#

---

[MeasureItem3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=7
Substitute=#SubstituteFeed#

[MeasureLink3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=8
Substitute=#SubstituteLink#

---

[MeasureItem4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=9
Substitute=#SubstituteFeed#

[MeasureLink4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=10
Substitute=#SubstituteLink#

---

[MeasureItem5]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=11
Substitute=#SubstituteFeed#

[MeasureLink5]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=12
Substitute=#SubstituteLink#

---

[MeasureItem6]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=13
Substitute=#SubstituteFeed#

[MeasureLink6]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=14
Substitute=#SubstituteLink#

---

[MeasureItem7]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=15
Substitute=#SubstituteFeed#

[MeasureLink7]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=16
Substitute=#SubstituteLink#

---

[MeasureItem8]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=17
Substitute=#SubstituteFeed#

[MeasureLink8]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=18
Substitute=#SubstituteLink#

; ------------------------------------------------------------------------------------------------
; STYLES

[StyleItem]
X=2
Y=15r
H=10
W=180
ClipString=1
StringStyle=NORMAL
FontColor=#Color2#
FontSize=#Height2#
FontFace=#Font#
AntiAlias=1

[StyleLink]
X=r
Y=r
H=10
W=180
ClipString=1
StringStyle=NORMAL
FontColor=#ColorActive#
FontSize=#Height2#
FontFace=#Font#
AntiAlias=1
Hidden=1

; ------------------------------------------------------------------------------------------------
; METERS

[Border]
Meter=IMAGE
SolidColor=#ColorBorder#
X=0
Y=0
H=1
W=180

[Background]
Meter=IMAGE
SolidColor=0, 0, 0, 2
X=0
Y=1
W=180
H=30

[Title]
Meter=STRING
MeasureName=Feed
X=27
Y=10
H=15
W=150
StringStyle=BOLD
FontColor=#Color1#
FontSize=#Height3#
FontFace=#Font#
AntiAlias=1
LeftMouseDownAction=!Execute [!RainmeterHideMeter Title][!RainmeterShowMeter TitleActive][!RainmeterRedraw]

[TitleActive]
Meter=STRING
MeterStyle=Title
MeasureName=Feed
FontColor=#ColorActive#
Hidden=1
LeftMouseUpAction=!Execute [[FeedURL]][!RainmeterHideMeter TitleActive][!RainmeterShowMeter Title][!RainmeterRedraw]

[Icon]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Reader.#ColorIcon#.png
X=0
Y=5
W=25
H=25
LeftMouseDownAction=!Execute [!RainmeterHideMeter Icon][!RainmeterShowMeter IconActive]

[IconActive]
Meter=IMAGE
MeterStyle=Icon
ImageName=#SKINSPATH#Enigma\Resources\Images\ReaderActive.#ColorIcon#.png
Hidden=1
LeftMouseUpAction=!Execute [[FeedURL]][!RainmeterHideMeter IconActive][!RainmeterShowMeter Icon]

;-----------------------
; ITEMS

[Item1]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem1
Y=32
LeftMouseDownAction=!execute [!RainmeterShowMeter Link1][!RainmeterHideMeter Item1][!RainmeterRedraw]

[Link1]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem1
LeftMouseUpAction=!Execute [[MeasureLink1]][!RainmeterShowMeter Item1][!RainmeterHideMeter Link1][!RainmeterRedraw]

[Item2]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem2
LeftMouseDownAction=!execute [!RainmeterShowMeter Link2][!RainmeterHideMeter Item2][!RainmeterRedraw]

[Link2]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem2
LeftMouseUpAction=!Execute [[MeasureLink2]][!RainmeterShowMeter Item2][!RainmeterHideMeter Link2][!RainmeterRedraw]

[Item3]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem3
LeftMouseDownAction=!execute [!RainmeterShowMeter Link3][!RainmeterHideMeter Item3][!RainmeterRedraw]

[Link3]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem3
LeftMouseUpAction=!Execute [[MeasureLink3]][!RainmeterShowMeter Item3][!RainmeterHideMeter Link3][!RainmeterRedraw]

[Item4]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem4
LeftMouseDownAction=!execute [!RainmeterShowMeter Link4][!RainmeterHideMeter Item4][!RainmeterRedraw]

[Link4]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem4
LeftMouseUpAction=!Execute [[MeasureLink4]][!RainmeterShowMeter Item4][!RainmeterHideMeter Link4][!RainmeterRedraw]

[Item5]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem5
LeftMouseDownAction=!execute [!RainmeterShowMeter Link5][!RainmeterHideMeter Item5][!RainmeterRedraw]

[Link5]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem5
LeftMouseUpAction=!Execute [[MeasureLink5]][!RainmeterShowMeter Item5][!RainmeterHideMeter Link5][!RainmeterRedraw]

[Item6]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem6
LeftMouseDownAction=!execute [!RainmeterShowMeter Link6][!RainmeterHideMeter Item6][!RainmeterRedraw]

[Link6]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem6
LeftMouseUpAction=!Execute [[MeasureLink6]][!RainmeterShowMeter Item6][!RainmeterHideMeter Link6][!RainmeterRedraw]

[Item7]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem7
LeftMouseDownAction=!execute [!RainmeterShowMeter Link7][!RainmeterHideMeter Item7][!RainmeterRedraw]

[Link7]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem7
LeftMouseUpAction=!Execute [[MeasureLink7]][!RainmeterShowMeter Item7][!RainmeterHideMeter Link7][!RainmeterRedraw]

[Item8]
Meter=STRING
MeterStyle=StyleItem
MeasureName=MeasureItem8
LeftMouseDownAction=!execute [!RainmeterShowMeter Link8][!RainmeterHideMeter Item8][!RainmeterRedraw]

[Link8]
Meter=STRING
MeterStyle=StyleLink
MeasureName=MeasureItem8
LeftMouseUpAction=!Execute [[MeasureLink8]][!RainmeterShowMeter Item8][!RainmeterHideMeter Link8][!RainmeterRedraw]

;-----------------------
; BORDER2

[Border2]
Meter=IMAGE
MeterStyle=Border
Y=25r
User avatar
Kale
Posts: 24
Joined: March 30th, 2010, 10:57 am

Re: Please can someone help me get rss readder working.

Post by Kale »

Did you use the enigma config to add in the RSS URL and Weather Code?
[center][img]http://i23.photobucket.com/albums/b358/brandon255/TWEWYsigalt.png[/img][/center]
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

yea..i was wondering if you can post your rss code so I could compare it to mine to see what I did wrong....
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

Anyone?? Help?
User avatar
Kale
Posts: 24
Joined: March 30th, 2010, 10:57 am

Re: Please can someone help me get rss readder working.

Post by Kale »

I Modified mine a bit, and you don't really need the whole thing. If the config utility isn't working just right click the reader, go into Edit Skin and find this part near the top.

Code: Select all

[Feed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
RegExp=(?siU)<title type="text">(.*)</title>.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T.*<entry>.*CDATA\[(.*)\].* href="(.*)" />.*<updated>(.*)T
UpdateRate=1000
StringIndex=1
Substitute=#SubstituteFeed#
Replace [Feed] with the URL of the RSS feed. Brackets and all.

Edit: Calm down. Some of us are busy working and the such while we're browsing here, so responses aren't immediate. So don't freak out after 10 minutes.
Last edited by Kale on April 20th, 2010, 4:09 pm, edited 1 time in total.
[center][img]http://i23.photobucket.com/albums/b358/brandon255/TWEWYsigalt.png[/img][/center]
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

hold on iam going to try it.
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

sorry for rushing you guys...
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »

i get an error it says "The meter [Title] cannot be bound with [Feed]!" and also "The meter [Title Active] cannot be bound with [Feed]!"... but I do think I am getting some where.
User avatar
Kale
Posts: 24
Joined: March 30th, 2010, 10:57 am

Re: Please can someone help me get rss readder working.

Post by Kale »

What's the RSS url you're trying to use?
[center][img]http://i23.photobucket.com/albums/b358/brandon255/TWEWYsigalt.png[/img][/center]
Parkour Addict
Posts: 10
Joined: April 20th, 2010, 3:42 pm

Re: Please can someone help me get rss readder working.

Post by Parkour Addict »