Rolf Leggewie <[EMAIL PROTECTED]> writes:
> this is something I have long wished for and I was wondering how
> difficult it would be to implement it.
>
> Let's say I have previously downloaded something from
> http://wherever.org/ but the files have expired from the cache though I
> do still have them at /path/to/cdrom/wwwoffle/http/wherever.org/. Now I
> would like to look at something on wherever.org again without having to
> download it all (that is the whole point of WWWOFFLE, isn't it?). What
> I would like for WWWOFFLE to do in this case is that after realising
> that the file is not available in /var/spool/wwwoffle/http/wherever.org/
> to look on the CD-ROM and only after this fails as well to allow me to
> mark for download the next time.
Have you considered that a backup copy of the WWWOFFLE cache may not
be the most appropriate format? What happens if I change the format
of the WWWOFFLE cache and your backup copy becomes no longer useful.
Even if this feature were to be implemented in WWWOFFLE I would not
leave in the ability to read the old cache format (obviously I would
provide a way of converting the existing cache).
You might say that you would convert the backup to the new format, but
if you do that you might as well copy the files back into the existing
cache.
A more appropriate format would probably be one where there are no
special requirements to access the files, perhaps using wget like
this:
wget --convert-links --backup-converted --html-extension
on all of the files that you would otherwise backup in WWWOFFLE cache
format.
I don't intend this to be the final word on this question, but I raise
it as a point of interest.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html