Social Computing Lab : HP Labs : Latest Results http://www.hpl.hp.com/research/scl/ Recent papers from HP Labs' Social Computing Lab en-us $pubDate $pubDate "; $lines = file($file); $l = 0; $c = 0; while ($l < count($lines) && $c < 10) { print $lines[$l]; if (preg_match("/\<\/item\>/", $lines[$l])) { $c++; } $l++; } print ""; print ""; ?>