Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Check link during submission?

Quote Reply
Check link during submission?
Hi all,

I would like to know is there any modifications there so that LinksSQL will check whether new submission link is working or not?

Bear

Quote Reply
Re: Check link during submission? In reply to
No...... but this shouldn't be too hard to hack in. You'd need to snag the "add" hook, and have short routine that would send the link to the link checking routines, and look for a 200 status code on return. You'd probably want to do this from the user add routines, rather than the admin add, since the admin can check a link simply by clicking the "view" before add.

It looks like verify-child has a routine "check_link" that accepts a URL and returns a status code. You could start there.

I'm kind of lost in how it all connects together, since verify-child.pl seems to run, but I don't see where it returns, or inserts, the status anywhere.

Of course, I'm still pretty foggy from the accident.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin
Quote Reply
Re: Check link during submission? In reply to
I have a pluggin that can get information such as description for that site when user submit a link.

Please send me an email to ttminhkhanh@yahoo.com to get this pluggin.




Quote Reply
Re: Check link during submission? In reply to
Hello atlas, I'm interesting in Your plugin.
I want to let the user add his URL and then the script should be try to get information about the website.

-------------------
Heiko Mentzel
http://findgay.net/
-------------------
Quote Reply
Re: Check link during submission? In reply to
Sorry, please wait for me because my hard disk was damaged. I will send to you later.



Quote Reply
Re: Check link during submission? In reply to
There is a lot of that going around.... That was the start of my misadventures last week...

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin