Re: [Tracker] Tracker only indexing odt Heading contents



On Sun, 2012-04-08 at 17:58 +0200, Philip Van Hoof wrote:
On Fri, 2012-04-06 at 16:56 +0100, Karl Relton wrote:

Looking at the code in tracker-extract-oasis.c, it seems unnecessarily
picky to me.

For the main text content (ODF elements text:p & text:h) it is looking
at whether styles are 'present', or are certain types. Why this effort?
Why not just accept all content in text:p or text:h elements, regardless
of styles etc.? That would seem to me to be more in line with the ODF
spec.


Also, as an aside, it seems pointless capturing stuff in elements
text:s, since this is by definition just white space.

We never really put a lot effort in the oasis extractor. If you have
specific knowledge of ODF and your analysis is that it's better to
extract in a different way, being less picky, etc, then it's probably
indeed the case that the oasis extractor can be improved.

Feel free to write a patch and submit it to us.

Okay - will do, but it will not be for a week or so since I am out of
town for a few days.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]