Void's beautiful index pages

Discuss Programming

Void's beautiful index pages

Postby Master of Reality » Sun Oct 28, 2007 8:50 pm

I wanna make some pretty index pages like yours... any quick tips?
Master of Reality
guru
guru
 
Posts: 562
Joined: Thu Jan 09, 2003 8:25 pm

Postby Void Main » Mon Oct 29, 2007 7:58 am

Check out mod_autoindex:
http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html

Everything is probably already configured on your system using the default "HEADER.html" and "README.html". If you have a file in a directory called HEADER.html it will load that first and then spit the directory listing and follow it up by loading the README.html. Here are the two I use for my generic directories:

http://voidmain.is-a-geek.net/html/HEADER.html
http://voidmain.is-a-geek.net/html/README.html

Just view the source and compare that with what you see in a directory like this one:
http://voidmain.is-a-geek.net/files/RPMS/fox/

Basically I just symbolic link the HEADER.html and README.html in that directory and that's pretty much it. I think you'll find it quite easy to customize your directories.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Master of Reality » Wed Nov 07, 2007 7:40 pm

ah ha i do have everything setup nicely. My new webhosting is running on CentOS and i'm on my way to making some crazy index page styles.
Master of Reality
guru
guru
 
Posts: 562
Joined: Thu Jan 09, 2003 8:25 pm

Postby Master of Reality » Mon Nov 19, 2007 9:53 pm

it would appear that the HEADER.html is added to the index just after the body tag, and the README.html is added just before the closing body tag.

This almost limits my usage of CSS and wont let me change the title, i'll see what i can do.

Any idea if this is something special/weird/can be changed with some sort of .htaccess file.

EDITED: i guess the style tag works in the body... because its looking.. alright.

check it out if you like.. http://serif.deadtreepages.com
Master of Reality
guru
guru
 
Posts: 562
Joined: Thu Jan 09, 2003 8:25 pm

Postby Void Main » Tue Nov 20, 2007 8:54 am

Master of Reality wrote:it would appear that the HEADER.html is added to the index just after the body tag, and the README.html is added just before the closing body tag.

This almost limits my usage of CSS and wont let me change the title, i'll see what i can do.

Any idea if this is something special/weird/can be changed with some sort of .htaccess file.

EDITED: i guess the style tag works in the body... because its looking.. alright.

check it out if you like.. http://serif.deadtreepages.com


You must have something configured differently than I do. My HEADER.html is the first thing that is sent to the browser and the README.html is the last thing. I assume we must be using different options.

P.S. I notice in the PDF in your directory "it's not my job" is mentioned. My favorite pictures associated with that phrase:

Image

This one is not bad either:

Image
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Calum » Tue Nov 20, 2007 9:38 am

for some reason i find the second one funnier, possibly because the painter would have had to go out of his way to avoid the branch rather than just shove it off the road.

By the way, MoR, what is this project? i must slyly peruse those pdfs in my own time...
User avatar
Calum
guru
guru
 
Posts: 1345
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Master of Reality » Tue Nov 20, 2007 2:06 pm

Project Serif was an underground newsletter at my school, that is now a (semi-aboveground) newsletter of a journalism society that was created at my school club for it.
Master of Reality
guru
guru
 
Posts: 562
Joined: Thu Jan 09, 2003 8:25 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron