Re: SQL in Plone importieren

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
On 22.09.09 16:25, Andreas Dau wrote:
> Andreas Jung schrieb:
>   
>> On 22.09.09 16:13, Andreas Dau wrote:
>>     
>>> Andreas Jung schrieb:
>>>       
>>>> On 22.09.09 15:56, Andreas Dau wrote:
>>>>         
>>>>> Ich arbeite gerade an einer Migration eines PHP/MySQL-basierten CMS nach
>>>>> Plone.
>>>>>
>>>>> Einziges größeres Problem für mich dabei ist es, die vielen hundert
>>>>> alten angefallenen Artikel in Plone reinzukriegen.
>>>>>
>>>>> Kann mir da jemand vielleicht eine Anfangsidee liefern?
>>>>>       
>>>>>           
>>>> ...Migrationsskript schreiben, dass die Daten aus der DB ausliest
>>>> und die neuen Inhalte in Plone anlegt (invokeFactor() API) und
>>>> die Werte an den entsprechenden Objekten zuweist ("mutator methods").
>>>>     
>>>>         
>> In welchem Format kannst Du Deine Daten exportieren?
>>     
> Nun ja, ich habe eine MySQL-Datenbank vorliegen, also alles, was daraus
> geht. CVS, SQL.
Die Frage ist, ob Du die Daten *sinnvoll* rausgekommst.

Erster Ansatz via CSV:

http://plone.org/products/archecsv

keine Ahnung ob das mit Plone 3 läuft.

Ansonsten hilft wirklich nur Skripten mit Python
(ja, erfordert einige elementare Zope und Python und Plone Kenntnisse).

-aj



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 331 B)
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
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.