Hi Françoise, in order to do this, you would need to export all attachments from you Oracle DB and store them into a ZIP file for instance. Then you would need to write a script that reads the contents of the ZIP file, creates a XWiki document for each of them and attaches the file to the document.
I've seen such scripts in action, but unfortunately I cannot find it on http://extensions.xwiki.org . If you're not a developer, they might be a bit tough to create from scratch. Guillaume On Wed, Aug 24, 2011 at 3:40 PM, Thomas Mortagne <[email protected]>wrote: > Whatever the way you store the attachment they are supposed to be part > of the exported xar. > > On Wed, Aug 24, 2011 at 3:33 PM, Cadin Françoise > <[email protected]> wrote: > > Hello, > > > > My company wants to migrate the content of an Oracle database into XWiki. > This database contains files (xls, doc, rtf etc...) stored in BLOB which are > linked with text documents. In order to migrate the text documents, I use > the import in Xar format and it's OK, the problem is the migration of the > files. In my Wiki I chose the option to store the attached files outside the > database. I expected to put "metadatas attachment" in the xml files and > simply copy my files in the right directory but it doesn't work. Is it a > wrong idea ? What's the best way to do it ? > > Thank you for help. > > > > Françoise Cadin > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > -- > Thomas Mortagne > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
