It is currently April 28th, 2024, 10:33 am

Before Dawn Bar edit and RSS feed

Get help with creating, editing & fixing problems with skins
fonzieuk
Posts: 2
Joined: December 27th, 2011, 11:52 am

Before Dawn Bar edit and RSS feed

Post by fonzieuk »

Hi all,

I was trying to tailor the Before Dawn Bar along the lines of the Lifehacker best desktops of 2011 http://lifehacker.com/5847237/the-hexagonal-desktop

After getting into it a bit I have decided to add a 2nd rss feed and am having difficulties. I have the 1st one working fine and the 2nd one has the correct heading, but the first link is the rss link istself and none of the news stories pull through. My code is as follows for the 2 rss feeds:

Code: Select all


[MeterRSSName]
Meter=String
Text="#RSSName#"
X=720
Y=25
FontColor=255,255,255
FontFace=#Font#
FontSize=15
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink]

[MeterRSSItem1-1]
Meter=String
MeasureName=MeasureRSSItem1
Prefix="- "
X=727
Y=25r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-1]

[MeterRSSItem1-2]
Meter=String
MeasureName=MeasureRSSItem2
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-2]

[MeterRSSItem1-3]
Meter=String
MeasureName=MeasureRSSItem3
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-3]

[MeterRSSItem1-4]
Meter=String
MeasureName=MeasureRSSItem4
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-4]

[MeterRSSItem1-5]
Meter=String
MeasureName=MeasureRSSItem5
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-5]

[MeterRSSItem1-6]
Meter=String
MeasureName=MeasureRSSItem6
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-6]

[MeterRSSItem1-7]
Meter=String
MeasureName=MeasureRSSItem7
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-7]

[MeterRSSItem1-8]
Meter=String
MeasureName=MeasureRSSItem8
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-8]

[MeterRSSItem1-9]
Meter=String
MeasureName=MeasureRSSItem9
Prefix="- "
X=r
Y=15r
W=270
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink1-9]


2nd feed

[MeterRSSName1]
Meter=String
Text="#RSSName1#"
X=1020
Y=25
FontColor=255,255,255
FontFace=#Font#
FontSize=15
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink]

[MeterRSSItem2-1]
Meter=String
MeasureName=MeasureRSSItem10
Prefix="- "
X=1027
Y=25r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-1]

[MeterRSSItem2-2]
Meter=String
MeasureName=MeasureRSSItem11
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-2]

[MeterRSSItem2-3]
Meter=String
MeasureName=MeasureRSSItem12
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-3]

[MeterRSSItem2-4]
Meter=String
MeasureName=MeasureRSSItem13
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-4]

[MeterRSSItem2-5]
Meter=String
MeasureName=MeasureRSSItem14
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-5]

[MeterRSSItem2-6]
Meter=String
MeasureName=MeasureRSSItem15
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-6]

[MeterRSSItem2-7]
Meter=String
MeasureName=MeasureRSSItem16
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-7]

[MeterRSSItem2-8]
Meter=String
MeasureName=MeasureRSSItem17
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-8]

[MeterRSSItem2-9]
Meter=String
MeasureName=MeasureRSSItem18
Prefix="- "
X=r
Y=15r
W=370
H=18
ClipString=1
FontColor=255,255,255
FontFace=#Font#
FontSize=12
AntiAlias=1
LeftMouseDownAction=[MeasureRSSLink2-9]
The error i get is that the meter cannot be bound with the measure. Also my measure RSS item 10 and measure RSS link 10 dont seem correct and there is no more than 10.

Great skin but it is now frustrating me with my lack of knowledge. Any help much appreciated. Thanks

Fonzie :thumbup:
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Before Dawn Bar edit and RSS feed

Post by Seahorse »

I assume you cut & pasted the code for the first section. Have you renamed the various measures and meters as they have to be unique so if you have TWO [MeterRSSName] only the first will work, so first job would be to rename the second one [MeterRSSName2] for example and so on..?
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

fonzieuk
Posts: 2
Joined: December 27th, 2011, 11:52 am

Re: Before Dawn Bar edit and RSS feed

Post by fonzieuk »

Thanks for the quick response and bear with me as I am pretty new to this. I did cut and paste but think I have renamed the variables at the top as follows:

Code: Select all

[variables]
Font=Century Gothic
Location=UKXX0052
RSSURL=http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/front_page/rss.xml
RSSName="BBC SPORT"

Font=Century Gothic
Location=UKXX0052
RSSURL1=http://feeds.bbci.co.uk/news/rss.xml
RSSName1="BBC NEWS"
and from the post above, i *think* i have done what you suggest but please come back to me if not.

Thanks
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Before Dawn Bar edit and RSS feed

Post by Seahorse »

No prob, you will probably need the Rainmeter Manual to hand also... ;-)
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Yosecret
Posts: 1
Joined: July 5th, 2012, 11:23 am

Re: Before Dawn Bar edit and RSS feed

Post by Yosecret »

Ey, i have the same problem :/

I think the problem, is one little thing.. but i don't know where it is.

The second rss shows up next to the system and weather, with the name of the second rss but the links are the same as the first rss.

I'am not a big hero in scripts.
Can you have a fast look at the code? Maybe you can find the problem in 1 or 2 seconds?!

At the top of the file i have add this:

Font=Century Gothic
Location=NLXX0028
RSSURL1=http://feeds.bbci.co.uk/news/rss.xml
RSSName1="BBC NEWS"

I'm not from England, so my english isn't very good.

EDIT: how can I add the text I have add in the ini file? it doesn't show up if I add it.
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Before Dawn Bar edit and RSS feed

Post by MerlinTheRed »

Try putting it in[code][/code]tags
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!