// global $all;
// global $from;
// global $items;
// global $n;
// global $query1;
// global $query;
// global $some;
// global $step;
// global $to;
// global $toc;
// global $xml;
function show($x,$y) {
echo("
$x = [$y]
");
}
function init() {
global $items;
global $xml;
global $step;
global $to;
global $from;
$xml=simplexml_load_file($items);
$step=$to=100;
$from=0;
}
function one($str) {
global $xml;
$tmp=$xml->xpath($str);
return $tmp[0];
}
function items() {
$i=0;
$odd=0;
global $n;
global $toc;
global $some;
global $xml;
$toc="";
global $key;
if ($n > 1) { echo("
(print *". ucwords($key) . "*)
"); }
foreach ($some as $one) {
$i=$i+1;
$seeAlso="This is a ";
$sep="";
$cats= $xml->xpath("/rss/channel/item[id='$one->id']/category");
foreach ($cats as $key1=>$val) {
$seeAlso .="$sep ". ucwords($val) . "";
$sep=" | ";
}
printf("
Tip: It can take 1 to 3 weeks for the Google spiders
to find new content at this site. If you think what you seek has been added recently, try
our XML-based search: