3
1
Back

$this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
ID: " . $article['id']; } return $article; } if(ADD_IDS){ $article['content'] .= "

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

"; elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // only keep everything starting at the first elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Dinosaur Comics (alt.

New Pull Request