magento调用wordpress中的最新文章,最简单的方法

<?php
$channel = new Zend_Feed_Rss($this->getBaseUrl().’blog/?feed=rss2′);
?>
<div> <div> <h2><?php echo $this->__(‘Latest Articles form the Blog’) ?></h2> </div>

<div> <ol id=’graybox-latest-news’> <?php foreach ($channel as $item):?>

<li><a href='<?php echo $item->link; ?>’><?php echo $item->title; ?></a></li>

<?php endforeach; ?> </ol>

</div> </div>