Author Topic: descriptions.txt file format  (Read 6488 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
descriptions.txt file format
« on: June 30, 2002, 06:17:19 »
The descriptions.txt file contains all the information used to display album/photo custom titles and descriptions.

Code: [Select]
Root
Root_Album_Description
Root_Album_Long_Description (multi-line)
~
Image_File_Name:Image_Owner
Image_Short_Description
Image_Long_Description (multi-line)
~
Album_File_Name:Album_Owner
Album_Short_Description
Album_Long_Description (multi-line)
~
Image_File_Name:Image_Owner
...

For example:

Code: [Select]
Root
The Army.ca Photo Gallery
<center><img src="/img/Photo_Gallery.gif"></center>
This gallery contains photos uploaded by Army.ca users. To upload a photo, please see the <a href=../cgi-bin/album.pl?function=upload>Photo Upload</a> page.

Please select from one of the categories below. If you think a new category or sub category is required, please <a href=mailto:Army@Army.ca>let me know</a>.

Enjoy
~
general_pics:bobbitt
General
General Pictures of the Canadian Army
~
training_pics
Training
Training Photos
~
operations_pics
Operations
Operational Photos
~
c7.gif:grunt
C7A1 Rifle
This is the C7 rifle, with Elcan scope mounted.

It is the standard issue rifle for the Canadian Army.
~
...

Where ~ is the delimiter by default. Also note that you can use the "album.pl?function=enter_desc" feature to create this file on the fly.
« Last Edit: October 04, 2005, 14:32:28 by Mike Bobbitt »