We just created a Gustavus Adolphus College room on FriendFeed, the website that “enables you to keep up-to-date on the web pages, photos, videos and music that your friends and family are sharing.” If you happen to be on FriendFeed, be sure to join our room. And, if you’re new to FriendFeed, sign up–it is really [...]
I was working on some pull-quote magic today (more on that later) and needed to de-widow a string in Javascript a la Shaun Inman’s Widon’t. So I ported it to Javascript. Here’s the magic: String.prototype.widont = function() { return this.replace(/([^\s])\s+([^\s]+)\s*$/, '$1 $2'); } // end widont() To use this simply call the widont() method on a string: var myString = 'Hello world!'; myString = myString.widont(); Update [...]
Firefox 2 ReleasedMozilla released Firefox 2 yesterday, which is a huge update to the increasingly popular web browser. Firefox 2 has a ton of new features and bug fixes to offer, including inline spell checking and identity theft protection. Those two features alone make it worth a download for me. Once you get settled into the new browser, [...]
Graduation exercises from the 2006 Commencement weekend were broadcast live, online. The video has since been archived and is again available online. If you missed it, now’s your chance to relive this special event.
I was thinking today about the various pieces that help to make the Gustavus website as strong as it is and was taken aback at the number of free-to-use components we employ. I’d like to take this opportunity to show a little love for the wonderful, free things that many people have worked so hard [...]
I recently needed to write a regular expression to find HTML and XHTML links with title attributes (<a href="http://www.gustavus.edu" title="Visit the Gustavus Adolphus College homepage">Gustavus</a>). Here it is: <a[[:print:]]*title=('|"")?(.*?(?=1))1?[[:print:]]*>([[:print:]]*)</a> Note that the [[:print:]] parts are applicable to ColdFusion regular expressions and would have to be changed to something else if you aren’t using ColdFusion. Additionally, the ('|"") [...]
For those of you programming with more recent versions of ColdFusion, these links might be helpful when learning and working with Application.cfc files. Ray Camden’s Application.cfc PDF skeleton reference Coldfusion MX 7 Application.cfc Reference Extend the ColdFusion MX 7 Application Framework using ColdFusion Components Designing and Optimizing a ColdFusion Application Application.cfc, one that will work for you Extending your root Application.cfc [...]
Trying to get a high page ranking for your website in Google can be challenging, especially if you don’t know what they are looking for. Well, some very smart webmasters have made some educated guesses as to what Google is looking for and have published their Google Ranking Factors – SEO List. There are “over 100 [...]
Outfoxed is a Firefox plugin that relies on a database built by other trusted Outfoxed users to tell you whether sites are good, bad, or dangerous. From the Outfoxed website: There are over 8 billion web pages. Most of them suck. Outfoxed uses your network of trusted friends and experts to help you find the good stuff [...]
The adblock extension for Firefox allows users to block unwanted advertisements from webpages. This provides for a much faster, cleaner, and enjoyable browsing experience. However, to block those unwanted ads, you have to add filters to your adblock plugin. One could either go through all of the websites that one visits and add filters for [...]