Album
view release on metacpan or search on metacpan
Album now verifies that existing style sheets start with a line:
/* ALBUM-CSS-VERSION: 1.0 */
If this line is missing (as is the case with older style sheets), or
the version number is not compatible with this version of album, a
fatal error is given and the program terminates.
Should you run into this situation (which is likely to occur once
for every existing album), then move the style sheets to a backup
location, run album, and re-apply your changes (if any) to the new
style sheets.
#### END INCOMPATIBLE CHANGE ####
* 'info.dat' may now designate its encoding system, if needed:
# -*- coding: utf-8 -*-
#### WARNING: INCOMPATIBLE CHANGE ####
If you didn't change any style sheets, migration is easy:
- remove all `index*.html` files
- remove the `css` directory, with contents
- rename the `thumbnails` directory to `index`
If you did change style sheets:
- remove all `index*.html` files
- move the `css` directory, with contents, to a backup location
- rename the `thumbnails` directory to `index`
- run `album` with `--extcss` once
- apply your style sheet changes to the new style sheets
lib/Album/Tutorial.pm view on Meta::CPAN
error the first time you run 'album'.
*************************************************************************
Existing style sheet ... is not compatible with this version.
It has probably been created by an older version of this program, or it
has been modified manually.
If you did not change any style sheets, just remove the css directory and
try again.
If you did modify the style sheets move them away to a backup location,
run the program with '--extcss', and apply your changes to the new style
sheets.
*************************************************************************
We apologise for the inconvenience.
=head2 Keyboard navigation
While browsing the album, some actions can be performed from the keyboard.
script/album view on Meta::CPAN
print STDERR "\n" if $did;
die(heredoc(<<" EOD", 8));
*************************************************************************
Existing style sheet $req.css is not compatible with this version.
It has probably been created by an older version of this program, or it
has been modified manually.
If you did not change any style sheets, just remove the css directory and
try again.
If you did modify the style sheets move them away to a backup location,
run the program with '--extcss', and apply your changes to the new style
sheets.
*************************************************************************
EOD
}
elsif ( $externalize_css ) {
unless ( $did ) {
my $fdir = d_css("");
$fdir =~ s/\/+$//;
unless ( -d $fdir ) {
( run in 2.326 seconds using v1.01-cache-2.11-cpan-c966e8aa7e8 )