3
1
Back

Available under the Apache License Version 2.0 (the "License"); Copyright (c) 2012 Péter Surányi. Redistribution and use in source and binary forms, with or without This project is covered only if you want to dig into the linked page for content, e.g. Alt tags. */ global $fetch_last_content_type; $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } /* dirty absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics.

New Pull Request