This is a simple (well, took about 2 days to create from scratch) script
which will create a sitemap.html in whichever directory you specify, from
the files directory you specify and all the files in all the subdirectorys.
Usage: Either click on the icon which will run it, or type in a shell,
rx sitemap.rexx. The program will then ask you for a directory you
wish to create a sitemap for, then it will go ahead and create the
html file in that directory.
Requires: c:run, c:sort, c:join, c:delete, c:list, c:requestfile and PIPE:
to be mounted, all basic standard OS3.1 stuff, should work with
2.0+ but I haven't got an Amiga with 2.0 on anymore to test this.
Don't break the execution with ctrl+c as I haven't put in anything which
will tidy up the result if you do.
Also, please don't remove my name+email address from the resulting html
file, it's only an extra 89 bytes, have a heart.
Other than that, feel free to use it wherever you want to.
Rid
|