|
Posted by Faux_Pseudo on 10/02/22 11:34
Problem:
How would one go about creating a dynamic listing so that the source
of all pages in the dir don't need to be edited (by hand or by script)
and will dynamically figure out what Back and Next would be if we were
to add a file to this sample list.
alian
alison.art
[...]
windows
wine
History:
I have been searching for a way to create Back & Next links for a
bunch of pages[0] and have found some good ones if you assume that all
the pages will be numbered[1] in some way. However I keep adding to
files to these directories and want to use asciibetical, based on
filename, and not numeric sorting.
Right now I am using hard coded links that are created by a bash
script and I want to dump this because any time I add one file to the
directory I have to upload the contents of the whole thing for an
update.
[0] http://fauxascii.com/ascii/unpr0n and some other directories on
the site
[1] ie http://hotwired.lycos.com/webmonkey/99/25/index2a.html?tw=programming
--
.-')) fauxascii.com ('-. | It's a damn poor mind that
' ..- .:" ) ( ":. -.. ' | can only think of one way to
((,,_;'.;' UIN=66618055 ';. ';_,,)) | spell a word.
((_.YIM=Faux_Pseudo :._)) | - Andrew Jackson
Navigation:
[Reply to this message]
|