I've been trying to remove stories that have been archived from the site feed by tinkering with lib-syndication.php
Am I correct that it should be done somewhere in the function SYND_feedUpdateCheckAll?
Text Formatted Code
// get list of topics that anonymous users have access to
$tresult = DB_query( "SELECT tid FROM {$_TABLES['topics']}"
. COM_getPermSQL( 'WHERE', 1 ));
$tnumrows = DB_numRows( $tresult );
$topiclist = array();
for( $i = 0; $i < $tnumrows; $i++ )
{
$T = DB_fetchArray( $tresult );
//Modified to exclude archive from site feed
$archiveexclude = "archive";
$compareresult = strncmp($T['tid'],$archiveexclude);
if($compareresult != 0) {
$topiclist[] = $T['tid'];
}
//End modification
}
Any help would be appreciated. Thanks, Matthew