From 99b3127e70ed492e7c2e9a07967680c516b50227 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sun, 24 Feb 2008 08:19:24 +0000 Subject: [PATCH] --- code/RSSWidget.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/code/RSSWidget.php b/code/RSSWidget.php index b17e97d..56a2809 100644 --- a/code/RSSWidget.php +++ b/code/RSSWidget.php @@ -23,14 +23,10 @@ class RSSWidget extends Widget { ); } - function Title() { - $this->feed = new SimplePie($this->RssUrl); - $this->feed->init(); - return ($this->CustomTitle) ? $this->CustomTitle : $this->feed->get_feed_title(); - } - function FeedItems() { $output = new DataObjectSet(); + $this->feed = new SimplePie($this->RssUrl); + $this->feed->init(); if($items = $this->feed->get_items(0, $this->NumberToShow)) { foreach($items as $item) { $output->push(new ArrayData(array(