3
1
Back

From ec89d624dcbabc43243d2dcb7078e4434becb7c8 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Assorted updates elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // And get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "

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

"; } } // Camp Weedonwantcha foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; } // Three Panel Soul elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach.

New Pull Request