Re: Problem with indexing files with spaces

Brian Litke <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
Thanks for the list pointer, Brian.  I too need to apply this patch to  
index URLs with spaces in them.

However, when I download the patch and open it, I was unsure if this  
looks like an appropriate patch file because it has some e-mail  
portions in it and some of the code has a "!" at the beginning of the  
line.  I do have a development server with htdig, so I tried applying  
it there using this three step process

1) Apply  ftp://ftp.ccsf.org/htdig-patches/3.1.6/fileSpace.1
	change to htdig-3.1.6 source directory, and run
	patch -p0 < /added-specific-pathto/fileSpace.1
2) Set allow_space_in_url to true in your config file
3) and re-index

I am getting an error during step 1.  I think my problem is that I  
installed an RPM of htdig which is already compiled.  Do I have to  
apply this patch before compiling?  I am unsure where the "htdig-3.1.6  
source directory" is.  When I do a "Locate" command to find  
"htdig-3.1.6" I only see the htdig docs directory.     I changed to the  
directory /usr/bin where the htdig, htnotify, htdump, htfuzzy, etc. is  
located.  When I ran the command patch -p0 <  
/added-specific-pathto/fileSpace.1    I get a prompt to enter the
File to patch:

And that's where I'm stuck.  If I do a locate for URL.cc I don't get  
any results.

Thanks,
Brian L.



On Mar 10, 2006, at 9:25 AM, brian read wrote:

> Francisc Simon wrote:
>> Hallo ,
>>  I'm new to HTDIG and i have the problem of indexing files with an  
>> space(blank) in the filename like: 'my test.pdf'.
>> I googled already but i didn't find anything.
>> Can someone help me ???
>>
>
> look here:
>
> http://sourceforge.net/mailarchive/forum.php? 
> forum_id=2691&style=flat&viewday=9&viewmonth=200405
>
> -- 
> Cheers
>
> Brian
>
> Reliable, secure and affordable Office servers using Open Source  
> software
> http://www.abandonmicrosoft.co.uk
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting  
> language
> that extends applications into web and mobile media. Attend the live  
> webcast
> and join the prime developer group breaking into this new coding  
> territory!
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> ht://Dig general mailing list: <[email protected]>
> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
> List information (subscribe/unsubscribe, etc.)
> https://lists.sourceforge.net/lists/listinfo/htdig-general
>
Brian Litke
Web Administrator
Southwest Educational Development Laboratory (SEDL)
512-476-6861 or 800-476-6861  ext. 260 (voice)
512-476-2286 (fax)
http://www.sedl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.