Labels Milestones
BackRabin Julien, Volker Nauruhn Permission is hereby granted, free of charge, to any person obtaining a copy MIT License (MIT) Copyright (c) 2018-present, iamkun Permission is hereby granted, free of charge, to any person obtaining Copyright (c) 2013 Mitchell Hashimoto Permission is hereby granted, free of charge, to any person obtaining a copy Copyright (c) 2016 The Gitea Authors Permission is hereby granted, free of charge, to any person obtaining a copy of SOFTWARE. Partial of the License, but not some kind of referer check which prevents fetch_file_contents() from retrieving the image. // $article['content'] = $doc->saveHTML(); elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Three Panel Soul.
New Pull Request