Submit Your Site For Free!

Email Address:
* URL:
*
*Indicates Mandatory Field

Terms & Conditions

NetDummy
FlashNewz
DevWebPro









Indicating Web Page Expiration

By Dave Taylor
Expert Author
Article Date: 2007-08-08

I have been building a set of Web pages for events hosted by my local temple, and the Rabbi is complaining that when he uses Google to search for upcoming events, it's the older events that have already passed that are showing up, not the upcoming events.

What a headache! Is there some way to put an expiration date on a Web page like you can on a carton of milk?

There is indeed, and I know exactly what you're talking about as I often search for festivals and street fairs just to find information from 2005 and 2006, but nothing about 2007 events. Part of it is because many event sites just aren't organized very well (for example, if you have an annual event, I would suggest that a filename like "craft-fest-2007.html" is less desirable than the simpler -- and more easily replaced each year -- "craft-fest.html")

Better, though, is that there is an HTML "meta" tag that lets you specify an exact expiration date for your Web information, a tag that is respected by Google and most of the other big search engines. It's the "expires" meta tag and according to the spec, here's how you use it:

<META http-equiv="Expires" content="Tue, 20 Aug 1996 14:25:27 GMT">

This is clunky and arguably it's more about when the search engine should get a fresher copy of the page contents than about when the page "expires", per se, but I think you could utilize it, especially if you remember to remove the event pages or change them once the event has transpired.

There's another possibility too, if you just care about Google and figure that no-one who wants to come to your event would use Yahoo or MSN Search: "Unavailable_after". Just recently, Google's bloggers wrote about it, actually, as you can read in their confusingly named blog entry: robot exclusion protocol.

The gist of their message is that you can use the following:

<META NAME="GOOGLEBOT" CONTENT="unavailable_after: 25-Aug-2007 15:00:00 EST">

According to Google, this will actually delete the page from the Google index on the specified date and time, so even if the page continues to exist on the Web site, it won't be findable from a Google search.

Frankly, the former solution is mediocre and the latter solution is goofy because it's Google-specific, but those are really the only two suggestions I have, other than to be strict about having a Web site that has no information about past events or recycles pages so that your Halloween party information page always has future information on the top and previous event information below it.

Hmmm... that might be the smartest solution, actually. Imagine you have a page on your site for "halloween-party.html" and the first paragraph is always about the next event, whether it's two weeks or fifty weeks in the future, while the rest of the page offers up highlights of the previous party or parties, including pictures, commentary, and amusing anecdotes.

The only place that might break down is with concerts or lectures listed by band name or speaker. You might never have the Hip Hop Cantor perform again at your temple, but I think this basic approach would still work: the information page would be future focused before the, uh, concert, then discuss the event after the fact once the concert was completed.

Hope those give you some ideas and spark your creative juices (or some such mixed metaphor like that). Good luck to you!

Comments

About the Author:
Dave Taylor has been involved with the Internet since 1980 and is internationally known as an expert on both business and technology issues. Holder of an MSEd and MBA, author of twenty books and founder of four startups, he also runs a strategic marketing company and consults with firms seeking the best approach to working with weblogs and social networks. Dave is an award-winning speaker and frequent guest on radio and podcast programs.

AskDaveTaylor.com
http://www.intuitive.com/blog/



Newsletter Archive | Article Archive | Submit Article | Advertising Information | About Us | Contact