Boost logo

Boost Users :

From: Richard (richard_at_[hidden])
Date: 2007-07-07 10:10:16


How cross platform do you need to be? The .Net streams will read from a
URL. That could give you Windows and Unix (via mono).

- R

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Scott Meyers
Sent: 07 July 2007 00:55
To: boost-users_at_[hidden]
Subject: [Boost-users] Grabbing web page content

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.

Thanks,

Scott

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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