Experts Exchange, the #1 IT Professional Collaboration Network on ... Pregnancy & Parenting: For Today's Mom - iVillage Experts.com - The Premiere Online Experts Directory Expert Witness Directory - ExpertLaw Experts Witnesses Schoolzone - the school support site WebLog Expert - Powerful log analyzer Expert, daar word je wijzer van! Expert Consensus Guideline Series Jess, the Rule Engine for the Java Platform The Expert Network - National Markets Environmental Expert.com. Environmental Business Information Center.
rss_url = $url;
$this->num_to_show = $numtoshow;
$this->do_update = $update;
$this->my_html = preg_replace("/(#{.*?):(.*?})/", "\\1__\\2", $html); //xx:xx tag workaround
$this->content = $this->fetch_feed();
$this->parse_feed();
$this->show();
}
/* string */
function fetch_feed()
{
$url_parts = parse_url($this->rss_url);
$filename = $url_parts['host'] . str_replace("/", ",", $url_parts['path']) . "_" . @$url_parts['query'];
if(file_exists($this->data_directory . "/$filename")) {
$last = filemtime($this->data_directory . "/$filename");
if(time() - $last > $this->update_interval * 60 || $this->update_interval == 0) {
$update = 1;
}
} else {
$create= 1;
}
if($create == 1 || ($this->do_update == TRUE && $update == 1)) {
$fp = @fsockopen($url_parts['host'], 80, $errno, $errstr, 5);
if (!$fp) {
echo "Couldn't open rss feed {$this->feed_url} in {$_SERVER['PHP_SELF']}
Free online "ask an expert" site for computer questions.
A free comprehensive site offering salary, benefits, and cost-of-living information
for 30000 positions in over 45000 locations.
Forensic, Technical, Investigative
Volunteer experts answer all your questions.
Contains articles, reviews, and advice.
Offers information for those living, moving, or returning home from extended
stays abroad.
Searchable directory of legal consultants and experts, with selected articles.
AHP and other decision support software.
Directory of expert witnesses, litigation support services, and private investigators,
also providing legal information for experts and attorneys.
Nicely organized index of sites where you can ask an expert.
Resource for schools and all curriculum areas, with well edited weblinks.
Web server log analyzer. Includes usual site visitor info reports including paths
through the site. Flexible filtering system. There is a freeware Lite version.
Verkoopt huishoudelijke apparaten, audio apparatuur, televisies, video recorders,
dvd spelers, digitale camera's en (mobiele) telefoons.
Guides, tips articles and a forum about mortgages, credit cards and loans from
Martin Lewis.
Ask an expert at this knowledge exchange where experts answer one's questions.
Features discussions on diverse topics.
Psychiatric treatment guidelines for the most difficult questions facing clinicians.
Expert system software house in construction and execution of Bayesian Belief
Networks (also known as Bayesian Networks, Belief Networks, ...
A Java Expert System Shell and scripting environment. [Commercial]
Get expert advice from one of our many local professionals across the United States.
Some experts may charge a fee.
Environmental site with large up-to-date section on air pollution.
\n";
return;
}
fputs($fp, "GET " . $url_parts['path'] . "?" . @$url_parts['query'] . " HTTP/1.0\r\n"
."Host: " . $url_parts['host'] . "\r\n"
."User-Agent: Drew's RSS Reader 0.1\r\n"
."Connection: Close\r\n\r\n");
while(!feof($fp)) {
$rss_data .= @fgets($fp, 1024);
}
list(, $rss_data) = explode("\r\n\r\n", $rss_data, 2);
$output = @fopen($this->data_directory . "/$filename", "w+");
if(!$output) {
return $rss_data;
} else {
flock($output, LOCK_EX);
fputs($output, $rss_data);
flock($output, LOCK_UN);
fclose($output);
}
} //update
return file_get_contents($this->data_directory . "/$filename");
}
/* void */
function parse_feed()
{
preg_match("/
\n";
}
for($i = 0; $i < sizeof($items[0]); ++$i) {
preg_match_all("/(?:<([\w:]*)[^>]*>(?:)?<\/\\1>)+?/si", preg_replace("/
\n";
}
}
function show_user_html()
{
$show = (sizeof($this->rss) > $this->num_to_show ? $this->num_to_show : sizeof($this->rss));
for($i = 0; $i < $show; ++$i) {
extract($this->rss[$i]);
$item = preg_replace("/#\{([^}]+)}/e", "$\\1", $this->my_html);
echo $item;
}
}
} // end class
$url = "http://www.justinpfister.com/gnewsfeed.php?q=Expert&lang=en&ned=us";
$show = 3;
$html = "#{title}
#{description}
";
$update = 1;
$rss = new rss_parser($url, $show, $html, $update);
$url = "http://search.news.yahoo.com/usns/ynsearch/categories/47/index.html?p=Expert";
$show = 3;
$html = "#{title}
#{description}
";
$update = 1;
$rss = new rss_parser($url, $show, $html, $update);
?>