A facility for attachments (via HTTP file-upload) would be great. Also a bundle of "starter files" for a new Wiki -- with standard intro files -- would help. --GordonMohr
text-formatting that are supported and enabled here in usemodwiki.
their TextFormatting-pages won't be enough. --HaJoGurt
My suggestion for uploaded files (except graphics) is to add a line to the "intermap" file on your local server like:
File http://myserver.com/files/attachdir
...which points to the local file directory. Then you could just type File:myfile.doc to link to that file. (For graphics displayed on a page you'll need to use the full URL. When I add attachments I'll allow attachments to be used as images.) --CliffordAdams
I used this suggestion from Cliff, and made the file directory on the server accessible to all the Windows users via Samba. If they want to embed a graphic or a file reference, they copy the file to the Samba file service, then reference it using the InterWiki format. The shared directory is wide-open to the world. From a security point of view, this ain't too hot, but it works OK in our development environment. The security issue has little to do with wiki, however, and I'm sure I could tighten things up using any number of other mechanisms if I cared to. -- DanMuller
Why not leave attachment handling to specialized web-based file managers such as Drall (http://www.edlund.org/hacks/drall/)? Just set it up and keep a link on hand at the bottom of edit pages.
I've been using a "docs" pointer in my intermap as suggested by Cliff for an intranet wiki for pointing to uploaded files. For uploading, I use a Perl script with a simple forms interface rather than FTP (my users are not adept at configuring FTP connections), so I can control uploads. JerryMuelver
I have been checking Wiki clones, and found the File Upload and Image features of the Twiki useful, but the Twiki looks too complex for the average user. I am looking for ways to make my daughter's school web site easier for the use
of kids and theachers, and the ability to upload and show an image would be great.
I think the upload facility could be turned On or Off.... Anibal Rojas
We have used a program called [Database Manager] which is really mis-named, it is an excellent file manager that works better than Drall on Windows 2000 systems. I simply linked to it from the UserGotoBar (which is a great feature for easily extending UseMod - I've linked a perl Calendar and CVS from the toolbar with graphical icons). It allows users on our intranet to easily upload, download, edit and delete files from the upload folder. I edited the InterWiki map file as mentioned above to make files easily available from within the pages of the wiki. -- EdGray
As a quick solution to the desire for uploaded files (effectively to provide a way to put some read only content on the wiki), I have a small (not quite so small now!) CGI script on a UseModWiki site that I am maintaining (see Wiki:TridentPloughsharesWiki). The script can be downloaded from the following page (the second page below includes some discussion about it, and the third page includes more technical notes):
I have an entry in my intermap file called Uploads that points to the directory
http://www.andrewgray.uklinux.net/tpwiki/uploads/ for easy accessing of uploaded files from wiki pages. The UserGotoBar on the tpwiki site includes a link direct to the upload.cgi script.
Feedback and comments welcome (or just download and use it if you want) ... -- AndrewGray
I would just like to see an upload option for straight Wikitext, rather than having to edit in the annoying box, so that I can edit in my favourite editor, spell check etc and then put it back. Its a lot nicer than cut and paste ... Is this possible without JavaScript? -- MikeHudson?
I use a patched version of Usemod Wiki named CmicWiki?, see PatchedScripts, (thx CliffordAdams). I did add a perl module from Andrew Gray which usage is simple. The user mut be authentified "à la wiki" whit an ID and a password. Then he could upload an image file (limited size and type, of course). The image could then be displayed in the CmicWiki? proper, see PatchedScripts, with a simple syntax (@m@image.jpg). As for documents, I have made a full set of docs for French users & admins. Why not take a look at http://CmicWiki.freesurf.fr , a living implementation.
--CmicWiki? aka Michel Marcon