Solved

Reciprocal Link Checker??

Posted on 2004-03-26
15
452 Views
Last Modified: 2008-02-26
I Would like to have a Add A Link section with diffrent diretories ( Car, Games, Internet..etc).. and the user goes to the section they want to add their url/link and clicks add link....after they enter the url/infomation,,the script(perl) checks for the reciprocal link at the specified location and returns a error saying no  reciprocal  found at (url) location, please fix.. if the have one it post the link

Anyone know where a I find a FREE script like this..or help me write it..
I tried writing it, but my perl exprinece is a big 0. So it ended up being a cut n paste from other scripts and ...you dont want to know...


Thank you,
Caiapfas
0
Comment
Question by:Caiapfas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
15 Comments
 
LVL 24

Expert Comment

by:duz
ID: 10693256
Caiapfas -

Not sure that you really want to do this.  What will happen users will place the reciprocal link for the minute or two it will take to get in your directory and check it's existence - then remove it.

The standard way to do this is to run a crontab script weekly and delete the directory entries for which there are no reciprocal links.  Explain on the page that reciprocals are routinely checked - so users no what to expect.

For scripts - search on Google for - reciprocal link check crontab

- duz
0
 
LVL 2

Author Comment

by:Caiapfas
ID: 10693354
yes, i would like the script to check for the links weekly , automaticlly
0
 
LVL 2

Expert Comment

by:TheGaffer
ID: 10695005
You will find it hard to get a free script.

The following is a script that will do the job for you, but it is $50 or so: http://www.hotscripts.com/Detailed/31301.html
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 2

Expert Comment

by:Fataqui
ID: 10695876
Hi

This is very simple to do, tell me these things listed below and I will write you a quick script...

1. language you want it in.... Perl, PHP, ASP
2. How will you store the new links.... db, flat text file
3. How are the links stored.... db, flat text file (question 2 should answer this!)
4. If you want to use a db, tell me the type you are using...
5. You want the following.....

FORMS.....

1. add new link
2. remove link
3. search links

cron tasks
3. cron job -> verify links!

I would store the links in a text file or db, this way you can use a single script (template driven), to (add, modify and view links) it makes things so much easier to manage!


Note: My script will not contain fancy templates, just the core code and the $var(s) that you can access in each template!

F!
0
 
LVL 2

Author Comment

by:Caiapfas
ID: 10696476
Thank you
1. perl
2. flat file


yes to all

1. add new link (in diffrent sections, if possible)or would this be in the templates?
2. remove link
3. search links/my web site (a pulldown)search links and Search site
heres the parmeters for my present search engine
<FORM METHOD=GET ACTION="http://www.ccds.addr.com/cgi-bin/search/search.pl" NAME="SearchForm">
<input type="hidden" name="Range" value="Any">
<input type="hidden" name="Format" value="Standard">
<INPUT NAME="terms" SIZE="22" MAXSIZE="40" VALUE="" />
<INPUT TYPE="SUBMIT" VALUE="GO" name="submit" />
<FORM>

cron tasks
3. cron job -> verify Reciprocal  links!


once again thank you my friend.


0
 
LVL 2

Author Comment

by:Caiapfas
ID: 10708117
any ideas?
0
 
LVL 1

Accepted Solution

by:
chrishintz earned 500 total points
ID: 10727861
You definitely should check out http://www.gossamer-threads.com/

Their product Links 2.0 does (almost) exactly what you want. Features include:

- Full Database Control: Add, remove, modify and search on both your category and your links databases using DBMan's powerful database engine.
- Build Static Pages: Don't destroy your server by running a dynamic directory -- Links creates static htm pages just like Yahoo ® and CGI-Resources.
- Complete Customization: Links has two levels of customizations. For the novice user, there are Templates. You simply edit the look of your site using a regular htm editor, and insert tags for the parts where Links should put its information. All aspects of your site, even down to how a Link should look can be edited with templates. For the advanced user, you can edit a perl library file which has all the htm in it allowing you to easily add in small code snippets.
- Validating Links: Links let's you preview all links before they are entered into the database. Before adding them in you can edit any aspect of the link. If you accept the link, a custom email notice will be sent to the link owner. If you reject the link, again, a custom rejection notice is sent.
- Database Maintenance: Make sure all your links are in a proper category and move batches of links around to different categories with just a few mouse clicks.

The excelent developer-forum (that I visited very often in my perl-time) will help you out in modifying the standard "does this website exists" feature into a reciprocal link-checker. The only thing you'll probably need to add is "is my url mentioned on this page" Setting this up cron is no problem. I actually still have two websites that are maintained by a (very very heavily) modified version of Links2.0.





 
0
 
LVL 1

Expert Comment

by:chrishintz
ID: 10727871
Forgot to mention the System requirements

- Current version of Perl 5 (version 5.004 or better),
- An installed LWP module and Net::FTP module if you want to use the verify links routine (which you do!). This module (like most) can be retrieved from CPAN.
 
0
 
LVL 2

Author Comment

by:Caiapfas
ID: 10736414
chrishintz,

the only issue is i'm using this add a cheap, but nice linkexchage for users, the only profit for me would be advertisement and a link on a page , more than likely with a low pagerank..

so i wanted to find a freebie, surely on the net they have one out there,..

I'm still trying to perfect my personal written one..
0
 
LVL 1

Expert Comment

by:chrishintz
ID: 10739016

>> the only issue is i'm using this add a cheap, but nice linkexchage for users, the only profit for me would be advertisement and a link on a page , more than likely with a low pagerank..

Sorry, but I didn't understand what you are writing here :) But if your looking for something cheap, free isn't cheap enough? For Links SQL you'll need to pay, but Links 2.0 can be downloaded for free. (That's the reason why I still have 2 websites running Links 2.0)

And like I wrote before: I personally leared 'good perl' by adding and tweaking Links so much that my versions can't be called Links anymore. Take the time to have a look at the demo and peek in the developer forum; you'll for sure find exactly what you are looking for. Really; if I could spend 40 minutes of my time on your question, I could really tweak Links. It's that easy.


0
 
LVL 2

Author Comment

by:Caiapfas
ID: 10826669
i cant find the download link, can you post it?
0
 
LVL 1

Expert Comment

by:chrishintz
ID: 10828456
After clicking Products, Links 2.0, and Download I got to the http://www.gossamer-threads.com/scripts/links/download.htm page. So I don't understand the 'cant find' part...
0
 
LVL 1

Expert Comment

by:chrishintz
ID: 10857686
Isn't it time to close this question? It's getting pretty old...
0
 
LVL 2

Author Comment

by:Caiapfas
ID: 10873572
it says evaluate the program, does that mean..it have some type of time protection? to lock you out after so long?
0
 
LVL 1

Expert Comment

by:chrishintz
ID: 10877054
It won't lock you out! Didn't it say: "Links is the only program in its class that lets you download the source and setup your directory to give you the chance to truly evaluate the program. Don't get stuck with poorly coded software that may fall apart after a month, or may not even work on your server!" So you can do everythinh you want, unlimited... (as long as you use it for academic purposes; for commercial purposes you should register yourself...
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question