' ?> <? echo $board ?> board http://www.bgu.ac.il/physics/BOARDS/.html RSS feed from the bgu physics board. Default board is phys graduates. To choose different board, for example phys students, use /?board=phys_students .The available boards are phys_seminars, phys-students, phys-graduates, phys-board . he-il http://blogs.law.harvard.edu/tech/rss Amir Fruchtman fruchtma@bgu.ac.il /s", $content, $mmm ); for ($i = 0, $cnt = count($mmm[1]); $i < $cnt; $i++) { $nurl = $base . $mmm[1][$cnt-$i-1]; $ncontent = file_get_contents($nurl); preg_match('/

(.*?)<\/H1>.*?(.*?)<\/B>.*?(.*?)<\/I>.*?(.*?)/s', $ncontent, $nmmm ); $title = $nmmm[1]; $author = $nmmm[2]; $date = $nmmm[3]; $msg = $nmmm[4]; $format="%a %h %e %H:%M:%S %Z %Y"; $dparser = "/(\w{3}) (\w{3}) ?(\d{1,2}) (\d\d:\d\d:\d\d) (\w{3}) (\d{4})/s"; preg_match($dparser,$date,$nmn); #sprintf("%1, %2 %3 %4 %5 %6",$nmn[1],$nmn[3],$nmn[2],$nmn[6],$nmn[4],$nmn[5]); $date = $nmn[1].", ".$nmn[3]." ".$nmn[2]." ".$nmn[6]." ".$nmn[4]." ".$nmn[5]; $date = $nmn[1].", ".$nmn[3]." ".$nmn[2]." ".$nmn[6]." ".$nmn[4]." EST"; echo ''; echo "$title"; echo "$nurl"; echo "$nurl"; echo "".htmlentities("$author$msg", ENT_QUOTES).""; echo "$date"; echo ""; } ?>