Last updated at 12:49 am UTC on 17 January 2006
Author: Diego Gomez Deck
A really simple (aka stupid) album generator.
How to use
| album visitor |
album := Album fromDirectoryNamed: 'C:\temp\fotos'.
visitor := HtmlVisitor directory: 'C:\temp\album\'.
album acceptVisitor: visitor.
The #fromDirectoryNamed: message will create an album containing pictures and albums inside (1 picture per file, 1 album per directory). You can comment the stuff creating a file 'comments.txt'. The file has this structure:
album: comment for the album
pictureName: comment for the picture named pictureName
pictureName2: comment for the picture named pictureName2