Overview

Packages

  • Feed

Classes

  • Horde_Feed
  • Horde_Feed_Atom
  • Horde_Feed_Base
  • Horde_Feed_Blogroll
  • Horde_Feed_Entry_Atom
  • Horde_Feed_Entry_Base
  • Horde_Feed_Entry_Blogroll
  • Horde_Feed_Entry_Rss
  • Horde_Feed_Exception
  • Horde_Feed_Rss
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Feed

Package: Feed
Category: Horde
License: BSD
Author: Chuck Hagenbuch chuck@horde.org
Located at Horde/Feed.php
Methods summary
public static Horde_Feed_Base
# create( DOMDocument $doc, mixed $uri = null )

Create a Feed object based on a DOMDocument.

Create a Feed object based on a DOMDocument.

Parameters

$doc
The DOMDocument object to import.
$uri

Returns

Horde_Feed_Base
The feed object imported from $doc

Throws

Horde_Feed_Exception
public static Horde_Feed_Base
# read( string $string, string $uri = null )

Reads a feed represented by $string.

Reads a feed represented by $string.

Parameters

$string
The XML content of the feed.
$uri
The feed's URI location, if known.

Returns

Horde_Feed_Base

Throws

Horde_Feed_Exception
public static Horde_Feed_Base
# readUri( string $uri, Horde_Http_Client $httpclient = null )

Read a feed located at $uri

Read a feed located at $uri

Parameters

$uri
The URI to fetch the feed from.
$httpclient
The HTTP client to use.

Returns

Horde_Feed_Base

Throws

Horde_Feed_Exception
public static Horde_Feed_Base
# readFile( string $filename )

Read a feed from $filename

Read a feed from $filename

Parameters

$filename
<p>The location of the feed file on an accessible filesystem or through an available stream wrapper.</p>

Returns

Horde_Feed_Base

Throws

Horde_Feed_Exception
API documentation generated by ApiGen