This object is used to parse OPML

uses the exceptions handler
uses xml entities and M$ bad chars conversion
uses get the remote opml file
uses translate errors
package OWR
subpackage OPML

 Methods

Returns the stream(s)

export(string $stream) : \OWR\OPML\the
access public
author Pierre-Alain Mignot

Parameters

$stream

string

the optionnal stream to return

Returns

\OWR\OPML\thedesired stream(s)

Launches the parse of the opml file found at $uri

parse(string $opml, boolean $isUploaded) : boolean
access public
author Pierre-Alain Mignot

Parameters

$opml

string

the uri of the OPML to parse

$isUploaded

boolean

is the uri a path to an uploaded file ?

Returns

booleantrue on success

Gets the attributes of the current node

_parseAttributes() : boolean
access protected
author Pierre-Alain Mignot

Returns

booleantrue on success

Gets the contents of the current node

_parseNode() 
access protected
author Pierre-Alain Mignot

 Properties

 

the name of the current folder if any

$_folder : string
access protected
 

number of streams in OPML

$_itemDepth : int
access protected
 

the name of the current node

$_localName : string
access protected
 

the name of the parent node

$_parentLocalName : string
access protected
 

list of streams in parsed OPML

$_streams : array
access protected
 

OPML structure

$_trees : array
access protected