3
1
Back

$img){ foreach ($imgs as $img) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } return $article; } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // Two Lumps elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); .

New Pull Request