From: Brett Parker Date: Mon, 14 May 2007 17:11:11 +0000 (+0000) Subject: Add ability to generate pages in a seperate directory X-Git-Tag: release-1.1.2~6 X-Git-Url: https://git.sommitrealweird.co.uk/bpgallery.git/commitdiff_plain/5207b33c23b0f42288bc6d1ff1b16960bdbf3d1f Add ability to generate pages in a seperate directory If PAGESDIRECTORY is set, write all pages except the index in to that directory To accomodate this, filename in the generate page is automatically set to the right path, for anything else (e.g. linked stylesheets, or the stylesheet generated by bpgallery, use ${BASEURL} infront of the filename and it'll automatically get ../ when required.) Also adds a (not very good) changelog - will improve that later! git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-10 --- diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..48c7caf --- /dev/null +++ b/ChangeLog @@ -0,0 +1,123 @@ +2007-05-14 18:09:30 GMT Brett Parker + Add in pages directory support through PAGESDIRECTORY variable + Up'd version number to be +arch as this is still in development + +2007-05-14 00:29:30 GMT Brett Parker patch-9 + + Summary: + Up version for release + Revision: + bpgallery--mainline--1.1--patch-9 + + Up version number for release + + + modified files: + bpgallery.sh + + +2007-05-14 00:28:15 GMT Brett Parker patch-8 + + Summary: + Fix caption generation code + Revision: + bpgallery--mainline--1.1--patch-8 + + * Fixes captions + * Removes silly logging + + modified files: + bpgallery.sh + + +2007-05-13 10:53:09 GMT Brett Parker patch-7 + + Summary: + Update version number for release + Revision: + bpgallery--mainline--1.1--patch-7 + + Update version number for release + + modified files: + bpgallery.sh + + +2007-05-13 10:28:17 GMT Brett Parker patch-6 + + Summary: + Fix medium sized page generation + Revision: + bpgallery--mainline--1.1--patch-6 + + Declare the function even if we're not generating fullsize pages. + + modified files: + TODO bpgallery.sh + + +2007-05-13 09:15:20 GMT Brett Parker patch-5 + + Summary: + Fix index page generation code + Revision: + bpgallery--mainline--1.1--patch-5 + + + modified files: + TODO bpgallery.sh + + +2007-05-12 14:20:31 GMT Brett Parker patch-4 + + Summary: + Update TODO list + Revision: + bpgallery--mainline--1.1--patch-4 + + Update TODO list and remove things that are already done. + + modified files: + TODO + + +2007-05-12 14:11:14 GMT Brett Parker patch-3 + + Summary: + Exit on failure of being able to write medium sized images + Revision: + bpgallery--mainline--1.1--patch-3 + + * Exit on failure of being able to write medium sized images + * Fix up README to contain the new variables for medium sized images + + + modified files: + README bpgallery.sh + + +2006-06-12 19:09:07 GMT Brett Parker patch-2 + + Summary: + Fix xargs for a BSD environment + Revision: + bpgallery--mainline--1.1--patch-2 + + Change --replace to -I {} so that the xargs commands work in a BSD environment. + + + modified files: + bpgallery.sh + + +2006-05-22 19:20:34 GMT Brett Parker patch-1 + + Summary: + Preliminary addition of Medium Sized images and pages + Revision: + bpgallery--mainline--1.1--patch-1 + + * First draft attempt at medium sized images and the pages to go with it. + + modified files: + bpgallery.sh diff --git a/bpgallery.sh b/bpgallery.sh index 678f896..e532c68 100755 --- a/bpgallery.sh +++ b/bpgallery.sh @@ -19,7 +19,7 @@ set -f -VERSION="1.1.1" +VERSION="1.1.1+arch" function bpgallery_default_head() { cat < ${TITLE} - + END @@ -133,7 +133,7 @@ function bpgallery_default_page() {

${caption}