tags 330949 upstream thanks Matthew Exley wrote: > Package: gallery > Version: 1.5-2 > Severity: normal > > > The documentation at: > http://codex.gallery2.org/index.php/Gallery1:Creating_an_Offline_Copy >
> ..suggests that appending '?set_offline=true' to an album's top-level > URL allows download / copy of an album for use in offline mode (e.g. > save to CD). In particular, links to parent directories are supposed to > be stripped to prevent crawl-back to the whole gallery tree. > > However, this doesn't work. Actually, it does work (partially) but the documentation needs to be updated so people who don't want to download an entire site can do so. The -r flag to wget means recursive, and defaults to 5 levels of directory traversal (e.g. wget -r http://www.example.com/1/2/3/4/5/index.html would download all 5 directories of www.example.com) To download a single item, you need to add -l 1 to the wget command to limit the levels of recursion. I would post a message in the Gallery 1.x Troubleshooting and Problems forum at http://gallery.menalto.com/forum/44 or file a bug on www.sf.net/projects/gallery if there isn't one already. http://gallery.menalto.com/node/10511 mentions adding &set_offline=true to the same URL you would use to browse that album: http://www.example.com/gallery/view_album.php?set_albumName=myalbum&set_offline=true Using short URLs might be causing some issues as well. -- ---------------------------- Michael Schultheiss E-mail: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

