XML_RSS::getChannelInfo

XML_RSS::getChannelInfo – Get general information about current channel

Synopsis

require_once "XML/RSS.php";

array XML_RSS::getChannelInfo ( )

Description

Get general information about current channel. This function returns an array containing the information that has been extracted from the <channel>-tag while parsing the RSS document.

Return value

array - an array of strings. The keys of the array are

  • 'title' - name of the channel

  • 'link' - URL to the channel site

  • 'description' - description of the channel

Note

This function can not be called statically.