feed.php and banner images

shawnlg777

New Member
I want to add the banner images into feed.php. What and where would I put the code so that our top ten sites, the site description and banner image would appear on an RSS feed?

Thanks,
Shawn
 

Mark

Administrator
Staff member
Good question!

open feed.php and find this (line 161):

PHP:
<description><?php echo $row['description']; ?></description>
replace with:

PHP:
<description><?php echo $row['description']; ?><![CDATA[<img src="<?php echo $row['banner_url']; ?>" />]]></description>
 
Top