public static function import($uri, $client = null, $className = 'Zend_Gdata_Feed') { $app = new Zend_Gdata($client); $requestData = $app->decodeRequest('GET', $uri); $response = $app->performHttpRequest($requestData['method'], $requestData['url']); $feedContent = $response->getBody(); $feed = self::importString($feedContent, $className); if ($client != null) { $feed->setHttpClient($client); } return $feed; }