Re: [Zope-dev] About populate folders by external scripts.

2004-08-12 Thread Dieter Maurer
Cristian S. Rocha wrote at 2004-8-10 19:15 -0300:
I'm working in a Product (CMFBio) to store biological data as Plone
content. To begin the database I need to populate a Plone Folder with a
lot of these contents ( 1) in a batch way.

Ensure to use a LargeFolder and not a standard folder!

That's the reason to
make a little script who load a big file and create the objects in a
folder. I was looking information about it, but was difficult to me
found something in the zope.org page. I make a form to upload a file,
but I would like do it in the command line.

You can do it from the command line (you use techniques, you
can also use for debugging -- search again).

*BUT* it is far easier when you make it in an ExternalMethod.

-- 
Dieter
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


RE: [Zope-dev] About populate folders by external scripts.

2004-08-11 Thread Matt Shaw
Hi Christian,
If you are using Archetypes there is a useful tool in the Plone collective
called ATImportTool. This will allow you to import your content from a flat
file. It can create folders on the fly or use existing ones. It can also be
used to update content. It's only available through cvs checkout for now:

http://cvs.sourceforge.net/viewcvs.py/collective/ATImportTool/

hth,
Matt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Cristian S. Rocha
Sent: Tuesday, August 10, 2004 6:16 PM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] About populate folders by external scripts.


Hi,

I'm working in a Product (CMFBio) to store biological data as Plone
content. To begin the database I need to populate a Plone Folder with a
lot of these contents ( 1) in a batch way. That's the reason to
make a little script who load a big file and create the objects in a
folder. I was looking information about it, but was difficult to me
found something in the zope.org page. I make a form to upload a file,
but I would like do it in the command line.

Could you help me with some examples to do that?

Thanks,
Cristian.

--
Lic. Cristian S. Rocha [EMAIL PROTECTED]
Departamento de ComputaciĆ³n,
Facultad de Ciencias Exactas y Naturales,
Universidad de Buenos Aires.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )