Boris Hollas <[EMAIL PROTECTED]> writes: > Andrew M. Bishop wrote: > > > BTW, what is the "config" button at the end of the page for? Don't I have > > > to run "update" first? > > > > To allow you to update the configuration file. Perhaps you edited > > outside of the WWWOFFLE control page or something. > > I mean the button at the end of http://localhost:8080/control/edit/. > So pushing "config" makes wwwoffle write changes to the config file and > re-read it?
No, the "config" button does just the same as the '-config' option to the wwwoffle program. It causes the file to be re-read. The "update" buttons cause the file to be written. > > I can change the code to allow max-size=-1 to mean "ignore the > > option", but changing max-size=0 to mean "delete all the cached files" > > will cause problems for some users. If people don't change the config > > file then it will delete all of their cache. I just know that this > > will cause problems. > > Yes, I see that problem. On the other hand, a script could change max-size=0 > to max-size=-1 when updating from <= 2.7f. But not everybody will run the script and if one single person fails to run the script I am sure that they will tell me. I might make the change anyway, but not enforce the condition that max-size=0 means delete everything. > > > 7. wwwoffle should go online before fetching if it is offline. > > > > There are separate options for online and fetching. It is not > > expected that 'wwwoffle -online/-offline/-fetch' will be run manually, > > but will be used in automatic scripts. In this case there is no > > problem with running the program twice. > > I see. Then I have a different suggestion: add a link from > http://localhost:8080/control/ to http://localhost:8080/index/outgoing or > some other cache index. I think control, cache and config are the pages you > need most often. Different users will have different preferences for which pages need to be linked together. It is not possible to make everybody happy, and I don't want to add all links to all pages. The best thing to do is to gather together the links that you find useful and make them bookmarks in your browser. > The redhat script didn't work on my system, I remember it had some wrong > links. I set up another script that should work if wwwoffle is installed from > tarball. I can send you that script, together with a Readme on how to install > it. Anything that makes it easier for people to use WWWOFFLE is welcomed for inclusion in the contrib section. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop [EMAIL PROTECTED] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html
