I have an RSS feed from my blog (using Wordpress) that I publish on the homepage of my site. I'd like to be able to display the author's image along with the post. The tag for the author is <dc:creator> and I have successfully been able to publish the author's name using this code: echo "\t<div class=\"post\"><h1><a href=\"$item[link]\">".$item['title']."</a> <font size=-1>by [B]".$item['dc:creator']."[/B]</font></h1> </div>".$item['content:encoded']."<hr>\n"; Code (markup): The author's image is located in the root directory and is 'dc:creator'.jpg I'm using LastRSS to parse the feed, any ideas?
What about echo "\t<div class=\"post\">" . "<h1><a href=\"$item[link]\">".$item['title']."</a> " . "<font size=-1>by ".$item['dc:creator']."</font></h1>" . "<img src=\"/" . $item['dc:creator'] . ".jpg\" alt=\"" . $item['dc:creator'] . "\" />" . "</div>". $item['content:encoded']."<hr>\n"; PHP: