[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> class_feedparser.php (summary)

(no description)

File Size: 234 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 inc/class_xml.php

Defines 1 class

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


Class: FeedParser  - X-Ref

MyBB 1.6
Copyright 2010 MyBB Group, All Rights Reserved

Website: http://mybb.com
License: http://mybb.com/eula.html

$Id: class_feedparser.php 5828 2012-05-08 16:06:16Z Tomm $
parse_feed($feed)   X-Ref
Parses a feed with the specified filename (or URL)

param: string 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 PHP XML parser structure
return: boolean true

keys_to_lowercase($array)   X-Ref
Convert all array keys within an array to lowercase

param: 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 The RSS date
return: integer The unix timestamp (if successful), 0 if unsuccessful



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1