Forums / Install & configuration / importing data

importing data

Author Message

andre müller

Friday 21 March 2003 2:29:09 am

i want to write a super basic import script, that inserts an object and its attributes to the database. what functions do i have to use to import the attribute data?
i have to define the class of the object and create a new object. then get the objects attributes. that's about how far i got. but what is next? the publish process is so terribly complicated. i simply can't follow it..
thanks for any hints

Sergiy Pushchin

Friday 21 March 2003 8:07:11 am

http://zev.ez.no/svn/nextgen/trunk/scrap/testimport.php
It is not general but you can look into it. We will make publishing process simplier in 3.1

> i want to write a super basic import script, that inserts an
> object and its attributes to the database. what functions do
> i have to use to import the attribute data?
> i have to define the class of the object and create a new
> object. then get the objects attributes. that's about how
> far i got. but what is next? the publish process is so
> terribly complicated. i simply can't follow it..
> thanks for any hints