What is the next step? I suppose we might have to add the upcoming days. Am I right?
It is currently March 29th, 2024, 4:54 am
Challange for the PRO
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Challange for the PRO
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Challange for the PRO
Correct, a forecast for the upcoming 3 days would be appreciated.
(so in total 4 days, the current day and a 3 days forecast)
Some color gradient based on the windspeed in knots would also be nice.
Like on the site you also see a gradient from purple - dark bleu to green - yellow -orange -red
PS. as from 19:00 my time, I think it will be 20:00 in Romania, I'll be out of house so I can not test or evaluate your code.
I'll do it tomorrow morning or when you are done coding.
Thanks in advance..
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Challange for the PRO
Are you absolutely sure you don't need the temperature and air pression? Because these are added now, but if I remove them, later will be hard enough to add them back. So, may I remove them? But make sure, not to have add them back, please.
-
- Posts: 44
- Joined: December 5th, 2017, 5:58 pm
Re: Challange for the PRO
can someone explaine what this do in detail please?
Variable1=(?siU)(?(?=.*</div></span><p class="today_nowcard-).*timestamp"><span>(.*)<!----> </span> <span>(.*)</span>).*
Variable1=(?siU)(?(?=.*</div></span><p class="today_nowcard-).*timestamp"><span>(.*)<!----> </span> <span>(.*)</span>).*
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Challange for the PRO
(?siU)(?(?=.*</div></span><p class="today_nowcard-).*timestamp"><span>(.*)<!----> </span> <span>(.*)</span>).*
Specifically it is saying:
(?siU) : Set some directives for the expression, in this case treat white space as a normal character, be case insensitive, and be Ungreedy.
(? : Start an assertion.
(?= : start the question, if I lookahead, does the following exist?
.*</div></span><p class="today_nowcard-
nowcard-) : End the question.
If the answer to the question is "yes", then:
.*timestamp"><span>(.*)<!----> </span> <span>(.*)</span>
(capture) those two bits of information into StringIndex 1 and StringIndex 2.
</span>) : End the lookahead assertion.
.* : Skip everything after this. (this is not really needed in this regular expression.
Specifically it is saying:
(?siU) : Set some directives for the expression, in this case treat white space as a normal character, be case insensitive, and be Ungreedy.
(? : Start an assertion.
(?= : start the question, if I lookahead, does the following exist?
.*</div></span><p class="today_nowcard-
nowcard-) : End the question.
If the answer to the question is "yes", then:
.*timestamp"><span>(.*)<!----> </span> <span>(.*)</span>
(capture) those two bits of information into StringIndex 1 and StringIndex 2.
</span>) : End the lookahead assertion.
.* : Skip everything after this. (this is not really needed in this regular expression.
-
- Posts: 44
- Joined: December 5th, 2017, 5:58 pm
Re: Challange for the PRO
ok,what this do <!----> ?
thanks you for answer.
thanks you for answer.
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Challange for the PRO
That has nothing to do with the regular expression, it is just part of the HTML being parsed, and represents an empty HTML comment. Comments in HTML start with <!-- and end with -->. There may be something between them in the original source code that is not being output.
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Challange for the PRO
Hi, balala,
That's depending, I think, on the amount of items webparser can retrieve fron the site.
If you think for 4 days in total with all measurements, will not accede the maximum amount please continue.
If the maximum value will be acceded delete the precipitation and the air pressure.
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Challange for the PRO
Ok, let's see.JamX wrote: ↑October 11th, 2019, 11:01 pm That's depending, I think, on the amount of items webparser can retrieve fron the site.
If you think for 4 days in total with all measurements, will not accede the maximum amount please continue.
If the maximum value will be acceded delete the precipitation and the air pressure.
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Challange for the PRO
This is part of the skin I want to integrate the windfinder data into
When you HOVER over the "knots" data (17 kts) the windfinder data will expand toYou do not have the required permissions to view the files attached to this post.