3
1
Back

$bread); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); } } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Camp Weedonwantcha elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->textContent . "

"; } } Invisible Bread, Softer World.

New Pull Request