Thanks for explaining why I don't see anything - I should have really figured that out, but then again I've been staring at this screen for hours.
I did say that the title tags were being used arbitrarily - it is not my intention to only grab page titles, but content as well or instead of titles in most cases.
I have written the following code, which now seems to do what I need:
<?
$fcontents = implode ('', file ('http://sourceforge.net/projects/gpu/'));
// print htmlspecialchars ($fcontents);
$findStart = "<!-- begin -->";
$findEnd = "<!-- end-->";
$startScrape = strpos($fcontents, $findStart);
$endScrape = strpos($fcontents, $findEnd);
$lengthString = $endScrape - $startScrape;
$ourString = substr($fcontents, $startScrape, $lengthString);
$newString = eregi_replace("<a href=", "\0 mypage.php?", $ourString);
print $newString;
?>
With this I can target specific custom tags as my start and end points and then rewrites links to pass the existing links into mypage.php as querystrings.
I've not written mypage.php yet but this script does solve the problem I had in the first place.
Thanks for the help and suggestions.
Mark G