$title = ""; require_once 'top.html'; ?>
|
Travel News // http://www.telegraph.co.uk/newsfeed/rss/travel_main.xml - Telegraph Travel // http://www.nytimes.com/services/xml/rss/nyt/Travel.xml // include lastRSS library include './lastRSS.php'; // create lastRSS object $rss = new lastRSS; // setup transparent cache $rss->cache_dir = './cache'; $rss->cache_time = 12 * 3600; // one hour // load some RSS file if ($rs = $rss->get('http://www.nytimes.com/services/xml/rss/nyt/Travel.xml')) { foreach($rs['items'] as $w) { echo " "; echo $w['description']." "; //echo " ".date("m/d/Y", $w['pubDate'])." ";
}
}
else {
die ('Error: RSS file not found...');
}
/*
include 'xmlrpc.inc';
$login = "traveldir10";
$password = md5("habana");
$titles = array("764" => "New York Times", "3490" => "National Geographic", "5839" => "Times", "653"=>"TravelWeb");
$c = new xmlrpc_client("/RPC", "www.newsisfree.com", 80);
$trans = array_flip(get_html_translation_table(HTML_ENTITIES));
$k = 764;
$f = new xmlrpcmsg('hpe.getSource',
array(new xmlrpcval($login),
new xmlrpcval($password),
new xmlrpcval($k, 'int'),
new xmlrpcval("0", 'int'),
new xmlrpcval("1", 'int') )
);
$r = $c->send($f);
if($r == 0)
echo "";
$v = $r->value();
if (!$r->faultCode()) {
$data = xmlrpc_decode($v);
//echo "$u - $jj "; if (count($data['items'])) { foreach($data['items'] as $w) { echo " "; echo strtr($w['desc'], $trans)." "; echo " ".date("m/d/Y", $w['date'])." ";
}
}
}
else
print "";
*/
?>
|
TravelDir.net is a comprehensive directory of travel resources. Besides the usual travel services such as comparison of airplane ticket prices, checking of availability of seats in different classes in the aircrafts, reservation and online purchase on air tickets, checking availability and booking of accommodation in hotels and hostels worldwide, renting cars of all classes, information on vacations in the various holidays locations, last minute offers TravelDir.net includes thousands of links to travel sites worldwide and forum where passengers could share experience on their vacations and ask questions and get answers on various topics.
Recently Updated Sections Travel Reservations System - Air Tickets, Hotels, Car Rental require_once 'linkgroup1.html'; ?> |