Re: [Zope] Retrieving the week number with DateTime

2000-08-04 Thread Rob W. W. Hooft
> "DC" == David Coe <[EMAIL PROTECTED]> writes: DC> I suspect there is no 'standard' definition of week number. You're wrong. According to the calendar FAW (thanks, Google:-): 5.7 What is the week number? International standard IS-8601 (me

Re: [Zope] Internationalization

2000-06-26 Thread Rob W. W. Hooft
I only have a few internationalized pages, but I'm more than half-way happy with a very simple approach: 1) an External Method "preferred_lang", which takes a list of possible languages as argument, and returns the language from that list that has the highest ranking in HTTP_ACCEPT_LANGUAGE

Re: [Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-16 Thread Rob W. W. Hooft
Following up to my own post: RWWH> If I am looking at page:"People" should link to: RWWH> http://www.host1/ People or http://www.host1/People RWWH> http://www.host1/News ../People or http://www.host1/People RWWH> http://www.site/Host1 People or h

Re: [Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-15 Thread Rob W. W. Hooft
>>>>> "ES" == Evan Simpson <[EMAIL PROTECTED]> writes: ES> ----- Original Message - From: Rob W. W. Hooft ES> <[EMAIL PROTECTED]> >> I have set up a site: >> >> www.site >> >> In this site, there are a few vi

[Zope] Simple tabular data. Do I need SQL?

2000-06-15 Thread Rob W. W. Hooft
On my web site, I have made a "News" page. The "News" items themselves are listed as a "lines"-property named "Items" on the News folder: date1;text1 date2;text2 ... They are accessed in a dtml-method: - Since this is a small listin

[Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-15 Thread Rob W. W. Hooft
I have set up a site: www.site In this site, there are a few virtual hosts: www.host1 --> www.site/Host1 www.host2 --> www.site/Host2 Thanks to a nice access rule, both the left and right names can be used to refer to the information. So far so good. In www.site/Host1 I have define

Re: [Zope] virtual hosts with ZServer

2000-06-14 Thread Rob W. W. Hooft
> "emf" == ethan mindlace fremen <[EMAIL PROTECTED]> writes: emf> Set logical root: emf> Add physicalroot: As far as I can see, with this setup it is not possible to determine from Z2.log which virtual host has served a request. Is there a way to make the host logged as well? Rob Hooft