[ Index ]

PHP Cross Reference of MyBB 1.8.39

title

Body

[close]

/inc/ -> class_feedparser.php (summary)

(no description)

File Size: 243 lines (6 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FeedParser:: (4 methods):
  parse_feed()
  parse_rss()
  keys_to_lowercase()
  get_rss_timestamp()


Class: FeedParser  - X-Ref

MyBB 1.8
Copyright 2014 MyBB Group, All Rights Reserved

Website: http://www.mybb.com
License: http://www.mybb.com/about/license
parse_feed($feed)   X-Ref
Parses a feed with the specified filename (or URL)
param: string $feed The path or URL of the feed
return: boolean True if parsing was a success, false if failure

parse_rss($feed_contents)   X-Ref
Parses an XML structure in the format of an RSS feed
param: array $feed_contents PHP XML parser structure
return: boolean true

keys_to_lowercase($array)   X-Ref
Convert all array keys within an array to lowercase
param: array $array The array to be converted
return: array The converted array

get_rss_timestamp($date)   X-Ref
Converts an RSS date stamp in to a unix timestamp
param: string $date The RSS date
return: integer The unix timestamp (if successful), 0 if unsuccessful



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref