RE: Create a webdav resource on the server side
Hello David, From your response I believe that you can use my suggestion. The property can be modified, of course. You can't index the property using only slide, but there are some initiatives to integrate Lucene. I didn't tried it yet, but from what I've listened it's not trivial: you must get your hands dirty. The proppatch command is done in the client side, that is correct, using Slide's client API. You will notice that in the API you have a 'startTransaction' and a 'commitTransaction', witch means you can aggregate several commands in a single go. It's not difficult to use, just observe the WebdavResource class javadocs and you can start doing your stuff :) Best regards, Miguel Figueiredo __ Hello Miguel, Thanks for the quick replies. I can reply yes certainly to the 2 first questions. I think the reply of the third question is yes also. By WITH you mean store the XML data in a property associated with this Webdav JPEG resource ? The reply is yes if this property could be modified and indexed, that's exactly what we want to do ! I think making a PROPPATCH dav command is to be done on the client side, isn't it ? What do you mean by "or atomically by using Slide's transaction features" ? Where could I find some examples ? I've search in the mailing list and in documentation, but I've find nothing. David Miguel Figueiredo wrote: >Hello David, > > That is an interesting question. In response I ask you other questions ;) : > > * Do you have software that produces that desired Jpeg metainformation? > * If so, does it produce XML data? > * If so, is it ok to save that XML data WITH the Jpeg file? > > If these entire questions are true, I would give you a suggestion: When >saving a jpeg file into the webdav repository, make a PROPPATCH dav command >in sequence (or atomically by using Slide's transaction features) to a >property of the file like > > UR.NS:JpegMeta > >and making the its value the XML metainfo obtained from your metadata >producer. > > Hope this helps, > Miguel > >___ > >Hello, > >Like many others I'm new on Slide/Webdav, so I discover his fabulous >capabilities step by step. > >We are trying to do a content management system for JPeg images. While >putting a new file on the server I would like to extract metadata >information contained in the image file and store this in a separate XML >file also in the server repository. I've search in the documentation, >API and source code but without success for the moment. I can trigger >event on the PUT method, extract the data with an extractor, but I don't >how to inject my data in the repository. > >How can I do this ? Is it the right way for doing this ? > >Thanks, > >David > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Create a webdav resource on the server side
Hello Miguel, Thanks for the quick replies. I can reply yes certainly to the 2 first questions. I think the reply of the third question is yes also. By WITH you mean store the XML data in a property associated with this Webdav JPEG resource ? The reply is yes if this property could be modified and indexed, that's exactly what we want to do ! I think making a PROPPATCH dav command is to be done on the client side, isn't it ? What do you mean by "or atomically by using Slide's transaction features" ? Where could I find some examples ? I've search in the mailing list and in documentation, but I've find nothing. David Miguel Figueiredo wrote: Hello David, That is an interesting question. In response I ask you other questions ;) : * Do you have software that produces that desired Jpeg metainformation? * If so, does it produce XML data? * If so, is it ok to save that XML data WITH the Jpeg file? If these entire questions are true, I would give you a suggestion: When saving a jpeg file into the webdav repository, make a PROPPATCH dav command in sequence (or atomically by using Slide's transaction features) to a property of the file like UR.NS:JpegMeta and making the its value the XML metainfo obtained from your metadata producer. Hope this helps, Miguel ___ Hello, Like many others I'm new on Slide/Webdav, so I discover his fabulous capabilities step by step. We are trying to do a content management system for JPeg images. While putting a new file on the server I would like to extract metadata information contained in the image file and store this in a separate XML file also in the server repository. I've search in the documentation, API and source code but without success for the moment. I can trigger event on the PUT method, extract the data with an extractor, but I don't how to inject my data in the repository. How can I do this ? Is it the right way for doing this ? Thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Create a webdav resource on the server side
Hello David, That is an interesting question. In response I ask you other questions ;) : * Do you have software that produces that desired Jpeg metainformation? * If so, does it produce XML data? * If so, is it ok to save that XML data WITH the Jpeg file? If these entire questions are true, I would give you a suggestion: When saving a jpeg file into the webdav repository, make a PROPPATCH dav command in sequence (or atomically by using Slide's transaction features) to a property of the file like UR.NS:JpegMeta and making the its value the XML metainfo obtained from your metadata producer. Hope this helps, Miguel ___ Hello, Like many others I'm new on Slide/Webdav, so I discover his fabulous capabilities step by step. We are trying to do a content management system for JPeg images. While putting a new file on the server I would like to extract metadata information contained in the image file and store this in a separate XML file also in the server repository. I've search in the documentation, API and source code but without success for the moment. I can trigger event on the PUT method, extract the data with an extractor, but I don't how to inject my data in the repository. How can I do this ? Is it the right way for doing this ? Thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Create a webdav resource on the server side
Hello, It does not seem to be an easy task, but you could perhaps do that modifying the store you have choosen to store your content. What is the final goal of your project ? Thomas -- BELLEMBOIS Thomas CRI, Université de Rennes 1 Campus de beaulieu Avenue du Général Leclerc 35042 RENNES Cedex Tél.: 02.23.23.69.60 Mail: [EMAIL PROTECTED] David Courtin wrote: Hello, Like many others I'm new on Slide/Webdav, so I discover his fabulous capabilities step by step. We are trying to do a content management system for JPeg images. While putting a new file on the server I would like to extract metadata information contained in the image file and store this in a separate XML file also in the server repository. I've search in the documentation, API and source code but without success for the moment. I can trigger event on the PUT method, extract the data with an extractor, but I don't how to inject my data in the repository. How can I do this ? Is it the right way for doing this ? Thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Create a webdav resource on the server side
Hello, Like many others I'm new on Slide/Webdav, so I discover his fabulous capabilities step by step. We are trying to do a content management system for JPeg images. While putting a new file on the server I would like to extract metadata information contained in the image file and store this in a separate XML file also in the server repository. I've search in the documentation, API and source code but without success for the moment. I can trigger event on the PUT method, extract the data with an extractor, but I don't how to inject my data in the repository. How can I do this ? Is it the right way for doing this ? Thanks, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]