RE: Need Help !
Yes, you got me completely right. You are great !! :) I really appreciate your response. A point that I want to clear is that: I need a user using my CMS client to have his document stored in both my own CMS repository and also Slide-WebDAV repository (if it is up and running) . So that he can add/view documents through my CMS client and also take the WebDAV facilities (if Slide is up and running) to add documents to my CMS through web folders. That's is why I thought of using webdav client library instead of the inverse approach cos I need the document added by my CMS client to be added to the webdav as well and vise versa (detect events on web folders and let my CMS respond to it). Now I need to know when will the 2.1 get released? Should I wait for the release version or I can work with the given 2.1 material on the jakarta site? And where to get a documentations or examples on that? A point that I want to raise again is that the documentation is really weak :( .. And am getting really out of ideas ! :( if this mailing list wasn't there, I would have gave up by now, so Thanx again for the reply!! And please keep in touch :)) Ragia -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Sunday, August 01, 2004 9:56 PM To: Slide Users Mailing List Subject: Re: Need Help ! Ok, let me see if I understand you correctly here. You're trying to integrate your CMS and Slide by modifying your CMS to use Slide as its repository. Using the webdav client library you've done this, but you want to be able to use other webdav clients (WebFolders), and since those will access Slide directly you need a way make Slide aware of the business rules in your CMS that govern access to content. Correct me if I got any of that wrong. I see two ways to accomplish this: 1) The way Slide is usually integrated with other CMSs is an inverse of the approach you've taken. Slide has an extendable Store architecture which would allow it to use *your* CMS to store data, rather than your CMS using Slide to store data. You would then use this Store interface to tell Slide how your access model works and Slide would take care of access checking for all requests. At the moment writing a Store implementation is not trivial, due mostly to a lack of documentation and a steep learning curve. We're working on that, though ;). If you want to take this approach, it will probably give you the best result. 2) There's an event framework in the upcoming Slide release (2.1) that you may be able to take advantage of here. What you would need to is create Event Listeners for the different access requests. These event listeners would then communicate with your CMS and check that the user making the request has the appropriate rights. If access is denied to the user the listeners would throw a Veto exception and Slide would cancel the request. -James Ragia wrote: > Thanx a lot for the reply!! > > Well, here is my sample code: > > HttpURL homeUrl = new > HttpURL("http://ragia:/webapp/slide/files";); > res = new WebdavResource(homeUrl); > File f = new File("c:\\test.txt"); > boolean b = res.putMethod("/webapp/slide/files/test.txt", f); > > That was how to add a document to slide. > > > And that is how I can retrieve documents from Slide store > > for (Iterator i = res.listBasic().iterator(); i.hasNext(); ) > { > > String []arr2 = (String [])i.next(); > > for (int j=0 ; j< arr2.length; j++) > { > > System.out.println(arr2[j]); > } > > > } > > > So that I can add/view documents, Now I need to know how to respond to > the addition/deletion and all the actions that happens from Windows Explorer. > I also need to let My CMS access rules apply on The Wndows Explorer > repository. > > Am I going on the right way?? > > Regards, > > Ragia > > > -Original Message- > From: James Mason [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 29, 2004 5:49 PM > To: [EMAIL PROTECTED] > Subject: Re: Need Help ! > > How did you achieve the integration? Was it by writing a Store > implementation? If so, I'm not sure what you mean by letting your CMS > respond to the addition/deletion of files. > > As for access, if you implement SecurityStore you can decide how to > map the NodePermission objects to access rights in your CMS. > > -James > > [EMAIL PROTECTED] 07/29/04 6:55 AM >>> > > > Hi, > > I am trying to integrate my own CMS (Content Management System) to > Slide, I succeeded in adding/viewing my documents from my own CMS > client to the slide repository. > > My next step is that I need to let my CMS responds to the > addition/deletion of files from my Windows web folder, is this > possible through the Slide API's ?? > Also I need to apply my OWN CMS access rules to the windows web folders. > > Any tiny idea will be
Re: roles of users, users in a role again, ANY CLUE?
I am not using the slide client, only the slide server. And both 2.0 and the 2.1 versions are working fine. /jacob - Original Message - From: <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 30, 2004 4:52 PM Subject: Re: roles of users, users in a role again, ANY CLUE? > Hi jakob, how do you get this?? > I tried with the command line client, that returns nothing. > Frank > > What do you mean when you say group-member-set cannot be read! If I do a > > propfind on DAV:group-member-set then I get a list of users in a group. > > > > /jacob > > > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, July 30, 2004 9:55 AM > > Subject: roles of users, users in a role again, ANY CLUE? > > > > > >> Hi there again. > >> I already asked a question about this, but the answers where quite > >> unsatifying. > >> > >> I write a webfrontend to administrate the slide's (or any other) webdav > >> repository. Therefore I need to find out which roles include which > >> users, > >> or which user is in what role. It was sais, that the > >> "group-member-set"-Property of a role can only be set, but never read. > >> But > >> why? How should I work on this then?? > >> > >> There was the proposal, to store the content somewhere else, but this > >> does > >> just help, if the repository is ONLY accessed and worked on with my > >> frontend. But I wnat to be able to connect and work on any WebDAV > >> Repository, that I have permission to. And I also want to update > >> role-user > >> associations in alreday existing Repositories. > >> > >> And it is very important, that this happens via the webdav protocol and > >> not internaly by some source hack, because I can not internaly hack > >> other > >> peoples WebDAV-Repositories! > >> > >> Any ideas? Where does this strange restriction come from? Is it a bug? > >> > >> Regards, > >> Frank > >> > >> > >> - > >> 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: Does slide support load-balancing
Hello All, Thnx for this information. It is really appreciated if somebody point out some documents where I can go through the Slide Server and its Implemenation details. rgds Daniel On Fri, 30 Jul 2004 08:36:45 -0700, James Mason <[EMAIL PROTECTED]> wrote: > Clustering is a capability of the 2.1 release. Currently you need to set > the caching mode of any store that will be clustered to "cluster". This > is slow, however, so there's a patch in the works to enable cache > refresh notifications between servers in a cluster that will improve > performance. This will be part of the 2.1 beta 1 release on August 10. > > For load balancing you will need some sort of load balancer. Apache > HTTPd, Apache Tomcat and Squid should all be able to fill this role. > > -James > > >>> [EMAIL PROTECTED] 7/30/2004 12:38:02 AM >>> > > > Hello All, > > This mail I'm posting second time, unfortunatley no one > responsed to my previous mail, so I'm resending this time I'm > expecting atleast some response. > > Following are my questions. > > Does slide support load-balancing, If Yes how can i configure the > same, Please tell me some documents where I can go thru the same. > > If Slide doesn't support this , Could any one point out any other > Commercial WebDAV server support load balancing. > > rgds > Daniel > > - > 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]
Power Point Extractor Source Codes - Mail Continued
The main classes you can find there are PPT2Text PPTSlide PPTConstants PPTClientTextBox = "No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) "Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955) "It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw (1856-1950) __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Power Point Extractor Source Codes
Here is the Ryan Rhodes Contribution http://www.mail-archive.com/[EMAIL PROTECTED]/msg10445.html = "No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) "Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955) "It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw (1856-1950) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Power Point Extractor Source Codes
Hello All, This was my first contribution http://wiki.apache.org/jakarta-lucene-data/attachments/PowerPoint/attachments/PPT2Text.java for jakarta team. And it seems another expert(Ryan Rhodes- [EMAIL PROTECTED]) has already started working on that based on my first given contribution. That sounds great to me. So In order to increase the development process for Powerpoint extractor, I just wanted to contribute Our team efforts in developing the Powerpoint extractor Authors :- Sudhakar Chavali ([EMAIL PROTECTED]) and Hari Shanker Goud ([EMAIL PROTECTED]) Have a look on the below source codes Regards Sudhakar /** * Title: DocumentParserException class * Description: This is root Exceptional class for throwing the runtime errors that can be raised by different parsers * @author Sudhakar * @version 1.0 */ public class DocumentParserException extends Exception { /** * Constructs a new exception with null as its detail message. */ public DocumentParserException() { } /** * Constructs a new exception with the specified detail message. * @param message */ public DocumentParserException(String message) { super(message); } /** * Constructs a new exception with the specified detail message. * @param message * @param cause */ public DocumentParserException(String message, Throwable cause) { super(message, cause); } } _ import java.io.*; /** * * Title: Summary Base * Description: A Generic one that reads the document's summary information and returns it through different internal methods * @author Sudhakar Chavali * @version 1.0 */ public interface SummaryBase { /** * A method returns the Document's Author * @return String */ public String getDocAuthor(); /** * A method that returns the Document Created Date * @return String */ public String getDocCreatedDate(); /** * A method that returns the Document's Key words * @return String */ public String getDocKeywords(); /** * A method that returns the Document's comments * @return String */ public String getDocComments(); /** * A method that returns the Document Name * @return String */ public String getDocName(); /** * A method that returns the Document's Subject * @return String */ public String getDocSubject(); /** * A method that returns the Document's title */ public String getDocTitle(); /** * A method that reads the document's Summary Information * @throws DocumentParserException */ public void read() throws DocumentParserException; /** * A method that writes the Document's summary information as an XML into the file * @param strXMLFile * @throws DocumentParserException */ public void write(String strXMLFile) throws DocumentParserException; /** * A method that writes the document's summary information as an XML into OutputStream Object * @param out * @throws DocumentParserException */ public void write(OutputStream out) throws DocumentParserException; /** * A method that returns the Document's summary as an XML String * @return String * @throws DocumentParserException */ public String getSummaryAsXML() throws DocumentParserException; /** * A method that returns document's summary information as normal text * @return String * @throws DocumentParserException */ public String getSummaryAsText() throws DocumentParserException; } __ import java.io.*; /** * A generic document that reads the document's text and parses it into normal Ascii text using the different methods. */ public interface Document { /** * A method that returns the document's text after parsing. This method should be called after calling the read method * @return String * @see #read() * @throws DocumentParserException */ public abstract String getText() throws DocumentParserException; /** * A method that returns the parsed text as byte array. This method should be called after calling the read method * @return byte[] * @throws DocumentParserException */ public abstract byte[] getBytes() throws DocumentParserException; /** * A method that writes the parsed text into the OutputStream object. This method should be called after calling the read method * @param out * @throws DocumentParserException */ public abstract void write(OutputStream out) throws DocumentParserException, Exception; /** * A method that reads and parses the document into Normal text * @throws DocumentParserException */ public abstract void read() throws DocumentParserException, Exception; /**
RE: MSPowerPointExtractor problem
Hello All, This was my first contribution http://wiki.apache.org/jakarta-lucene-data/attachments/PowerPoint/attachments/PPT2Text.java for jakarta team. And it seems another expert(Ryan Rhodes- [EMAIL PROTECTED]) has already started working on that based on my first given contribution. That sounds great to me. So In order to increase the development process for Powerpoint extractor, I just wanted to contribute Our team efforts in developing the Powerpoint extractor Authors :- Sudhakar Chavali ([EMAIL PROTECTED]) and Hari Shanker Goud ([EMAIL PROTECTED]) Have a look on the below source codes Regards Sudhakar /** * Title: DocumentParserException class * Description: This is root Exceptional class for throwing the runtime errors that can be raised by different parsers * @author Sudhakar * @version 1.0 */ public class DocumentParserException extends Exception { /** * Constructs a new exception with null as its detail message. */ public DocumentParserException() { } /** * Constructs a new exception with the specified detail message. * @param message */ public DocumentParserException(String message) { super(message); } /** * Constructs a new exception with the specified detail message. * @param message * @param cause */ public DocumentParserException(String message, Throwable cause) { super(message, cause); } } _ import java.io.*; /** * * Title: Summary Base * Description: A Generic one that reads the document's summary information and returns it through different internal methods * @author Sudhakar Chavali * @version 1.0 */ public interface SummaryBase { /** * A method returns the Document's Author * @return String */ public String getDocAuthor(); /** * A method that returns the Document Created Date * @return String */ public String getDocCreatedDate(); /** * A method that returns the Document's Key words * @return String */ public String getDocKeywords(); /** * A method that returns the Document's comments * @return String */ public String getDocComments(); /** * A method that returns the Document Name * @return String */ public String getDocName(); /** * A method that returns the Document's Subject * @return String */ public String getDocSubject(); /** * A method that returns the Document's title */ public String getDocTitle(); /** * A method that reads the document's Summary Information * @throws DocumentParserException */ public void read() throws DocumentParserException; /** * A method that writes the Document's summary information as an XML into the file * @param strXMLFile * @throws DocumentParserException */ public void write(String strXMLFile) throws DocumentParserException; /** * A method that writes the document's summary information as an XML into OutputStream Object * @param out * @throws DocumentParserException */ public void write(OutputStream out) throws DocumentParserException; /** * A method that returns the Document's summary as an XML String * @return String * @throws DocumentParserException */ public String getSummaryAsXML() throws DocumentParserException; /** * A method that returns document's summary information as normal text * @return String * @throws DocumentParserException */ public String getSummaryAsText() throws DocumentParserException; } __ import java.io.*; /** * A generic document that reads the document's text and parses it into normal Ascii text using the different methods. */ public interface Document { /** * A method that returns the document's text after parsing. This method should be called after calling the read method * @return String * @see #read() * @throws DocumentParserException */ public abstract String getText() throws DocumentParserException; /** * A method that returns the parsed text as byte array. This method should be called after calling the read method * @return byte[] * @throws DocumentParserException */ public abstract byte[] getBytes() throws DocumentParserException; /** * A method that writes the parsed text into the OutputStream object. This method should be called after calling the read method * @param out * @throws DocumentParserException */ public abstract void write(OutputStream out) throws DocumentParserException, Exception; /** * A method that reads and parses the document into Normal text * @throws DocumentParserException */ public abstract void read() throws DocumentParserException, Exception; /**
Re: Need Help !
Ok, let me see if I understand you correctly here. You're trying to integrate your CMS and Slide by modifying your CMS to use Slide as its repository. Using the webdav client library you've done this, but you want to be able to use other webdav clients (WebFolders), and since those will access Slide directly you need a way make Slide aware of the business rules in your CMS that govern access to content. Correct me if I got any of that wrong. I see two ways to accomplish this: 1) The way Slide is usually integrated with other CMSs is an inverse of the approach you've taken. Slide has an extendable Store architecture which would allow it to use *your* CMS to store data, rather than your CMS using Slide to store data. You would then use this Store interface to tell Slide how your access model works and Slide would take care of access checking for all requests. At the moment writing a Store implementation is not trivial, due mostly to a lack of documentation and a steep learning curve. We're working on that, though ;). If you want to take this approach, it will probably give you the best result. 2) There's an event framework in the upcoming Slide release (2.1) that you may be able to take advantage of here. What you would need to is create Event Listeners for the different access requests. These event listeners would then communicate with your CMS and check that the user making the request has the appropriate rights. If access is denied to the user the listeners would throw a Veto exception and Slide would cancel the request. -James Ragia wrote: Thanx a lot for the reply!! Well, here is my sample code: HttpURL homeUrl = new HttpURL("http://ragia:/webapp/slide/files";); res = new WebdavResource(homeUrl); File f = new File("c:\\test.txt"); boolean b = res.putMethod("/webapp/slide/files/test.txt", f); That was how to add a document to slide. And that is how I can retrieve documents from Slide store for (Iterator i = res.listBasic().iterator(); i.hasNext(); ) { String []arr2 = (String [])i.next(); for (int j=0 ; j< arr2.length; j++) { System.out.println(arr2[j]); } } So that I can add/view documents, Now I need to know how to respond to the addition/deletion and all the actions that happens from Windows Explorer. I also need to let My CMS access rules apply on The Wndows Explorer repository. Am I going on the right way?? Regards, Ragia -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: Re: Need Help ! How did you achieve the integration? Was it by writing a Store implementation? If so, I'm not sure what you mean by letting your CMS respond to the addition/deletion of files. As for access, if you implement SecurityStore you can decide how to map the NodePermission objects to access rights in your CMS. -James [EMAIL PROTECTED] 07/29/04 6:55 AM >>> Hi, I am trying to integrate my own CMS (Content Management System) to Slide, I succeeded in adding/viewing my documents from my own CMS client to the slide repository. My next step is that I need to let my CMS responds to the addition/deletion of files from my Windows web folder, is this possible through the Slide API's ?? Also I need to apply my OWN CMS access rules to the windows web folders. Any tiny idea will be highly appreciated.. Thanx in advance, Ragia - 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: newbie question: Can't access http://localhost:8080/webdav as webfolder or through WebDAV
http://localhost:8080/webdav is the webdav webapp that ships with Tomcat. In order to access Slide you need to point your client at http://localhost:8080/slide/. Note the trailing "/", it won't work without it. -James Girish Nagaraj wrote: Hi, I have just started using Jakarta Slide. I have installed "Slide 2.0 with Tomcat 5.0" release build I am able to get the page http://localhost:8080/webdav/index.html to show up. But can't get the http://localhost:8080/webdav to open either as a webfolder or through the slide-client. I am able to configure and use moddav location as a webfolder, so webfolders are working on my machine. Is there anything else to be done to get WebDAV to work with Slide? Should I need to configure something or use another URL? Thanks in advance, Girish PS: I have already searched the slide-user archves - 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: MSPowerPointExtractor problem
Check this, http://wiki.apache.org/jakarta-lucene-data/attachments/PowerPoint/attachments/PPT2Text.java --- Ryan Rhodes <[EMAIL PROTECTED]> wrote: > Hi Ralph, > > I haven't tested the PPT extractor with any other languages. I remember > reading about other people having problems with different character sets > though. > > Could you send a before and after example file here or to bugzilla? > > -Ryan Rhodes > > > -Original Message- > From: Ralph Scheuer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 10:01 AM > To: slide > Subject: MSPowerPointExtractor problem > > Hello everybody, > > When I was searching for a Java class to extract text from PowerPoint > files, I accidentally discovered Slide. > > I pulled the MSPowerPointExtractor class and some other stuff it > depends on via CVS and tried it for some text extraction. > > The method I used looks very similar to the provided example main > method (see below). > > However. when I tried to extract text from a German PowerPoint > presentation, I had some problems with the encoding. I did not know > which encoding to use, converting the output to ISO Latin 1 with my > text editor solved only part of the problem (some German Umlaute were > displayed correctly, some were not). > > Is this a known issue or am I doing something wrong? Any hints for me? > > Thanks in advance. > > Ralph Scheuer > > BTW. I am using Mac OS X 10.3.4 with JDK 1.4.2_03, the native encoding > on this platform is MacRoman. > > > public static String contentStringForData(NSData data){ > > StringBuffer buf = new StringBuffer(); > try{ > ByteArrayInputStream input = data.stream(); > MSPowerPointExtractor ex = new MSPowerPointExtractor(null, > null); > > Reader reader = ex.extract(input); > > int c; > do > { > c = reader.read(); > > buf.append((char)c); > } > while( c != -1 ); > }catch(Exception e){ > > } > > return buf.toString(); > } > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > = "No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) "Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955) "It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw (1856-1950) __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
newbie question: Can't access http://localhost:8080/webdav as webfolder or through WebDAV
Hi, I have just started using Jakarta Slide. I have installed "Slide 2.0 with Tomcat 5.0" release build I am able to get the page http://localhost:8080/webdav/index.html to show up. But can't get the http://localhost:8080/webdav to open either as a webfolder or through the slide-client. I am able to configure and use moddav location as a webfolder, so webfolders are working on my machine. Is there anything else to be done to get WebDAV to work with Slide? Should I need to configure something or use another URL? Thanks in advance, Girish PS: I have already searched the slide-user archves - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]