Hi Bernhard,
Thanks for the prompt reply! I changed it to index only .html files in that directory to test that theory, and they didn't return any <swishdescription> either. Or did I misunderstand what you meant? These ASP files actually don't perform any serverside scripting and basically could be HTML files..
-t
-----Original Message-----
From: Bernhard Weisshuhn [mailto:bkw@weisshuhn.de]
Sent: Thursday, 28 October 2004 12:11 PM
To: Tim Hartley
Cc: Multiple recipients of list
Subject: Re: [SWISH-E] <swishdecription> returning blank?
On Wed, Oct 27, 2004 at 07:05:17PM -0700, Tim Hartley <tim.hartley@planetpdf.com> wrote:
> I'm using the File Access method to index a folder of .asp files (as it
> can do it waaaaaaaay quicker than spidering them)
> Anyway, I'm having problems in that it doesn't seem to be getting any
> values in the <swishdescription>, so my results are coming back with
> the <swishrank><swishtitle><swishdocpath><swishlastmodified>, but NOT
> <swishdescription>. All my other indexes return it. Mind you they use
> either the dirtree.pl or swishspider.pl to create the indexes.
Could it be that the description is output by asp-code?
When you index the raw files (file access method), the scripts are not
executed and therefore look almost certainly completely different than
when run inside the web server. You are indexing asp source code as
opposed to program output.
Hope this helps,
bkw
-----Original Message-----
From: swish-e@sunsite3.berkeley.edu
[mailto:swish-e@sunsite3.berkeley.edu]On Behalf Of Bernhard Weisshuhn
Sent: Thursday, 28 October 2004 12:19 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: <swishdecription> returning blank?
On Wed, Oct 27, 2004 at 07:05:17PM -0700, Tim Hartley <tim.hartley@planetpdf.com> wrote:
> I'm using the File Access method to index a folder of .asp files (as it
> can do it waaaaaaaay quicker than spidering them)
> Anyway, I'm having problems in that it doesn't seem to be getting any
> values in the <swishdescription>, so my results are coming back with
> the <swishrank><swishtitle><swishdocpath><swishlastmodified>, but NOT
> <swishdescription>. All my other indexes return it. Mind you they use
> either the dirtree.pl or swishspider.pl to create the indexes.
Could it be that the description is output by asp-code?
When you index the raw files (file access method), the scripts are not
executed and therefore look almost certainly completely different than
when run inside the web server. You are indexing asp source code as
opposed to program output.
Hope this helps,
bkw
Received on Wed Oct 27 21:20:01 2004