Another seemingly minor bugfix that'll roll into the next release. If you are using ATOM feeds (not a lot of folks are yet), the feed can have a whole bunch of HREFs associated with each entry. I wasn't accounting for more than one html version -- apparently there's 'alternate' (the real link) and 'related' (other link to info), and I was grabbing whichever was first and exiting. I now give priority to the alternate link. Anyone who needs a patch, replace the function get_HREF block in cg-feedread.php with the following code:
$hrefGrades = array('alternate' => 2);
global $XATTR,$XVALUE,$XTAG; // delimiters in the array breakdown...
$output = '';
$grade = 0;
$output = $data['href'];
else // hopefully an array of links...
//if (is_array($data) // better be, assume it is...
foreach($data as $posslinks)
if (strpos($posslinks['type'], 'html'))
$newGrade = 0;
$newGrade = $hrefGrades[$posslinks['rel']];
$output = $posslinks['href'];
$grade = $newGrade;
//$siteTitle = $posslinks['title']; // we could override here...