It is currently March 28th, 2024, 3:02 pm

webparser not working

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: webparser not working

Post by balala »

dvo wrote: August 5th, 2021, 8:06 am RegExp="(?siU)var hq_str_(.*)="(.*),(.*),(.*),(.*),(.*),(.*)";" last part is strange
Does work.
blackjack550
Posts: 12
Joined: August 4th, 2021, 1:45 am

Re: webparser not working

Post by blackjack550 »

balala wrote: August 5th, 2021, 7:52 am Doesn't make sense (at least not for me). What run code from internet.webparser does mean?

There is no WebParser.dll plugin file, because at the beginning of 2018, WebParser became an internal measure (as of Rainmeter 4.0). It has no .dll file anymore.
But one more question still persist: where have you tried looking for the WebParser.dll file? As said, you anyway couldn't find it, but I1m just curious where have you tried finding it?

If you close Rainmeter it doesn't even have to.
Q1:death.crafter is right. it's Punctuation,It's mean i find code from internet. like this ,to test it.

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
BackgroundMode=2
SolidColor=0,0,0,255

[MeasureRSSParent]
Measure=WebParser
URL=http://slashdot.org/slashdot.rdf
RegExp=(?siU)<title>(.*)</title>.*<item>.*<title>(.*)</title>.*<link>(.*)</link>

[MeasureRSSTitle]
Measure=WebParser
URL=[MeasureRSSParent]
StringIndex=1

[MeasureRSSItemTitle]
Measure=WebParser
URL=[MeasureRSSParent]
StringIndex=2

[MeasureRSSItemLink]
Measure=WebParser
URL=[MeasureRSSParent]
StringIndex=3

[MeterRSSTitle]
Meter=String
MeasureName=MeasureRSSTitle
FontSize=14
FontColor=222,255,227,255
StringStyle=Bold
AntiAlias=1

[MeterRSSItemTitle]
Meter=String
MeasureName=MeasureRSSItemTitle
Y=2R
FontSize=11
FontColor=255,255,255,255
StringStyle=Bold
AntiAlias=1
LeftMouseUpAction=["[MeasureRSSItemLink]"]
DynamicVariables=1
Q2:i found some pugins file in "C:\Program Files\Rainmeter\Plugins",ex:CoreTemp.dll,InputText.dll
i cant find webparser.dll because it became an internal mesure after 2018.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: webparser not working

Post by balala »

blackjack550 wrote: August 6th, 2021, 5:40 am Q1:death.crafter is right. it's Punctuation,It's mean i find code from internet. like this ,to test it.
I can't test it, because I'm on phone now, hope someone else will.
blackjack550 wrote: August 6th, 2021, 5:40 am Q2:i found some pugins file in "C:\Program Files\Rainmeter\Plugins",ex:CoreTemp.dll,InputText.dll
i cant find webparser.dll because it became an internal mesure after 2018.
Right. It's not there, in fact doesn't exist anymore.
User avatar
Yincognito
Rainmeter Sage
Posts: 7023
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: webparser not working

Post by Yincognito »

If the OP is dialing in the VPN, then until he's actually connected to the internet, the fetch errors will appear in the log. If the WebParser tries to connect during the time the internet is unavailable, i.e. until dialing in, that is.
blackjack550
Posts: 12
Joined: August 4th, 2021, 1:45 am

Re: webparser not working

Post by blackjack550 »

balala wrote: August 5th, 2021, 8:03 am :Whistle
Alright, probably you are right. However I still can't really follow blackjack550.
i want to say "the api url work fine in webbrowser,but it not work in rainmeter webparser plugins
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm
Contact:

Re: webparser not working

Post by death.crafter »

blackjack550 wrote: August 9th, 2021, 2:57 am i want to say "the api url work fine in webbrowser,but it not work in rainmeter webparser plugins
Which version of Rainmeter are you on?

And use

Measure=WebParser

and not

Measure=Plugin
Plugin=Plugins\WebParser.dll
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: webparser not working

Post by balala »

death.crafter wrote: August 9th, 2021, 5:22 am And use

Measure=WebParser

and not

Measure=Plugin
Plugin=Plugins\WebParser.dll
In fact both approaches are working, only that the Measure=WebParser is the newer one and desired, but not absolutely required. Especially not because backward compatibility reasons.
User avatar
Yincognito
Rainmeter Sage
Posts: 7023
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: webparser not working

Post by Yincognito »

blackjack550 wrote: August 9th, 2021, 2:57 am i want to say "the api url work fine in webbrowser,but it not work in rainmeter webparser plugins
1. Update Rainmeter to the latest Beta version
2. Make sure no firewall is blocking Rainmeter from connecting to the internet
3. Change the value of your update.Spd variable to 600, see if it works, and if not, wait for a day or two in case you've been temporarily banned on the site and try again
Post Reply