[Zope] catching shorter URLs
Chris Withers
chris at simplistix.co.uk
Mon Jul 9 14:46:12 EDT 2007
Ken Ara wrote:
> Aaron,
>
> The Path Handler product
> (http://www.zope.org/Members/NIP/PathHandler) is your
> friend.
Well, it would have been, but it's not necessary nowadays...
> Normally, you would create a path handler called
> 'games' and point it to your display_game method. To
> obtain the result you describe, you could move your
> display_game code into index_html and test for a
> path_to_handle, else display your 'real' index_html.
Nowadays, you can just use a normal python script instead of a path
handler and process the traverse_subpath...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list