Re: [Zope] importing data

2000-11-08 Thread Steve Spicklemire


Hi Jamey,

   It's also possible (and i think maybe easiest...) to do this in an
external method. Alas..  this also requires you to be familiar with
Python (as was posted before...)

-steve
 "James" == James Sintz [EMAIL PROTECTED] writes:

James I have created a simple zclass product for a web based
James newsletter. Each day's newsletter is input into a form and
James added into the ZODB as instances of this newsletter
James zclass. My question is... how do I import 2 years worth of
James newsletters from tab delimited files exported from another
James database?

James I searched the archives and how-to section and could not
James find the answer. Is this possible to do?

James Thanks!!

James Jamey



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


___
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 )




[Zope] importing data

2000-11-07 Thread James Sintz

I have created a simple zclass product for a web based newsletter. Each
day's newsletter is input into a form and added into the ZODB as instances
of this newsletter zclass. My question is... how do I import 2 years worth
of newsletters from tab delimited files exported from another database?

I searched the archives and how-to section and could not find the answer. Is
this possible to do?

Thanks!!

Jamey



___
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] importing data

2000-11-07 Thread Andy McKay

Im trying to finish a Product that does a very simplified version of what
you want, just sucks all txt html stuff from a file. This can be most easily
accomplished using Python reading straight off the file system or xml-rpc or
some other system. If you are comfortable with Python its not too bad

--
  Andy McKay, Developer.
  ActiveState.

- Original Message -
From: "James Sintz" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 07, 2000 1:26 PM
Subject: [Zope] importing data


 I have created a simple zclass product for a web based newsletter. Each
 day's newsletter is input into a form and added into the ZODB as instances
 of this newsletter zclass. My question is... how do I import 2 years worth
 of newsletters from tab delimited files exported from another database?

 I searched the archives and how-to section and could not find the answer.
Is
 this possible to do?

 Thanks!!

 Jamey



 ___
 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 )



___
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] Importing data

2000-06-15 Thread Oleg Broytmann

On Thu, 15 Jun 2000, J. Michael Mc Kay wrote:
 I have a Data.fs file from a previous instal of Zope.  How can import parts of that 
data base to a current data.fs?

   Just copy it in place. Data.fs files are compatible across 2.0+
versions, across different OSes and even different platforms/processors.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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] Importing data

2000-06-15 Thread J. Michael Mc Kay



Well, I meant that I have some products w/ data 
setup in the new .fs. If I copy the old over then I loose what I am 
currently working on.

  - Original Message - 
  From: 
  J. 
  Michael Mc Kay 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, June 15, 2000 12:26 
  PM
  Subject: [Zope] Importing data
  
  I have a Data.fs file from a previous instal of 
  Zope. How can import parts of that data base to a current 
  data.fs?
  
  I have a product setup in the old .fs that I want 
  to use in the newlike a squishdot for 
instance.


Re: [Zope] Importing data

2000-06-15 Thread Chris McDonough

Have you tried pushing the 'Export' button in the management interface?
-- 
Chris McDonough
Digital Creations
Publishers of Zope - http://www.zope.org

___
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] Importing data

2000-06-15 Thread Jim Washington

Please, no HTML posts.  I crashed Netscape Mail twice trying to reply. 
Thanks.

But to answer, exporting and importing works just fine if you want to
copy parts of an existing zope site.  It even works recursively, so if
you want to export an entire folder of stuff (or Squishdot site) with
subfolders, properties, etc., just go to its enclosing folder's
"Import/Export" management tab, and follow the directions for
exporting.  This will create a .zexp file.

To import into the new Data.fs file, put the .zexp file you have created
into your [where zope is installed]/import folder on your hard drive. 
Then open the new site's management interface for zope and go to the
same Import/Export tab and use the Import part.

If you have 2 Data.fs files and only 1 zope, you can switch back and
forth between them (stopping and restarting Zope in between so terrible
things do not happen) by moving one and then the other into the
appropriate var directory to do exporting, or importing as you want. 
Copies of the original files will come in handy if you confuse easily
like me.

-- Jim Washington

Well, I meant that I have some products w/ data setup in the new .fs.  If I copy the 
old over then I loose what I am currently working on.

   - Original Message - 
   From: J. Michael Mc Kay 
   To: [EMAIL PROTECTED] 
   Sent: Thursday, June 15, 2000 12:26 PM
   Subject: [Zope] Importing data

   I have a Data.fs file from a previous instal of Zope.  How can import parts of 
that data base to a current data.fs?

   I have a product setup in the old .fs that I want to use in the newlike a 
squishdot for instance.

___
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 )