Married, moved, and getting it together.


May 14th, 2005

Old Blogger Archive PHP Code

I’m doing some blog housecleaning this morning. Here’s the code I used to use to display an archive list of blogger entries:

1)$archlist[$i] // this bit makes links for all the images
       {
		echo "";
		echo substr($archlist[$i],5,2);
		echo "/";
		echo substr($archlist[$i],0,4);
		echo "
\n"; $i++; } ?>

Pretty straightforward, it grabs a list of files with the right name pattern, then prints a pretty display of the previous listings.

Now that we’re on WordPress, it’s not necessary. I blog it to back it up, just in case.

References   [ + ]

1. $archlist[$i]

Leave a Reply