Hey guys.. wondering if anyone know where I can get a free script (not asp) for checking my reciprocal links are still on the site they are supposed to be? http://www.recip-links.com/ This site is a perfect example of what I'm looking for, to install for my own personal use. This site used to be great, but I think it's been overused, because it rarely works anymore Just something where I can paste a list of URL's where my links are supposed to be and have the script check the pages for the links. I've checked hotscripts and the like, but most of the reciprocal scripts are more inclined towards building directories and automating the whole exchange process. I'm perfectly happy to keep my own pages and add links manually. It's just every little while I like to verify the links are still there, and remove the losers who decide to take the link away. Any suggestions welcome
Thanks This one still looks a little complicated for me Would it be possible to modify this, so that you could paste in the URL's into a field, rather than uploading a text file with the urls each time.. I guess you can see I'm a PHP newbie
Well, you could write a simple script to do this.. grab the webpage like this (php) $page = file_get_contents( "http://www.x.com" ); PHP: and then see if your link is there if( strpos( $page, '<a href="http://www.mysite.com">My Anchor Text</a>' ) !== false ){ // link is there }else{ // link is missing } PHP: And you could add simple regular expression to take into account the other party putting a css class or title etc in the a href. But.... there is a lot more to this that simply verifying that a link is there. You need to check that the page is in the G index (not banned), you may want to check PR, #externla OBL, internal OBL, robots.txt, robots meta tags etc. so a script like this is not that trivial.
I signed up for clicksentry, but it only lets you check one at a time http://www.clicksentry.com/cgi-bin/freecheck.cgi http://www.clicksentry.com/members/linkcheck.cgi The free checker and the member area checker are exactly the same, bar an image verification requirement in the free version. Also the PHP script above, will that only work on links where the anchor text I chose is fixed?.. i.e, some exchanges I have varied the anchor text - will this script pick that up? thanks for all your help
Umm, the member's version allows you to check an unlimited number of links. Once you enter them once, they will stay in the system. Here are some instructions that will help you get started.
Awesome.. I never noticed the "import" function Sorry about being so dumb Excellent tool, great work on it... I'm a big fan now
I looked and looked for a good FREE recip link checker and didn't find a whole lot. I didn't see Clicksentry so can't say anything about it. It looks good though. However, I decided to actually pay for some software instead of spending many hours on the net trying to save a few dollars. (when I could've been working on my sites and promoting them.) Anyway, I found this for a measly 10 dollars. It does everything I want it to do. Check it out. Hope you like it. http://www.softbizscripts.com/automatic-link-checker-script-features.php Steve
Here is a _very_ simple function: /** * Check for a recip-link to $link on page $url * @param string url to check * @param string link to check for * @return bool true if linked, false otherwise */ function is_linked($url, $link) { return strpos(file_get_contents($url), $link) !== false; } PHP: This will only check the URL is contained in the document, it does not have to be part of a hypertext link. For example, if $link was "http://www.google.com/" then a document containing "<img src='http://www.google.com/logo.gif'>" would also match. If you want a function that checks if the URL is actually part of hyperlink, let me know, and I'll post a improved version, that uses a regular expression instead.
Hi Guys! I'm the webmaster and creator of dead-links.com and recip-links.com . Sorry for the problems that I had with the online service. During a week I didn't notice the service wasn't working. I have to say that there is no "free script" on the net to do what my websites do. I made this programs and the scripts. They use an HTML parser. That is, the program "understands" the HTML code, so it's imposible to cheat it. The alternative solutions you are suggesting here, are very easily to trick and chead. One webmaster could put the link inside a comment, a textarea, outside the body tag, inside the css styles section.. etc. and all of this solutions could recognice the link! not to say that even a simple space or line break could inform that the link is not present when it is. So, the only real solution is to parse the HTML code, and analize it. That is what dead-links.com and recip-links.com do. You can check the websites now and see that they are working fine. Thanks.
Sorry to be pedantic, but your method is not perfect either. Since both your sites share the same static IP, a small piece of code logic could easily cloak the page when your server is the client (i.e. only serve the link, when your server requests the page).
Yes, your are true. And also they are using and special user agent string. It is the faq section. That is an inherent problem of using a web based tool. The solution for what you tell me could be to have the tool in a computer with dynamic IP address and fake the user agent string. But this is a different kind of tool.
Many thanks for the information - Great to see you found this post, and joined!!... I've found your tool to be an excellent resource. It only seemed a bit problematic a few days ago - Great job on fixing it!! Keep up the great work