summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-16 16:11:58 +0400
committerAndrew Dolgov <[email protected]>2013-03-16 16:11:58 +0400
commit8349a32e751e009ba368b4dc6bc900b08b2954d3 (patch)
tree43543e00f018a67df6b0fcf3ff738e4faddf3bf6 /include/rssfuncs.php
parentcc38c8e5497a8a86c3cc23f4f9e279a412c57727 (diff)
remove cache_content remnants
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index feffe0019..156be0b12 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -1268,27 +1268,6 @@
}
}
- function cache_content($link, $url, $login, $pass) {
-
- $content = fetch_file_contents($url, $login, $pass);
-
- if ($content) {
- $doc = new DOMDocument();
- @$doc->loadHTML($content);
- $xpath = new DOMXPath($doc);
-
- $node = $doc->getElementsByTagName('body')->item(0);
-
- if ($node) {
- $content = $doc->saveXML($node);
-
- return $content;
- }
- }
-
- return "";
- }
-
function make_guid_from_title($title) {
return preg_replace("/[ \"\',.:;]/", "-",
mb_strtolower(strip_tags($title), 'utf-8'));