Re: Zope Digest, Vol 98, Issue 1

Yuri <[email protected]>
Newsgroups gmane.comp.web.zope.general
Message-ID <[email protected]>
http://plone.org/documentation/kb/catalog-anything

Il 03/08/2012 14:00, [email protected] ha scritto:
> Send Zope mailing list submissions to
> 	[email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mail.zope.org/mailman/listinfo/zope
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
>
> You can reach the person managing the list at
> 	[email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zope digest..."
>
>
> Today's Topics:
>
>     1. Catalog a dictionary (Giampiero Benvenuti)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 3 Aug 2012 13:13:34 +0200
> From: Giampiero Benvenuti<giampiero.benvenuti-jacJaabyINpm6/[email protected]>
> To: [email protected]
> Subject: [Zope] Catalog a dictionary
> Message-ID:<4E0A87D6-CAAE-4CFA-8D30-2384073F4F07-jacJaabyINpm6/[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Hello!
>
> can you please give me some hints on how to catalog a list of dictionaries? Is it possible?
>
> L= [{'id':'1','lastName':'Rossi','firstName':'Mario'}, {...), etc..]
>
>   for d in L:
> 	context.Mycatalog.catalog_object( d, d['id'])
>
> Thanks so much in advance!
>
> GP
>
>
>
> ------------------------------
>
> _______________________________________________
> Zope maillist  -  [email protected]
>
>
>
> End of Zope Digest, Vol 98, Issue 1
> ***********************************

_______________________________________________
Zope maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.