|
Boost Users : |
From: Marshall Clow (marshall_at_[hidden])
Date: 2007-07-06 21:39:04
>I'm looking for an easy way to grab the contents of a web page,
>i.e., something
>like this (ignoring error handling):
>
>std::string pageContent =
> getPageContent("http://www.interestingsite.com/funkypage.html");
>
>Is there a Boost library that will give me this kind of interface?
>I know I can
>build this on top of asio, but I'd prefer something where I don't have to do
>much more work than the above. If there's no Boost library, I'd welcome
>suggestions for other cross-platform ways to achieve this.
Most Un*x systems have libcurl, which will do this.
I don't know about Windows, but this looks promising
<http://sourceforge.net/projects/curl/>
-- -- Marshall Marshall Clow Idio Software <mailto:marshall_at_[hidden]> It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning. It is by caffeine alone I set my mind in motion.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net