|
From: Michael A. <mic...@ze...> - 2003-10-07 21:43:42
|
Hi, Attached file is the result of a cvs diff -c. It'll probably need some clearing out before it's usable, but I'm sure anybody who uses it will be able to figure out what needs to be done. This patch adds three parameters to the mailbox scanner: fromFilter, toFilter and subjectFilter. The values for these parameters are expected to be regular expressions, so don't just type a value in and expect it to work; it won't. To find the matching rules, please refer to: http://java.sun.com/j2se/1.4.2/docs/api/index.html, which details the regex rules that will be used. As one would expect, setting values for these parameters results in the scanner only processing messages that meet the filtering requirements. Have fun, any issues, let me know. Cheers... MikeA On Tue, 2003-10-07 at 17:40, McDonald, Bruce wrote: > Point 1. Agreed. > > Point 2. That depends. There is not process that will gobble up your tags... However note that the process that takes the message.properties text may place it in an element for which it is not a valid child. That being said, docbook seems to allow such free range that you are probably ok. My thinking is: Do the change, rebuild (to get the messages.properties into the jar files) and then generate the documentation - check. > > When are we going to see your code? :) > > Bruce. > > PS. Interested in CVS access? > > -----Original Message----- > From: Michael Ansley [mailto:mic...@ze...] > Sent: Tuesday, October 07, 2003 12:35 PM > To: McDonald, Bruce > Subject: RE: [Babeldoc-devel] Patches > > > Hi, Bruce, > > Yes, I have a similar disposition. It looks fairly good though, so I'll > give it a try. > > What's the deal with putting DocBook tags into the messages.properties > file? I wanted to put some markup into the Mailscanner documentation, > but the source for the scanner documentation seems to be the > messages.prperties file, which is a flat file, and I'm concerned that > other processes that use the file may hooch over the markup. Can I > markup in the messages.properties file? > > Cheers... > > > MikeA > > > On Tue, 2003-10-07 at 16:21, McDonald, Bruce wrote: > > Mike, > > > > I dont have this information anymore. There are others out there. Try this: > > > > http://www.conglomerate.org/ > > > > (I have to hold my nose to use Gnome applications :) > > > > -----Original Message----- > > From: Michael Ansley [mailto:mic...@ze...] > > Sent: Monday, October 06, 2003 3:39 PM > > To: McDonald, Bruce > > Cc: bab...@li... > > Subject: RE: [Babeldoc-devel] Patches > > > > > > Hi, Bruce, > > > > Any chance you can send me your OO XML filter configuration? I'm not > > sure that I'm getting it right. > > > > Cheers... > > > > > > MikeA > > > > > > > > On Mon, 2003-10-06 at 14:36, McDonald, Bruce wrote: > > > You should be able to download them from www.openoffice.org. This is a fantastic office suite - this is what I use to read word and excel files - also some of the Babeldoc documentation is written in this format. > > > > > > -----Original Message----- > > > From: Michael Ansley [mailto:mic...@ze...] > > > Sent: Sunday, October 05, 2003 5:57 PM > > > To: bab...@li... > > > Subject: Re: [Babeldoc-devel] Patches > > > > > > > > > Hi, Dejan, > > > > > > Thanks. I forgot about that. I figured out to change the > > > messages.properties file, as the babeldoc pipeline to create the docs > > > seems to draw the info from there. It seems that you have to do a > > > "build.sh dist" for it to be carried through. Anyway, it seems to work > > > out. > > > Any idea on where I can get OO rpms? I would prefer to stay with rpms, > > > if I can. > > > > > > Cheers... > > > > > > > > > MikeA > > > > > > > > > On Sun, 2003-10-05 at 13:13, Dejan Krsmanovic wrote: > > > > OpenOffice 1.1 supports DocBook format. This week has > > > > been released 1.1 final version. Note that you don't > > > > need to use docbook if you just want to describe new > > > > options in MailboxScanner. Just put them in ConfigInfo > > > > object in MailboxScanner class. Take a look at how > > > > existing options are described. This object is used > > > > for config options validation and for generating > > > > documentation (one day it could be used for gui tools, > > > > too!). > > > > > > > > Dejan > > > > --- Bruce McDonald <br...@mc...> wrote: > > > > > Michael, > > > > > > > > > > Patches can be sent as unified diffs or as a > > > > > complete file. Your choice. > > > > > > > > > > As for editing the docs, I use vi :) But there are > > > > > a number of XML editors > > > > > that can do the job directly on the DocBook code. > > > > > Ask the list (I guess you > > > > > have) > > > > > > > > > > Bruce. > > > > > > > > > > On Saturday 04 October 2003 12:26 pm, Michael Ansley > > > > > wrote: > > > > > > Hi, > > > > > > > > > > > > What's the preferred form for patches? I added > > > > > regex filtering for the > > > > > > Mail scanner on the From, To and Subject fields (I > > > > > saw it in the list of > > > > > > requirements), and updated the docs. I've got the > > > > > output of a cvs diff > > > > > > -c in a file. Can I send the file in? > > > > > > > > > > > > BTW, what o people use to edit the docs? I > > > > > started using jEdit, but > > > > > > it's pretty ugly. Are there any plug-ins to jEdit > > > > > that I can use to do > > > > > > it properly? Or perhaps my settings are bad. > > > > > > > > > > > > Cheers... > > > > > > > > > > > > > > > > > > MikeA > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > Welcome to geek heaven. > > > > > > http://thinkgeek.com/sf > > > > > > _______________________________________________ > > > > > > Babeldoc-devel mailing list > > > > > > Bab...@li... > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Babeldoc-devel mailing list > > > > > Bab...@li... > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > The New Yahoo! Shopping - with improved product search > > > > http://shopping.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Babeldoc-devel mailing list > > > > Bab...@li... > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > |