• I’m sort of new at this- but how do I create a RSS feed from my wordpress blog to my website? Basically I want my website to display the latest 3 posts from my wordpress blog. How can this be done? thanks~

Viewing 1 replies (of 1 total)
  • One option would be install a RSS aggregator script on your website, which would take the feed from your WordPress blog and display it. There are a lot of different ones out there. I have used one called Magpie in the past, which works very well:

    https://magpierss.sourceforge.net/

    It is fairly easy to set up and start using. Here is a very basic usage example:

    <?php
    require_once 'rss_fetch.inc';
    
    $url = 'https://yoursite.com/rss';
    $rss = fetch_rss($url);
    
    foreach ($rss->items as $item ) {
    	$title = $item[title];
    	$url   = $item[link];
    	echo "<a href=$url>$title</a>";
    }
    ?>

    It is also possible to do this with just a little custom code, as explained here: https://www.ads-software.com/support/topic/110780

Viewing 1 replies (of 1 total)
  • The topic ‘Feed for website?’ is closed to new replies.