Finally got around to doing this ...
This block will create a list of links to your currently active feeds as defined in your syndication table. This block is being used on a 1.4.1 site, I can't for the life of me imagine why you'd be running an earlier version at this point.
Note that the feed title is used for the link, and therefore it is necessary to keep them short at the risk of expanding the width of your left/right blocks.
The function also utilizes the feed icon as specified in the syndication table, but if none is specified, expects a default icon as /images/feed.png. If you want to modify this, the edit location is pretty evident.
This code goes in lib-custom.php, and you use it as a phpblock, of course ...
Text Formatted Code
function phpblock_feeds( ){
global $_CONF, $_TABLES;
$retval = "";
$result = DB_query("SELECT * FROM {$_TABLES['syndication']} WHERE is_enabled = 1 ORDER BY format, title",1);
$rows = DB_numRows($result);
for ($i=0; $i< $rows; $i++) {
$row = DB_fetchArray($result) ;
$flogo = $row['feedlogo'];
if ( $flogo == "" ) {
$flogo = "/images/feed.png";
}
$ftitle = htmlspecialchars( $row['title'] );
$fdesc = ( $row['description'] );
if ( $fdesc == "" ) {
$fdesc = $ftitle;
}
$fspec = $_CONF['site_url'] . '/backend/' . $row['filename'];
$retval .= '
<img src="'. $_CONF['site_url'] . $flogo .'" alt="'. $fdesc .'"> <a href="'. $fspec .'" type="application/rss+xml" title="Click to Subscribe">'. $ftitle .'</a><br>';
}
return $retval;
}