Searching File Contents

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:49, 20 April 2005 (edit)
Sardisson (Talk | contribs)
m (missing comma)
← Previous diff
Revision as of 10:54, 26 April 2005 (edit) (undo)
Sardisson (Talk | contribs)
m (Ed's new mention of spotlight)
Next diff →
Line 9: Line 9:
Shortly afterwards, a full-fledged application to search NeoOffice/J (and [[Wikipedia:OpenDocument|OpenDocument]]) files appeared. [http://mypage.bluewin.ch/fulgur/projects/oosearch.html OOSearch] is a Cocoa application which "opens all OpenOffice.org files in a specified directory or volume and searches for a given keyword." There are still a few [http://mypage.bluewin.ch/fulgur/projects/oosearch.html#todo limitations] to this application, but it seems to work well. Shortly afterwards, a full-fledged application to search NeoOffice/J (and [[Wikipedia:OpenDocument|OpenDocument]]) files appeared. [http://mypage.bluewin.ch/fulgur/projects/oosearch.html OOSearch] is a Cocoa application which "opens all OpenOffice.org files in a specified directory or volume and searches for a given keyword." There are still a few [http://mypage.bluewin.ch/fulgur/projects/oosearch.html#todo limitations] to this application, but it seems to work well.
-Finally, Ed Peterlin, one of the primary developers of [[OpenOffice.org_Mac_OS_X_(X11)|OpenOffice.org/X11]], [[NeoOffice/C]] and [[NeoOffice/J]], has mentioned the possibility of writing a [http://www.apple.com/macosx/tiger/spotlight.html filter for Spotlight] once Mac OS X 10.4 debuts, but there is no guarantee that this will come to pass.+Finally, Ed Peterlin, one of the primary developers of [[OpenOffice.org_Mac_OS_X_(X11)|OpenOffice.org/X11]], [[NeoOffice/C]] and [[NeoOffice/J]], has mentioned the possibility of writing a [http://www.apple.com/macosx/tiger/spotlight.html filter for Spotlight] once Mac OS X 10.4 debuts. There is no guarantee that this will come to pass, but Ed [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=8363#8363 again mentions the subject] a few days before 10.4's official release.
==== More Information ==== ==== More Information ====
More information, as well as other potential solutions, is available in these threads at [http://trinity.neooffice.org/modules.php?name=Forums trinity]: http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1173 and http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1186 More information, as well as other potential solutions, is available in these threads at [http://trinity.neooffice.org/modules.php?name=Forums trinity]: http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1173 and http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1186

Revision as of 10:54, 26 April 2005

There currently is no way to search multiple NeoOffice/J files by content from within NeoOffice/J (or OpenOffice.org) itself—i.e., to search a folder full of files to see which ones mention Timbuktu.

Because Apple's "find by content" does not search (or index) inside of compressed files (all NeoOffice/J documents are a series of XML files compressed using the cross-platform ZIP standard), the Finder's "Find" window will not work, either, and another method needs to be devised.

Solutions

Some helpful people at Apple Discussions came up with some shell scripts and then an AppleScript that will search contents of files. There are some limitations to this script, namely that it will choke on punctuation in the search string and also searches the entire contents of the file, not just the document text.

Shortly afterwards, a full-fledged application to search NeoOffice/J (and OpenDocument) files appeared. OOSearch is a Cocoa application which "opens all OpenOffice.org files in a specified directory or volume and searches for a given keyword." There are still a few limitations to this application, but it seems to work well.

Finally, Ed Peterlin, one of the primary developers of OpenOffice.org/X11, NeoOffice/C and NeoOffice/J, has mentioned the possibility of writing a filter for Spotlight once Mac OS X 10.4 debuts. There is no guarantee that this will come to pass, but Ed again mentions the subject a few days before 10.4's official release.

More Information

More information, as well as other potential solutions, is available in these threads at trinity: http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1173 and http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=1186

Personal tools