item urls changing

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 4
Joined: Fri Oct 23, 2009 4:41 am

item urls changing

Postby davidfkane » Wed Nov 04, 2009 9:26 am

Hi All,

I have a problem, which is probably me doing something wrong...

I have noticed that some of the item urls have changed. This is a pain because it screws up any indexing done by Google or other search engines. Here is an example of how one of the records has changed...
has changed to

there are about 18,000 records in our harvester.

I am running this cron job for each archive to update weekly.

Code: Select all

php /var/www/harvester/tools/harvest.php 11 flush verbose last

Thanks in advance

David Kane
Waterford Institute of Technology Libraries

Posts: 4
Joined: Fri Oct 23, 2009 4:41 am

Re: item urls changing

Postby davidfkane » Fri Nov 06, 2009 8:01 am

The take home message here is, I have found, not to 'flush' the pre-existing records. The database will re-insert the records with a higher number. The field auto-increments the number for each fresh record number.

Better to use

Code: Select all

php tools/harvest.php all from=last

... as so many have suggested on this forum.

Return to “Open Harvester Systems Support and Development”

Who is online

Users browsing this forum: No registered users and 2 guests