original_string: public function getPageFeeds()
      {
          if (!$this->parser) {
              return;
          }
  
          $nodes = $this->parser->find('link');
  
          $feeds = array();
  
          $types = array(
              'application/rss+xml',
              'application/atom+xml',
              'text/xml',
          );
  
          foreach ($nodes as $node) {
              $type = strtolower($node->getAttribute('type'));
  
              if (in_array($type, $types)) {
                  $feeds[] = $node->getAttribute('href');
              }
          }
  
          return $feeds;
      }
code: public function getPageFeeds()
      {
          if (!$this->parser) {
              return;
          }
  
          $nodes = $this->parser->find('link');
  
          $feeds = array();
  
          $types = array(
              'application/rss+xml',
              'application/atom+xml',
              'text/xml',
          );
  
          foreach ($nodes as $node) {
              $type = strtolower($node->getAttribute('type'));
  
              if (in_array($type, $types)) {
                  $feeds[] = $node->getAttribute('href');
              }
          }
  
          return $feeds;
      }
code_tokens: public function getPageFeeds ( ) { if ( ! $ this -> parser ) { return ; } $ nodes = $ this -> parser -> find ( 'link' ) ; $ feeds = array ( ) ; $ types = array ( 'application/rss+xml' , 'application/atom+xml' , 'text/xml' , ) ; foreach ( $ nodes as $ node ) { $ type = strtolower ( $ node -> getAttribute ( 'type' ) ) ; if ( in_array ( $ type , $ types ) ) { $ feeds [ ] = $ node -> getAttribute ( 'href' ) ; } } return $ feeds ; }
docstring: Get rss feeds urls
  
  @return array feeds
docstring_tokens: Get rss feeds urls