Re: [Zope-dev] more on keyword indexes
Hello, Thanks for all the replies. Its seems there are two conflicting answers to my questions. Steve Alexander says that it is possible to query indexes using the syntax dtml-in "Catalog.searchResults( doc_keywords = ['one','two','ect'] . However, Dieter says that it is not yet possible to query for more than one keyword at once. It seems to me that these two sentiments are mutually exclusive. Am I mistaken here? -josh Josh Zeidner writes: OK. Is it possible to query keyword indexes for several keywords at once? Not that I know of. You either have to extend ZCatalog or wait some time. There are different people working on ZCatalog enhancements. Again, I am reporting a bug You already know the Collector? It is Zope's bug tracking system. You find it via zope.org. Its old URL has been URL:http://classic.zope.org:8080/Collector but this might have changed after the recent changes on zope.org. I have had very good response to Collector bug reports for Zope itself. At least in the past, bug reports and even patches for ZCatalog probably have been ignored, however. I hope, this has changed meanwhile. By the way: * What does "unpredictable results" mean? Dieter PS: I have just blocked mail from "hotmail.com" (and "excite.com") because I got an increasing number of bulk email ad's with a faked "from: [EMAIL PROTECTED]" header. This means: I will no longer see direct messages from you, only your Zope mailing list messages which reach me with a delay of up to one day. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) _ Get your FREE download of MSN Explorer at http://explorer.msn.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] keyword indexes
Hi, Currently I am wrestling with "keyword" indexes in ZCatalogs. How do I query the ZCatalog for all records of objects indexed on a particular keyword. For instance if my index is named MediaKeyword ive tried: dtml-in "Catalog.searchResults( MediaKeywords = ['ouch'] )" this has completely unpredictable results. dtml-in "Catalog.searchResults( MediaKeywords in ['ouch'] )" this returns all indexed objects! What am I doing wrong? Is there a special ZCatalog function for querying keyword indexes? I need some insight into this problem. Thanks! Josh Zeidner ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] more on keyword indexes
Hello, I did a little more investigiation into the problem, and couldnt really find any documentation anywhere on what the actual semantics are of keywords and how they are queried. For instance: I have three classes and each has an keyword index named KW: ObjectOne:KW = ['one','blue','furry'] ObjectTwo:KW = ['two','flying','purple'] ObjectThree: KW = ['three','one-eyed','purple'] If I were to query the ZCatalog with the following set of words: ['purple'] I would expect to get: ObjectTwo ObjectThree Right? If I query the database with ['one','two'] ( if this type of thing is at all possible ), I get : ObjectOne ObjectTwo This seems like the obvious result: BUT: it depends if you want a AND/OR type search. I could also expect to get nothing( if its an AND type search because no records match 'one' and 'two' ). Here is better example, what if I queried: ['purple','one-eyed']. Would I be expecting only ObjectThree or [ ObjectThree, ObjectTwo ] ( because they both match the keyword purple( a logical set-intersection ) ). Also I found the keyword indexes to have some more obvious bugs. If I only used one keyword for the matching critiria, for instance if I used 'purple' , I would only get ObjectTwo. Is anyone else using keyword indexes? In what way are you using them? Thanks, Josh Zeidner http://www.brooklynmedialabs.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] python 2.0, windows and zope
Ive successfully installed the latest version of zope on windows and have it running my website. http://www.brooklynmedialabs.com . Its actually easier than running it on linux! -josh Has anyone got python 2.0 working with Zope on windows? Just curious if anyone has any pointers before I start done this (potentially) painful path... -- Andy McKay, Developer. ActiveState. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] zope ftp site
hi, This may be a redundant question, but how can I download zope products via FTP? -josh _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] zoplets....
groove.net has a lot of potential for coordinating open-source projects... maybe someone can schedule one of those hairy zope-xml discussions on there. -josh _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Thanks for the comments
WROX contacted me a while back saying they wanted to do a Zope book as well. Does anyone know anything about this? -josh Just thought we'd mention that we have gotten lots of great comments on the Zope book so far, especially in the last week or so. You're all helping make it a better book and ensuring Zope's future. if you've felt in the past that you may not be technically proficient enough to contribute to the technology of Zope, you can certainly contribute to the documentation by catching our mistakes and making good observations and asking good questions. It is really, really helping. Keep it up, cuz we're not done yet! Thanks, Michel and Amos ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Product Data Storage
You should look into using ZCatalog for this purpose. -josh zeidner I have an interesting issue which I don't think has been raised. But instead of solving the issue myself I thought I would share it with you guys/gals and see what you think. I am currently working on a Zope MailIn product, which allows you to send emails directly in to Zope. Version 0.1 can be found at: http://www.zope.org/Members/NIP/ZMailIn In version 0.2 I plan to have a ZMailIn python product which will handle the Zope side of things and behave a bit like a client. For example you could add a ZMailIn product instance in to Zope and configure it to receive all emails for [EMAIL PROTECTED] and provide a method to execute upon mail arrival. This is great and you could have n ZMailIn product instances throughout your Zope site and in any position. When email arrives I need to find all the ZMailIn instances within the ZODB and hand the email to the correct one. I have decided AGAINST searching the ZODB for instances of ZMailIn because that is just too scary, hideously inefficient and I don't want to go there. Instead I thought of keeping an up-to-date list of where all the current instances where held. My original idea was to get the ZMailIn product to write a file in to the /lib/python/Products/ZMailIn directory, which shouldn't cause any problems that I can see. However, It had occurred to me that with the current growth of Zope it was going to become more popular that separate Zope instances of the same product may need to share some data. So my question is this: What are peoples opinions on storing shared product data? Where should it be placed? Should this ability be added to Zope as a standard? Thanks in advance. -Andy Dawkins (New Information Paradigms Ltd) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope-cocoon interoperability( Zope/XML )
You should definately take a look at the work being done with Zope and XML. In a nutshell, DC and FourThought are making the Zope object tree DOM compliant. In addition, XSLT operations will be supported similar to the way DTML methods interact with Zope. Also XPath and XLink are being examined for thier integration with Zope and ZDOM. The list can be found on egroups.com, named Zope-XML . -Josh Zeidner hi, wish to introduce to everyone a thought. i see great value in zope and cocoon interoperability. just to ponder:) will elaborate before next dance here is my post to cocoon_group today: thank you michael (//xml.apache.org..) IMHO, cocoon and zope interoperability is a win win situation. -for my needs with drawingincode.com currently trying to get support from UUnet/mciWorldcom to fund open_source related projects. status: between a rock and a hardplace sales and managers(pre-occupied with thoughts of-t.v. commercials) if somone is friends with Mike O'Dell (VP and chief scientist at UUNet) please have him mail me :) Thank You michael p bolger [EMAIL PROTECTED] drawingincode ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] The future of Zope with XML( what does ZDOM do for us? )
Hi Kevin, What FourThought/DC are currently doing with Zope will allow for fast transformations to memory-resident structured data( ZDOM or whatever ) to exportable XML documents( which are simply strings of characters ). This introduces( to the Zope world ) cutting edge metaphors in web-application design. All data to be served to a client is some form of XML: including HTML ( a better term: structured data ). The internal structure, or representation( or "deep structure" if you are into Chomsky ), is the data/knowledge as the web site managers see it- and most likely the most accurate and flexible when dealing with the particular information-domain( this is what theyre paid for :) ). Each user has custom needs- and wants to see this information the way they( or the applications working on thier behalf ) are accustomed to. So, architectually speaking, we need a way to easily and quickly construct XML documents from some meta-type( our internal structure ). This is what ZDOM is accomplishing for us. Parsing is a expensive endeavor. It is not practical to parse character streams every time we want to get at our data. So the solution is to represent the data as something more computationally digestible. Again : this is what ZDOM is accomplishing for us. Does this answer your question? have a good weekend, Josh Zeidner -"zippa-dee-doo-da" , uncle remus Hello, Thanks for getting this document going. It's good to see where XML is going in Zope. I do have a question, though. For me, the main value in XML has been in its usefulness as a flexible interchange format. Right now, I can store data as objects (either straight Python or ZClasses) in Zope and transform those into XML if I need to share it with the outside world (eg RSS). Similarly, though I haven't done this, I believe I can take XML from the outside world, parse it and store it in objects in the database. Are there advantages to storing the data in Zope as XML vs. storing my data as objects? Thanks, Kevin - Original Message - From: Glenn Gasmen To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 01, 2000 11:05 PM Subject: [Zope-dev] The future of Zope with XML http://www.zope.org/Wikis/zope-xml/Unified%20Vision ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] The future of Zope with XML( XSLT revisited )
Hi, It is great stuff! ( similar idea to Apache Cocoon )... now all we need is someone to put in an XSLT( 4XSLT ) processor into the core Zope code- are there any immediate plans for this? note: i realize this has been discussed before :) . -thanks, Josh Z Hi, Josh Thanks for the insight! I also just noticed that there is a whole lot of good information already up there in the Wiki. This does look like great stuff. I see how it complements Zope's current data storage capabilities. It provides good ways to move XML data in and out of the ZODB via XSLT and to store and manipulate XML data efficiently using XML Documents. These are excellent capabilities indeed. Have a great weekend! Kevin - Original Message - From: "Josh Zeidner" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 02, 2000 10:54 AM Subject: Re: [Zope-dev] The future of Zope with XML( what does ZDOM do for us? ) Hi Kevin, What FourThought/DC are currently doing with Zope will allow for fast transformations to memory-resident structured data( ZDOM or whatever ) to exportable XML documents( which are simply strings of characters ). This introduces( to the Zope world ) cutting edge metaphors in web-application design. All data to be served to a client is some form of XML: including HTML ( a better term: structured data ). The internal structure, or representation( or "deep structure" if you are into Chomsky ), is the data/knowledge as the web site managers see it- and most likely the most accurate and flexible when dealing with the particular ormation-domain( this is what theyre paid for :) ). Each user has custom needs- and wants to see this information the way they( or the applications working on thier behalf ) are accustomed to. So, architectually speaking, we need a way to easily and quickly construct XML documents from some meta-type( our internal structure ). This is what ZDOM is accomplishing for us. Parsing is a expensive endeavor. It is not practical to parse character streams every time we want to get at our data. So the solution is to represent the data as something more computationally digestible. Again : this is what ZDOM is accomplishing for us. Does this answer your question? have a good weekend, Josh Zeidner -"zippa-dee-doo-da" , uncle remus Hello, Thanks for getting this document going. It's good to see where XML is going in Zope. I do have a question, though. For me, the main value in XML has been in its usefulness as a flexible interchange format. Right now, I can store data as objects (either straight Python or ZClasses) in Zope and transform those into XML if I need to share it with the outside world (eg RSS). Similarly, though I haven't done this, I believe I can take XML from the outside world, parse it and store it in objects in the database. Are there advantages to storing the data in Zope as XML vs. storing my data as objects? Thanks, Kevin - Original Message - From: Glenn Gasmen To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 01, 2000 11:05 PM Subject: [Zope-dev] The future of Zope with XML http://www.zope.org/Wikis/zope-xml/Unified%20Vision ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] XPath and Aquisition Incompatible?
hi, I was just looking over the Wiki on Zope XML, and came across the current notes on XPath. I tend to think that XPath( which is a relative discripition of a tree traversal ), and Aquisition( which implies quite a bit based on where it gets executed )- may not be exactly compatible. Has there been any discussion on this? -Josh Z Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )