buber
01-03-2008, 08:36 PM
didn't see solution to this in forum or wiki.
i'm using simplepie to get my PP photo on the front page of a wordpress blog. What i get now is the title of the photo with a link to the blog above the unlinked photo. What i would like to have is no title/headline and just a linked photo. i've tried screwing with functions_feeds, but i can't figure out how to embed the link onto the photo.
this appears to be the section i need to edit:
<item>
<title>$headline</title>
<link>".$cfgrow['siteurl']."index.php?showimage=$id</link>
<description>
";
if($rsspicdir) $output .= "
<img src="$image"><br/>
";
if($cfgrow['rsstype'] != 'O') $output .= "
$body";
$output .= "
</description>
<pubDate>$datetime</pubDate>
<guid isPermaLink='true'>".$cfgrow
['siteurl']."index.php?showimage=$id</guid>
</item>";
A more complicated problem i'm having is that i have two PPs running on the wordpress blog. each has a pic on the front page, one using simplepie and the other using a wordpress random thumbnail addon, but that addon can't run on two pps at once so only one PP thumbnail is randomized and the other is simply the most recent and thus more static.
any solutions to either problem would be greatly appreciated.
cheers.
i'm using simplepie to get my PP photo on the front page of a wordpress blog. What i get now is the title of the photo with a link to the blog above the unlinked photo. What i would like to have is no title/headline and just a linked photo. i've tried screwing with functions_feeds, but i can't figure out how to embed the link onto the photo.
this appears to be the section i need to edit:
<item>
<title>$headline</title>
<link>".$cfgrow['siteurl']."index.php?showimage=$id</link>
<description>
";
if($rsspicdir) $output .= "
<img src="$image"><br/>
";
if($cfgrow['rsstype'] != 'O') $output .= "
$body";
$output .= "
</description>
<pubDate>$datetime</pubDate>
<guid isPermaLink='true'>".$cfgrow
['siteurl']."index.php?showimage=$id</guid>
</item>";
A more complicated problem i'm having is that i have two PPs running on the wordpress blog. each has a pic on the front page, one using simplepie and the other using a wordpress random thumbnail addon, but that addon can't run on two pps at once so only one PP thumbnail is randomized and the other is simply the most recent and thus more static.
any solutions to either problem would be greatly appreciated.
cheers.