"Joshua Fein" <[EMAIL PROTECTED]> writes: > The way I use wwwoffle is to have two images running at the same > time; one configured to be permanently off-line(8082), the > other(8080) permanently on-line, but taken off & on periodicly to > keep the indexes from getting too large. > > What I am wondering is if there is a way (say on the browser bar) to > address one or the other to fetch a url explicitly; i.e. > http://localhost:8082/get?http://news.bbc.co.uk/ > to get the cached version > > or > http://localhost:8080/get?http://news.bbc.co.uk/ > to get an on-line version.
This is easy enough to do for a single URL, just use http://localhost:8080/http/news.bbc.co.uk/ (remove the ':/' after the http and put the URL immediately after the proxy URL). The problem is that this will only fetch a single URL. WWWOFFLE will not modify the contents of the page to change all of the links to use the same local URL format. This means that unless the page uses relative links for everything within the page (images etc) the page will not display correctly. The best solution would be to get a browser extension that allows proxy switching, FoxyProxy for Firefox will let you change proxies fairly easily. > Pardon if this is a naive question: > How does htdig do it? How does htdig do what? > Does wwwoffle have to be offline when htdig is running? No. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop [EMAIL PROTECTED] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.9/user.html
