|
Wednesday, September 13
Oddly enough, the archive page is fixed, but it wasn't my problem. From Blogger support: "...as the tagline for your site says, 'Mistakes were made.' ;) This problem was on our end. It's all working now." Well, for once the newbie spots a bug. Damn fine service, Blogger is. Unfortunately, not all the features are available when you post stuff from the Mac. Guess I was smart to order PC after all. Can't have half my blogger! Lord knows I can't make an embedded URL without being spoon fed.
Wasted the evening. No code done. No design done. Little fun had. Oh well. Tomorrow is another day. Project Teller for Clan Lord must press on! And I really need to figure out what stinks in the kitchen too. It's clean, I swear, but something smells bad. I suspect it's invisible tuna juice spilled on the wastebasket. Whatever it is, until I find it, the apartment is a guest-free zone. When my PC does come, it'll be hard not to buy one of the mongo MP3 players, that has the hard disk. I find the idea of having one little device holding 80 hours of music really compelling. Especially after I accidentally dumped my MP3 folder, with about 800MB of MP3s, off my computer. And before you ask, I ripped every single one myself from my very own CD collection. Well, pretty much, anyway. And the ones I didn't, I'd have never have bought anyway. Actually, I think I only ripped about 4 songs, though a lot of the MP3s I downloaded I did have the CD for. Just that Napster is so much more convenient, especially when you are lazy as hell like I am. Now I just need to figure out if I get the Nomad Jukebox, or that other one... '; } else { if(stristr($filename,"archive")) { $dir=$_SERVER['DOCUMENT_ROOT']; $template='_01_archive.html'; $tail=strlen($template); $thisArchive=$filename; //$files=scandir($dir); $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } sort($files); $earlyarch=""; $laterarch=""; $prevarch=""; $next=0; foreach($files as $file) { if (substr($file,-$tail)==$template) { if ($next==1) { $laterarch=$file; $earlyarch=$prevarch; $next=0; } if ($file==$thisArchive) { $next=1; } else { $prevarch=$file; $earlyarch=$prevarch; } } } $link=''; $divider=''; if(file_exists($earlyarch)) { $link='< Earlier Archive'; $divider=" | "; } if(file_exists($laterarch)) { $link=$link.$divider.'Later Archive >'; } $link=$link.' '; } } echo($link); ?> |