A Swiki question

G.J.Tielemans at dinkel.utwente.nl G.J.Tielemans at dinkel.utwente.nl
Wed Oct 10 14:18:59 UTC 2001


I suppose you want to keep your html layout:

If you have physic access to the directories of your swiki, then you could:

The (Royal)long way 
- first copy every html-page to a separate swiki-page(inside the editbox),
- remember each page-number
- stop the swiki
- create under the directory: \uploads\ of your swiki, directories with the
same (new) page-numbers
- copy the right gifs to the right number-directories (that is why you had
to remember these for each page)
 (If you later want to kill a page by hand, you can also kill the
accompaning uploads-page with it's gifs)
- restart swiki
- the gifs are now visible for the swiki (check with the uploads-button on
each page)
- edit every separate html-page in the swiki-edit-box of that page: 
.......should start with <html> and end with </html>
.......every path in the reference to a gif should be adopted: 
.........................................<IMG
SRC="http://www.piet.com/blabla../pictuer.gif>
.........................................<IMG SRC="pictuer.gif>
- refresh your page and you should see the gif's

(You should also adapt the references between your pages by hand: Swiki does
not have an hierachy-mechanism for pages, starting from a kind of index page
in a root directory)

you need a slave for this.. 


The (ugly)short way:
- choose a swikipage to attach all your html-pages
- remember the page number
- copy all the gif's to that \upploads\number (no number? create it first
- remove all the path-references in your html-pages, also for
page-references (replace all <path-name> with <nothing>) 
- upload the pages
(clicking on a hyperlink of this page should show the html-page)
- but: you loose your swiki-menu (need to use the back-button of your
browser)
- also: content is not visble for the swiki-search function

even easier:
Keeping it on the other webserver and just linking with *http//...*
It has the disadvantage that the content is not visible for the
search-function of your swiki
and you need to keep the other webserver alive. 

<<Would be nice if someone wrote a file-in mechanism for a hierarchical set
of pages, including uploads>>
 
-----Original Message-----
From: John Hinsley [mailto:jhinsley at telinco.co.uk]
Sent: Wednesday, October 10, 2001 2:10 PM
To: squeak-dev at lists.squeakfoundation.org
Subject: A Swiki question


I read the Swiki help guide, but still came away not knowing what to do.

I've a couple of things to upload, but they're in conventional web
server style format (naturally enough -- they were on a conventional web
server!). Just the usual stuff, a couple of folders, each with an
index.html, one with a link from index.html and loads of gifs.

Of course, in this format, the *folder* is the page name......

I'm sure the Swiki way of doing things is actually easier, but it
confuses the hell out of me!

Can't I just ftp the stuff up? Port 80? 8080? Please.... pretty please? 

I'd just play with Comanche until I got the right response, but with a
feeble dialup connection, that's going to be expensive.

Cheers

John


-- 
If you don't care about your data, like file systems which automagically
destroy themselves and have money to burn on 3rd party tools to keep
your
system staggering on, Microsoft (tm) have the Operating System for you.





More information about the Squeak-dev mailing list