Solved

Delphi extracting data from web

Posted on 2000-03-23
6
168 Views
Last Modified: 2010-04-04
Hi all,
Is it possible to open a web page (in background) and get data from it, and how?
0
Comment
Question by:Gurkan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 2648197
Sure, download the HttpCli component from:

http://www.rtfm.be/fpiette/httpcliuk.htm

It has good examples. However you have to parse the returned html code yourself.
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2648204
The httptst demo shows perfectly how you can get webpages.
0
 
LVL 1

Expert Comment

by:XAN
ID: 2648250
yes, it is possible. you can find excelent example on http://www.euromind.com/ieDelphi (UILess)

With the best regards,
XAN
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
cAkk earned 100 total points
ID: 2651902
just drag a TNMhttp component to your form, and add following code:

var
  txt:string;
begin
  nmhttp1.get('http://www.xxx.com');
  txt:=nmhttp1.body;
end;
0
 

Author Comment

by:Gurkan
ID: 2654892
Thx 4 all, but I have no time 2 make a parser, do u know free parsers.
0
 

Author Comment

by:Gurkan
ID: 2680063
Since my knowledge in this subject is very little, the best answer is the one with least code. Points go to cAkk.

cAkk pose ur comment as answer n I'll accept.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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