Magento Expert Forum - Improve your Magento experience

Results 1 to 15 of 15

RSS Feed in Magento

  1. #1
    Junior Member jaredovi's Avatar
    Join Date
    Mar 2013
    Posts
    68
    Thanks
    2
    Thanked 14 Times in 11 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 world’s leading open source eCommerce package doesn’t 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(‘http://www.yourfeed.com/news/feed’); ?>

    <?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 the page.xml file 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 the page.xml file:

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

    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 site’s design.

    View more threads in the same category:


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

    Default

    Hi,
    * 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

    http://yourdomain/rss

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

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

    Default

    This is very usefully, thank you!!!
    vrati пощенки кутии

  4. #4
    New member
    Join Date
    Jan 2015
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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.

  5. #5
    Junior Member
    Join Date
    Nov 2015
    Location
    UK
    Posts
    22
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    There must be some extension plugin for RSS feed, it makes job easier

  6. #6
    Junior Member
    Join Date
    Feb 2017
    Posts
    19
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Thanks for your post! I think there are many other people who are interested in them just like me! How long does it take to complete this article? I have read through other blogs, but they are cumbersome and confusing. I hope you continue to have such quality articles to share! Good luck!
    vex 3

  7. #7
    New member
    Join Date
    Oct 2017
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by agario View Post
    Thanks for your post! I think there are many other people who are interested in them just like me! How long does it take to complete this article? I have read through other blogs, but they are cumbersome and confusing. I hope you continue to have such quality articles to share! Good luck!
    cool math games
    Yub, This is great websites

  8. #8
    New member
    Join Date
    Jul 2018
    Location
    Ahmedabad
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That proved really helpful for various extensions . Wonderful post by Magento developers.

  9. #9
    Junior Member
    Join Date
    May 2018
    Posts
    52
    Thanks
    0
    Thanked 3 Times in 2 Posts

    Default

    That proved really helpful for various extensions. Excellent post by Magento Developers. Thanks for sharing this valuable and informative Information.

  10. #10
    Junior Member
    Join Date
    Sep 2018
    Location
    India
    Posts
    24
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    if you want to use RSS Feed in Magento, You Can install RSS feed reader extension for Magento for your website, it is highly customizable and easy to integrate by anyone, No coding is required.

  11. #11
    Senior Member
    Join Date
    Aug 2018
    Posts
    107
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default

    Magento SEO - How to set up Magento RSS Feed
    Step 1: Login your Magento Admin Panel.
    Step 2: Go to System >> Configuration, then choose RSS Feeds.
    Step 3: Open RSS Config tab and Catalog tab, pick Enable in Enable RSS field, and Top Level Category field.
    Step 4: Click on Save Config button to save all the changes.

Bookmarks

Posting Permissions

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