1# -*- mode: text -*- 2# 3# TODO for curator 4# 5# $Id: TODO,v 1.8 2003/09/20 21:28:52 blais Exp $ 6# 7 8 9#=============================================================================== 10# TODO, COMMENTS, ETC, Wishlist/ToDo todo TODO list 11#=============================================================================== 12 13* super nice idea from fxt: 14 15 make it able to create custom slide shows with a list of pictures in a certain 16 order 17 18 input a text file with the pictures in the desired order 19 20* bug: if only --browse is available, curator doesn't pick them up anymore 21 (e.g. use package_pics and try just running curator in the given subdir) 22 23* curator --out-onedir picks up its own html output directory when run twice in 24 a row. 25 26* update the Debian man file curator.sgml (fetch from the web). 27 28* something that is really annoying is that new directories are not stored in 29 order of date in the directory index, find a solution for that. 30 31 - for tracks, make curator able to use the basenames without the directories 32 for the picture names 33 34BIG BUG! no-html is not the opposite of force-html, but they're implemented the same, do this! 35 36 - implement lowsrc in images using thumbnails as a source (tdemarge) 37 38 - write a script to copy the exif info from one jpeg file to another 39 40 - write a script to extract thumbnails from jpegs which have them, this should 41 make generating thumbnails much faster 42 43 - include "source: " field for archival retrieval 44 45 - instructions for making a CDROM under windows on web page 46 47#------------------------------------------------------------------------------- 48# long term 49# 50 51 - table generator: align image to top of cells, not center (vertically) 52 53 - global definitions file to be executed for each environment for all templates 54 55# merge getprop() and getattr() ? 56 57Eventually: 58 59 - the images don't necessarily reside where the HTML pages are, and can be 60 scattered/organized over many different directories; 61 62 - implement user-specified conversins 63 64 65# add 'next directory' functionality to script env 66 67# running surrogate programs, grab errors and print to stderr of this. 68# e.g. convert program 69 70# add reporting line or error in template 71 72# try accessing Image class... it works... but it shouldn't what can we do about 73# it? 74 75# --urls mode 76# - only a global file, thumbnails generated locally 77# - dependency on wget 78# - look for desc file at URL location, then locally 79 80# support generating an HTML global index with a list of URLs away from output 81# dir. Should generate global index and image pages only. This would be a 82# special mode. 83 84# perhaps vars( class(envir) ) would solve the ugly hack for methods otherwise 85# we could bin by hand 86 87# allow placing thumbnails in an arbitrary directory. 88 89# you'll want to support adding a copyright to individual images, and other 90# types of conversions, processing 91 92# implement <convert> field to automatically make conversions (optional) the 93# code should be the same as thumbnails, the thumbnails is only a particular 94# case of this. 95 96Commands: 97 98for f in `find . -name \*.jpg ! -name \*thumb* `; do echo $f ; j=`echo $f | sed -e 's/jpg/desc/'`; echo "settings:" > $j ; ~/curator/exif995.py $f >> $j ; done 99 100 101 102 103------------------------------ 104 105Currently the following files are produces: 106 107 in root directory: 108 allindex.html 109 sortindex.html 110 trackindes.html 111 112 in every directory including root: 113 dirindex.html 114 image.html 115 116 It is good practice to have an index.html in each 117directory, to give the web server a default file to 118display. True, one could change the web server 119default to "allindex.html, dirindex.html", but only 120if you run your own web server. 121 122 With this in mind, it would be nice if there were an 123option to tell curator the following: 124 - name the dirindex.html file in all none root 125 directories 'index.html' 126 - name the allindex.html file 'index.html' 127 or 128 name the sortindex.hml file 'index.hml' 129 or 130 name the trackindex.hml file 'index.hml' 131 or 132 name the dirindex.hml file in the root 133 directory 'index.hml' 134 135 References from the templates to the files should 136take this into account and point to the right file, 137of course. 138 139 Maybe I am the only one who ran into this problem, 140maybe not. 141 142 Hope you like the idea. 143 144 Regards, 145 Thomas 146 147------------------------------ 148