// STYLESHEETS // We have two stylesheets here, one for ordinary use and one for old // legacy browsers like Netscape 4. This trick comes from Jeffrey Zeldman's // "Designing With Web Standards" (2003), pp. 230-231. ?> // DON'T TURN THESE ON YET! // ?> // Meta robots tags: // Keep Google from sending everybody to index pages -- except top index page // See: // http://www.scribbling.net/entry/394/ // http://www.scribbling.net/nine_things_you_can_do_to_make_your_web_site_better if (! $item && ($category || $index == "title" || $index == "date")) { echo "

"; } else { echo "

"; } ?> // TODO: meta tags if ($category=="art" && $item=="20030120") { echo "

"; echo "

"; } ?>



"; echo $itembody; $ddate = dotdate($item); echo "

"; // Try to match newsid. Examples: // $newsid = ''; // $newsid = '43RL8.75290$4i.7961081@bin2.nnrp.aus1.giganews.com'; preg_match('/\$newsid\s*=\s*[\'"](.*?)[\'"]\s*;/', $itembody, $matches); if ($newsid = $matches[1]) { newslink($matches[1]); } echo "

"; $commentID = "$category$item"; include "comments.php"; } else { echo "Sorry, couldn't show you $category/$item.

$itemerr

"; } } else { # When $category is null, this defaults to top-page view showitems($category, $pagenum, $perpage); } ?> # DEBUG print "

"; if ($index == "title") { # Archives are generated statically -- just include them include "titles.ssi"; } elseif ($index == "date") { # Archives are generated statically -- just include them include "dates.ssi"; } elseif ($item) { if (empty($itemerr)) { echo "

"; $commentID = "$category$item"; include "comments.php"; } else { echo "$itemerr

"; } } else { # When $category is null, this defaults to top-page view showitems($category, $pagenum, $perpage); } ?>

divbox(); ?> Latest comments include "lastdisc.ssi" ?>

"; if ($catadj[$category]) { # Override the name of the category with a better # adjective (e.g., "Reading links" not "Books links") print "$catadj[$category] links"; } else { print "$uccat links"; } print "

Blast from the past

Twitter

My other blog: IAlog