Gossamer Forum
Home : Products : Links 2.0 : Customization :

Spider Mod

(Page 2 of 3)
> > > >
Quote Reply
Re: Spider Mod In reply to
Hey thanks for the spider mod.
Question though, how does one use it WITH templates?
Visionary
Quote Reply
Re: Spider Mod In reply to
Dan,

Thanks for the mod, I now have it on my site :-)

For templates in Links 2.0 add this to link.html

Code:
[ <a href="<%db_cgi_url%>/spider.cgi\?URL="<%db_cgi_url%>/jump.cgi?ID=<%ID%>">Spider</a> ]

Cheers

------------------
Webmaster@spreester.com
www.spreester.com
exposing amsterdam's A2000 people...
Quote Reply
Re: Spider Mod In reply to
Lucas - sorry but with being solely responsible with running 3 labour-intensive commercial websites, I have little time to take on other projects. Besides you may want a 'real' cgi-perl programmer.

Spreester - thanks for the templates code. I'll add it.

BTW guys, don't give me too much credit. Afterall, it was the people at Fluid Dynamics that wrote the base script - and it is one hell of a script in its design and complexity. I just did some snipping and adding here and there to produce what you see now. Not much brain power involved. Just time as the code is rather involved to redesign.

Dan Smile
Quote Reply
Re: Spider Mod In reply to
Just a little note, say Thank you, also you coding for the templated mod on this page is messed up, there is an extra " mark in your coding that will make links not output the actual jump id etc.
code:
Code:
--------------------------------------------------------------------------------

[ <a href="<%db_cgi_url%>/spider.cgi\?URL="<%db_cgi_url%>/jump.cgi?ID=<%ID%>">Spider</a> ]

--------------------------------------------------------------------------------
SHOULD BE

code:
--------------------------------------------------------------------------------

[ <a href="<%db_cgi_url%>/spider.cgi\?URL=<%db_cgi_url%>/jump.cgi?ID=<%ID%>">Spider</a> ]

--------------------------------------------------------------------------------

Hope this formated correctly.
Visionary



[This message has been edited by Visionary (edited March 24, 1999).]

[This message has been edited by Visionary (edited March 24, 1999).]
Quote Reply
Re: Spider Mod In reply to
Visionary - that line was changed Monday as I noticed the extra ". Plus, I changed it to point directly to the URL. You need to clear your browser cache and reload (refresh) the page as you are viewing the old page from Sunday or early Monday.

Dan Smile
Quote Reply
Re: Spider Mod In reply to
Thanks Dan, guess I should have noted what I was replying to. I already downloaded the script before you had the instructions for the templates coding on your site, so I was just replying to your post on here which has the bad code in it not towards the coding you had on your site.
Thanks again
Quote Reply
Re: Spider Mod In reply to
can i see a sample of what exactly your mode does? does the results come out on your own pages? can i decide which search engines it searches? can i place my own ads on these pages?
Quote Reply
Re: Spider Mod In reply to
theguy - the mod does not spider search engines. It only spiders listings in the links database. And since the results are displayed on locally, you can display your own ads. Check here for an example - www.spreester.com

Dan Smile
Quote Reply
Re: Spider Mod In reply to
Will this Spider Mod thread on this forum ever end! Smile

------------------
Patrick Chukwura
http://nytesoft.hypermart.net
Quote Reply
Re: Spider Mod In reply to
Dan thanks the cool mod...It was a quick and easy install and configuration.

Sweet prog too

Rod
http://writecon.vineyard.net
Quote Reply
Re: Spider Mod In reply to
Hey Dan,
How can I make it so that the description comes out for each link as well as the main link, seems kinda weird to only display a descripton for the main link and none of the ones that it found on the main link page.
Is this simple to do or complicated, or is the script designed not to do it?
Thanks
Quote Reply
Re: Spider Mod In reply to
Cool mod, thanks.

I didn't addit to my links pages but did add it on my admin Validate New page next to the Validate link
so I can spider the newly added sites.
Quote Reply
Re: Spider Mod In reply to
i installed the script but i'm not sure if it's working. i do not see the word spider on any of my pages. the sample page dan provided,
does not have the word spider either.
i thought you should have a link to the script?
Quote Reply
Re: Spider Mod In reply to
hi,
Quote Reply
Re: Spider Mod In reply to
hi,
Theguy,

You will see how the spider is working on my site

factory.co.kr/cgi_baseball/link/index_en.html

The code you should change is at the following;

At site_html.pl
sub site_html_link {

$output .= qq~ <br><font color=#808080><small class="date">(Added:$rec{'Date'} Hits:$rec{'Hits'} Rating:$rec{'Rating'} Votes:$rec{'Votes'}) <a href="$build_rate_url?ID=$rec{'ID'}"><img src=/cgi/link/image/rate_en.gif border=0 alt="Rate it"></a><a href="$db_cgi_url/spider_en.cgi\?URL=$rec{'URL'}" target=new><img src=/cgi/link/image/preview_en.gif border=0 alt="Site preview"></a><a href="$db_cgi_url/birdcast_en.cgi?rec_url=$build_jump_url?ID=$rec{'ID'}&rec_title=$rec_title"><img src=/cgi/link/image/recommend_en.gif border=0 alt="Recommend it"></a></small></font>
</ul>
~;

The key point you need to change is following;
Insert this code just after "rate it"></a>
---------------------------------------------
<a href="$db_cgi_url/spider.cgi\?URL=$rec{'URL'}">Spider</a>
---------------------------------------------
## $db_cgi_url/spider.cgi ## means http://www.yourname.com/links2.0_directory/cgi-bin/spider.cgi

[This message has been edited by koreags (edited April 13, 1999).]
Quote Reply
Re: Spider Mod In reply to
I tried to put up the spider.cgi and got a whole whack of errors:

forget it, had to put the proper path to perl at the top.

[This message has been edited by Predator (edited April 12, 1999).]
Quote Reply
Re: Spider Mod In reply to
i'm looking for a site in english that uses this spider. does the word spider has to appear in every list?
Quote Reply
Re: Spider Mod In reply to
Hi, Dan

Is it possible to have spidering result massage only for bad connection at separate html file ?

My LWP doesn't work.

So, i think i need to get an error report for bad links by e-mail to me or a html file after someone trys spidering.

[This message has been edited by koreags (edited April 15, 1999).]
Quote Reply
Re: Spider Mod In reply to
great mod!! finally it's working on my site.
is there a way to improve it? by adding a description for all the links.
dan: if you can do this , it will be the best mod for links.
Quote Reply
Re: Spider Mod In reply to
Thanks for all the positive feedback and suggestions! I'll modify the script to provide descriptions for all spidered pages. I'm pretty swamped at the moment but I hope to have it done within 1-2 weeks.

Again, it will be available at www.monster-submit.com/mods02.html

Dan Smile


[This message has been edited by dan (edited April 14, 1999).]
Quote Reply
Re: Spider Mod In reply to
*****WARNING THIS EMAIL IS FROM A BEGINNER*****
I think that the spider mod only spiders to the first level, thus getting it to show the description of the pages below the first level won't happen, unless you build it into the script to spider beyond the first level.
Where that is in the script? Don't Know!
Anyone know how to change it to the 2nd level?
Visionary
Quote Reply
Re: Spider Mod In reply to
I want to add a footer at the bottom of spider results page. Where do I insert the code?

Thanks

Sitedex
Quote Reply
Re: Spider Mod In reply to
search for </body> and add it before that.
note: you should find it twice so you need to add the footer in both places.

dan , how about an update on your work?
do you still think you can add a description to all the links?

[This message has been edited by theguy (edited September 12, 1999).]
Quote Reply
Re: Spider Mod In reply to
Update: Sorry but I've decided to leave the Links Spider mod as is. It is NOT advised to incorporate descriptions for the secondary pages as this would require spidering embedded links in the primary page. This can be a drain on any server and seriously tax their cpu resources.

Anyone is welcome to tinker with the script but any changes will not be incorporated into the Links Spider code. And if you decide you want to release a modified version for public use then you will require expressed permission of Fluid Dynamics at http://www.xav.com .

Dan Smile
Quote Reply
Re: Spider Mod In reply to
Links 2.0

I have followed instructions but after I searched and click on SPIDER it gave errors:

Quote:
"use" may clash with future reserved word at /data1/hypermart.net/viet-usa/spider.cgi line 27.
syntax error in file /data1/hypermart.net/viet-usa/spider.cgi at line 27, next 2 tokens "use Socket"
"my" may clash with future reserved word at /data1/hypermart.net/viet-usa/spider.cgi line 62.
Illegal modulus of constant zero in file /data1/hypermart.net/viet-usa/spider.cgi at line 62, next 2 tokens "FORM ="
Illegal expression (MODULO) as lvalue in file /data1/hypermart.net/viet-usa/spider.cgi at line 62, next 2 tokens "\ReadInput;"
"my" may clash with future reserved word at /data1/hypermart.net/viet-usa/spider.cgi line 112.
syntax error in file /data1/hypermart.net/viet-usa/spider.cgi at line 112, next 2 tokens "my @HITS"
"my" may clash with future reserved word at /data1/hypermart.net/viet-usa/spider.cgi line 133.
syntax error in file /data1/hypermart.net/viet-usa/spider.cgi at line 133, next 2 tokens "my $InputString "
"my" may clash with future reserved word at /data1/hypermart.net/viet-usa/spider.cgi line 134.
"my" may clash with future reserved word at /data1/hypermart.net/viet-usa/spider.cgi line 135.
Illegal modulus of constant zero in file /data1/hypermart.net/viet-usa/spider.cgi at line 135, next 2 tokens "FORM ="
Illegal expression (MODULO) as lvalue in file /data1/hypermart.net/viet-usa/spider.cgi at line 135, next 2 tokens ");"
/^(.*?)=(.*)$/: nested *?+ in regexp at /data1/hypermart.net/viet-usa/spider.cgi line 140.
[Fri Apr 30 23:55:13 1999] access to /data1/hypermart.net/viet-usa/spider.cgi failed for 129.71.139.79, reason: Premature end of script headers

Help Please!

This is what I insert

[ <a href="http://www.viet-usa.com/spider.cgi\?URL=$rec{'URL'}">Spider</a> ]


Thanks in advance to all!

------------------
WebKing
WebKing@trisoft.net
http://www.trisoft.net
My ICQ # 25356171
> > > >