2009-11-11, 04:28 PM
I recently downloaded a RSS reader for my Rainmeter and I was editing in the link I wanted and it worked. The problem is that the title of the reader is the title od the linked page. So it says something like, "Bob Smith's Facebook Notifications". How would I change it so that it just says Facebook. Would it also be possible to change the length of the widget or would I have to change the image file. Thanks, the code is below.
Spoiler
Code:
############################################################
;BlueFeed slim v.0.8 (10 titles)
############################################################
[Variables]
;~~~~~~~~~~ Setting ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
URL= (URL WENT HERE, I TOOK IT OUT FOR PRIVACY)
UPDATE=100
FONTFACE="Verdana"
FONTCOLOR1=FFFFFF
FONTCOLOR2=FFFFFFCC
FONTSIZE=7
FONTSTYLE=BOLD
CODEPAGE=0
W=172
W2=140
H=12
H2=146
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
REGEX1="(.*<title.*>.+</title>.*<link.+(?:</item>|</entry>)|)"
REGEX2="(?siU)<title.*>(.+)</title>.*<link.*(http://.+)(?:</|\" ?/>)"
SUBST="<":"<",">":">","&":"&",""":"","'":"'","<":"<",">":">","'":"'",""":"","&":"&","&":"&","<![CDATA[":"","]]>":""
!SW=!RainmeterShowMeter
!HD=!RainmeterHideMeter
!MV=!RainmeterMoveMeter
!RD=!RainmeterRedraw
@="BlueFeed\Feed1"
DLL=Plugins\WebParser.dll
[Rainmeter]
Author=Kenz0 (mail2kenz0@gmail.com)
BackgroundMode=1
DynamicWindowSize=1
[S1]
Measure=Plugin
Plugin=#DLL#
UpdateRate=#UPDATE#
Url=#URL#
CodePage=#CODEPAGE#
RegExp="(?siU)<title.*>(.+)</title>.*<link.*(http://.+)(?:</|\" ?/>).*(?:<item |<item>|<entry>)#REGEX1##REGEX1##REGEX1##REGEX1##REGEX1##REGEX1##REGEX1##REGEX1##REGEX1##REGEX1#"
StringIndex=1
Substitute=#SUBST#
ErrorString="!! ERROR !!"
FinishAction=!Execute [#!SW# (rss) #@#][#!RD# #@#]
[H1]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=3
StringIndex2=1
Substitute=#SUBST#
[L1]
Measure=Plugin
Plugin=#DLL#
Url=[H1]
StringIndex=2
Substitute=#SUBST#
[H2]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=4
StringIndex2=1
Substitute=#SUBST#
[L2]
Measure=Plugin
Plugin=#DLL#
Url=[H2]
StringIndex=2
Substitute=#SUBST#
[H3]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=5
StringIndex2=1
Substitute=#SUBST#
[L3]
Measure=Plugin
Plugin=#DLL#
Url=[H3]
StringIndex=2
Substitute=#SUBST#
[H4]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=6
StringIndex2=1
Substitute=#SUBST#
[L4]
Measure=Plugin
Plugin=#DLL#
Url=[H4]
StringIndex=2
Substitute=#SUBST#
[H5]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=7
StringIndex2=1
Substitute=#SUBST#
[L5]
Measure=Plugin
Plugin=#DLL#
Url=[H5]
StringIndex=2
Substitute=#SUBST#
[H6]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=8
StringIndex2=1
Substitute=#SUBST#
[L6]
Measure=Plugin
Plugin=#DLL#
Url=[H6]
StringIndex=2
Substitute=#SUBST#
[H7]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=9
StringIndex2=1
Substitute=#SUBST#
[L7]
Measure=Plugin
Plugin=#DLL#
Url=[H7]
StringIndex=2
Substitute=#SUBST#
[H8]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=10
StringIndex2=1
Substitute=#SUBST#
[L8]
Measure=Plugin
Plugin=#DLL#
Url=[H8]
StringIndex=2
Substitute=#SUBST#
[H9]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=11
StringIndex2=1
Substitute=#SUBST#
[L9]
Measure=Plugin
Plugin=#DLL#
Url=[H9]
StringIndex=2
Substitute=#SUBST#
[H10]
Measure=Plugin
Plugin=#DLL#
Url=[S1]
RegExp="#REGEX2#"
StringIndex=12
StringIndex2=1
Substitute=#SUBST#
[L10]
Measure=Plugin
Plugin=#DLL#
Url=[H10]
StringIndex=2
Substitute=#SUBST#
[(bgc)]
Meter=IMAGE
X=0
Y=0
ImageName=..\Images\bg-s.png
[(bgo)]
Meter=IMAGE
X=0
Y=0
ImageName=..\Images\bg-s10.png
Hidden=1
[(tgc)]
Meter=Button
ButtonImage=..\Images\tg-cl.png
X=165
Y=6
ButtonCommand=!Execute [#!HD# (bgc) #@#][#!HD# (rss) #@#][#!SW# (bgo) #@#][#!HD# (tgc) #@#][#!SW# (tgo) #@#][#!MV# 9 32 (c01) #@#][#!MV# 9 53 (c02) #@#][#!MV# 9 74 (c03) #@#][#!MV# 9 95 (c04) #@#][#!MV# 9 116 (c05) #@#][#!MV# 9 137 (c06) #@#][#!MV# 9 158 (c07) #@#][#!MV# 9 179 (c08) #@#][#!MV# 9 200 (c09) #@#][#!MV# 9 221 (c10) #@#][#!MV# 16 36 (h01) #@#][#!MV# 16 57 (h02) #@#][#!MV# 16 78 (h03) #@#][#!MV# 16 99 (h04) #@#][#!MV# 16 120 (h05) #@#][#!MV# 16 141 (h06) #@#][#!MV# 16 162 (h07) #@#][#!MV# 16 183 (h08) #@#][#!MV# 16 204 (h09) #@#][#!MV# 16 225 (h10) #@#][#!SW# (c01) #@#][#!SW# (c02) #@#][#!SW# (c03) #@#][#!SW# (c04) #@#][#!SW# (c05) #@#][#!SW# (c06) #@#][#!SW# (c07) #@#][#!SW# (c08) #@#][#!SW# (c09) #@#][#!SW# (c10) #@#][#!SW# (h01) #@#][#!SW# (h02) #@#][#!SW# (h03) #@#][#!SW# (h04) #@#][#!SW# (h05) #@#][#!SW# (h06) #@#][#!SW# (h07) #@#][#!SW# (h08) #@#][#!SW# (h09) #@#][#!SW# (h10) #@#][#!RD# #@#]
[(tgo)]
Meter=Button
ButtonImage=..\Images\tg-op.png
X=0r
Y=0r
ButtonCommand=!Execute [#!HD# (bgo) #@#][#!SW# (bgc) #@#][#!HD# (tgo) #@#][#!SW# (tgc) #@#][#!MV# 0 0 (c01) #@#][#!MV# 0 0 (c02) #@#][#!MV# 0 0 (c03) #@#][#!MV# 0 0 (c04) #@#][#!MV# 0 0 (c05) #@#][#!MV# 0 0 (c06) #@#][#!MV# 0 0 (c07) #@#][#!MV# 0 0 (c08) #@#][#!MV# 0 0 (c09) #@#][#!MV# 0 0 (c10) #@#][#!MV# 0 0 (h01) #@#][#!MV# 0 0 (h02) #@#][#!MV# 0 0 (h03) #@#][#!MV# 0 0 (h04) #@#][#!MV# 0 0 (h05) #@#][#!MV# 0 0 (h06) #@#][#!MV# 0 0 (h07) #@#][#!MV# 0 0 (h08) #@#][#!MV# 0 0 (h09) #@#][#!MV# 0 0 (h10) #@#][#!HD# (c01) #@#][#!HD# (c02) #@#][#!HD# (c03) #@#][#!HD# (c04) #@#][#!HD# (c05) #@#][#!HD# (c06) #@#][#!HD# (c07) #@#][#!HD# (c08) #@#][#!HD# (c09) #@#][#!HD# (c10) #@#][#!HD# (h01) #@#][#!HD# (h02) #@#][#!HD# (h03) #@#][#!HD# (h04) #@#][#!HD# (h05) #@#][#!HD# (h06) #@#][#!HD# (h07) #@#][#!HD# (h08) #@#][#!HD# (h09) #@#][#!HD# (h10) #@#][#!RD# #@#]
Hidden=1
[(rss)]
Meter=IMAGE
X=9
Y=6
ImageName=..\Images\rss.png
Hidden=1
[(t00)]
MeasureName=S1
Meter=STRING
X=103
Y=11
W=150
H=14
FontColor=FFFFFF99
StringStyle=BOLD
FontSize=8
StringAlign=CENTER
FontFace="#FONTFACE#"
Antialias=1
ClipString=1
[(t01)]
MeasureName=S1
Meter=STRING
X=104
Y=10
W=150
H=14
FontColor=000000FF
StringStyle=BOLD
FontSize=8
StringAlign=CENTER
FontFace="#FONTFACE#"
Antialias=1
ClipString=1
[(c01)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L1]]
Hidden=1
[(c02)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L2]]
Hidden=1
[(c03)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L3]]
Hidden=1
[(c04)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L4]]
Hidden=1
[(c05)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L5]]
Hidden=1
[(c06)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L6]]
Hidden=1
[(c07)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L7]]
Hidden=1
[(c08)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L8]]
Hidden=1
[(c09)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L9]]
Hidden=1
[(c10)]
Meter=Button
ButtonImage=..\Images\lnk-s1.png
X=0
Y=0
ButtonCommand=!Execute [[L10]]
Hidden=1
[(h01)]
MeasureName=H1
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h02)]
MeasureName=H2
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h03)]
MeasureName=H3
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h04)]
MeasureName=H4
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h05)]
MeasureName=H5
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h06)]
MeasureName=H6
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h07)]
MeasureName=H7
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h08)]
MeasureName=H8
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h09)]
MeasureName=H9
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
[(h10)]
MeasureName=H10
Meter=STRING
X=0
Y=0
W=#W#
H=#H#
FontColor=#FONTCOLOR1#
FontSize=#FONTSIZE#
FontFace="#FONTFACE#"
StringStyle=#FONTSTYLE#
Antialias=1
ClipString=1
Hidden=1
