‘Uncategorized’ Category

Page 2

Commencement Video

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.

With a Little Help…

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 […]

Regular Expression to find HTML links with title attributes

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, […]

Application.cfc roundup

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 […]

Google Ranking Factors

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 […]

Socially engineering the web

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 […]

Adblock list

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 […]

Firefox extensions that I use

I am about to switch to a new machine and am working on consolidating all of my data that I need to move. So I got to thinking that it would be nice to have a list of all the Firefox extensions that I use to help me with the switch. Then I was thinking […]

HTML tag regular expression

We found this regular expression online at haacked.com for finding html tags in a string. I used this in the new Gustavus eCard program that I have been working on (stay tuned) as a way to get the text of captions which contain hyperlinks. This regular expression was written by Phil Haack. </?w+(((s|n)+w+((s|n)*=(s|n)*(?:".*?"|'.*?'|[^'">s]+))?)+(s|n)*|(s|n)*)/?> This expression […]

Regular expression for e-mail

Regular expressions can be very useful and efficient if used properly. For a while now in some of our applications we have been using the following regular expression to check e-mail addresses for proper formatting. ^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*.(([a-z]{2,3})|(aero|coop|info|museum|name))$ This will ensure that the user has entered a properly formatted e-mail address such as user@domain.com.