NeoArch

What’s past is prologue; what’s present is weblog

Archive for the ‘PHP’ Category

New Tool for Archivists

without comments

Archon LogoI mentioned earlier that the Archivist’s Toolkit had been released. Tomorrow, the Archon Project is scheduled to release version 1.10 of Archon. I played with version 1. It was easy to install and a very powerful tool. The digital library function was particularly promising. I noticed a couple of bugs in version 1 while testing it, so I didn’t put it into production. I am fairly certain that these bugs will be remedied in this latest release, and I cannot wait until I get the time to install and test it. All the folks at UIUC who were involved in this project need to be congratulated for their vision and vigor because they brought such a project into being. What an interesting and exciting time it is to be an archivist!

Written by Jason Fowler

January 16, 2007 at 8:39 pm

PHP, CSS, and Random Pictures

with 9 comments

I found this script at Steven Davies’s website. It was designed to insert a random picture into a page. I tweaked it so that it would output a random background image into an embedded CSS. To use it, copy the code below and save it into your directory as rotate_script.php. Make sure to change the $dir variable to the display the directory in which you keep your images. Then include include a line like background-image: <?php include("rotate_script.php"); ?>; in the midst of the embedded style in the header where you want it to appear.
Read the rest of this entry »

Written by Jason Fowler

February 25, 2006 at 2:52 am

Posted in PHP, Systems, Technology