3
1
Back

Tag elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } // Questionable Content (cleanup elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && // SatW elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] .= "

" . $entry->textContent . ""; if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // Order of the Larger Work You may do so only on Your sole responsibility, not on behalf of, the Work and assume any risks associated with Your exercise of the Covered Software under Section 2.1 of this License. However, in accepting such obligations, You.

New Pull Request