[Zope] How to convert the url to parameter

Dirk Datzert Dirk.Datzert@rasselstein-hoesch.de
Wed, 26 Dec 2001 10:20:07 +0100


There is a PathHandler-product which does this for you.

Terry schrieb:

> Dear list,
>
> Probably it's a dummy question. But I just don't know how-to.
> Does any one know to convert the url to parameter.
>
> For example:
>
> http://somehost/parse/db_name/table_name/some_field_name/condition
>
> I would like to write a python script or dtml-method named "parse" to
> grab the record from  database.
>
> Use the parameter to build a page from "SELECT * from db_name.table_name
> WHERE field_name='some_field_name'  AND condition ='condition'  "
>
> Thanks in advance.
>
> Terry
>
> _______________________________________________
> 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 )