Hello. I want to use list of URLs in database and create a website hierarchy. The table only contains URLs as following:
http://www.sample.com/
http://www.sample.com/post1/
http://www.sample.com/post2/
Then I would like to create a hierarchy looks like this:
example1
|
--------
| |
post1 post2
My idea was to import the data (list of URLs) to a text file and use c# to create a hirarchy. However, I don't know how to do it. Could you please help me with this?
Thank you very much for your time!