kettlepot
kettlepot

Reputation: 11011

Browse the tree of a website visually?

Is there a way to see the tree of a website? Let's say: www.randomsite.com has a folder at root, named "idunno" which contains a file "hello.html". Is there a way to browse these like using explorer?

Upvotes: 0

Views: 9326

Answers (3)

Aaron Digulla
Aaron Digulla

Reputation: 328536

There are two ways:

  1. You can crawl all pages on the site and build a map of all the URLs and extract paths from that.

  2. You can become Google and ask the site admin to send you a sitemap.xml.

After that, you can write a tool which displays the map as a tree.

Background: Many web sites don't use folders on disk but databases to store their content. So on the web the notion "folder" doesn't always make sense.

Upvotes: 0

Patrick Regan
Patrick Regan

Reputation: 180

The web server has to have directory browsing turned on. Many sites turn it off for security purposes.

Upvotes: 2

Joel Coehoorn
Joel Coehoorn

Reputation: 415600

That would be a sitemap

Upvotes: 3

Related Questions