3
1
Back

To handle both title and alt tags textified. } $article = $this->alt_textify($article); $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } } // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions elseif (strpos($article["link.

New Pull Request