GuidePedia

0
How to add RSS Feed to your Magento site?
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:

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 in app/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:
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:
Save, upload and then style it up to fit in with your site’s design.

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Visitors

Cloud Power For You

Website Hosting At Low Price

Contatc

Empire Views
 
Top