I'm currently trying to figure out a way to write a script (preferrably PHP) that would crawl through a site and create a sitemap. In addition to the traditional standard listing of pages, I'd like the script to keep track of which pages link to other pages.Example pages\[code\]ABCD\[/code\]I'd like the output to give me something like the following.Page Name: APages linking to Page A:
- B
- C
- D
- A
- C