link = $rss; $this->magpie = $rss; $this->url = $url; $this->id = -1; $this->settings = array( 'unfamiliar category' => 'default', ); } /* function MagpieMockLink::MagpieMockLink () */ function poll ($crash_ts = NULL) { // Do nothing but update copy of feed $this->magpie = fetch_rss($this->url); $this->link = $this->magpie; } /* function MagpieMockLink::poll () */ function uri () { return $this->url; } /* function MagpieMockLink::uri() */ function homepage () { return (is_object($this->magpie) ? $this->magpie->channel['link'] : null); } /* function MagpieMockLink::homepage () */ } /* class MagpieMockLink */