From: Arno H. <aho...@xm...> - 2001-01-15 12:31:13
|
Malcom, > Okay, I have updated the sitemap code to use these functions, so now al= l > the entries are links. The fix to ExtractWikiPageLinks has also made > things neater. The only problem that apparently remains is the use of t= he > [1], [2], [3] style references, which appear as "1", "2", "3" in the > sitemap. Thanks for spotting the problem. I've corrected ExtractWikiPageLinks. Insert the following before the final "else": } elseif (preg_match("#^\d+$#", $URL)) { $link['type'] =3D "reference-$linktype"; =09 $link['link'] =3D $URL; /Arno |