jcmeghan
jcmeghan

Reputation: 73

How to integrate existing Wordpress blog into Magento

Our company has an existing Wordpress blog which I would like to integrate into our new Magento site.

I need to show the latest 5 posts on my page. It can either be done via an RSS feed or some other method, but I would prefer to not install Wordpress on the same server so as to lag down my site's server.

Any ideas or thoughts would be greatly appreciated.

Upvotes: 0

Views: 1597

Answers (4)

jcmeghan
jcmeghan

Reputation: 73

Feedburner is the way I chose to go - it was simple and easy to integrate:

<script src="http://feeds.feedburner.com/johnsoncreeksmokejuice/xZjR?format=sigpro&nItems=5&    dateLocation=above"
 type="text/javascript" ></script>
<noscript><p>Subscribe to RSS headline updates from: <a href="http://feeds.feedburner.com    /johnsoncreeksmokejuice/xZjR"></a></noscript>

Upvotes: 0

Theodores
Theodores

Reputation: 1209

There are two very good answers on here already. The DiY RSS feed with the Zend library is brilliant (exactly what I wanted myself, rolling my own, right now...). The use-the-Fishpig-integration answer is very sound advice (that module is fantastic).

However Meghan may want something out the box, installable in five minutes rather than lots of time lost fettling. The module by EM themes does the job, looks the part and has options in admin so the feed can be shown neatly regardless of source.

http://www.magentocommerce.com/magento-connect/em-rss-atom-news-feed-widget.html

Upvotes: 0

Nate
Nate

Reputation: 578

Do you already have a place to put it? If you already understand how to theme Magento, you can do this in your template code:

<?php $feed= new Zend_Feed_Rss('http://www.example.com/feed'); ?>

and then foreach loop through $feed grabbing ->link() or ->title() or whatever else you need.

Let me know if you need more help than this.

Upvotes: 4

alexndm
alexndm

Reputation: 2929

see if this plugin will work http://fishpig.co.uk/wordpress-integration.html

Upvotes: 4

Related Questions