|
Searching File Contents
From NeoWiki
Revision as of 09:57, 8 November 2005 (edit) Sardisson (Talk | contribs) m (botlangbar, small tweaks; this article needs to be fixed/updated) ← Previous diff |
Revision as of 10:47, 20 November 2005 (edit) (undo) Sardisson (Talk | contribs) (rebranding) Next diff → |
||
Line 1: | Line 1: | ||
- | There currently ( | + | There currently (fall 2005) is no way to search ''multiple'' NeoOffice files by content from within NeoOffice (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" (Mac OS X 10.2 & 10.3) does not search (or index) inside of compressed files (all NeoOffice | + | Because Apple's "find by content" (Mac OS X 10.2 & 10.3) does not search (or index) inside of compressed files (all NeoOffice documents are a series of [[Wikipedia:XML|XML]] files compressed using the cross-platform [[Wikipedia:ZIP_(file_format)|ZIP]] standard), the Finder's "Find" window will not work, either, and another method needs to be devised. |
=== Solutions === | === Solutions === | ||
Line 7: | Line 7: | ||
Some helpful people at [http://discussions.info.apple.com/webx?128@276.ulKhaHWhUCM.0@.68a8d1b9 Apple Discussions] came up with some shell scripts and then an [http://discussions.info.apple.com/webx?14@276.ulKhaHWhUCM.0@.68a8d1b9/20 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. | Some helpful people at [http://discussions.info.apple.com/webx?128@276.ulKhaHWhUCM.0@.68a8d1b9 Apple Discussions] came up with some shell scripts and then an [http://discussions.info.apple.com/webx?14@276.ulKhaHWhUCM.0@.68a8d1b9/20 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 | + | Shortly afterwards, a full-fledged application to search NeoOffice (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 | + | Finally, Ed Peterlin, one of the primary developers of [[OpenOffice.org_Mac_OS_X_(X11)|OpenOffice.org/X11]], [[NeoOffice/C]] and [[NeoOffice]], has released the first development version of [[NeoLight]], a [http://www.apple.com/macosx/tiger/spotlight.html filter for Spotlight], the new search technology in Mac OS X 10.4 "Tiger". For those running Mac OS X 10.4, '''NeoLight is included with NeoOffice/J 1.1 and newer, including NeoOffice 1.2 Alpha.''' |
==== More Information ==== | ==== More Information ==== |
Revision as of 10:47, 20 November 2005
There currently (fall 2005) is no way to search multiple NeoOffice files by content from within NeoOffice (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" (Mac OS X 10.2 & 10.3) does not search (or index) inside of compressed files (all NeoOffice 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 (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, has released the first development version of NeoLight, a filter for Spotlight, the new search technology in Mac OS X 10.4 "Tiger". For those running Mac OS X 10.4, NeoLight is included with NeoOffice/J 1.1 and newer, including NeoOffice 1.2 Alpha.
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