Class Zend_Feed

Description

Base Zend_Feed class, containing constants and the Zend_HttpClient instance accessor.

Located in /library/Zend/Feed.php (line 50)


	
			
Variable Summary
Method Summary
 array findFeeds (string $uri)
 Zend_Feed_Abstract import (string $uri)
 Zend_Feed_Abstract importFile (mixed $filename, string $uri)
 Zend_Feed_Abstract importString (string $string)
 void lookupNamespace (mixed $prefix)
 void registerNamespace (mixed $prefix, mixed $namespaceURI)
 void setHttpClient (Zend_HttpClient_Abstract $httpClient)
Variables
Zend_HttpClient_Abstract $_httpClient = null (line 58)

HTTP client object to use for retrieving feeds

  • static:
  • access: protected
array $_namespaces = array(
'osrss' => 'http://a9.com/-/spec/opensearchrss/1.0/',
'atom' => 'http://www.w3.org/2005/Atom',
'rss' => 'http://blogs.law.harvard.edu/tech/rss',
)
(line 63)
  • static:
  • access: protected
Methods
findFeeds (line 200)

Attempts to find feeds at $uri referenced by <link ... /> tags. Returns an array of the feeds referenced at $uri.

  • static:
  • access: public
  • throws: Zend_Feed_Exception
  • todo: Allow findFeeds() to follow one, but only one, code 302.
array findFeeds (string $uri)
  • string $uri
getHttpClient (line 87)

Gets the HTTP client object.

  • static:
  • access: public
Zend_HttpClient_Abstract getHttpClient ()
import (line 121)

Imports a feed located at $uri.

  • static:
  • access: public
  • throws: Zend_Feed_Exception
Zend_Feed_Abstract import (string $uri)
  • string $uri
importFile (line 178)

Imports a feed from a file located at $filename.

  • static:
  • access: public
  • throws: Zend_Feed_Exception
Zend_Feed_Abstract importFile (mixed $filename, string $uri)
  • string $uri
importString (line 141)

Imports a feed represented by $string.

  • static:
  • access: public
  • throws: Zend_Feed_Exception
Zend_Feed_Abstract importString (string $string)
  • string $string
lookupNamespace (line 99)
  • static:
  • access: public
void lookupNamespace (mixed $prefix)
registerNamespace (line 108)
  • static:
  • access: public
void registerNamespace (mixed $prefix, mixed $namespaceURI)
setHttpClient (line 76)

Sets the HTTP client object to use for retrieving the feeds. If none is set, the default Zend_HttpClient will be used.

  • static:
  • access: public
void setHttpClient (Zend_HttpClient_Abstract $httpClient)

Documentation generated on Wed, 08 Mar 2006 04:52:15 -0800 by phpDocumentor 1.3.0RC4