🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages Started by Jos� Wed, 07 Mar 2007 09:08
Retrieving internet data
#2364
Author: Jos�
Date: Wed, 07 Mar 2007 09:08
7 lines
1113 bytes
Is it possible to retrieve internet data (WWW) in my program? To be
precise, I need the pictures from
http://commons.wikimedia.org/w/index.php?title=Special%3APrefixindex&from=BSic&namespace=6
Since these may change, I want to retrieve them while the program
executes.
-- 
Jos�
Re: Retrieving internet data
#2365
Author: Hans Galema
Date: Wed, 07 Mar 2007 11:14
20 lines
1819 bytes
Jos� wrote:
> Is it possible to retrieve internet data (WWW) in my program? To be
> precise, I need the pictures from
> http://commons.wikimedia.org/w/index.php?title=Special%3APrefixindex&from=BSic&namespace=6
> Since these may change, I want to retrieve them while the program
> executes.

You want to download the .svg files mentioned on that page?

That is possible. In different ways.

You could use a HTTP component to download the page. Then parse the
pagesource to extract all the url's of the .svg files. Then use the
same HTTP component to download the .svg files.

You could use T(Cpp)WebBrowser to download the page. T(Cpp)WebBrowsr
has a method to give you all the url's of the links on that page.
After that download the .svg.

Hans.
Re: Retrieving internet data
#2366
Author: Jos�
Date: Wed, 07 Mar 2007 14:31
20 lines
1600 bytes
On Wed, 07 Mar 2007 12:14:45 +0100, Hans Galema <notused@notused.nl>
wrote in borland.public.cppbuilder.nativeapi:

>That is possible. 

I didn't doubt that.

>You could use a HTTP component to download the page. Then parse the
>pagesource to extract all the url's of the .svg files. Then use the
>same HTTP component to download the .svg files.
>
>You could use T(Cpp)WebBrowser to download the page. T(Cpp)WebBrowsr
>has a method to give you all the url's of the links on that page.
>After that download the .svg.

Unfortunately, both terms - HTTP component and T(Cpp)WebBrowser  - are
meaningless to me. The help file isn't helpful either.  Please help me
further.
-- 
Jos�
Re: Retrieving internet data
#2367
Author: Hans Galema
Date: Wed, 07 Mar 2007 19:50
14 lines
1481 bytes
Jos� wrote:

> Unfortunately, both terms - HTTP component and T(Cpp)WebBrowser  - are
> meaningless to me. The help file isn't helpful either.  Please help me
> further.

Please have a look in:
borland.public.cppbuilder.internet.web
borland.public.cppbuilder.internet.socket
borland.public.cppbuilder.vcl.components.using

There are many questions about such and these components there.

Hans.
Re: Retrieving internet data
#2370
Author: Jos�
Date: Wed, 07 Mar 2007 22:03
10 lines
1315 bytes
On Wed, 07 Mar 2007 20:50:21 +0100, Hans Galema <notused@notused.nl>
wrote in borland.public.cppbuilder.nativeapi:

>borland.public.cppbuilder.internet.web
>borland.public.cppbuilder.internet.socket
>borland.public.cppbuilder.vcl.components.using

Xalskijken. I did n't know about the existence of those groups.
-- 
Jos�
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads