WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

importing links, duplicates problem
Importer.php does not correctly identify duplicate

Version: 3.4.1
printPrint


importing links, duplicates problem
sesshomurai
Member

Usergroup: Customer
Joined: May 24, 2006
Total Topics: 11
Total Posts: 26
Posted 08/30/06 - 02:42 PM:
quote post
#1
Hi,
I am able to get importer.php to import a one line link file I created. The link shows fine in my directory. however, if I run the import again, I expect it to detect a duplicate URL and not re-add the same link. It doesn't work and the link gets added again.

The problem appears that the 'isduplicate' function in functions.php is not working properly. I have check for dups enabled and many links will come from the same domain but be different URLS. I simply want to check the entire URL string for similarity and reject ones that are already in the database. I'm running importer.php on the command line.

Thanks for any help!
D
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 08/31/06 - 12:06 PM:
quote post
#2
Are you sure you have the latest copy of it from the thread, not an old one?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
sesshomurai
Member

Usergroup: Customer
Joined: May 24, 2006
Total Topics: 11
Total Posts: 26
Posted 08/31/06 - 12:52 PM:
quote post
#3
I'm not sure. Can you point me to it please?
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.