$szTopics = $_GET['terms']; // keywords to look up
$szSources = $_GET['src']; // keywords to look up
$docurl = $_SERVER['REQUEST_URI'];
if ($szTopics == "") {
$szTopics = $docurl;
if (substr($szTopics,0,1) == "/") { $szTopics = substr($szTopics,1); }
$dotpos = strpos($szTopics,".");
$szTopics = substr($szTopics,0,$dotpos);
}
$szSources = strtolower($szSources); // sources to search
$rgszTopics = preg_split ("/[\- ]/", $szTopics); // turn keywords into array
if ($rgszTopics[0] == "colleges") { $rgszTopics[0] = "college"; }
if ($rgszTopics[0] == "hospitals") { $rgszTopics[0] = "hospital"; }
if ($rgszTopics[1] == "homes") { $rgszTopics[1] = "home"; }
$szTopicsDisplay = implode (" ", $rgszTopics); // keywords with spaces for display
$szTopicsDisplay = ucwords($szTopicsDisplay); // Upper first letters
if ($szTopicsDisplay == "") { $szTopicsDisplay = "Latest"; }
$szTopicsCarp = strtolower(implode ("|", $rgszTopics)); // keywords w/ | for Carp
$szTopicsFilename= strtolower(implode ("_", $rgszTopics)); // keywords w/ _ for cache filename
$szTopicsSearch = strtolower(implode ("+", $rgszTopics)); // keywords w/ + for searches
// collections that pre-filter (i.e. search results)
//
$rgSrcDefault = array (
"api.bing.com/rss.aspx?Source=News&Market=en-US&Version=2.0&Query=$szTopicsSearch",
"search.msn.com/results.aspx?format=rss&q=$szTopicsSearch",
// "search.news.yahoo.com/usns/ynsearch/categories/47/index.html?p=\"$szTopicsSearch\"",
// "www.hotnews360.com/cgi-bin/googlit.pl?q=$szTopicsSearch",
// "www.daypop.com/search?q=\"$szTopicsSearch\"&s=1&c=10&t=p&o=rss",
// "www.findforward.com/?q=$szTopicsSearch&t=get-rss",
);
$rgSrcSearch = array (
"www.findforward.com/?q=$szTopicsSearch&t=get-rss",
);
$rgSrcSearchLeo = array (
"www.findforward.com/?q=site:ask-leo.com+$szTopicsSearch&t=get-rss",
);
// collections that we filter on fetch
//
$rgSrcMS = array (
"rssnewsapps.ziffdavis.com/msw.xml",
"www.nytimes.com/services/xml/rss/userland/Technology.xml",
"www.microsite.reuters.com/rss/technologyNews",
"slashdot.org/slashdot.rss",
"www.theregister.co.uk/tonys/slashdot.rdf",
"arstechnica.com/etc/rdf/ars.rdf",
"rssnewsapps.ziffdavis.com/tech.xml",
"www.infoworld.com/rss/news.xml",
"kbalertz.com/rss/winxp.xml",
"kbalertz.com/rss/ie600.xml",
"www.microsoft.com/WindowsXP/expertzone/expertzone.xml",
);
$rgSrcTech = array (
"www.nytimes.com/services/xml/rss/userland/Technology.xml",
"www.microsite.reuters.com/rss/technologyNews",
"slashdot.org/slashdot.rss",
"www.theregister.co.uk/tonys/slashdot.rdf",
"arstechnica.com/etc/rdf/ars.rdf",
"rssnewsapps.ziffdavis.com/tech.xml",
"www.infoworld.com/rss/news.xml",
"www.bigblueball.com/rss.xml",
);
$szSourceDisplay = "news";
$rgSourceFeeds = $rgSrcDefault;
$fFilter = 0;
if ($szSources == "") { $szSources = "news"; }
$szTopicsDisplay = "News and Links for " . $szTopicsDisplay ;
?>
require_once "/var/www/carp/carp.php";
CarpLoadPlugin('filter.php');
?>
Nearby Cities
Distance from NORTH BERGEN NJ to GUTTENBERG NJ: 1.0 miles SE
Distance from NORTH BERGEN NJ to WEST NEW YORK NJ: 1.1 miles S
Distance from NORTH BERGEN NJ to CLIFFSIDE PARK NJ: 1.7 miles NE
Distance from NORTH BERGEN NJ to UNION CITY NJ: 1.8 miles SW
Distance from NORTH BERGEN NJ to RIDGEFIELD NJ: 2.1 miles N
Distance from NORTH BERGEN NJ to EDGEWATER NJ: 2.5 miles NE
Distance from NORTH BERGEN NJ to SECAUCUS NJ: 2.5 miles W
Distance from NORTH BERGEN NJ to PALISADES PARK NJ: 3.1 miles N
Distance from NORTH BERGEN NJ to RIDGEFIELD PARK NJ: 3.7 miles N
Distance from NORTH BERGEN NJ to LITTLE FERRY NJ: 3.7 miles NW
Copyright ©
All rights reserved