Esempio n. 1
0
                                            $rssArray[$curRSS] = array();
                                        }
                                        $rssArray[$curRSS][] = rawurldecode($parts[1]);
                                    }
                                }
                            }
                        }
                    }
                }
            }
            foreach ($rssArray as $hash => $urls) {
                $rss = new rRSS();
                $rss->hash = $hash;
                if ($mngr->cache->get($rss)) {
                    foreach ($urls as $url) {
                        $mngr->getTorrents($rss, $url, $isStart, $isAddPath, $dir, $lbl, null, null, false);
                        if (WAIT_AFTER_LOADING) {
                            sleep(WAIT_AFTER_LOADING);
                        }
                    }
                }
            }
            $mngr->saveHistory();
        }
        break;
}
if ($val === null) {
    $val = $mngr->get();
    $errorsReported = true;
}
if ($dataType == "text/xml") {