3
1
Back

//doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. } elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } if(ADD_IDS){ $article['content'] .= $aftercomic.

New Pull Request