Forum Moderators: phranque

Message Too Old, No Replies

Generating Link List to use as Sitemap

How to

         

adfree

3:29 pm on Dec 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I got a folder packed with files that I created from a catalogue and database.

Now in order to send some spiders there I wanted to run something automated to find the files, put the links to them into a web page so I could create a couple of sitemap files from this.

Any idea how to do it?

The files are not linked from anywhere, they just sit there, the sitemap pages would be the only access to them until I start interlinking them with the existing site.

Thanks, Jens

davidpbrown

3:38 pm on Dec 2, 2003 (gmt 0)

10+ Year Member



For this I usually go to MS Dos

goto the directory with the files in using "cd C:\filesarehere\"

then something like "dir \b \s *.* > dir.txt" lists just the filenames.

then play with dir.txt in a word processor or better a spreadsheet and create the text needed for links.

<li><a href="http://www.widgets/...">...</a></li>
<li><a href="http://www.widgets/...">...</a></li>
.
.

export it to a txt file as map.html
add headers and footers and required

ta da

adfree

3:49 pm on Dec 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Way cool!
Thaaaanls, works, Jens