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.

Try it for yourself:

1) Create an album and/or a sub-album. 
2) Note the entry URL to this (sub-) album e.g:
        http://www.myserver.org/gallery/album09
3) From a command line, issue:
    /etc/init.d/apache restart (to ensure no saved session data)
        wget --proxy=off -r -k --html-extension 
'http://www.myserver.org/gallery/album09?set_offline=true'
4) Observe that the download will then proceed to download the selected
albume (album09) but since it's index page still contains links to the
parent, these will be downloaded. CTRL-C for the wget is advised...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (200, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.200506221
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages gallery depends on:
ii  apache                        1.3.33-8   versatile, high-performance HTTP s
ii  apache-ssl                    1.3.33-8   versatile, high-performance HTTP s
ii  debconf                       1.4.58     Debian configuration management sy
ii  netpbm                        2:10.0-9   Graphics conversion tools
ii  php4                          4:4.4.0-2  server-side, HTML-embedded scripti
ii  php4-cgi                      4:4.4.0-2  server-side, HTML-embedded scripti

Versions of packages gallery recommends:
ii  imagemagick                6:6.2.4.5-0.1 Image manipulation programs
ii  jhead                      2.41-1        manipulate the non-image part of E
ii  libjpeg-progs              6b-10         Programs for manipulating JPEG fil
ii  unzip                      5.52-3        De-archiver for .zip files

-- debconf information:
* gallery/configure_warning:
* gallery/restart: true
* gallery/webserver: apache, apache-ssl, apache-perl, apache2
* gallery/album_warning:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to