3
1
Back

Stick elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get blog entry $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Poly In Pictures elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { if ($img->getAttribute('title')) { $article['content'] .= "
" . $msg . ""; } } foreach($imgs as $img){ if ($img->getAttribute('title')) { // only keep everything starting.

New Pull Request