It is currently November 4th, 2024, 7:27 am

WebParser bug with Download=1

Report bugs with the Rainmeter application and suggest features.
sgtevmckay

Re: WebParser bug with Download=1

Post by sgtevmckay »

User avatar
jsmorley
Developer
Posts: 22898
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser bug with Download=1

Post by jsmorley »

sgtevmckay wrote:Done Senpai

Follow thread here:
http://code.google.com/p/rainmeter/issues/detail?id=68
Thanks much!
sgtevmckay

Re: WebParser bug with Download=1

Post by sgtevmckay »

The following is the current response

Open Post
Comment 1 by kenz0.sanada, Today (7 hours ago)
The function which complements ROOT like web Browser is not mounted in WebParser.
However, it can solve a problem because Skin Builder oneself adds ROOT dir.

EXAMPLE:
-----------------------------------------------------------------
[SOURCE]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=http://forum.rainmeter.net/
RegExp="<img src=\".(.+?)\"/>"

[LOGO]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://forum.rainmeter.net/[SOURCE]
StringIndex=1
Download=1

[(logo)]
Meter=IMAGE
MeasureName=LOGO
X=0
Y=0
W=70
H=60
-----------------------------------------------------------------

In my memory, this function was added to WebParser.dll 1.10 by the following topics.
Refer to that for details.
http://www.rainlendar.info/oldforum/phpBB2/viewtopic.php?t=2283

End post
User avatar
jsmorley
Developer
Posts: 22898
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser bug with Download=1

Post by jsmorley »

Testing now... If that change was in fact incorporated into the release version of WebParser, it should solve the problem.

I will report back...

Thanks!
User avatar
jsmorley
Developer
Posts: 22898
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser bug with Download=1

Post by jsmorley »

Yep... That works! Really solves a particular problem of getting images like "favicons" which are almost always "relative paths" and other images embedded on web pages, and the trick can be used for other purposes as well. I don't think this capability is documented in the manual, so I will do a "Tricks & Tips" post now so others can see how it works.

Thanks again.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: WebParser bug with Download=1

Post by dragonmage »

So we were trying to do it in th wrong order...