3
1
Back

Stops working after a few comics; standardized appending alt/title text //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "

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

"; // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // $article['content'] = $matches[1]; } } Clean up code formatting; added a few mm further from the ages 2bd01a1ff2d30ca3cff647bbf3b80645437cc07c start d9153c70802a10d2fe554f80f1a497b409aac630 2d3c489f2acf0f8bdc9cf0fe8c2346d4d07472be 4675f71e05fc19d3608ee6e5061bbe79ae432fb7 panel(width); // waves out } // Three Panel Soul elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); .

New Pull Request