Zeile 34 | Zeile 34 |
---|
/** * Parses a feed with the specified filename (or URL) *
|
/** * Parses a feed with the specified filename (or URL) *
|
* @param string The path or URL of the feed
| * @param string $feed The path or URL of the feed
|
* @return boolean True if parsing was a success, false if failure */ function parse_feed($feed)
| * @return boolean True if parsing was a success, false if failure */ function parse_feed($feed)
|
Zeile 90 | Zeile 90 |
---|
$this->error = "unknown_feed_type"; return false; }
|
$this->error = "unknown_feed_type"; return false; }
|
| return true;
|
}
/** * Parses an XML structure in the format of an RSS feed *
|
}
/** * Parses an XML structure in the format of an RSS feed *
|
* @param array PHP XML parser structure
| * @param array $feed_contents PHP XML parser structure
|
* @return boolean true */ function parse_rss($feed_contents)
| * @return boolean true */ function parse_rss($feed_contents)
|
Zeile 196 | Zeile 198 |
---|
/** * Convert all array keys within an array to lowercase *
|
/** * Convert all array keys within an array to lowercase *
|
* @param array The array to be converted
| * @param array $array The array to be converted
|
* @return array The converted array */ function keys_to_lowercase($array)
| * @return array The converted array */ function keys_to_lowercase($array)
|
Zeile 220 | Zeile 222 |
---|
/** * Converts an RSS date stamp in to a unix timestamp *
|
/** * Converts an RSS date stamp in to a unix timestamp *
|
* @param string The RSS date
| * @param string $date The RSS date
|
* @return integer The unix timestamp (if successful), 0 if unsuccessful */ function get_rss_timestamp($date)
| * @return integer The unix timestamp (if successful), 0 if unsuccessful */ function get_rss_timestamp($date)
|