Hello All, I have aproblem pulling in the date for a feed from a Blogger website. I am using MagpieRSS, using: $date = $item['pubdate']; works fine for pulling in a date from a twitter feed and a wordPress feed but not working with a Blogger Feed, when I echo the string '$date' nothing happens. is there a different name for 'pubdate' with regard to Blogger? My code for Blogger is as follows: require_once('magpierss/rss_fetch.inc'); $url = 'http://ask-design.blogspot.com/feeds/posts/default'; $rss = fetch_rss( $url ); for ($i = 0; $i < 2; $i++) { $item = $rss->items[$i]; $title = $item['title']; $date = $item['pubdate']; $url = $item['link']; $desc = $item['atom_content']; if (strlen($desc) > 50) { $desc = substr($desc, 0, 40) . "..."; } echo "<b>$title</b><i>$date</i><br />$desc<a href=\"$url\" target=_blank>read more</a><br /><br />"; } PHP: Any help would be appeciated. Thanks.
Hello all. Noticed that no-one had a solution so for those who would like to know: Getting the date for a Blogger feed $date = $item['published']; NOT $date = $item['pubdate']; Cheery bye....