Tool

DamianMyerscough's picture
tool
Reads:

3624

Score:
5
5
1
 
Comments:

1

Rotating the favorite icon

Author Info

27 February 2008 - 6:02am
Submitted by: DamianMyerscough

(View Disclaimer)

license: 
GPL

After reading mfaris01's article on "Creating a Favicon for Your Own Apache Server on SLES 10" I decided to write a small script that randomly rotates the favicon.ico file.

The following directives will need to be modified

WWW_ROOT – Set this directive to your HTTP document root.

FAVICON_DIR – Set this directive to the directory where you have stored all your icons

FAVICON_CONFIG – Set this directive if you want to configure an advanced selection.

If you choose the advanced selection then create the file that will store the previous icon name, otherwise the script will just pick at random even if the image has already been used previously.

This script is very good in a cron job.

AttachmentSize
ImageRotate.txt1.46 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

mfaris01's picture

Very Clever!

Submitted by mfaris01 on 28 February 2008 - 6:04pm.

I never thought to rotate them.. Very Clever!

Mike..

© 2012 Novell