Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

updated links on new page

Quote Reply
updated links on new page
I wish that the updated links are alos listed as updated links on the new site(s)

best regards

eljot
Quote Reply
Re: [eljot] updated links on new page In reply to
Hi,

is this a big problem? I've searched in the sub build_new in

nph-build.cgi and added

my $sth = $db->select ( { isChanged => 'Yes', isValidated => 'Yes' }, ['Mod_Date', 'COUNT(*)'] );

after

my $sth = $db->select ( { isNew => 'Yes', isValidated => 'Yes' }, ['Add_Date', 'COUNT(*)'] );


but it does not work.

Last edited by:

eljot: Mar 16, 2003, 4:29 AM
Quote Reply
Re: [eljot] updated links on new page In reply to
can anyone help please?
Quote Reply
Re: [eljot] updated links on new page In reply to
I think that the bit you need to change is in Build.pm. If you look for sub build_changed_flags you should find this piece of code:

$cond = GT::SQL::Condition->new (
'isChanged', '=', 'No',
'Mod_Date', '>=', $date,
'Add_Date', '<', $date
);

I think that the line in red says ignore links which are new. If you delete it you should be able to flag new links as changed.
Quote Reply
Re: [afinlr] updated links on new page In reply to
thanks.