Article View: borland.public.cppbuilder.nativeapi
Article #2365Re: Retrieving internet data
From: Hans Galema
Date: Wed, 07 Mar 2007 11:14
Date: Wed, 07 Mar 2007 11:14
20 lines
1819 bytes
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.
Technical Details
Message-ID:
<45ee9f5d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<f40tu2pnrpo0latueb9850utboh48ssfr4@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,611300e2f6bc206d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII Date: Wed, 07 Mar 2007 12:14:45 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Retrieving internet data References: <f40tu2pnrpo0latueb9850utboh48ssfr4@4ax.com> In-Reply-To: <f40tu2pnrpo0latueb9850utboh48ssfr4@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <45ee9f5d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1173266269 145.98.201.248 (7 Mar 2007 03:17:49 -0800) Lines: 22 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail