Class RssParser

Description

RSS/ATOM Parser

This class uses the MagpieRSS Parser by Kellan Elliott-McCrea <kellan@protest.net>. MagpieRSS is compatible with RSS 0.9 through RSS 1.0. Also parses RSS 1.0's modules, RSS 2.0, and Atom (with a few exceptions). Magpie is distributed under the GPL license. (http://magpierss.sourceforge.net/)

  • access: public
  • version: $Id: RssParser.html,v 1.9 2006/06/26 12:34:22 tgauss Exp $
  • author: Tobias Gauß <tobias.gauss@web.de>

Located in /syntax/RssParser.php (line 23)

Object
   |
   --RssParser
Variable Summary
mixed $type
Method Summary
void channel (mixed &$model, mixed &$rss, mixed &$node, mixed &$nmsp,  $type)
void dc (mixed &$node, mixed &$model, mixed &$dc)
parsed generateModel (mixed $url)
void image (mixed &$model, mixed &$rss, mixed &$bnOrg, mixed &$nmsp)
void items (mixed &$model, mixed &$rss, mixed &$bnOrg, mixed &$nmsp)
void sy (mixed &$node, mixed &$model, mixed &$sy)
Variables
mixed $type (line 24)
Methods
channel (line 211)

Parses the rss channel/ atom feed.

void channel (mixed &$model, mixed &$rss, mixed &$node, mixed &$nmsp,  $type)
  • $type
dc (line 172)

Adds the dc namespace.

void dc (mixed &$node, mixed &$model, mixed &$dc)
generateModel (line 32)

Main function

  • return: model
parsed generateModel (mixed $url)
image (line 77)

Parses the image if there is one.

void image (mixed &$model, mixed &$rss, mixed &$bnOrg, mixed &$nmsp)
items (line 117)

Parses the rss items/ atom entries.

void items (mixed &$model, mixed &$rss, mixed &$bnOrg, mixed &$nmsp)
sy (line 190)

Adds the sy namespace.

void sy (mixed &$node, mixed &$model, mixed &$sy)

Inherited Methods

Inherited From Object

Object::toString()

Documentation generated on Mon, 26 Jun 2006 14:26:12 +0200 by phpDocumentor 1.3.0RC6