You are here

function feeds_include_simplepie in Feeds 8.2

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

Includes the simplepie library.

Related topics

2 calls to feeds_include_simplepie()
FeedsSimplePieEnclosure::__wakeup in lib/Drupal/feeds/FeedsSimplePieEnclosure.php
Unserialization helper.
FeedsSimplePieParser::parse in lib/Drupal/feeds/Plugin/feeds/parser/FeedsSimplePieParser.php
Implements FeedsParser::parse().

File

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

Code

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