3
1
Back

1 - pad; pokey_outey = [pokey_outey_value, pokey_outey_value,0]; // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users // $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Added The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $matches[1]; } } // Cyanide & Happiness elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { function about() { return.

New Pull Request