Sillybean

Code

PHP

Absurdly simple breadcrumbs

Simple PHP breadcrumbs built from the URL. The linked text will be the capitalized directory name by default (e.g. /code → “Code”), but you may specify replacements (e.g. /admin → “Administration”). First released January 8, 2004. Last updated February 24, 2004. Details & download »

JavaScript

Word count

Adds a live-updating word count to each textarea in a document. Respects textareas with initial values. Optionally ignores HTML as long as the tags are closed — that is, as you type a tag, the count will increment, but when you add the closing bracket, the script will recognize the tag and decrement the count. Works in all browsers except IE (for now). (Tips on working around IE’s craptastic event handling are welcome.) Demo & download »

Track changes

Given a document containing <del> and <ins> elements (including Word files with tracked changes saved as HTML), provides a toggle to highlight changes. The manner of the hightlighting is determined by CSS; the given styles emulate the old-school Word track changes look (i.e. inserted text in red, deleted text struck through). Demo & download »

WordPress

Comment Author Checklist

A WordPress plugin for writers’ critique groups or other group blogs that do some kind of document review. It generates a list of registered users with the names of those who have commented on the post (as well as the post’s author) crossed off. Details & download »

No Place Like Home

Displays a small home icon next to the designated home page under Manage → Pages. Details & download »

Post and Page Excerpt Widgets

Creates widgets that display excerpts from posts or pages in the sidebar. Details & download »

Expression Engine

Word count extension

Adds a live-updating word count to each textarea in the Publish screen. Optionally ignores HTML as long as the tags are closed. Preview (not yet IE-compatible) released January 1, 2007. Download v.0.0.9 » (Note: I’m no longer working with Expression Engine, at least for now, so any updates will be made only to the word count JavaScript above. So far there haven’t been any. If the plugin code stops working due to changes in EE, I probably won’t be able to fix it.)

meta

All code is released under the Slayer Code of Ethics: “Want. Take. Have.” In other words, you can do whatever the hell you want with it. Fly free, little code.

No comments yet.

Leave a Reply

-- or --

Textile formatting is in effect.

RSS feed for comments on this post. TrackBack URI

'round here

Writing & Publishing 101

The Web Design for Authors series has evolved into Paged Media, a web design company devoted to authors

elsewhere

Blockbuster CEO Doesn’t Understand the Fascination With Netflix — ‘Equally bewildering to Mr. Keyes is the emphasis on catalog size. Why would anyone want to watch anything other than new releases, he wonders. “I don’t care how many movies are available to me. As my personal taste as a customer, I want to watch the new stuff so whether we have 10,000 movies or 200 movies doesn’t matter if I don’t want to see any of the movies that we have . . . our assortment is heavily weighted toward newer releases and mainstream staple titles.”’ And that is why I no longer go to Blockbuster, you idiot. Because I saw the new releases in the theater, thanks very much, and I like watching old stuff that I’ve never seen. You know, on this nifty archival disc format we have. (via DF)

Comment on this

Lenovo’s ad with the two guys in the airport is absolutely hysterical. (For all the people here not watching NBC’s Olympic coverage.)

Comment on this

Writing a novel, a love story — so very true. I think you all know which stage I’m in….

Comment on this

The Shire is in foreclosure! — anybody up for establishing a commune? (via MeFi)

Comment on this

Neuromancer — with Hayden Christiansen in the lead role, I fear for the quality of the movie. The poster makes a most excellent iPhone wallpaper, though.

Comment on this

The second annual A List Apart web design survey is up. If you design sites professionally, please fill it out! No one else is gathering data on our industry.

Comment on this

Revision Control for WP — limits or disables the new revision feature in WordPress 2.6.

Comment on this

Font Conference — Times New Roman presides as the standard fonts debate whether to allow Zapf Dingbats into the club. Hysterical! (via DF)

Comment on this

To celebrate the launch of Tor.com, they’ve reposting the free giveaways they did as teasers. Among other things, that page is a source for some pretty kick-ass iPhone wallpapers.

Comment on this

F*cking programming — Yeah, that sums up my working life. (via comment at Making Light)

Comment on this