dolibarr 21.0.0-alpha
rssparser.class.php File Reference

File of class to parse RSS feeds. More...

Go to the source code of this file.

Classes

class  RssParser
 Class to parse RSS files. More...
 

Functions

 rss_map_attrs ($k, $v)
 Function to convert an XML object into an array.
 
 xml2php ($xml)
 Function to convert an XML object into an array.
 

Detailed Description

File of class to parse RSS feeds.

Definition in file rssparser.class.php.

Function Documentation

◆ rss_map_attrs()

rss_map_attrs ( $k,
$v )

Function to convert an XML object into an array.

Parameters
string$kKey
string$vValue
Returns
string

Definition at line 910 of file rssparser.class.php.

◆ xml2php()

xml2php ( $xml)

Function to convert an XML object into an array.

Parameters
SimpleXMLElement$xmlXml
Returns
array<string,mixed|mixed[]>|string

Definition at line 921 of file rssparser.class.php.

References xml2php().

Referenced by RssParser\parser(), and xml2php().