Hi
the class SWResource works fine for images (GIF and jpg) but not for mime
type audio/mp3. A start for a fix is to replace #mime with #mimetype near
the place where the debugger pops up. This ensures hat the page is rendered
but there is no active link for the sound file.
This bug report applies to the Squeak implementation.
Any suggestions for a fix?
Regards
Hannes
Hi Maurice,
> Btw, the Squeak version of SmallWiki doesn't seem to store the wiki
> pages in the same manner that you describe in your paper. The SIXX
> storage seems to use a single XML doc, and the Image storage as a
> standard (large) image and changeset. Which would you recommend?
in VisualWorks - the environment where SmallWiki had been developed - I
suggest to use the image-storage. It is much faster, the resulting
files are smaller and in my opinion it is also more secure. However I
don't know about the Squeak port, you have to ask the porters in the
mailing-list about their suggestions.
What I actually think, that it would be nice to have a reference-stream
or an image-slice storage in Squeak. I've used this mechanisms in some
of my web-development and it worked very well. I don't know if it
scales well, but it should be worth trying ...
Cheers,
Lukas
On Dec 10, 2003, at 22:12, Maurice Rabb wrote:
> Dear Lukas,
>
> Thank you for your reply.
>
> I have started playing with your SmallWiki, and am looking forward to
> using it extensively. Thanks for the pointers to SSHing into my
> 1and1.com account. I have setup SSH and FTP access. I have read the
> the swiki pages on setting up a headless Squeak VM, and VNC but I must
> admit that I am in over my head. I am a Unix weenie. :-( I would
> like to have all of our stuff consolidated at 1and1 were we could have
> easy and fast access. Ideally I would just like to have someone
> install Squeak & SmallWiki for me.
>
> I would consider hosting it on on www.netstyle.ch but I don't speak
> German and I couldn't find the terms and rates. I am trying to save
> some money (1and1.com is free)
>
> Btw, the Squeak version of SmallWiki doesn't seem to store the wiki
> pages in the same manner that you describe in your paper. The SIXX
> storage seems to use a single XML doc, and the Image storage as a
> standard (large) image and changeset. Which would you recommend?
>
> Thank you for your help.
>
> Sincerely,
>
> Maurice
>
>
> On Saturday, Dec 6, 2003, at 05:47 America/Chicago, Lukas Renggli
> wrote:
>
>>
>>
>> When studying the features of 1and1.com I read that the owner gets
>> SSH access to the server, so it should be no big deal to install and
>> run either VisualWorks or Squeak there. We usually also run a VNC
>> server on our hosts to allow remote access easily.
>>
>> The company I am working for (netstyle.ch, www.netstyle.ch) is
>> offering Smalltalk hosting. The advantage for you would be that we
>> could provide you with a running configuration and if necessary
>> integrate it into your corporate design. Let us know, if you are
>> interested.
>>
>> Regards,
>> Lukas
>>
>
>
--
Lukas Renggli
http://renggli.freezope.org
hi alex
I discussed with olivier and he would like to migrate all his Swikis to
SmallWiki (even if he is scared to have everything inside the image
:)). Olivier said that he coudl help finishing the swiki importer.....
Stef
If you save a page with \[ in it, when you re-edit the page, it doesn't
contain the backslash character. Also, the =, |, !, #, and - characters
should be escaped when they follow a newline or carriage return.
John Brant
Hi
thanks for the fast reply
If you want to be sure to keep a content and a stylesheet you can set the
function isRemoveable of the templates to false (like for the template) and
change the TemplateEdit Action to allow the remove of them if there is
another Template for stylesheet or the contents. You only need a message
which say the type of the template and if there is 2 of the same type, you
can remove one of them.
Rémy Knop
Hello
for testing purposes it would be great to have a save image action
defined which would be executed with administrator rights.
(It may be a hidden URL which one just has to know)
So I can have a smallwiki running remotely and test it and I can decide
when I want to have the image saved.
Has somebody written such an action?
Helpful swiki documentation pages
http://minnow.cc.gatech.edu/squeak/53http://minnow.cc.gatech.edu/squeak/2213
Perhaps with this information the task gets so easy that you wonder
why I don't write this thing myself. Anyhow my time is limited severly
the next four days and I would like to proceed setting up a productive
smallwiki this week.
I imagine that this might be 15 minutes programming exercise for of you
of you wheras it would take me 3 hours probably. Surely it is a great
example to add to the Lukas' documentation to explain smallwiki actions.
Regards
Hannes
>> Is Mime supported in the VW-SmallWiki?
Yes, this is working in VW: The mime-type is automatically read from
the HTTP header when uploading a file.
>> As I understand, the mimetype is set when you create a new Resource,
>> but not, when you upload the data (or a new version). The default
>> value is ''.
You can get the mime-type of the data with any callback-block you
define. I suspect that in Squeak SmallWiki this is not properly passed
from the server to the callback-block:
[ :action :value :mimetype | ... ]
I know, I should add a test to catch that kind of problem.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Hello
I created a SWResource item in the 'contents' list of a folder.
I am asked to supply the title and the indicate from where to upload the
resource. I pointed to a *.wav file.
The file was uploaded in is served inline if another pages refers to
this resource. However the mime type is not set.
Where and how do I update the list of known mime types?
Is this a candidate for the FAQ?
Thank you for the answer in advance.
Hannes