Archive for May, 2002

Master Author Archives

Monday, May 27th, 2002

Because Movable Type doesn’t (currently) have an automatic by-Author Archives, I’ve implemented some tricks to make it work on the red kitchen. With group blogs, its really an important form of archiving. I just posted some of this stuff today on the MT forums, and thought I’d outline it over here as well.

Depending on the quantity of posts and number of authors that will be on the blog, this may change the number of Index Templates used. I’m gonna explain the using a single Index Template.
(more…)

multiple blogs - latest updates

Monday, May 27th, 2002

People with multiple blogs who want to list all of the updates between the blogs haven’t had a good way to put the updates in order between then.

Today, in response to another question about this on the MT Forums, Brenna posted a solution with PHP that looks pretty solid. I haven’t tried it out yet, but it looks great!
[kdlb note - updated link to match new forum order!]

Alternating comment colors

Monday, May 27th, 2002

I feel just a wee bit lazy sharing this, because this snippet is only five lines long. However, these five lines have done more to make one of my sites pleasant to read than just about any other five lines of PHP I’ve written.

The idea: let PHP drop in alternating styles into your comment text. On skins 2 and 3 of geek-chick.net I use this to alternate the colors of table rows, but in this example I’m showing you how to use it in a <p> tag.

This should be a quickie to implement, no matter what CMS you’re using.
(more…)

set up a title archive list (MT specific)

Friday, May 24th, 2002

Michael over at DrowsyCentral asked me how I set up my title archive list. He also wanted to know how to set up the page so that it showed the posts for just ONE particular month…
(more…)

Stop Spam!

Friday, May 24th, 2002

Anyone with a blog that has an e-mail address has probably noticed and increasing amount of spam arriving over time. One way to stop it is by encoding your e-mail address in numerical equivalents and wrapping the results in Javascript. Rather then figuring out all the numerical equivalents yourself, you can just head on over to the Hivelogic JavaScript Email Address Encoder. For more information on stopping spam, head on over and read A List Apart: Win the Spam Arms Race.

How To Build a Photolog

Friday, May 24th, 2002

Thanks to Robyn, I found this site with instructions on how to build a photolog in MT in 5 easy steps. Pretty interesting!

Nicer MT URLS

Thursday, May 23rd, 2002

There’s a thread on the MT forums about making your URL to MT easier to get to. Neato htaccess trick!

Show all posts except those from one category (MT specific)

Thursday, May 23rd, 2002

All “styling” has been removed (just so you can get the main idea…)
But here is the code to show all posts except those from one category…
(more…)

Count up timer in PHP

Thursday, May 23rd, 2002

Awhile ago I posted this javascript here that was a count up timer. Many people said if you can do it in PHP why not? So, I wrote the PHP functionality to do the same thing:
(more…)

Reference Cards

Wednesday, May 22nd, 2002

There’s a lot of reference cards being sold on this site, and they look pretty interesting… one thing I learned by looking at one of the closeups of the cards… a CSS-way to prevent linebreaks - {whitespace:nowrap}

Here’s the HTML card I got that from
Tons of info on this one too.
CSS stuff
Special Characters and Stuff(tm) ;-)

here’s the home page: Visibone

(here’s a popup version of the html info)