cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney
Send Zope maillist submissions to zope@zope.org To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to zope-request@zope.org You can reach the person managing the list at zope-admin@zope.org (When replying, please edit your Subject line so it is more specific than "Re: Contents of Zope digest...") Today's Topics: 1. free client to map Zope-FTP to drive letters on Windows OR Alex File System AFS (Marcus Schopen) 2. (no subject) (weboats@web-oats.com) 3. Re: Packing with cron (Jason Spisak) 4. Re: dtml-calendar question. (R. David Murray) 5. Re: dtml-calendar question (still not working) (R. David Murray) 6. Re: Zope Usage (R. David Murray) 7. Re: free client to map Zope-FTP (rgines@purina.com) 8. Re: How do I count children? (Kapil Thangavelu) --__--__-- Message: 1 From: Marcus Schopen <marcus@localguru.de> Subject: [Zope] free client to map Zope-FTP to drive letters on Windows OR Alex File System AFS Date: Thu, 03 Aug 2000 18:11:31 +0100 To: zope@ZOPE.ORG Hi there, I'm looking for a free(!) Windows 95/98 programm to map my Zope-FTP to a drive letter on my Windows workstation. Commercial Versions are ftpNetDrive or WebDrive. But these are not free. Thank you Marcus P.S.: mounting Zope`s FTP with AFS (Alex FS to local directory on my linux-box and sharing this mounted directory by SAMBA seems to be to much work. But if someone has experiences with this serverside solution, please let me know. ______________________________________ (0> Marcus Schopen //\ Bielefeld, Germany V_/_ ______________________________________ --__--__-- Message: 2 From: weboats@web-oats.com Date: Thu, 3 Aug 2000 10:13:03 -0700 (PDT) To: zope@zope.org Reply-To: weboats@web-oats.com Subject: [Zope] (no subject) Greetings, Is there a limit to the number of objects that may appear in a product? The goal is to be search engine friendly: http://www.myserver.com/us/ca/San_Francisco/mycategory/index_html /myroot /us /mycategory Would it be unreasonable to have 42620 folders (one for each US city and town) in a zclass? Regards, Kevin Smith --__--__-- Message: 3 From: "Jason Spisak" <444@hiretechs.com> To: "Andy Dawkins" <andyd@nipltd.com> Cc: zope@zope.org Subject: Re: [Zope] Packing with cron Date: Thu, 03 Aug 2000 08:21:09 GMT Andy Dawkins writes: Thank you Andy. That was generous. Have you ever used this from cron? Just so I know before I try it. All my best,
Jason
I'm not sure if it is worthy of putting up on Zope. Although I'm sure people will correct me if I am wrong.
But I have no problems in letting you have it
<packDb.py> is the main python script. You will need to change the line that reads s=xmlrpclib.Server('http://myserver:8080/', transport=None, username='username', password='password') To reflect your correct server details.
<xmlrpclib.py> xmlrpc Library for python. Place this in your python/libs directory, or the same directory as packDb.py
<packExtension.py> This contains the code for the external Method. Place this in your zope/Extensions directory. Create it if it doesn't exist.
You will need to add an external method to the root of your ZODB that points to packExtensions.py script
If you have any problem then please let me know.
-Andy
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. --__--__-- Message: 4 Date: Thu, 3 Aug 2000 13:27:23 -0400 (EDT) From: "R. David Murray" <bitz@bitdance.com> To: Chris Withers <chrisw@nipltd.com> cc: Andrew Kenneth Milton <akm@mail.theinternet.com.au>, zope <zope@zope.org> Subject: Re: [Zope] dtml-calendar question. On Thu, 3 Aug 2000, Chris Withers wrote:
In what way does it *not* follow Python (expression) syntax rules?
_['something'] doesn't just return the value from the dictionary which has the 'something' key, if it's callable, it'll try to call it and then return that... not nice :(
If you want to be safe, use _.getitem('something',0)...
True enough, that's a somewhat weird semantic, but it's still following python *syntax* rules <grin>. --RDM --__--__-- Message: 5 Date: Thu, 3 Aug 2000 13:35:31 -0400 (EDT) From: "R. David Murray" <bitz@bitdance.com> To: zope@zope.org Subject: Re: [Zope] dtml-calendar question (still not working) On Thu, 3 Aug 2000, tom smith wrote:
I'm still getting allsorts of errors. My code is like this...
<dtml-let yearnr="date.yy()" monthnr="date.mm()" daynr="date.dd()"> <dtml-let startDateString="monthnr+'/'+daynr+'/'+yearnr">
<dtml-in expr="get_days_events(startDateString)"> <dtml-var EventName> </dtml-in>
</dtml-let>
</dtml-let>
I'm having trouble passing StartDateString to get_days_events. If I look at StartDateString using <dtml-var startDateString> it looks OK.
What kind of errors? --RDM --__--__-- Message: 6 Date: Thu, 3 Aug 2000 13:52:10 -0400 (EDT) From: "R. David Murray" <bitz@bitdance.com> To: Marc Dullien <M.Dullien@digitalpublishing.de> cc: "'zope@zope.org'" <zope@zope.org> Subject: Re: [Zope] Zope Usage On Thu, 3 Aug 2000, Marc Dullien wrote:
Q1: With what tool inside Zope do I program the HTML Templates ?
Read the DTML reference.
Q2: I want to fill those templates with database entries
Read the ZSQL reference.
Q3: How can I do the linkage
Isn't that the same as Q2?
If you could send me a short Howto or something, that would be great, I can find ma way through from there !
Well, neither one is exactly short...so you might want to skim them first and then go back and read in detail as you try things out. --RDM --__--__-- Message: 7 From: rgines@purina.com To: Marcus Schopen <marcus@localguru.de> cc: zope@zope.org Date: Thu, 3 Aug 2000 13:26:55 -0500 Subject: Re: [Zope] free client to map Zope-FTP My first question is "Do you realy need a drive letter?". If you don't need a drive letter, but really just need a connection which is mapped within the Windows drive space, there is a utility called Internet Neighborhood from KnoWare. It allows you to map FTP sites into the Windows 'File Explorer'. It is not free, but it is shareware. I don't use it personally, but I did run across it when I was testing some utilities for a client. Depending on what your underlying need is, it should work well for you.
I'm looking for a free(!) Windows 95/98 programm to map my Zope-FTP to a drive letter on my Windows workstation. Commercial Versions are ftpNetDrive or WebDrive. But these are not free.
--__--__-- Message: 8 Date: Thu, 03 Aug 2000 06:33:52 -0700 From: Kapil Thangavelu <kvthan@wm.edu> To: "J. Atwood" <jatwood@bwanazulia.com> CC: zope@zope.org Subject: Re: [Zope] How do I count children? "J. Atwood" wrote:
So In ZUBB (my discussion product) I want to be able to show how many replies there have been to any one main topic. All replies are 'children' of the main post and when I state it with
<dtml-tree branches=children> Stuff </dtml-tree>
It works and knows that each message is a child of the message.
When in go through a searchResult to list the message I want to show many replies there are to that message.
Q: How do I count the 'children' of any one onject?
if children aren't nested <dtml-let x="objectIds(['childrenClass'])"> <dtml-var "_.len(x)"> </dtml-let> if children are nested you probably need a recursive dtml/python method. in python def count_children(o): x = o.objectItems(['childClass']) sum = len(x) for child, child_name in x: sum = sum + count_children(child) return sum Kapil --__--__-- _______________________________________________ Zope maillist - Zope@zope.org --__--__---- End of Zope Digest
participants (1)
-
Administrator