Can you tell me how can I make a program that automatically downloads an XML of an URL and takes it's titles, ddescription etc.. If you can recommend me a good API or library, please give me and a link to tutorials how to use it. :)
Asked
Active
Viewed 144 times
0
-
What platform ? on Windows you can use the function URLDownloadToFile. – Max Aug 27 '13 at 19:24
-
Yes, it's Windows XP.. how can I use this function? – Sinan Zikri Aug 27 '13 at 19:30
-
"titles, ddescription": are you sure you don't mean 'XHTML'? "An XML of an URL" would mean *any* XML file, and neither 'title' nor 'description' are standard XML elements. Also: whatever the answer, you cannot *choose* to download something "as" XML. You can only get what has been offered for download. – Jongware Aug 27 '13 at 22:24
1 Answers
1
You can use the cross platform libcurl to easily download webpages through http (and various other protocols).
Check out this answer for a simple example Download file using libcurl in C/C++

Community
- 1
- 1

Justin Meiners
- 10,754
- 6
- 50
- 92