You can try it in the CVS version of TMDA-cgi, and you have to use the associated "Blue" theme in CVS to get the search box in the pending page.
Warning: It is the first iteration of many, I'm sure, so there is a lot of room for improvement. For example:
- Not all of the searches I've defined in the default Blue theme have been heavily tested (some not at all), so please let me know if something goes wrong.
- It can be kind of slow if you have a large pending queue, depending of course on your server's hardware. This is because of the simple search algorithm I'm using right now. (That is, do a python "re" module match on each message in the pending queue in turn.)
- Known issues in this release:
* If you return more results than your "Pager Size", results are not
maintained when you try to go to the next page. In other words, you
can only view the first "Pager Size" results, the rest are
never viewable.
* I've been getting an error if the search finds gets no results. I
don't know why yet, but I'll be fixing this soon, probably, unless
someone else does first.Tell me what you think, or if you know a better way to make it search faster. I'd also like suggestions about what other default searches should be in the theme, and how I should deal with the first "known issue". Basically I've thought of two ways to do it:
1) Preserve the search results (probably in a pickle) so the search results are paged.
2) Disregard "Pager Size" when displaying search results, so one can process all results at once.
Thanks for your input!
-- Jim Ramsay
_________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
