[ Index ]

PHP Cross Reference of MyBB 1.8.32

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)
return: boolean True if parsing was a success, false if failure
param: string $feed The path or URL of the feed

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

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

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



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