18 Jan
1999
18 Jan
'99
6:10 p.m.
At 01:42 PM 1/16/99 +0000, Guido Sohne wrote:
I want to have a URL called say,
http://www.webstar.com.gh/articles/1998/01/15/Ashanti_Records_Record_Revenue...
which should map to a python method/object that queries an external database with the arguments 1998+01+15+Ashanti_Records_Record_Revenues
Is there a way to do this *without* using Apache rewrite rules ?
^^^^^^^^^^^^^ I meant to say without but said with ...
If you don't mind making the URL: http://www.webstar.com.gh/articles/1998+01+15+Ashanti_Records_Record_Revenue... Then you can simply give your object a __getitem__ method that does the query. ZPublisher will pass "1998+01+15+Ashanti_Records_Record_Revenues" to the __getitem__ method.