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.
Comments on importing links, duplicates problem
Member
Usergroup: Customer
Joined: May 24, 2006
Total Topics: 11
Total Comments: 26
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Are you sure you have the latest copy of it from the thread, not an old one?
Member
Usergroup: Customer
Joined: May 24, 2006
Total Topics: 11
Total Comments: 26
I'm not sure. Can you point me to it please?