Re: [WebDNA] OT: Indexing PDF on iTools / apache2
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100524
interpreted = N
texte = This solution looks nice and it works ... as long as I turn on the spotlight indexing for /LibraryNow I'm looking for a smart solution where I don't have to index the whole Library, which holds gigabites of data and log file and and and!- so I created a folder on / called "spotlight_indexed"- I turned of indexing for all folders on / exept the above mentioned one- then I created a symlink in the users webhome, which is pointing to the "spotlight_indexed" folder- I put a few pdfs in that folder and searched them on the mac -> ok- then I changed the pathes in the shell command to the symlink- searched over the web -> not ok- changed the path in the shell directly to "/spotlight_indexed/" -> not okany ideas?Thierry> Hi Theirry,>> Following Toby's comment here are the further details he promised...>> (1) You need to have spotlight indexing on the server turned on>> (2) The results page code is as follows...>> [text]result1=[shell]mdfind [keywords] -onlyin /Library/WebServer/ > Site/docs/ [/shell][/text]> [text]result2=[grep search=/Library/WebServer/Site/docs/ > &replace=&ignorecase=T][result1][/grep][/text]>>
Search Results (in location/relevance order)
>> [showif [result1]=]
Zero documents match your search
[/showif]>> [hideif [keywords]=]> [ListWords Words=[url][result2][/url]&Delimiters=%0A]> [index]:
[word]> [/ListWords]> [/hideif]>> I hope this helps.>> Phil>> On 11 Aug 2008, at 12:25, Thierry Almy wrote:>>> Hi Toby>>>> Sounds interesting.>>>> It would be nice to get some more infos on it ...>>>> Thierry> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to:
Associated Messages, from the most recent to the oldest:
This solution looks nice and it works ... as long as I turn on the spotlight indexing for /LibraryNow I'm looking for a smart solution where I don't have to index the whole Library, which holds gigabites of data and log file and and and!- so I created a folder on / called "spotlight_indexed"- I turned of indexing for all folders on / exept the above mentioned one- then I created a symlink in the users webhome, which is pointing to the "spotlight_indexed" folder- I put a few pdfs in that folder and searched them on the mac -> ok- then I changed the pathes in the shell command to the symlink- searched over the web -> not ok- changed the path in the shell directly to "/spotlight_indexed/" -> not okany ideas?Thierry> Hi Theirry,>> Following Toby's comment here are the further details he promised...>> (1) You need to have spotlight indexing on the server turned on>> (2) The results page code is as follows...>> [text]result1=[shell]mdfind [keywords] -onlyin /Library/WebServer/ > Site/docs/ [/shell][/text]> [text]result2=[grep search=/Library/WebServer/Site/docs/ > &replace=&ignorecase=T][result1][/grep][/text]>> Search Results (in location/relevance order)
>> [showif [result1]=]Zero documents match your search
[/showif]>> [hideif [keywords]=]> [ListWords Words=[url][result2][/url]&Delimiters=%0A]> [index]: [url][word][/url]>[word]
> [/ListWords]> [/hideif]>> I hope this helps.>> Phil>> On 11 Aug 2008, at 12:25, Thierry Almy wrote:>>> Hi Toby>>>> Sounds interesting.>>>> It would be nice to get some more infos on it ...>>>> Thierry> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to:
Thierry Almy
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
RE: Can't get appendfile to work (1997)
[SMSI] Sitebuilder UPS integration (2005)
return missing item (was:WebCat Sales) (1997)
Old Topic - [OT] - server speeds. (2002)
founditem align (1998)
member pages (2000)
RE: Re:Signal Raised (1997)
Ads.db (1997)
Multiple fields on 1 input (1997)
If Empty ? (1997)
Freeze (2003)
Too Much Rootbeer Free Offer (1997)
Only charge card when product shipped ? (1997)
how to know the [LineIndex] number webcat generated during a (2000)
long list formatted in a table (2004)
ShowNext example for GeneralStore (1997)
PSC recommends what date format yr 2000??? (1997)
Virtual hosting and webcatNT (1997)
[WebDNA] Docs Update (2015)
New Web Site Developers Database (1996)