Magento Expert Forum - Improve your Magento experience

onet connect
Results 1 to 4 of 4

RSS Feed in Magento

  1. #1
    Junior Member jaredovi's Avatar
    Join Date
    Mar 2013
    Thanked 10 Times in 8 Posts

    Default RSS Feed in Magento

    More and more retailers are using blogs and RSS feeds to help expand their businesses online presence. However Magento, the worlds leading open source eCommerce package doesnt offer out of the box blog management, so many Magento shop owners are turning to other open-source software like WordPress to help meet their blogging demands. This leaves one thing uncovered, how to display these latest blog posts on a Magento shop homepage to help keep things fresh for SEO.

    In this tutorial I will show you how to add an RSS feed to your Magento shop.

    To start with, you will need to create a phtml file called rss_feed.phtml in the following directory:app/design/frontend/default/your-theme/template/callouts

    In this file you will need to add the following code to call up the RSS feed:

    PHP Code:
    <?php $channel = new Zend_Feed_Rss(; ?>

    <?php $i 0?>

    <?php foreach ($channel as $item): ?>

    <?php if ($i<3){ ?>

    <?php echo $item->get_date(j F Y); ?>

    <p><?php echo $item->title?>

    <a href="<?php echo $item->link?>">Read post </a></p>

    <?php } else { } ?>

    <?php $i++; ?>

    <?php endforeach; ?>

    You will then need to change the URL to the URL of feed that you have set up in Feedburner.

    Once you have done that you will need to open up thepage.xmlfile inapp/design/frontend/default/your-theme/layout/and then find the block where you would like to add the news feed to.

    Add the following code to thepage.xmlfile:

    HTML Code:
    <block type="core/template" name="" as="getNews" template="callouts/rss_feed.phtml"/>
    Save this file and upload it with therss_feed.phtmlfile.

    Now you are ready to call the RSS in the main phtml pages and add the following code to the template files where you want the RSS to display:

    PHP Code:
    <?php echo $this->getChildHtml(getNews?>

    Save, upload and then style it up to fit in with your sites design.

    View more threads in the same category:

  2. #2
    Junior Member
    Join Date
    Aug 2014
    Thanked 0 Times in 0 Posts


    * magento rss feed
    * magento rss feed url
    * magento rss feed link
    * how to add rss feed to your magento site
    * how to add rss widget in magento
    * magento add blog feed to cms

    1. Rss feed need to be activated under System -> Configuration -> Rss feed.

    2. After activating, all RSS you have enabled will be shown on this page


    3. Get the link you needed and put it somewhere on your design.

  3. #3
    New member
    Join Date
    Feb 2015
    Thanked 0 Times in 0 Posts


    This is very usefully, thank you!!!
    vrati пощенки кутии
    Last edited by stankura; 27-02-2015 at 01:10 PM.

  4. #4
    New member
    Join Date
    Jan 2015
    Thanked 1 Time in 1 Post


    I have installed RSS feed reader extension for Magento in my website, it is highly customizable and easy to integrate by anyone since no coding is required.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts