Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

More weather information...

Posted on 2005-03-24
3
Medium Priority
?
247 Views
Last Modified: 2011-09-20
Hi

I need more weather informtion from

http://www.economy.co.yu/vremenska_prognoza/index.php?action=vremenska_prognoza_       +"City"

-Vetar
-Vlažnost
-Pritisak
-Vidljivost
............................
Also information for
Petak,Subota,Nedelja(these are names of days (Friday,Sunday,Saturday));

Regards
Marko
0
Comment
Question by:prevarant
  • 2
3 Comments
 
LVL 17

Expert Comment

by:mokule
ID: 13625214
According to
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21360824.html
If You are interested in regular expression parsing with the help of TRegExpr use
Template := 'Vidljivost.{1,80}<br>([^<]+)<br>([^<]+)<br>([^<]+)<br>([^<]+)<br>([^<]+)<br>([^<]+)<br>([^<]+)</td>';
to have Your params in Match[1] to Match[7] (Datum to Vidljivost)

BTW
AFAIK Serbian Subota will be Saturday:)

mokule
0
 
LVL 17

Accepted Solution

by:
mokule earned 2000 total points
ID: 13625474
Then You can use template
Template := 'gif.{1,10}52.{1,16}<br><br>[^\w]*([^<]+)<br><br>[^\w]*([^<]+)';
in Match[1] and Match[2] You've got param for first day.
Repeat searching by ExecNext twice to have date for the other two days

mokule
0
 
LVL 2

Author Comment

by:prevarant
ID: 13629941
Thanks Mokule!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Screencast - Getting to Know the Pipeline
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question