OUTPUT_HTML("<DIV style=\"padding-left: 10px; padding-right: 10px\">");
$rdf = new fase4_rdf;
$rdf->use_dynamic_display(false);
-$rdf->set_CacheDir(PATH."cache/");
+$rdf->set_CacheDir(PATH."inc/cache/");
$rdf->set_salt(SITE_KEY);
+$rdf->set_max_item(10);
$rdf->set_Options(
array(
"textinput" => "hidden",
"reflink" => "/ref.php?refid=",
)
);
-$rdf->set_max_item(10);
+
+// Use proxy?
+if ((!empty($_CONFIG['proxy_host'])) && (!empty($_CONFIG['proxy_port']))) {
+ // Set proxy data
+ $rdf->set_proxy($_CONFIG['proxy_host'], $_CONFIG['proxy_port']);
+
+ // Use auth?
+ if (!empty($_CONFIG['proxy_username'])) {
+ // Set auth data
+ $rdf->set_proxy_auth($_CONFIG['proxy_username'], $_CONFIG['proxy_password']);
+ } // END - if
+} // END - if
+
$rdf->parse_RDF("http://www.wds66.com/rss.xml");
$rdf->finish();
-$rdf->clear_cache();
+// DISABLED: $rdf->clear_cache();
OUTPUT_HTML("</DIV>");
//