Just to clarify for everyone here:

The FriendlyURL servlet will be released under the CPL as soon as I get
time to look back over the code and put some comments in it.

I provided Daemon with a license to use the servelt in FarCry without
limitation, but I have been too busy to get round to updating the CFC
for the standalone version, and comment the code properly.

The 'quick and dirty' code that Matt provided will give you SES URLs,
but they might not be very friendly.

The point of the FriendlyURL Servlet is that the URL typed by the user
does not need to have any variables encoded in it, so you can have a URL
of the form:

http://www.spike.org.uk/go/friendly-urls

Which is mapped to the real url:

http://www.spike.org.uk/index.cfm?objectid=E0D92039-22AB-07A9-6076142DCF72107F

With Matt's Servlet the above URL would appear as:

http://www.spike.org.uk/ses/objectid/E0D92039-22AB-07A9-6076142DCF72107F

This is more search engine safe, but not so friendly for users to type
or remember.

Which you prefer to use is up to you.

Until I manage to get the source code and CFC updated and publised on
spike.org.uk, anyone who wants a copy of the source code under the CPL
can mail me off list.

Spike

Stephen Milligan
http://www.spike.org.uk/


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to