3
1
Back

Entry $article['content'] .= "

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

"; } } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags), Dinosaur Comics alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks) Invisible Bread, Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "$orig_content"; // Awkward Zombie $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $article['id']; } return $result_html; } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } // CTRL+ALT+DEL elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks) Invisible Bread, Softer World (alt.

New Pull Request