Forum OpenACS Development: Re: New package: Redirect

Collapse
6: Re: New package: Redirect (response to 1)
Posted by Jade Rubick on
Here's an idea for someone sometime in the future:

If we expanded the redirect package to have the option of creating mapping tables, then you could very easily migrate from, say bboards to forums.

You'd have a Redirect API that would keep track of the mapping tables, and whenever someone went to /bboard?message_id=1234, then would then be redirected to /forums?msg_id=2335

It would only be a days work or so to write, and it would be tremendously valuable for future porting efforts.

Collapse
7: Re: New package: Redirect (response to 6)
Posted by Randy O'Meara on
Jade, you can do that easily now with a very simple index.vuh tcl script.
Collapse
8: Re: New package: Redirect (response to 7)
Posted by Tilmann Singer on
Looking at the code that currently does the bboard -> forums mapping at openacs.org I'm not sure if it would make sense / be possible to generalise for any package:

http://cvs.openacs.org/cvs/openacs.org-dev/www/bboard/index.vuh?rev=1.4&content-type=text/x-cvsweb-markup