feed.php and banner images

Discussion in 'General Help' started by shawnlg777, Dec 29, 2017.

  1. shawnlg777
    • Licensed

    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
  2. Mark
    • Staff

    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>
  3. shawnlg777
    • Licensed

    shawnlg777 New Member

    Thanks so much! You're going to save me lots of work.
    cajkan likes this.

Share This Page