ted serbinski – entrepreneur & web architect
  • thoughts
  • about
  • contact



Popular content

  • Going to London tomorrow!
  • Counting lines of code
  • DC Drupal Meetup #3
  • The goodness of CCK + hook_form_alter()
  • Speeding up CSS and JS in Drupal
  • How to Save and Archive Your Geocities Account (with jQuery + Firebug)
  • BMW E39 minivan taker
  • Taking Naps with Pzizz
  • How to make theming in Drupal easier
  • "Black & Blue" Drupal Theme Released
more

Recent comments

  • thanks very much
    1 week 4 days ago
  • it is really nice written
    2 weeks 4 days ago
  • Hi, I have used the
    4 weeks 2 days ago
  • thankyou so much and for
    8 weeks 6 days ago
  • It’s typical for the
    10 weeks 3 days ago
more

How to Save and Archive Your Geocities Account (with jQuery + Firebug)

Back in the late 1990s, Geocities was all the rage and free 2MB of space for hosting your website rocked. It was in 1997 that I first put my own websites online and Geocities made it very easy to host.

Fast-forward 12 years and the doors are closing. Geocities has offered some help & tips but for the most part these are lacking on how to easily download and save all of your files (that is if you’re on the FREE account). You really want me to “Save page as” with my browser? I’ll lose all the meta info with my files and what about all of those images or files I stored? No way to easily navigate to those, especially when there are 100s of files.

Well here’s a handy trick to get this working.

Grab this bookmarket: jQuerify and drag it to your bookmarks. This is an updated version of John Resig’s jQueryify bookmarklet, changing the source URL of jQuery to match the one listed on jquery.com.

Visit your Geocities account and the filemanager page. Once on a listing of files, click on the above bookmarklet, then use Firebug to execute the following code:

  1. var o = '';
  2. $("form[name=dispfiles]")
  3.   .find("a:contains(View)")
  4.   .each(function(i, val) {
  5.     o+= 'wget '+ val.href +';';
  6.   });
  7. console.log(o);

This will output to your Firebug console a “wget” command of all the files. Simply open up terminal in Linux/Mac (Windows try Cygwin) and copy and run the command.

Voila! All your files downloaded. And all of the meta information (like created date) are captured too. Wow files from March 1997 — are those antiques yet?? :)

The one caveat is you have to manually create your folders. Other than that, this works well and in a few minutes I had a backup of hundreds of files. Sure it’s the not cleanest hack, but it worked well for a few minutes of work :)

posted 7 Jul 2009
  • Firebug
  • jquery

No comments

Add your comment

The content of this field is kept private and will not be shown publicly.
  • You can use Textile markup to format text.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <img> <pre>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options


Code examples and downloadable zip files of code are licensed under a Creative Commons License.
All other content, unless where noted, ©2010 Theodore Serbinski. All Rights Reserved.