3
1
Back

Sep 17 00:00:00 2001 Subject: [PATCH] Add splits and labels to get what game it's about $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { $img = $matches[1]; } } return $article; } function api_version() { return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; $n > 0; $abs = preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisiblebread has no bread elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // SBMC // SBMC elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $doc->saveHTML(); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && $alt_text != $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'comics')]", $article); } // Joy of Tech elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE.

New Pull Request