.\" $Id: ample.html.5.in,v 1.1 2002/02/07 01:02:47 alphix Exp $ .\" .\" This file is part of Ample. .\" .\" Ample is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" Ample is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with Ample; if not, write to the Free Software .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA .\" .\" .\" Process this file with something like .\" groff -man -Tascii foo.1 .\" .TH AMPLE.HTML 5 "JANUARY 2002" Ample "User Manual" .SH NAME ample.html \- html template for Ample .SH DESCRIPTION This file, by default .IR "/etc/ample.html" "," is read by Ample at startup and used as a base for it's HTML pages. These pages are rendered whenever a webbrowser connects and requests a list of available songs and directories (typically done by connecting to .BR "http://server:port/index.html" ")." .P The file is divided into three sections, the header, the middle and the footer. The header and the footer are the same on each page generated while the \*(lqmiddle\*(rq is copied into the final HTML document once for each file or directory that is going to be listed. Although this may sound confusing, it will probably become much more evident once you look at the example below. .P Variables are written in uppercase and enclosed within \*(lqat\*(rq signs (example: .BR "@NAME@" ")" and are replaced dynamically when the page is constructed. Some variables can exist anywhere in the document and some can only exist in the \*(lqmiddle\*(rq section, see the information about each variable for details. .SH EXAMPLE .IP "" 0 .nf
.RB "[ playlist for this dir | recursive playlist ]
[ Up one level ]
TYPE | URL |
.B @TYPE@ | .RB "" "@NAME@" "" |
powered by Ample, for more information, see the project homepage