You are here

function feeds_include_simplepie in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 feeds.module \feeds_include_simplepie()

Includes the simplepie library.

Related topics

3 calls to feeds_include_simplepie()
FeedsSimplePieEnclosure::__wakeup in plugins/FeedsSimplePieParser.inc
Unserialization helper.
FeedsSimplePieParser::parse in plugins/FeedsSimplePieParser.inc
Implements FeedsParser::parse().
FeedsSyndicationParserTestCase::test in tests/feeds_parser_syndication.test
Run tests.

File

./feeds.module, line 1420
Feeds - basic API functions and hook implementations.

Code

function feeds_include_simplepie() {
  $files = array(
    'autoloader.php',
    'simplepie.mini.php',
    'simplepie.compiled.php',
    'simplepie.inc',
  );
  foreach ($files as $file) {
    if (feeds_include_library($file, 'simplepie')) {
      return TRUE;
    }
  }
  return FALSE;
}