Gossamer Forum
Quote Reply
Add Spider - No Keywords
Hello. Hi Paul if you are online.

I'm spring cleaning my Links SQL site IndyLinks.com

It has the AddSpider Plugin Installed - which I just love and highly recommended to everyone.

However, it isn't grabbing the keywords and placing them in the Add form.

Here are some settings I have:

In the add.cgi file:

<form action="http://www.indylinks.com/cgi-bin/add.cgi" method="POST"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td> <input type="text" size="50" name="Spider_URL" value="http://"> <input type="SUBMIT" name="spider" value="Spider Link">

In the form:

<textarea wrap="virtual" name="Keywords" rows="5" cols="50"></textarea>



Does anythink look wrong here?

THanks, April
A. Lougheed
IndyLinks.com
webmaster@indylinks.com
Quote Reply
Re: [aprillougheed] Add Spider - No Keywords In reply to
That looks fine. You may need to do a little debugging in the code to see what's going on.

Or if you want to give me access to your admin panel I can take a look.
Quote Reply
Re: [Paul] Add Spider - No Keywords In reply to
   

Hi :)

I looked in the spider.cgi file and found only this line of code. Doesn't mention keywords.

foreach (@rest) {
if ($_ =~ m#.*?<meta([^\>]*?)(name|http-equiv)="?description"?([^\>]*?)(content|value)="?([^\"]+)"?#i) {
$desc = $5;
}
}



Would I need to add a line like this:

foreach (@rest) {
if ($_ =~ m#.*?<meta([^\>]*?)(name|http-equiv)="?keywords"?([^\>]*?)(content|value)="?([^\"]+)"?#i) {
$desc = $5;
}
}
A. Lougheed
IndyLinks.com
webmaster@indylinks.com
Quote Reply
Re: [Paul] Add Spider - No Keywords In reply to
Where would I run this code? Via SSH? It's time I learned more about debugging.

print 'p I$' ^ " A<H \Uw\E."

Thanks for the double help.

April
A. Lougheed
IndyLinks.com
webmaster@indylinks.com
Quote Reply
Re: [aprillougheed] Add Spider - No Keywords In reply to
Ah yes, that's right, it doesn't spider keywords, only title, url, description.
Quote Reply
Re: [aprillougheed] Add Spider - No Keywords In reply to
Heh, no that's my signature. I put it under ----- so as not to make it seems like a code sample Wink
Quote Reply
Re: [Paul] Add Spider - No Keywords In reply to
hi, where can i find the add spider plugin
thx
Quote Reply
Re: [ajiimd] Add Spider - No Keywords In reply to
Its no longer available. I may write a quick version of it tomorrow, depending on how time goes. I've just rewritten SearchFeed_Results... so I'm afraid I can't spend any more time on free plugins today :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!