3
1
Back

$xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); // Girls with Slingshots * Three Panel Soul * Scenes From A Multiverse (to get alt tags textified. $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . "

"; } } return $article; } if(ADD_IDS){ $article['content'] .= "
ID: " . $img->getAttribute('title') . "
"; } } // Pain Train alt tag, Alice Grove bigger img Gunnerkrigg and cleanup of alt-tag-only sites .

New Pull Request