A Cool Timeago jQuery Plugin

Posted by: FitR on January 27th, 2009 (497 views | No Comments) 369

An Easy jQuery Timeago Plugin

Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. “4 minutes ago” or “about 1 day ago”). Timeago was built by Ryan McGeary while standing on the shoulders of giants. John Resig wrote about a similar approach. The verbiage was based on the distance_of_time_in_words ActionView helper in Ruby on Rails.

Timeago

Take Full Advantage of Page Caching

Timeago was originally built for use with Yarp.com to timestamp comments. It’s so cool plugin because of several reasones.

  • Avoid timestamps dated “1 minute ago” even though the page was opened 10 minutes ago; timeago refreshes automatically,
  • You can take full advantage of page caching in your web applications, because the timestamps aren’t calculated on the server.
  • You get to use microformats like the cool kids.

Enjoy this cool plugin

Timeago is under MIT License and you can view the plugin here.

License: MIT License

Now What?

You might be interested in these related posts.

Help us spread the word across!

Sponsored by
About the Author

Fish in the River delivers a fresh inspiration source for designers, developers and marketers but also anyone who wants to be inspired everyday.

Visit FitR's Homepage       Visit FitR on Twitter

Comments No Comments

Leave a Comment
Would you like to be the first to leave a comment?
Please feel free to let us know what you think.

Leave Comment Leave a Comment

Want a Personal Avatar? Visit www.gravatar.com to get your own gravatar, a globally-recognized avatar.
Submit a Comment
The definition of insanity is doing the same thing over and over and expecting different results.
{ Albert Einstein }