I need to write a module that imports data from the Xoops CMS.
If I am using the Import / Export API then I assume I will need to write a 'get' engine, right?
My understanding is that the provided db engine is basically a "drupal db engine", it cannot be used for other databases.
Please let me know if I am headed the right direction with this.
Thanks
Comments
Comment #1
Sunil Mohan commented> If I am using the Import / Export API then I assume I will need to write a 'get' engine, right?
If you have exported your Xoops database into XML or CSV then you need not write a get engine becuase get engines exist for these two file formats.
> My understanding is that the provided db engine is basically a "drupal db engine", it cannot be used for other databases.
Import/Export API is a drupal module and you can't use it (atleast with out modifications) with other CMSes. You need to figure out a way to export Xoops database to XML or CSV and then you can use the Import/Export API to import that data.
Comment #2
sun@#1: That is not true.
Import/Export API allows you to import and export data from any source to any source - if you write the corresponding engine(s) and data handlers.
Additionally, to quote the original author of this API: