Hello, 

having just finished the first installation of 
Comanche/Computer Age Swiki, I could not 
figure out how to set the paths for .gif files
(or other relevant files) properly. 

Question 1: What are the proper path delimiters?
The set up is on a Mac under OS 9. 
I assume that the delimiters should be the unix-like and html 
compatible slashes "/". 

Question 2: What is the default root folder on
which the file path specification should be based? 
Is it the root folder where the swiki image is located?
- the root swiki folder holding all swiki pages? 
- or the root folder of the particular swiki in question, 
   where the settings.xml file is located? 
   (i.e. /refs/ or /docs/ or other ...)

I tried several configurations, none of them
worked. Below are my latest trial 
settings.xml and list.book files. 
The gif in question: comanche.gif is now
copied on all layers of the swiki directory, i.e.
swiki/comanche.gif
and swiki/default/comanche.gif
and swiki/default/files/comanche.gif

It still does not work, despite restarting Comanche.
The rest of the swiki works - only the pictures
do not get shown. 

What am I doing wrong? 

Thanks!

Iannis Zannos
SIM 
Berlin. 




========================================
This is the settings.xml file: 
========================================
<?xml version="1.0"?>
<settings>
<s name="filesLocation">'/files/'</s>
<s name="colorScheme">' bgcolor="#ffffff" text="#000000" link="#ff0000" 
alink="#00ff00" vlink="#0000ff"'</s>
</settings>

========================================
This is the templates/list.book file: 
========================================

<?doctype?>
<html>
<head>
<title>Swikis on this Site</title>
<meta name="Pragma" content="no-cache">
<meta name="Expires" content="Thu, 01 Jan 1970 00:00:00 GMT">
</head>
<body<?colorscheme?>>
<h2>Swikis on this Site</h2>
<?swikis?>
<HR>
TEST
<HR>
<?tofiles?>
<HR>
<a href="/"><img border=0 alt="Powered by Comanche" 
src="<?tofiles?>comanche.gif"></a><br> 
<a href="/"><img border=0 alt="Powered by Comanche" src="files/comanche.gif"></a><br> 
<a href="http://192.168.100.110/"><img border=0 alt="Powered by Comanche" 
src="<?tofiles?>comanche.gif"></a><br> 
<a href="/"><img border=0 alt="Powered by Comanche" src="comanche.gif"></a><br> 

<i>Comanche 4 / Swiki Beta 8</i>
</body>
</html>

Reply via email to