[Zope] Site evolution and redirection strategies

Howard Hansen zope@halfmagic.com
Thu, 12 Sep 2002 10:34:48 -0700


(Belated) Thanks Andy!

This is perfect.  I had envisioned something that hooked into the
acquisition process, but this one simplifies by adding a couple of lines of
code to standard_error_message.

Howard Hansen

----- Original Message -----
From: "Andy McKay" <andy@agmweb.ca>
To: "Howard Hansen" <howardh@halfmagic.com>; <zope@zope.org>
Sent: Thursday, September 05, 2002 9:31 AM
Subject: Re: [Zope] Site evolution and redirection strategies


> Take a look at http://www.dataflake.org/software/jredirector
> --
>   Andy McKay
>   Agmweb Consulting
>   http://www.agmweb.ca
>
>
> ----- Original Message -----
> From: "Howard Hansen" <howardh@halfmagic.com>
> To: <zope@zope.org>
> Sent: Thursday, September 05, 2002 9:14 AM
> Subject: [Zope] Site evolution and redirection strategies
>
>
> > We're contemplating some major changes to our sites that will break many
> > existing URLs.  In our first transition (from Front Page to Zope!), I
> > handled the issue by matching the old URLs and creating a few DTML
Methods
> > with code along the lines of:
> >
> >     <dtml-call expr="RESPONSE.redirect('index_html')">
> >
> > This works fine, but it's not terribly clear what's going on.  It seems
> like
> > it would be reasonably trivial (i.e., within my powers) to create a
python
> > product that stored the new destination and performed the redirection.
> This
> > product would have the advantage of looking different than a simple DTML
> > method.
> >
> > This morning I got a list from my boss of old URLs and their new names,
> > which got me thinking....  What if there existed a centralized
redirection
> > product that allowed me to enter lists of old and new URLs and have the
> > redirection automagically happen?  Seems to me that this starts to get
> into
> > the realm of acquisition and other deep voodoo magic best left alone.
> >
> > I'm leaning toward creating the simple product and leaving it at that,
or
> > perhaps additionally creating a script that generates the redirect
objects
> > automatically from my list of old and new URLs.
> >
> > So I'd love to hear your wisdom.  How have people handled this problem
in
> > the past?  Do products like these already exist?  Are there any gotchas
> that
> > I haven't considered?
> >
> > Any and all help appreciated, as always!
> >
> > Howard Hansen
> > http://howardsmusings.com
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>