Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Site Map Question

Status
Not open for further replies.
Feb 9, 2007
46
0
0
US
Hi,

How does one go about creating a site-map for a web site that does not have one?

If the site is really big - 50 to 100 pages of ASP pages, then how does one do it?

Does one go through all the sites ASP pages and then add accordingly to the sitemap.asp or sitemap.html

Any guidelines, any rules?

Thanks.
 
I would say that is the best way for you to create it. Then again you might be able to find some 3rd party software out there somewhere in the WWW.

I know that frontpage will do this, but I would stay away from frontpage.
 
I know that frontpage will do this, but I would stay away from frontpage.

please don't ever repeat those words in the programming forums again ;-)

Method.

1) Create a function to run through each page on the site
2) Create a function to parse out all <a href=""></a>. Return URL (recommendations....only use RegEx)
3) Build a tree (Part of next step)
4) Export the tree to XML
5) Write a function to output the XML in friendly format to a page.

end result, site map :) Something around that order or mixed up


[sub]____________ signature below ______________
The worst mistake you'll ever make is to do something simply the way you know how while ignoring the way it should be done[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top