Gossamer Forum
Home : Products : Links 2.0 : Customization :

After fetching links in DMOZ

Quote Reply
After fetching links in DMOZ
Hi all, i run a links 2.0,
After fetching the dmoz links, my validate.db file has one space after the | char that is there before the description starts, and one space after the description ends. Example:

|World/Action/Movies/Sites/Actores| .....write description here... |

My gofetch.cgi write in validate.db file by line:

print SPIDER "$ID|$mytitle|http://$myurl|$lastupd|$FORM{'Category'}|$mydescrip|QuirinoSP|$email|0|No|No|0|0|No\n";
close SPIDER; # Closing above Opening


Notice the space after the | char that starts before the word Description, and the space after the word here

Please i need a help to delete two excedent caracters (begin end end).

Thanks all for advanced help.

Quirino
Quote Reply
Re: [Quirino] After fetching links in DMOZ In reply to
Will a text editor do a 'find and replace' that includes blank spaces? if so, d it that way: find "| " replace with "|" and find " |" replace with "|". May not work, just a thought...Unimpressed


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] After fetching links in DMOZ In reply to
Hi friend,
Unhappyly already I tried this and I did not find nothing in gofetch.cgi and dmonz.cgi files.


Thanks

Quirino