Archives for August 2004

MT + PHP = legible archive listings

06 August 2004 10:09 PM (3 years, 11 months ago) | Filed under code

Site archives often follow the format of a weblog’s front page postings, listing entry excerpts with links to the entry’s individual archive page. In some circumstances, this may take up considerable space without adding to the user’s ability to quickly scan the archives for a specific entry.

On this site, I have used PHP with Movable Type to create phonebook-style listings of entry titles and their entry dates. I found that this is both aesthetically pleasing and fairly simple to implement. Other ways of implementing the alternating colors include using JavaScript on the client side or using MT plug-ins when the site is rebuilt rather than running the PHP to generate class attributes every time the page is called by a browser.

These other implementations may be published at a later date.

Cruft-free URLs with PHP

08 August 2004 11:25 AM (3 years, 11 months ago) | Filed under live

I ran into a bit of an issue while I was implementing Mark Pilgrim’s Cruft-free URLs in Movable Type on this site, in that I am lazy and all of my files generally have PHP includes instead of old-style Apache #include inline directives. In short, adding the directive DefaultType text/html to my .htaccess file in the root directory had some nasty side effects.

Hungarian goulash

13 August 2004 1:21 PM (3 years, 11 months ago) | Filed under cook

This hearty beef stew, when made with imported Hungarian paprika, is certain to warm you in the winter months. It can also be turned into a soup by doubling the amounts of liquid called for in the recipe and adding carrots and potatoes near the end of the stewing process. Cubed veal or pork loin can be substituted for part of the beef, making this an exceedingly flexible dish.

Continue reading "Hungarian goulash" →

Saganaki

27 August 2004 12:18 AM (3 years, 10 months ago) | Filed under cook

Crisp on the outside, soft and gooey on the inside, and best served while flaming — this fried cheese dish of humble Greek origins is a far cry from the mozzarella stick appetizer made popular by various chain restaurants.

Continue reading "Saganaki" →

Pico de gallo

28 August 2004 4:36 PM (3 years, 10 months ago) | Filed under cook

This fresh salsa provides welcome zest and freshness when used as a condiment with common Mexican dishes. It is best served on the same day as it is made.

Continue reading "Pico de gallo" →

Copyright © 2003-2008.
Entries (RSS) | Comments (RSS).
XHTML 1.0 Strict, CSS, RSS, 508.