3
1
Back

With CC0 1.0. ------------------------------------------------------------------------------- Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Based on https://github.com/oguzbilgic/fpd, which has broken alt tags textified. } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } elseif (strpos($title_text, $alt_text) !== false){ } elseif (strpos($alt_text, $title_text) !== False) { if ($rel[0] == '#' || $rel[0] == '?') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "

" . $entry->textContent . "

New Pull Request