It is currently April 18th, 2024, 11:05 pm

Problem of a beginner (rss/feedburner)

Get help with creating, editing & fixing problems with skins
ocbnh
Posts: 3
Joined: July 11th, 2017, 3:12 pm

Problem of a beginner (rss/feedburner)

Post by ocbnh »

Hello !

I am a volunteer helper on a mmorpg.
To help us see more quickly the requests for help, that are posted on the forum Nostale FR :
https://board.fr.nostale.gameforge.com/index.php/Board/151-Nostale-Helper/
I tried to edit an existing skin that recovers rss feeds :
http://rainmeterglobal.deviantart.com/art/RSS-Feed-Reader-Pack-v1-572901709

I'v modified the symply recipes with my personal feedburner urls,
but one of the four urls does not work... Finally if, in my browser, but not on rainmeter.
While for the other 3, it works ! :(

Image

My .ini modified :
https://www.aht.li/3093727/RSS_NH_S3.ini

My feedburner urls :
http://feeds.feedburner.com/NH-Serveur1-NostaleFr (work on my skin)
http://feeds.feedburner.com/NH-Serveur2-NostaleFr (work on my skin)
http://feeds.feedburner.com/NH-Serveur3-NostaleFr (Don't work on my skin)
http://feeds.feedburner.com/NH-Serveur4-NostaleFr (work on my skin)

I have searched on google and on forum here a solution, but I have not found one.

Sorry for my bad english.
If you could help me, it would be nice ! :D
Last edited by ocbnh on July 12th, 2017, 12:32 am, edited 1 time in total.
Image
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Problem of a beginner (rss/feedburner)

Post by FreeRaider »

In serveur 3, in the rss at the 9th variable there is not a .*src="(.*)".*</item>.*
ocbnh
Posts: 3
Joined: July 11th, 2017, 3:12 pm

Re: Problem of a beginner (rss/feedburner)

Post by ocbnh »

Thanks, so, it does not find the source of the image to display, is that right?
So the problem would come from the images that are supposed to be displayed when browsing with the cursor ?
Did I understand well ? What lines do I need to modify to remove them ?

Thanks again x)
Image
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Problem of a beginner (rss/feedburner)

Post by FreeRaider »

This code works fine for me.
I hope this helps you.

Code: Select all

[Rainmeter]
Description=Simple lecteur de flux rss : http://feeds.feedburner.com/NH-Serveur3-NostaleFr
Author=OCB

Update=1000

[Metadata]
Name=
Author=
Information=
License=
Version=



[Variables]
FontName=segoe ui
FontSize1=11
FontSize2=18
FontColor=255, 255, 255, 255

bulletpt="- "

;colours for headlines backgrounds
clickcolor=220,220,220,220
hovercolor=74,82,85,255
;transparent text background in normal state
normalcolor=0,0,0,1

SkinTopHeight=60
SkinBottomHeight=330
SkinWidth=550

;this variable holds regular expression syntax for parsing 1 story section. the variable will be used repeatedly to parse several sections
storysect=<item>.*<title>(.*)</title>.*<link>(.*)</link>.*</item>.*
;						   1 title			   2 link			 

eVIEWER="chrome.exe"
;URL for clicking
mainURL=https://board.fr.nostale.gameforge.com/index.php/Board/177-Serveur-3/

;URL for parsing
URL=http://feeds.feedburner.com/NH-Serveur3-NostaleFr

sub="<![CDATA[":"","]]>":"","![CDATA[":"","]]":""

;////////////////////////////////////////
;  BACKGROUND
;////////////////////////////////////////

[Backgroundtop]
meter=image
x=0
y=0
W=#SkinWidth#
H=#SkinTopHeight#
solidcolor=1,1,1,210
updatedivider=-1

[Backgroundbottom]
meter=image
x=0
y=#SkinTopHeight#
W=#SkinWidth#
H=#SkinBottomHeight#
solidcolor=1,1,1,210
group=meters_to_minimise

[line]
meter=image
solidcolor=255,255,255,255
x=15
y=#SkinTopHeight#
W=(#SkinWidth#-30)
H=1
group=meters_to_minimise
;cannot be updatedivider=-1 since it can be hidden





[miminimise_button]
meter=image
solidcolor=0,0,0,1
x=(#SkinWidth#-120-15)
y=20
W=40
H=25
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION#][!ToggleMeterGroup "meters_to_minimise"][!Updatemetergroup "meters_to_minimise"][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]

[miminimise_image]
meter=image
solidcolor=255,255,255,255
x=13r
y=13r
W=13
H=1
updatedivider=-1




[openlink_button]
meter=image
solidcolor=0,0,0,1
x=(#SkinWidth#-80-15)
y=20
W=40
H=25
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION#][!Redraw]["#eVIEWER#" "#mainURL#"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]

[openlink_image]
meter=image
ImageName=#@#openlink.png
x=11r
y=7r
updatedivider=-1
antialias=1





[refresh_button]
meter=image
solidcolor=0,0,0,1
x=(#SkinWidth#-40-15)
y=20
W=40
H=25
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw][!refresh]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]

[refesh_image]
meter=image
ImageName=#@#refresh.png
x=13r
y=6r
W=13
updatedivider=-1



;////////////////////////////////////////
;  MEASURES
;////////////////////////////////////////

[RSS]
Measure=Plugin
Plugin=WebParser
Url=#URL#
;parse multiple sections the neat way
RegExp=(?siU)#storysect##storysect##storysect##storysect##storysect##storysect##storysect##storysect##storysect##storysect#
UpdateRate=600


[RSS1]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =1
Substitute=#sub#

[RSS1link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =2
Substitute=#sub#


[RSS2]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =3
Substitute=#sub#

[RSS2link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =4
Substitute=#sub#

[RSS3]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =5
Substitute=#sub#

[RSS3link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =6
Substitute=#sub#


[RSS4]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =7
Substitute=#sub#

[RSS4link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =8
Substitute=#sub#


[RSS5]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =9
Substitute=#sub#

[RSS5link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =10
Substitute=#sub#

[RSS6]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =11
Substitute=#sub#

[RSS6link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =12
Substitute=#sub#


[RSS7]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =13
Substitute=#sub#

[RSS7link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =14
Substitute=#sub#


[RSS8]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =15
Substitute=#sub#

[RSS8link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =16
Substitute=#sub#


[RSS9]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =17
Substitute=#sub#

[RSS9link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =18
Substitute=#sub#


[RSS10]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =19
Substitute=#sub#

[RSS10link]
Measure = Plugin
Plugin=WebParser
Url = [RSS]
StringIndex =20
Substitute=#sub#

;////////////////////////////////////////
;  STRINGS
;////////////////////////////////////////



[RSSHeader]
Meter=STRING
X=12
Y=15
FontColor=#FontColor#
FontSize=#FontSize2#
FontFace=#FontName#
AntiAlias=1
Text="N.H S3"
UpdateDivider=-1


[SharedImagemeter]
Meter=Image
X=#SkinWidth#
Y=0
H=(#SkinTopHeight#+#SkinBottomHeight#)
ImageAlpha=255
PreserveAspectRatio=1
Hidden=1


[RSS1String]
Meter=STRING
MeasureName=RSS1
X=15
Y=74
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
;fontsize is not fontheight. its smaller, so just x 2 to make it bigger. simply to reduce number of changes needed to modify this skin. i.e. u can change fontsize without changing this value. the formula does it for u
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS1link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS1image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise


[RSS2String]
Meter=STRING
MeasureName=RSS2
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS2link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS2image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise

[RSS3String]
Meter=STRING
MeasureName=RSS3
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS3link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS3image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise


[RSS4String]
Meter=STRING
MeasureName=RSS4
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS4link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS4image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise

[RSS5String]
Meter=STRING
MeasureName=RSS5
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS5link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS5image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise


[RSS6String]
Meter=STRING
MeasureName=RSS6
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS6link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS6image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise


[RSS7String]
Meter=STRING
MeasureName=RSS7
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS7link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS7image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise


[RSS8String]
Meter=STRING
MeasureName=RSS8
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS8link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS8image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise


[RSS9String]
Meter=STRING
MeasureName=RSS9
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS9link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS9image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise

[RSS10String]
Meter=STRING
MeasureName=RSS10
X=15
Y=30r
FontColor=#FontColor#
FontSize=#FontSize1#
FontFace=#FontName#
AntiAlias=1
ClipString=1
; brackets required for formulae
W=(#SkinWidth#-30)
;both height and width needed for clipstring 1. even though it clips at max width only
H=(#FontSize1#*2)
solidcolor=#normalcolor#
prefix="#bulletpt#"
LeftMouseUpAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]["#eVIEWER#" "[RSS10link]"]
MouseLeaveAction=[!SetOption #CURRENTSECTION# solidcolor #normalcolor#][!Updatemeter #CURRENTSECTION# ][!HideMeter "SharedImagemeter"][!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# solidcolor #hovercolor#][!Updatemeter #CURRENTSECTION# ][!SetOption SharedImagemeter MeasureName "RSS10image"][!UpdateMeter "SharedImagemeter"][!ShowMeter "SharedImagemeter"][!Redraw]
LeftMouseDownAction=[!SetOption #CURRENTSECTION# solidcolor #clickcolor#][!Updatemeter #CURRENTSECTION# ][!Redraw]
group=meters_to_minimise
ocbnh
Posts: 3
Joined: July 11th, 2017, 3:12 pm

Re: Problem of a beginner (rss/feedburner)

Post by ocbnh »

It works !
thanks, really.

:great:
Image
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Problem of a beginner (rss/feedburner)

Post by FreeRaider »

Glad to help.