Skip to page content or skip to Accesskey List.
Search evolt.org
evolt.org login: or register

Work

Main Page Content

bookmarklet for thelist archives

Rated 3.91 (Ratings: 1) (Add your rating)

Log in to add a comment
(1 comment so far)

Want more?

  • More articles in Code
  • More articles by r937
 
Picture of r937

rudy limeback

Member info | Full bio

User since: December 13, 1998

Last login: March 08, 2011

Articles written: 12

here's a bookmarklet that will let you browse the weekly archives of thelist@lists.evolt.org

it will first prompt you for the YYYYMMDD date of the Monday of the week that you want to see -- usually the current week, but you can use it for any other week just as easily it should work just like this --

here's the code --

javascript:
 week=prompt(
 'Enter YYYYMMDD (must be a Monday)'
 , '20000117');
 if(week)
 location =
 'http://lists.evolt.org/archive/'
 + 'Week-of-Mon-' + week
 + '/date.html'

if you want to use this bookmarklet, just copy the code out of the following box, paste it into the location field of a new bookmark or favorite, and voila

optionally, you can then move the bookmark/favorite to your personal toolbar or links bar, where it will be most handy

enjoy!

rudy limeback

My involvement with evolt.org goes back to 1998, as one of the original founders. I'm an SQL consultant who dabbled in web development for several years, in the "golden age" between HTML 2 and XHTML 1.1. My web sites are r937.com and rudy.ca. I live in Toronto, Canada, and you are all cordially invited to come and visit and play a round of frisbee golf with me.

Submitted by Jeff Howden on January 18, 2000 - 17:45.

first off, rudy, this is an excellent idea for a bookmarklet. i'm surprised someone hadn't thought it sooner.

be careful with this bookmarklet as clicking "cancel" will cause it to change the location of the page, displaying the word "null" on the screen. to counteract this, define this action as a function then call the function. first check that the value of the var "week" is not nothing, a single space, or null, if so halt the execution of the function by calling "return". if none of these situations exist then go ahead and issue the location change.

the modified version, could look like this:

  JavaScript:thelist();
    function thelist()
    {
      week=prompt(
        'Enter YYYYMMDD (must be a Monday'
        + ' & cannot be in the future)'
        ,'20000117');
      if(week == ''
      |&#124 week == ' '
      |&#124 week == null)
      {
        return;
      }
      else
      {
        location.href =
          'http://lists.evolt.org/archive/'
          + Week-of-Mon-' + week +
          '/date.html';
      }
    }

you can also save the link to your favorites/bookmarks by just right-clicking on this link and choose "add to favorites/bookmarks".

login or register to post comments

The access keys for this page are: ALT (Control on a Mac) plus:

evolt.orgEvolt.org is an all-volunteer resource for web developers made up of a discussion list, a browser archive, and member-submitted articles. This article is the property of its author, please do not redistribute or use elsewhere without checking with the author.