Re: [Zope] MetaData?

2000-09-08 Thread Chris Withers

kamon ayeva wrote:
 How can I get the id or title of (Document) instead of the url ?

Aren't they in the MetaData returned by the catalog query?

If they aren't, add them ;-)

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] MetaData?

2000-09-08 Thread kamon ayeva

OK, checking the Advanced ZCatalog Howto, I just found I could maybe use 
something like

dtml-in "Catalog(meta_type=['DTML Method','Document', 'Anothermetatype])"
   Method or Document or Anothermetatype:
   dtml-var "Catalog.getpath(data_record_id_)"br
/dtml-in

to solve my problem.

Haven't yet tested, so I dunno if it's my best option.

-- Kamon


From: Chris Withers [EMAIL PROTECTED]
To: kamon ayeva [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] MetaData?
Date: Fri, 08 Sep 2000 13:06:50 +0100

kamon ayeva wrote:
  How can I get the id or title of (Document) instead of the url ?

Aren't they in the MetaData returned by the catalog query?

If they aren't, add them ;-)

cheers,

Chris

_
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 maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] MetaData?

2000-09-08 Thread kamon ayeva

Hi Chris,

From: Chris Withers [EMAIL PROTECTED]
To: kamon ayeva [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Zope] MetaData?
Date: Fri, 08 Sep 2000 13:06:50 +0100

kamon ayeva wrote:
  How can I get the id or title of (Document) instead of the url ?

Aren't they in the MetaData returned by the catalog query?

They are. But I guess the text searching is on the 'abstract' method, and 
what I need is something like PARENTS[] to jump to the container.

Or am I missing something about good usage of ZCatalog ?

If they aren't, add them ;-)

cheers,

Chris

-- Kamon
_
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 maillist  -  [EMAIL PROTECTED]
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 )