It is currently April 19th, 2024, 5:40 am

Simple webparser help

Get help with creating, editing & fixing problems with skins
User avatar
limpet
Posts: 34
Joined: April 21st, 2009, 5:25 pm
Location: NC, USA

Simple webparser help

Post by limpet »

Hey everyone.

I'm just trying to get something simple to work with webparser but for some reason it's always giving me the WebParser: Not enough substrings! error.

Config

Code: Select all

[wFeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=file://#CURRENTPATH#test.txt
RegEx = "(?siU)<title>(.*)</title>"
Debug = 1

[wTitle]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url = [wFeed]
StringIndex = 1

[debug]
;Debug
Meter = String
MeasureName = wTitle
FontColor = 255, 255, 255, 255
FontSize = 12px
FontFace = Arial
X = 2
Y = 2
Prefix = "Title: "
test.txt

Code: Select all

<title>Test</title>
Not sure where I'm going wrong because that RegEx should work, right?
Limpet makes music: [Soundcloud][Reverbnation][Myspace (ick)][Uvumi][Electronic/Dance]
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple webparser help

Post by jsmorley »

It's RegExp= not RegEx=
User avatar
limpet
Posts: 34
Joined: April 21st, 2009, 5:25 pm
Location: NC, USA

Re: Simple webparser help

Post by limpet »

Doh. You'd think I'd have caught that sooner with as much looking at the docs and tutorials I did.

Much thanks.
Limpet makes music: [Soundcloud][Reverbnation][Myspace (ick)][Uvumi][Electronic/Dance]