$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Scott Meyers (usenet_at_[hidden])
Date: 2007-07-06 19:55:19
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