Projet

Général

Profil

Révision ed9a13f1

Ajouté par Assos Assos il y a presque 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/feeds/libraries/opml_parser.inc
17 17
function opml_parser_parse($raw) {
18 18
  $feeds = $items = array();
19 19
  $xml = @ new SimpleXMLElement($raw);
20
  $feeds['title'] = (string)current($xml->xpath('//head/title'));
20
  $feeds['title'] = (string) current($xml->xpath('//head/title'));
21 21

  
22 22
  // @todo Make xpath case insensitive.
23 23
  $outlines = $xml->xpath('//outline[@xmlUrl]');

Formats disponibles : Unified diff