Thoughts on Twitter
Published Sunday, January 4, 2009 @ 10:51 am • 9 Responses
Dipping into a little social-media nonsense on this one.. hope you enjoy it!
I have been using Twitter now for around two years. In that time, I have gone from hating Twitter to practically loving it. The more I use Twitter, the more I appreciate its value in terms of social networking, self-expression, and even online entertainment. What can I say, it’s just fun to be working online while sharing nano-thoughts with a group of like-minded individuals. In this post, I share some insight and elaborate on some important aspects of Twitter: following & followers, profiles, avatars, and tweets. Not all of it is especially earth-shattering stuff, but hopefully it will contribute to the growing pool of understanding about everyone’s favorite micro-blogging service. So without further ado..
New and Improved JavaScript Clock
Published Sunday, January 4, 2009 @ 10:08 am • 1 Response
Earlier this year, I posted an article explaining how to implement an unobtrusive JavaScript dynamic clock. While not completely earth-shattering or cutting-edge or anything like that, the dynamic JavaScript clock has received some great feedback from users who found the script to be exactly what they were looking for. In fact, a couple of weeks ago, Bill Brown went above and beyond by taking the time to improve the script with some great new features, including a “blinking seconds separator (for kicks)” and removal of “the need for the noscript tag.” Here is the complete script sent by Bill in a recent email (with slightly reformatted markup). To try it out, simply copy and paste the following code into a blank PHP document (no editing required!):
Redirect All (Broken) Links from any Domain via HTAccess
Published Wednesday, December 31, 2008 @ 10:08 am • 0 Responses
Here’s the scene: you have been noticing a large number of 404 requests coming from a particular domain. You check it out and realize that the domain in question has a number of misdirected links to your site. The links may resemble legitimate URLs, but because of typographical errors, markup errors, or outdated references, they are broken, leading to nowhere on your site and producing a nice 404 error for every request. Ugh. Or, another painful scenario would be a single broken link on a highly popular site. For example, you may have one of your best posts mentioned in the SitePoint forums, but the person leaving the link completely botched the job:
Year-End Rambling, Boring Personal Stuff, Etc.
Published Sunday, December 28, 2008 @ 10:12 am • 9 Responses
Sometimes I just need to type. To get it out. Small ideas, news, and other mental slices of personal relevance. If this just “ain’t your thing,” by all means, please move on to the next item in your reader. Otherwise, if I may ramble on for a moment with the privileged luxury of your gracious attention, I will attempt to elaborate a few of the recent mysteries swirling throughout the rushing vortex that is my life.
First of all, the site is doing great. I am honored that you have found Perishable Press worthy of your consideration, consumption, and contemplation. Your time is extremely valuable, so I am most grateful that you have chosen to include me in your current stream of consciousness. As the site continues to evolve, I hope the silent majority will decide to reach out and say hello, drop some insight, or even some criticism. After all, “dialogue” is the second part of the site’s official tagline. <smile>
WordPress Custom Fields, Part II: Tips and Tricks
Published Monday, December 22, 2008 @ 9:29 am • 5 Responses
As we have seen in our previous post, WordPress Custom Fields Part I, custom fields provide an excellent way to add flexible content to your posts and pages. By assigning various types of content to different custom fields, you gain complete control over when, where, and how to display the associated information. For example, sub-headings may be displayed in the sidebar, footnotes may be consolidated into a single region, post images may be displayed before the post title, and so on. In this follow-up article, we will review the basics of custom fields and then jump into a few custom-field tips and tricks.
WordPress Custom Fields, Part I: The Basics
Published Wednesday, December 17, 2008 @ 10:08 am • 13 Responses
I recently developed a theme that makes heavy use of WordPress’ custom fields. The custom-field functionality of WordPress makes it possible to rig up just about any customized layout quickly and easily. Custom fields enable designers to organize post content into different sections, making it possible to create non-linear page layouts, with different types of content easily removed from the normal post loop and relocated to different parts of the document. This organizational and design flexibility has the added benefit of making it super-easy to update your content, redesign your theme, and handle blog maintenance in general. In the first part of this mini-series, we walk through the process of implementing and using custom fields; then, in part two, I will share some delicious tips and tricks to help you get the most out of everything that custom fields have to offer.
Unobtrusive JavaScript: 5 Ways to Remove Unwanted Focus Outlines
Published Tuesday, December 16, 2008 @ 7:56 am • 5 Responses
I recently wrote about how to remove unwanted link outlines using a pure-CSS method that works on every modern browser except (wait for it) ..Internet Explorer 6! Yes, that’s right, another reason why (almost) everyone is pushing hard to eliminate Internet Explorer from existence.
Nonetheless, removing those pesky unwanted link outlines in IE6 is not possible with CSS, but it’s a snap with a little JavaScript. Here are four unobtrusive JavaScript techniques (plus one CSS-only method thrown in for good measure) for removing unwanted focus outlines.
Redirect WordPress Individual Category Feeds to Feedburner via HTAccess
Published Monday, December 15, 2008 @ 9:52 am • 5 Responses
Time for another Feedburner redirect tutorial! In our previous FeedBurner-redirect post, I provide an improved HTAccess method for redirecting your site’s main feed and comment feed to their respective Feedburner URLs. In this tutorial, we are redirecting individual WordPress category feeds to their respective FeedBurner URLs. We will also look at the complete code required to redirect all of the above: the main feed, comments feed, and of course any number of individual category feeds. Let’s jump into it..
Miscellaneous Code Snippets for WordPress, Windows, and Firefox
Published Sunday, December 14, 2008 @ 8:01 am • 6 Responses
One of the original purposes of Perishable Press involved serving as a “virtual dumpster” for all of my miscellaneous code snippets. Over time, I continued elaborating to greater degrees on the various code recipes that I was posting, until eventually those brief snippet posts evolved into complete, richly detailed articles (at least from my point of view). Now that I enjoy the luxury of writing for an incredible audience, I try to avoid posting anything that doesn’t include an accompanying explanation. “If it’s worth posting, it’s worth explaining,” I always say. When you have people reading your stuff, there is little room for superfluous nonsense, unexplained code snippets, and long-winded introductions. ;)
Even so, every now and then you need to break the rules, shake up the routine, rock the boat, drop some acid, that kind of thing. Lately, I have been doing some deep archiving and have amassed a considerable collection of completely miscellaneous and unrelated chunks of code. There are too many random snippets to spend time sewing together similar functionality, and I really hate deleting perfectly good code. I also hate keeping misfit code chunks lying around in my otherwise pristine digital archive (joking). Fortunately, this dilemma is easily resolved by loosening up and simply dumping the information right here on the site. After all, that’s what it was originally designed for — in fact, the further you dig back into the archives, the more apparently pointless code snippets you will find. So without further ado, I now present a completely random, unexplained, miscellaneous collection of potentially useful code snippets!
Perfect WordPress Title Tags Redux
Published Wednesday, December 10, 2008 @ 9:10 am • 12 Responses
In my previous article on WordPress title tags, How to Generate Perfect WordPress Title Tags without a Plugin, We explore everything needed to create perfect titles for your WordPress-powered site. After discussing the functionality and implementation of various code examples, the article concludes with a “perfect” title-tag script that covers all the bases. Or so I thought..
Some time after the article had been posted, Mat8iou chimed in with a couple of ways to improve thie script by cleaning up tag names and specifying page numbers for archive views. Apparently, by replacing the $tag variable with WordPress’ built-in single_tag_title();, titles for Tag-Archive page views will display the tag’s “pretty” name rather than the unformatted version. For example, the tag for Pink Floyd will be displayed correctly as “Pink Floyd” rather than the less friendly “pink-floyd”. And so on.
Speed Linkin’ :: December 2008
Published Wednesday, December 10, 2008 @ 1:10 am • 6 Responses
Kicking things off for this month’s official Speed Linkin’ post is a site designed to help with all of your graphical background needs. Then, we move on to a lightweight forum plugin for WordPress. Ever feel lost when it comes to choosing the best lightbox script? Well it’s Ozh to the rescue with the excellent Lightbox Clones Matrix. Also handy is this incredible list of social media sites. As a big fan of ASCII art, I can spend hours playing with the enchanting ASCII-O-Matic. Here is another excellent tool for checking your site’s gzip compression. For a little SEO fun, you may benefit from learning about your site’s anchor index search results. If you are a heavy Tumblr user, you may want to backup your Tumblr posts. There is also a nice backup tool for your Twitter posts as well. Saving the best for last, check out the site redesign I recently threw down for graphics guru Thane Champie, aka 88teeth. Btw, huge thanks to Thane for providing the sweet “Speed Linkin’” graphic! :)
Perishable Press Featured at Divine CSS!
Published Tuesday, December 9, 2008 @ 12:25 pm • 4 Responses
Yay! Perishable Press is now featured at one of my favorite CSS-design showcase sites, Divine CSS! Divine CSS features a mouth-watering collection of CSS and Flash-based website designs, and is always a great source of inspiration and ideas for new projects. Seeing my current theme (Quintessential) showcased at Divine CSS is very inspiring, and a nice way to celebrate the (relatively) new design. Many thanks to the fine folks at Divine CSS for sharing my site with their audience — it is greatly appreciated! :)
So what are you waiting for! Go check it out (while it’s still on the front page) and kick this old hard-working dog a few stars! ;)
Valid, SEO-Friendly Post Translation Links
Published Tuesday, December 9, 2008 @ 8:21 am • 0 Responses
Ever wanted to provide automatic language translations of your web pages without installing another plugin? Here is a valid, SEO-friendly technique that takes advantage of Google’s free translation service. All you need is a PHP-enabled server and you’re good to go. Just copy and paste the following code into the desired location in your page template and enjoy the results. Once in place, this code will produce translation links for eight common languages for every page on your site. Grab, gulp and go:
Custom OpenSearch Functionality for Your Website
Published Sunday, December 7, 2008 @ 8:12 am • 3 Responses
I recently added OpenSearch functionality to Perishable Press. Now, OpenSearch-enabled browsers such as Firefox and IE 7 alert users with the option to customize their browser’s built-in search feature with an exclusive OpenSearch-powered search option for Perishable Press. The autodiscovery feature of supportive browsers detects the custom search protocol and enables users to easily add it to their collection of readily available site-specific search options. Now, users may search the entire Perishable Press domain with the click of a button.
And you can do it too! Adding customized OpenSearch-powered search functionality to your own site is a great way to foster site awareness and reinforce brand identity, while providing a tool that will benefit your visitors and improve the usability of your site. Even better, implementing OpenSearch functionality is extremely easy, completely free, and requires zero maintenance. In this article, I provide an easy, 3-step tutorial on how to add OpenSearch functionality to your site in less than five minutes. After the tutorial, we will look at the many different ways to customize your OpenSearch implementation, including examples, search options, and much more.
Backwards-Compatible Spam and Delete Buttons for WordPress
Published Monday, December 1, 2008 @ 8:22 am • 13 Responses
Recently, Joost de Valk shared an excellent technique for adding spam and delete buttons to comments on your WordPress-powered blog. The idea is to save administration time by providing links to either “spam” or “delete” individual comments without having to navigate through the WordPress admin area. Joost provides the following plug-n-play solution: