Well, the code does not _expose_ a workspace via WebDAV, it does the contrary: It imports files (and file attributes) from a WebDAV share into the dms workspace. And by "quick hack" I meant mainly, that the functionality is currently in a JSP file. But it could be turned into a proper Magnolia "page" rather quickly I think. We often us JSPs for quick prototyping...
So Benoit, Jan, here is the JSP. http://www.fastforward.ch/projekte/webdavimport/documentImport.jspBenoit, have a look at it and see if you can use anything of it. Of course we would be happy to adapt it to your needs if you need consulting.
Jan, have a look at it and if you think this could be useful after all, I'll be happy to sign the contributor license. I just don't have the time to turn it into a clean module right now.
-will On 24.09.2009, at 21:18, Jan Haderka wrote:
What "quality" do you require for the sandbox? As with many otherextensions we did: They all solved the problem but have too many quickhacks to share...It is a sandbox after all so the entry barrier is not so high. I mainlywant to have a look to see if there is anything that should be considered or useful for the other direction (exposing workspaces via webdav). The only necessary condition for that is then you signing the contributor license. JanI'm currently brushing up our shop module to contribute it, since others have shown interest in it. But I'm sure this will take quite some more time before it's ready. If you would like me to do the same for our WebDAV importer... I'm afraid you'll need to be patient. ;-) -will On 24.09.2009, at 16:38, Jan Haderka wrote:Uhhh, fancy ... I'd like to look as well ... care to contribute that to the sandbox? On Thu, 2009-09-24 at 15:33 +0200, Will Scheidegger wrote:From where did you upload this data? And what kind of meta data are you talking about? We've build an import mechanism which fetched files from a WebDAVserver. Each file had additional info (title, description) stored in the WebDAV repository which had to be imported too. So for importingfrom a WebDAV repo I think we might be able to help you. -will On 24.09.2009, at 15:27, Benoit Segaert wrote:I am also very interesting with the import. I have to upload a lot of documents with multiple metadata into Magnolia. Then the zip import is not an option because no metadata will be imported. BenoƮt -----Original Message----- From: [email protected] [mailto:user-list- [email protected]] On Behalf Of Jan Haderka Sent: mercredi 23 septembre 2009 10:56 To: Magnolia User-List Subject: Re: [magnolia-user] Importing static contentWhat are the options for bulk importing data into the DMS while atthe same time adding the necessary references to the original data nodes?To do the bulk import, you can zip the images and upload the zipfile. Magnolia will extract the resources from the zip and also recreate the folder structure that is in the zip file.Since this process takes a while (about 30 minutes) and still needsfine tuning, I would much rather be able to do this through a stand-alone process (ant task at present). Is it possible to updatethe DMS repository directly (while magnolia is shut down) and thenbring it up and have all the content available? Does the DMS exposeYes, you can update the repo while magnolia is shutdown provided that the structure and node types used you create will conform with the one used by Magnolia itself.any API for performing these types of operations?You can use beanshell or groovy to script any kind of bulk operations using all Magnolia API and of course you can also use the API for importing the documents in DMS.One option is to store the images as static files within the web app,but am not sure if they can be managed easily via magnolia (that is without writing a custom file upload dialog). Another is to learnthe pattern of the static dms link URL and store them as path references in the data nodes, and then bulk upload (zip file) all the images into the DMS.the pattern for the links is http:/<server>:<port>/<contextPath>/dms/<path/to/the/document>/ <filename>.<extension>Of course you can also store files as a static resources in the webapp, but then you won't be able to manage them via admin interface anymore. All that you would be able to do would be to change the link from one file to another. HTH, JanI am interested in learning about how other users have dealt with importing content from other systems into magnolia. Any suggestions and tips would be most welcome. Thanks Rakesh ______________________________________________________________________ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.htmlTo unsubscribe, E-mail to: <[email protected] >-------------------------------------------------------------------------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.htmlTo unsubscribe, E-mail to: <user-list-unsubscr...@magnolia- cms.com>---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.htmlTo unsubscribe, E-mail to: <user-list-unsubscr...@magnolia- cms.com>-------------------------------------------------------------------------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> -------------------------------------------------------------------------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> -------------------------------------------------------------------------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> -------------------------------------------------------------------------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
