Fetch RSS-feeds using HTTP Proxy Server
Status: Beta
Brought to you by:
zl25-drexel
Hello,
I would like to fetch RSS feeds with Yarfraw using a HTTP proxy server. How can I do this using Yarfraw ?
I have tried this code, but it doesn't connect through the proxy:
HttpClientParams params = new HttpClientParams();
params.setSoTimeout(TIMEOUT);
params.setConnectionManagerTimeout(TIMEOUT);
HttpClient httpclient = new HttpClient();
httpclient.getHostConfiguration().setProxy("192.168.101.201", 8080);
httpclient.setParams(params);
GetMethod httpget = new GetMethod(feedlist.getFeedUrl());
FeedReader cr = new FeedReader(httpget);
Regards,
Andreas R.