3
1
Back

($img->getAttribute('title')) { $article['content'] .= "
Alt: $alt_text
"; } } if(ADD_IDS){ $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $img_tag = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

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

"; // Wondermark (alt tag already present) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } if(ADD_IDS){ $article['content'] .

New Pull Request