Hi,
unfortunately there were some more problems with the recent-changes
(and the rss feed as it depends on that code), because the time-stamp
wasn't set properly when modifying structures. I've added a test, fixed
it and updated the kilana-server. There should be much more traffic
produced, when subscribing to the rss-feed. Sorry for the
inconvenience.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Mhh, I introduced some new bugs when I implemented the RSS-Feed.
Unfortunately RSS requires absolute paths at some positions so I had to
change parts of the html-generation framework and this broke all the
forms. This problem has been fixed now and I updated
http://kilana.unibe.ch:9090 to support all the new features. Due to
some enhancements in the css-stylesheets, some designs might not look
perfectly until you update them too.
Although I was quite skeptical about the usefulness of RSS, I start to
like it. It seems to be quite cool to have a list with the latest
changes in a special program that highlights the things you haven't
seen yet. To use this feature in your favorite client subscribe to
http://kilana.unibe.ch:9090/?action=RSSChangesFeed
what will notify you about any change in the wiki. Of course you can
also restrict to a certain subtree by using a more specific url, like
http://kilana.unibe.ch:9090/mop/?action=RSSChangesFeed
Most RSS clients shouldn't even require that you specify the action,
but I don't know if this is supported by all viewers. Too see an
example of an RSS-Feed, have a look at the attached picture.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org
- The 'Path Template' has got a property giving the maximum number of
levels that should be printed, leaving this property to 0 means that
everything will be printed. In case there are some structures truncated
the omission-string will be printed instead, see the default value of
these properties to get an idea about the possibilities.
- A 'Menu Template' has been added, that renders a tree-like menu and
has got a couple of settings to modify its look and behavior. This is a
component basically interesting for CMS systems. The default
css-stylesheet has been updated accordingly.
- The action hierarchy has been slightly refactored and there is
support to display special actions within a nested list. However
editing this sublist is currently not possible from within the
component editor. Currently there have been the actions PropertyEditor,
TemplateEditor, ComponentEditor and StylesheetEditor put into the Admin
sublist. I think this would be also a good place to put the permission
and security related actions.
- Even-tough I do not use RSS personally, here is dynamically from the
changes built RSS feed for your SmallWiki server. A reference is put
into the html-header so appropriate search-engine should catch it, of
course it is also possible to add it as an action anywhere.
PS: Make sure you have a proper backup before you load the changes,
there are some modifications (changes in the internal data structures)
that might break your wiki-tree. There were a few post-load scripts
added to fix most of the problems that could arise. If you still
encounter a problem, use the inspector or the workspace to fix it
manually.
--
Lukas Renggli
http://renggli.freezope.org
>>> Is there a way to have embedded images in a SmallWiki page? All I
>>> seem to be able to do is to set up a link to the image.
>>
>> yes this is the way to go: simply create a link from your wiki-page
>> to the resource and the image should be inlined automatically. As an
>> example you might want to check out this page:
>>
>> http://kilana.unibe.ch:9090/ese2003gruppen-smallwikis/
>> sureshockwriters/
>
> Hm. That shows a link to *ssw-image* as if it were a wiki page - is
> there some way to upload and name an image, then?
Yes, but as it points to a resource it is rendered differently
according to its mime-type: that means if it is an image an <img>, if
it is a movie an <object>, etc. is emitted.
When creating a new link *The New Image* to a non existant structure in
SmallWiki at first the link doesn't point to anything. However on the
html-page a list with all the possible structures (depending of the
security configuration for the current user not all possibliites might
be shown) will be rendered and the user can choose what he wants to
point this link to. In the given example one would click on 'Resource'
and an upload-dialog will be presented where the user specifies the
file to upload. When hitting ok, a new resource named 'The New Image'
is created and the user is brought back to the original page displaying
now the image now inlined.
> As for the original question, you can always directly put in an
> <img> tag...
It is of course possible to use any html-tags and static urls, but bear
in mind that the link will break if you rename or move the target. Some
students here at Bern have written a plugin that detects such defects,
but I don't know about the status of it. Personally I prefer SmallWiki
links, because they are updated automatically if you rename or move the
target.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org
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