I am setting up several wikis to try to help collect some HOWTO info for our staff, and love the simplicity and speed of Instiki, it is a great product, my first foray into playing with a RoR app. However, no matter how I try to search and read the documentation on file uploads in Instiki, I can''t get this feature working. I set the file limit in the Web Settings to 1 GB to test without limitations. I followed the small example on FileUploads page on instiki.org by placing the location of the file I want uploaded in brackets. I have Instiki running on a local webserver, proxied to the outside world via Apache. I''ve tried to point the upload files link to a file straight off my local machine to see if it uploads to the web server but that doesn''t work. Does Instiki have a file upload module somewhere, do i have to give permissions to the /files dir? (I am running Apache webserver on a Windows Server box, with Ruby 1.84 installed). I even ftp''d a file to the /files subdir and still can''t get a clean link. When I ftp the file directly, then add [[filename.pdf:file]] the result is a highlighted link for a page that doesn''t exist, but if I click the question mark to create it, then the PDF in the /files dir opens. Have I missed some config setting somewhere. I know instiki.org has the FileUpload page on the TODO list, but I''m getting frustrated not being able to sort it out on my own. Everything else with this application is so simple and straightforward, I''m sure I''m staring at the solution but just haven''t grokked. it. Thanks, -Mike Michael Lucas Web Manager MVRPC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060522/465429d9/attachment.htm
Meindert Meindertsma
2006-Jun-02 21:07 UTC
[Instiki] is there a config to enable file uploads?
Hi Mike, I didn''t know how to upload either, until I found out by accident today. Lucky me. So here''s a recipe. Let''s say your wiki is called "mywiki" and you want to upload an image "myFig.png". Create this (temporary) hyperlink in your wiki page: <a href="http:/mywiki/files/myFig.png">upload this</a> (or in Textile: "upload this":http:/mywiki/files/myFig.png). After submitting the page, click on the new link. If any myFig.png graphics comes up in your browser: bad luck, this file already exists on the server -- try another name. But when you''re more fortunate, you''ll get the upload page you longed for. Fill in the form (the original filename doen''t have to be "myFig.png"), and your file will be transferred to the server -- actually to public/mywiki/files/ -- as myFig.png. Now you can remove the hyperlink from your wiki page and replace it by something like <img src="/mywiki/files/myFig.png" /> (in Textile: !/mywiki/files/myFig.png!), or whatever you want. There is a restriction. The destination *has* to be the mywiki/files/ folder. Any other location (like images/, mywiki/files/someSubdirectory/ or mywiki/somePeerdirectory/) won''t invoke the upload page. This worked for me on Windows 2000 + Ruby 1.8.4 + Instiki 0.11.0 + WEBrick, and I guess it will work for anyone using Instiki 0.11.0. Meindert Meindertsma. Quoting "Lucas, Mike" <MLucas at mvrpc.org>:> I am setting up several wikis to try to help collect some HOWTO info for > our staff, and love the simplicity and speed of Instiki, it is a great > product, my first foray into playing with a RoR app. > > However, no matter how I try to search and read the documentation on > file uploads in Instiki, I can''t get this feature working. > > I set the file limit in the Web Settings to 1 GB to test without > limitations. > > I followed the small example on FileUploads page on instiki.org by > placing the location of the file I want uploaded in brackets. > > I have Instiki running on a local webserver, proxied to the outside > world via Apache. I''ve tried to point the upload files link to a file > straight off my local machine to see if it uploads to the web server but > that doesn''t work. Does Instiki have a file upload module somewhere, do > i have to give permissions to the /files dir? (I am running Apache > webserver on a Windows Server box, with Ruby 1.84 installed). > > I even ftp''d a file to the /files subdir and still can''t get a clean > link. When I ftp the file directly, then add [[filename.pdf:file]] the > result is a highlighted link for a page that doesn''t exist, but if I > click the question mark to create it, then the PDF in the /files dir > opens. Have I missed some config setting somewhere. I know instiki.org > has the FileUpload page on the TODO list, but I''m getting frustrated not > being able to sort it out on my own. Everything else with this > application is so simple and straightforward, I''m sure I''m staring at > the solution but just haven''t grokked. it. > > Thanks, > -Mike > Michael Lucas > Web Manager > MVRPC > >
I keep thinking about replies like this one - is this material now on instiki.org? It really should be, don''t you think? Why reply THERE, by adding to the documentation, and the directing readers of this list to the relevant page? Let''s build the documentation base. Tom C. On Fri, 02 Jun 2006 14:07:44 -0700, Meindert Meindertsma <msm at uwnet.nl> wrote:> Hi Mike, > > I didn''t know how to upload either, until I found out by accident > today. Lucky me. So here''s a recipe. > > Let''s say your wiki is called "mywiki" and you want to upload an image > "myFig.png". Create this (temporary) hyperlink in your wiki page: <a > href="http:/mywiki/files/myFig.png">upload this</a> (or in Textile: > "upload this":http:/mywiki/files/myFig.png). After submitting the > page, click on the new link. If any myFig.png graphics comes up in > your browser: bad luck, this file already exists on the server -- try > another name. But when you''re more fortunate, you''ll get the upload > page you longed for. Fill in the form (the original filename doen''t > have to be "myFig.png"), and your file will be transferred to the > server -- actually to public/mywiki/files/ -- as myFig.png. Now you > can remove the hyperlink from your wiki page and replace it by > something like <img src="/mywiki/files/myFig.png" /> (in Textile: > !/mywiki/files/myFig.png!), or whatever you want. > > There is a restriction. The destination *has* to be the mywiki/files/ > folder. Any other location (like images/, > mywiki/files/someSubdirectory/ or mywiki/somePeerdirectory/) won''t > invoke the upload page. > > This worked for me on Windows 2000 + Ruby 1.8.4 + Instiki 0.11.0 + > WEBrick, and I guess it will work for anyone using Instiki 0.11.0. > > Meindert Meindertsma. > > Quoting "Lucas, Mike" <MLucas at mvrpc.org>: > >> I am setting up several wikis to try to help collect some HOWTO info for >> our staff, and love the simplicity and speed of Instiki, it is a great >> product, my first foray into playing with a RoR app. >> >> However, no matter how I try to search and read the documentation on >> file uploads in Instiki, I can''t get this feature working. >> >> I set the file limit in the Web Settings to 1 GB to test without >> limitations. >> >> I followed the small example on FileUploads page on instiki.org by >> placing the location of the file I want uploaded in brackets. >> >> I have Instiki running on a local webserver, proxied to the outside >> world via Apache. I''ve tried to point the upload files link to a file >> straight off my local machine to see if it uploads to the web server but >> that doesn''t work. Does Instiki have a file upload module somewhere, do >> i have to give permissions to the /files dir? (I am running Apache >> webserver on a Windows Server box, with Ruby 1.84 installed). >> >> I even ftp''d a file to the /files subdir and still can''t get a clean >> link. When I ftp the file directly, then add [[filename.pdf:file]] the >> result is a highlighted link for a page that doesn''t exist, but if I >> click the question mark to create it, then the PDF in the /files dir >> opens. Have I missed some config setting somewhere. I know instiki.org >> has the FileUpload page on the TODO list, but I''m getting frustrated not >> being able to sort it out on my own. Everything else with this >> application is so simple and straightforward, I''m sure I''m staring at >> the solution but just haven''t grokked. it. >> >> Thanks, >> -Mike >> Michael Lucas >> Web Manager >> MVRPC >> >> > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users-- ===============================================Tom Cloyd, MS MA, LMHC Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << TC.BestMindHealth.com / BestMindHealth.com >> << tomcloyd at bestmindhealth.com >> ================================================
THERE. ;) http://instiki.org/show/FileUploads using the instiki syntax [[file name here.jpg:pic]] Thanks for the developers for putting in this cool feature in 0.11. -- ~~~~~~~~~~~~ Eldon Nelson eldon_nelson :at: ieee :dot: org On 6/2/06, Tom Cloyd <tomcloyd at bestmindhealth.com> wrote:> I keep thinking about replies like this one - is this material now on > instiki.org? It really should be, don''t you think? Why reply THERE, by > adding to the documentation, and the directing readers of this list to the > relevant page? Let''s build the documentation base. > > Tom C. > > On Fri, 02 Jun 2006 14:07:44 -0700, Meindert Meindertsma <msm at uwnet.nl> > wrote: > > > Hi Mike, > > > > I didn''t know how to upload either, until I found out by accident > > today. Lucky me. So here''s a recipe. > > > > Let''s say your wiki is called "mywiki" and you want to upload an image > > "myFig.png". Create this (temporary) hyperlink in your wiki page: <a > > href="http:/mywiki/files/myFig.png">upload this</a> (or in Textile: > > "upload this":http:/mywiki/files/myFig.png). After submitting the > > page, click on the new link. If any myFig.png graphics comes up in > > your browser: bad luck, this file already exists on the server -- try > > another name. But when you''re more fortunate, you''ll get the upload > > page you longed for. Fill in the form (the original filename doen''t > > have to be "myFig.png"), and your file will be transferred to the > > server -- actually to public/mywiki/files/ -- as myFig.png. Now you > > can remove the hyperlink from your wiki page and replace it by > > something like <img src="/mywiki/files/myFig.png" /> (in Textile: > > !/mywiki/files/myFig.png!), or whatever you want. > > > > There is a restriction. The destination *has* to be the mywiki/files/ > > folder. Any other location (like images/, > > mywiki/files/someSubdirectory/ or mywiki/somePeerdirectory/) won''t > > invoke the upload page. > > > > This worked for me on Windows 2000 + Ruby 1.8.4 + Instiki 0.11.0 + > > WEBrick, and I guess it will work for anyone using Instiki 0.11.0. > > > > Meindert Meindertsma. > > > > Quoting "Lucas, Mike" <MLucas at mvrpc.org>: > > > >> I am setting up several wikis to try to help collect some HOWTO info for > >> our staff, and love the simplicity and speed of Instiki, it is a great > >> product, my first foray into playing with a RoR app. > >> > >> However, no matter how I try to search and read the documentation on > >> file uploads in Instiki, I can''t get this feature working. > >> > >> I set the file limit in the Web Settings to 1 GB to test without > >> limitations. > >> > >> I followed the small example on FileUploads page on instiki.org by > >> placing the location of the file I want uploaded in brackets. > >> > >> I have Instiki running on a local webserver, proxied to the outside > >> world via Apache. I''ve tried to point the upload files link to a file > >> straight off my local machine to see if it uploads to the web server but > >> that doesn''t work. Does Instiki have a file upload module somewhere, do > >> i have to give permissions to the /files dir? (I am running Apache > >> webserver on a Windows Server box, with Ruby 1.84 installed). > >> > >> I even ftp''d a file to the /files subdir and still can''t get a clean > >> link. When I ftp the file directly, then add [[filename.pdf:file]] the > >> result is a highlighted link for a page that doesn''t exist, but if I > >> click the question mark to create it, then the PDF in the /files dir > >> opens. Have I missed some config setting somewhere. I know instiki.org > >> has the FileUpload page on the TODO list, but I''m getting frustrated not > >> being able to sort it out on my own. Everything else with this > >> application is so simple and straightforward, I''m sure I''m staring at > >> the solution but just haven''t grokked. it. > >> > >> Thanks, > >> -Mike > >> Michael Lucas > >> Web Manager > >> MVRPC > >> > >> > > > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > -- > > ===============================================> Tom Cloyd, MS MA, LMHC > Private practice Psychotherapist > Bellingham, Washington, U.S.A: (360) 920-1226 > << TC.BestMindHealth.com / BestMindHealth.com >> > << tomcloyd at bestmindhealth.com >> > ===============================================> _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >
Francisco Alves Cabrita
2006-Jun-03 16:01 UTC
[Instiki] is there a config to enable file uploads?
YEP, I do agree with you,, that''s the spirit of contributing to the project :) I will do the same as soon as I finish the howto about instaling Instiki + lighttpd + fcgid + php under FreeBSD with authentication for edit ;) Best Regards Francisco Em S?bado, 3 de Junho de 2006 03:41, o Tom Cloyd escreveu:> I keep thinking about replies like this one - is this material now on > instiki.org? It really should be, don''t you think? Why reply THERE, by > adding to the documentation, and the directing readers of this list to the > relevant page? Let''s build the documentation base. > > Tom C. > > On Fri, 02 Jun 2006 14:07:44 -0700, Meindert Meindertsma <msm at uwnet.nl> > > wrote: > > Hi Mike, > > > > I didn''t know how to upload either, until I found out by accident > > today. Lucky me. So here''s a recipe. > > > > Let''s say your wiki is called "mywiki" and you want to upload an image > > "myFig.png". Create this (temporary) hyperlink in your wiki page: <a > > href="http:/mywiki/files/myFig.png">upload this</a> (or in Textile: > > "upload this":http:/mywiki/files/myFig.png). After submitting the > > page, click on the new link. If any myFig.png graphics comes up in > > your browser: bad luck, this file already exists on the server -- try > > another name. But when you''re more fortunate, you''ll get the upload > > page you longed for. Fill in the form (the original filename doen''t > > have to be "myFig.png"), and your file will be transferred to the > > server -- actually to public/mywiki/files/ -- as myFig.png. Now you > > can remove the hyperlink from your wiki page and replace it by > > something like <img src="/mywiki/files/myFig.png" /> (in Textile: > > !/mywiki/files/myFig.png!), or whatever you want. > > > > There is a restriction. The destination *has* to be the mywiki/files/ > > folder. Any other location (like images/, > > mywiki/files/someSubdirectory/ or mywiki/somePeerdirectory/) won''t > > invoke the upload page. > > > > This worked for me on Windows 2000 + Ruby 1.8.4 + Instiki 0.11.0 + > > WEBrick, and I guess it will work for anyone using Instiki 0.11.0. > > > > Meindert Meindertsma. > > > > Quoting "Lucas, Mike" <MLucas at mvrpc.org>: > >> I am setting up several wikis to try to help collect some HOWTO info for > >> our staff, and love the simplicity and speed of Instiki, it is a great > >> product, my first foray into playing with a RoR app. > >> > >> However, no matter how I try to search and read the documentation on > >> file uploads in Instiki, I can''t get this feature working. > >> > >> I set the file limit in the Web Settings to 1 GB to test without > >> limitations. > >> > >> I followed the small example on FileUploads page on instiki.org by > >> placing the location of the file I want uploaded in brackets. > >> > >> I have Instiki running on a local webserver, proxied to the outside > >> world via Apache. I''ve tried to point the upload files link to a file > >> straight off my local machine to see if it uploads to the web server but > >> that doesn''t work. Does Instiki have a file upload module somewhere, do > >> i have to give permissions to the /files dir? (I am running Apache > >> webserver on a Windows Server box, with Ruby 1.84 installed). > >> > >> I even ftp''d a file to the /files subdir and still can''t get a clean > >> link. When I ftp the file directly, then add [[filename.pdf:file]] the > >> result is a highlighted link for a page that doesn''t exist, but if I > >> click the question mark to create it, then the PDF in the /files dir > >> opens. Have I missed some config setting somewhere. I know instiki.org > >> has the FileUpload page on the TODO list, but I''m getting frustrated not > >> being able to sort it out on my own. Everything else with this > >> application is so simple and straightforward, I''m sure I''m staring at > >> the solution but just haven''t grokked. it. > >> > >> Thanks, > >> -Mike > >> Michael Lucas > >> Web Manager > >> MVRPC > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users-- Violence in reality is quite different from theory. -- Spock, "The Cloud Minders", stardate 5818.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20060603/6c69b695/attachment.bin
Meindert Meindertsma
2006-Jun-03 22:09 UTC
[Instiki] is there a config to enable file uploads?
Good action, Eldon. Your THERE ends with: "Question ? how do you reupload a file?" It seems that physical items, once placed, can never ever be removed or changed, by anyone (accept for the owner of the wiki). The only way I can think of, is doing your own version control. If your first uploaded file was called "myPreciousFile.ext", the next version of that file could be "myPreciousFileV2.ext" or something like that, and so on. Regrettably all links to the previous version have to be renamed. Yes, manually. I was thinking about the documentation too, but just thinking. The outcome so far: there should be a good outline for the documentation, that can be filled and expanded with the knowledge of the developpers, user experiences et cetera. Even inside the relatively small-sized iniki.org it''s not always easy to find the existing information. However, I didn''t get myself into really designing such an outline, but some ideas rose. A. Operational instructions. Many systems are covered by (1) a user''s manual and (2) a complete reference. Since Instiki is a zero-dot-something contraption, it''s too early for that, I think. Better maybe: (a) a primer, like the one on instiki.org, with a few extras (like an explanation of the [[WikiWord|a more fancy expression]] construction) and (b) some kind of "conjuring book", rather comprehensive, containing a plethora of tricks, known problems, workarounds, how to upload pictures, how to import other wikis, how to repair some database inconsistencies (not so orphaned orphan pages for instance), how to customize your wiki, et cetera. B. Technical documentation. Theoretically, anyone can write it, since the source is open, and there are some fine publications on Ruby and Rails. From the simple user''s point of view, I don''t want to wish to know about technical details, but if that''s the only way to get things done... And then, this mailinglist (and other places?) deserves scanning on relevant material for our documentation. How to prevent different people doing the same work? Are we waiting for each other? Well, at least the first step has been made. Meindert Meindertsma. Quoting Eldon Nelson <eldon_nelson at ieee.org>:> THERE. ;) > > http://instiki.org/show/FileUploads > > using the instiki syntax [[file name here.jpg:pic]] > > Thanks for the developers for putting in this cool feature in 0.11. > > -- > ~~~~~~~~~~~~ > Eldon Nelson > eldon_nelson :at: ieee :dot: org > > On 6/2/06, Tom Cloyd <tomcloyd at bestmindhealth.com> wrote: >> I keep thinking about replies like this one - is this material now on >> instiki.org? It really should be, don''t you think? Why reply THERE, by >> adding to the documentation, and the directing readers of this list to the >> relevant page? Let''s build the documentation base. >> >> Tom C. >> >> On Fri, 02 Jun 2006 14:07:44 -0700, Meindert Meindertsma <msm at uwnet.nl> >> wrote: >> >> > Hi Mike, >> > >> > I didn''t know how to upload either, until I found out by accident >> > today. Lucky me. So here''s a recipe. >> > >> > Let''s say your wiki is called "mywiki" and you want to upload an image >> > "myFig.png". Create this (temporary) hyperlink in your wiki page: <a >> > href="http:/mywiki/files/myFig.png">upload this</a> (or in Textile: >> > "upload this":http:/mywiki/files/myFig.png). After submitting the >> > page, click on the new link. If any myFig.png graphics comes up in >> > your browser: bad luck, this file already exists on the server -- try >> > another name. But when you''re more fortunate, you''ll get the upload >> > page you longed for. Fill in the form (the original filename doen''t >> > have to be "myFig.png"), and your file will be transferred to the >> > server -- actually to public/mywiki/files/ -- as myFig.png. Now you >> > can remove the hyperlink from your wiki page and replace it by >> > something like <img src="/mywiki/files/myFig.png" /> (in Textile: >> > !/mywiki/files/myFig.png!), or whatever you want. >> > >> > There is a restriction. The destination *has* to be the mywiki/files/ >> > folder. Any other location (like images/, >> > mywiki/files/someSubdirectory/ or mywiki/somePeerdirectory/) won''t >> > invoke the upload page. >> > >> > This worked for me on Windows 2000 + Ruby 1.8.4 + Instiki 0.11.0 + >> > WEBrick, and I guess it will work for anyone using Instiki 0.11.0. >> > >> > Meindert Meindertsma. >> > >> > Quoting "Lucas, Mike" <MLucas at mvrpc.org>: >> > >> >> I am setting up several wikis to try to help collect some HOWTO info for >> >> our staff, and love the simplicity and speed of Instiki, it is a great >> >> product, my first foray into playing with a RoR app. >> >> >> >> However, no matter how I try to search and read the documentation on >> >> file uploads in Instiki, I can''t get this feature working. >> >> >> >> I set the file limit in the Web Settings to 1 GB to test without >> >> limitations. >> >> >> >> I followed the small example on FileUploads page on instiki.org by >> >> placing the location of the file I want uploaded in brackets. >> >> >> >> I have Instiki running on a local webserver, proxied to the outside >> >> world via Apache. I''ve tried to point the upload files link to a file >> >> straight off my local machine to see if it uploads to the web server but >> >> that doesn''t work. Does Instiki have a file upload module somewhere, do >> >> i have to give permissions to the /files dir? (I am running Apache >> >> webserver on a Windows Server box, with Ruby 1.84 installed). >> >> >> >> I even ftp''d a file to the /files subdir and still can''t get a clean >> >> link. When I ftp the file directly, then add [[filename.pdf:file]] the >> >> result is a highlighted link for a page that doesn''t exist, but if I >> >> click the question mark to create it, then the PDF in the /files dir >> >> opens. Have I missed some config setting somewhere. I know instiki.org >> >> has the FileUpload page on the TODO list, but I''m getting frustrated not >> >> being able to sort it out on my own. Everything else with this >> >> application is so simple and straightforward, I''m sure I''m staring at >> >> the solution but just haven''t grokked. it. >> >> >> >> Thanks, >> >> -Mike >> >> Michael Lucas >> >> Web Manager >> >> MVRPC >> >> >> >> >> > >> > >> > _______________________________________________ >> > Instiki-users mailing list >> > Instiki-users at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/instiki-users >> >> >> >> -- >> >> ===============================================>> Tom Cloyd, MS MA, LMHC >> Private practice Psychotherapist >> Bellingham, Washington, U.S.A: (360) 920-1226 >> << TC.BestMindHealth.com / BestMindHealth.com >> >> << tomcloyd at bestmindhealth.com >> >> ===============================================>> _______________________________________________ >> Instiki-users mailing list >> Instiki-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/instiki-users >> > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users >