Погода в Боровом

Погода в Боровом
<?php if(function_exists(‘fetch_feed’)) {

include_once(ABSPATH . WPINC . ‘/feed.php’); // the file to rss feed generator
$feed = fetch_feed(‘http://rp5.kz/rss/141414/ru’); // specify the rss feed

$limit = $feed->get_item_quantity(7); // specify number of items
$items = $feed->get_items(0, $limit); // create an array of items

}
if ($limit == 0) echo ‘<div>The feed is either empty or unavailable.</div>’;
else foreach ($items as $item) : ?>

// The actual output
<h1><a href=»<?php echo $item->get_permalink(); ?>» alt=»<?php echo $item->get_title(); ?>»><!—?php echo $item—>get_title(); ?></a></h1>
<p><?php echo $item->get_date(‘j F Y @ g:i a’); ?></p>
<p><?php echo substr($item->get_description(), 0, 200); ?> …</p>

<?php endforeach; ?>