Adding PubDate To RSS Feed (1 post)

  1. dave601
    Posted 8 years ago #

    I am looking for a way to add the date to the RSS feed that is on one of my pages. Here is the page. I don't know if this is possible, but I am getting this feed from the BBC. If you look at the code of that page (view source) the date that it was published is there using pubDate. Is there a way that I can display this date alongside the links to the articles on my website? Thanks!

    P.S. I am using this code to display the RSS feed in a page.

    <?php include_once (ABSPATH . WPINC.'/rss-functions.php');
    wp_rss('http://newsrss.bbc.co.uk/rss/newsonline_world_edition/in_depth/africa/2004/sudan/rss.xml', 4); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic