Date not displaying in RSS feed using Magpie
-
I finally got my page to display my WordPress posts but the date of the post doesn’t display. Any ideas? Here’s the page:
http://www.viriditysoftware.com/index_rss.php
And here’s the php:
<?php include('magpie/rss_fetch.inc');error_reporting(E_ERROR);
$rss = fetch_rss('http://viriditysoftware.wordpress.com/feed/atom/');
if ($rss) {
$items = array_slice($rss->items, 0, 5);
foreach ($items as $item )
{ echo '<span style="list-style:none; line-height:9px">- <span class="date">'.$item['title'].' '.$item['author'].'
<img src="images/blogspacer.gif" height="9" width="230" border="0"></span>'; }
}
else
{
echo '<h2>Error:</h2><p>'.magpie_error().'</p>';
}
// Restore original error reporting value
@ini_restore('error_reporting');
?> -
Sorry but you are in the wrong forum https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1
-
-
I think the PHP line at the top threw us and the fact that the first link isn’t your blog here.
We cannot use PHP script, javascript, flash, forms or iframes here due to security concerns, so we know virtually nothing about it.
-
The issue is with the external site or with Magpie. Maybe you can find help at forums for Magpie?
- The topic ‘Date not displaying in RSS feed using Magpie’ is closed to new replies.