Re: [Zope] Question about URL lookups

2008-12-29 Thread Jeff Peterson
Script (Python) has a feature called "traverse_subpath" (you can rename in 
under the "bindings" tab, but why?) that may do what you want.

Given domain.com/[script name]/L-Fredericksburg/S-VA/C-Plumbing:

request.traverse_subpath should contain ['L-Fredericksburg', 'S-VA', 
'C-Plumbing']

There may be better ways to do this, but this popped immediately for me.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

-Original Message-
From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Allen 
Schmidt Sr.
Sent: Monday, December 29, 2008 9:43 AM
To: zope@zope.org
Subject: [Zope] Question about URL lookups

Sorry if this is too generic a question but thought I would throw it out.
Interested in doing a page that does a ZSQL lookup based URL parts but 
not like a normal db lookup.
I want another way to do:

domain.com/LocalSearchFolder/lookup?category=27&state=va&city=Fredericksburg
More like this:
domain.com/LocalSearchFolder/L-Fredericksburg/S-VA/C-Plumbing

And that page (u...DTML preferably) would display the lookup results 
for Plumbing contractors in Fredericksburg, VA.

Any pointers to ideas??

Thanks!
-Allen

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] cron or time server

2008-12-29 Thread Andreas Jung

On 29.12.2008 16:52 Uhr, Carol Ludwig wrote:

Does a zope.conf resulting from a buildout have documentation?


No, but you can check yourself the zope.conf template within parts/zope2

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] cron or time server

2008-12-29 Thread Carol Ludwig
Does a zope.conf resulting from a buildout have documentation?

- Original Message -
From: Andreas Jung 
Date: Sunday, December 28, 2008 8:50
Subject: Re: [Zope] cron or time server
To: Garry Saddington 
Cc: zope@zope.org

> On 28.12.2008 14:48 Uhr, Garry Saddington wrote:
> > On Sunday 28 December 2008 12:33, Andreas Jung wrote:
> >> On 27.12.2008 21:23 Uhr, Garry Saddington wrote:
> >>> Does anyone know of a time/cron server for Zope that works. 
> I want to be
> >>> able to schedule a script to run every hour or so?
> >>> Regards
> >> Zope has a build-in ClockServer.
> >>
> >> -aj
> > Great, where can I find documentation to use it?
> 
> Look at your zope.conf.
> 
> -aj
> 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Question about URL lookups

2008-12-29 Thread Allen Schmidt Sr.
Sorry if this is too generic a question but thought I would throw it out.
Interested in doing a page that does a ZSQL lookup based URL parts but 
not like a normal db lookup.
I want another way to do:

domain.com/LocalSearchFolder/lookup?category=27&state=va&city=Fredericksburg
More like this:
domain.com/LocalSearchFolder/L-Fredericksburg/S-VA/C-Plumbing

And that page (u...DTML preferably) would display the lookup results 
for Plumbing contractors in Fredericksburg, VA.

Any pointers to ideas??

Thanks!
-Allen

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )