[TYPO3-core] RFC: Indexed Search misses OpenDocument support / drop OOoExtract usage

René Fritz rene at typo3.org
Thu Feb 9 09:10:12 CET 2006


Haven't tested but looks good to me

+1

René

> Feedback is still missing at all. Patch is attached again.
>
> - michael
>
> Michael Stucki wrote:
> > This is a CVS patch request.
> >
> > Problem:
> > Oasis OpenDocument files (OpenOffice.org 2, StarOffice, etc.) are not
> > supported by indexed_search.
> >
> > Solution:
> > Add support (works the same way like existing OpenOffice.org 1 files).
> >
> > Additionally, I have removed the implementation for using OOoExtract.
> > Reasons for this are:
> > - It seems like the splitRegularContent works perfectly fine for XML
> > formatted documents, so there is no need for using a special tool
> > - It was too complicated to set paths to a parser AND a script when there
> > were alternative applications that don't require any special
> > interpreters.
> >
> > And finally, I have removed the libunzipped usage and replaced it using a
> > direct "unzip" call. The reason for this is that libunzipped extracts the
> > whole file (including all images) although it only needs content.xml and
> > meta.xml. The new behaviour is that only these files are extracted, but
> > therefore the "unzip" path needs to be adjusted manually.
> >
> > Compatibility:
> > This patch removes the options "nativeOOMethod", "OOoExtract" and "ruby".
> > Instead, a new option "unzip" is added.
> >
> > Comments:
> > I think it would be wise to change all default paths from /usr/local/bin
> > to /usr/bin. Comments about this idea can be discussed of course.
> >
> > Regards, michael

-- 
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/



More information about the TYPO3-team-core mailing list