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 /Library Now 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 ok any 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:

    
  1. Re: [WebDNA] OT: Indexing PDF on iTools / apache2 (Chris 2008)
  2. Re: [WebDNA] OT: Indexing PDF on iTools / apache2 (Thierry Almy 2008)
  3. Re: [WebDNA] OT: Indexing PDF on iTools / apache2 (Thierry Almy 2008)
  4. Re: [WebDNA] OT: Indexing PDF on iTools / apache2 (Phil Ronchetti 2008)
  5. Re: [WebDNA] OT: Indexing PDF on iTools / apache2 (Chris 2008)
  6. Re: [WebDNA] OT: Indexing PDF on iTools / apache2 (Thierry Almy 2008)
  7. Re: [WebDNA] OT: Indexing PDF on iTools / apache2 (Toby Cox 2008)
  8. [WebDNA] OT: Indexing PDF on iTools / apache2 (Thierry Almy 2008)
This solution looks nice and it works ... as long as I turn on the spotlight indexing for /Library Now 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 ok any 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:

Strange intermittent WebDNA problems (2008) Am I going senile? (Price recalc based on quantity) (1997) ShowNext Command (1997) Cookies not setting on IE (2002) emailer (1997) using listfiles to build a database? (2000) passing search criteria (1997) [WebDNA] WebDNA used in US Government work? (2013) WebCatalog 2.0 b 15 mac (1997) Setting up WebCatalog with Retail Pro data (1996) WebCat2.0 [format thousands .0f] no go (1997) Numbers and Numbers and Me (1999) Is there a max number of fields? (1998) calender with business days (1998) For those of you not on the WebCatalog Beta... (1997) all records returned. (1997) more on quicktime test stuff (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Help name our technology! (1997) Some Advise needed (1997)