Hi Lukas,
2008/6/10 Lukas Renggli <renggli(a)iam.unibe.ch>ch>:
[...]
http://neuquina.lifia.info.unlp.edu.ar:8011/seaside/go/pier/Wiki/Smalltalks…
This is actually a permalink. There is some noise after the ? that you
can ignore. If people bookmark the link or send it around, that's no
problem.
Sorry to disagree with you, but that link isn't shareable (the one which has
the "+" instead of the "%20"). Now I'm at home, and if I click it
I got the
following error:
*Error: "/seaside/go/pier/Wiki/Smalltalks+servers" not found.*
So there must be a problem with Seaside or maybe Pier. The URL I can see
after clicking is:
http://neuquina.lifia.info.unlp.edu.ar:8011/seaside/go/pier/Wiki/Smalltalks…
Notice that the "+" has changed into a "%2B", which is a "+"
in ASCII code,
and it seems that Pier can't process it in a good way. That is because the
page name isn't "Smalltalks+servers", actually is "Smalltalks
servers".
This link (with the %20) is showed properly here, in my home.
Do you think that my installation of Pier (or maybe Seaside) isn't working
well?
Which is:
a) changing all the "+" for a "%20"
b) and erasing from "?" to the end of the string
a) As far as i know, this modification doesn't change anything about
the link, it is just a different encoding. The resulting URL is the
same.
b) As long as you only remove the _s, _k, _n and [0-9]+ keys that
doesn't change anything, you will only loose the session information.
The blog component actually does something like that to display a
nicer link.
And the (new) generated URL does work and
it's shareable with others
browsers/people. If not, where should I put this to "pre" generate
permalinks for all pages, and show them properly (like the one in
the image
http://i296.photobucket.com/albums/mm197/evaklo/permalink.png
)?
Doing absolutely clean URLs is possible, however it requires some
heavy Seaside hackery to avoid loosing functionality. Unfortunately my
time working on Pier is very limited at the moment.
But if you insert a link like this:
http://yourHost:aPort/seaside/go/pier/Wiki/Talks
, the part of "/pier/Wiki/Talks" is traceable, so if you click
http://neuquina.lifia.info.unlp.edu.ar:8011/seaside/go/pier/Wiki/Talks you
will be able to see the "Talks" page in Pier.
Isn't this an absolutely clean URL for the "Talks" page?
Cheers,
Lukas
Thanks in advance for your answers,
Lautaro Fernández
--
Luke LAut SkyFernadezWalker