[Zope-CMF] Topics / Folders / URL Design

Max M maxm@mxm.dk
Tue, 08 Oct 2002 12:21:47 +0200


sean.upton@uniontrib.com wrote:


> http://foo.bar.com/sports/basketball/
> is the section front for a news site, powered by topic/subtopic...
> 
> ...it has a link to:
> http://foo.bar.com/News/Nov02/1234567.html
> ...where News/Nov02 is its containment path.
> 
> I would like the ability to have:
> http://foo.bar.com/sports/basketball/1234567.html 
> act as a proxy to the above content item;

You will get a problem if there is both:

http://foo.bar.com/News/Nov02/1234567.html
and
http://foo.bar.com/News/Dec02/1234567.html

"The path is the id" in Zope, so you will need to write your proxy as:

http://foo.bar.com/News/basketball/Nov02/sports/1234567.html

Which you can indeed allready make work with a little tweaking ;-)


regards Max M

the Law of Inverse Squares. With sound, for example, a source twice as
far away from the detector (an ear?) provides just one-quarter of the
strength of signal. ESP has been said to show no fall-off at all, let
alone any diminution of strength. Well, we must admit that zero signal
won't show any change...