github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

kelan / WikiWalker

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…

My entry to IronCoder5 -- a screensaver that wanders through Wikipedia with a zoom/pan/fade effect. — Read more

  Cancel

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Change to 10.6 SDK (10.5 deploy target) 
kelan (author)
Sun Dec 20 18:55:50 -0800 2009
commit  37111cdf38224483a7a5a7bfdcd61bbf63a9be30
tree    752c225a92e7a92e488720559964d76a4257677d
parent  4b808463366c3ad98b27407dcffefe0432fabe94
WikiWalker /
name age
history
message
directory English.lproj/ Sun Dec 20 18:37:39 -0800 2009 Change from notifications to delegates and adde... [kelan]
file HarnessController.h Sun Dec 20 18:39:16 -0800 2009 Big clean up * make everything work and cleane... [kelan]
file HarnessController.m Sun Dec 20 18:37:39 -0800 2009 Change from notifications to delegates and adde... [kelan]
file Info.plist Sun Dec 20 18:37:02 -0800 2009 Added WWOffscreenWebView * this isn't a subcla... [kelan]
file README.mdown Sun Dec 20 18:40:00 -0800 2009 Updated README [kelan]
file TestHarness-Info.plist Sun Dec 20 18:37:39 -0800 2009 Change from notifications to delegates and adde... [kelan]
directory TestHarness.nib/ Sun Dec 20 18:39:16 -0800 2009 Big clean up * make everything work and cleane... [kelan]
file WWOfflineImageSource.h Sun Dec 20 18:39:16 -0800 2009 Big clean up * make everything work and cleane... [kelan]
file WWOfflineImageSource.m Sun Dec 20 18:55:50 -0800 2009 Change to 10.6 SDK (10.5 deploy target) * fix ... [kelan]
file WWOffscreenWebView.h Sun Dec 20 18:39:16 -0800 2009 Big clean up * make everything work and cleane... [kelan]
file WWOffscreenWebView.m Sun Dec 20 18:39:46 -0800 2009 Removed final NSLog. [kelan]
file WWScreenSaverView.h Sun Dec 20 18:55:50 -0800 2009 Change to 10.6 SDK (10.5 deploy target) * fix ... [kelan]
file WWScreenSaverView.m Sun Dec 20 18:39:16 -0800 2009 Big clean up * make everything work and cleane... [kelan]
directory WikiWalker.xcodeproj/ Sun Dec 20 18:55:50 -0800 2009 Change to 10.6 SDK (10.5 deploy target) * fix ... [kelan]
file WikiWalker_Prefix.pch Tue Apr 03 22:10:01 -0700 2007 Initial import, 2nd try, with code in trunk [kelan]
file dev notes.txt Sun Dec 20 18:40:00 -0800 2009 Updated README [kelan]
file main.m Sun Dec 20 18:37:39 -0800 2009 Change from notifications to delegates and adde... [kelan]
directory yrk default images/ Sun Dec 20 18:39:16 -0800 2009 Big clean up * make everything work and cleane... [kelan]
README.mdown

WikiWalker

Kelan Champagne (http://yeahrightkeller.com)

Description

WikiWalker is a screensaver that wanders through Wikipedia with a zoom/pan/fade effect. It starts on the Life (disambiguation) page, and picks random links on each page to follow. If you're lucky it might head towards the Meaning of life page, and then, who knows...

Details

This was my entry to ironcoder5 which was the screensaver API, and the theme was "life". I made a screen-saver that starts at the Wikipedia page for Life (disambiguation) and then follows random links to walk a path through wikipedia. For each page it renders the content and does a zoom/pan/fade effect.

The entry that I submitted was pretty rough around the edges (and in the middle too). It crashes whenever there were 2 instances of it running, which would happen if you were looking at the preview in the Screen Saver Pref Pane and then pressed "test now". This happened because I registered for a notification that I would send myself when the webview finished loading, but I wouldn't check who's webview it was. I have fixed that now, and a few other things, but it still has some bugs, including some crashers.

I also didn't get to implement the idea I had where the zoom/pan/fade effect would zoom into the part of the page where the link was that it would be following. During his judging, Jonathan Wight (schwatoo) suggested executing some JavaScript on the page in order to get the coordinates of the DOM element, which I have been meaning to try.

I have since added some code inspired by Ben Gottlieb's WikiPath (his winning entry to the Iron Coder contest), specifically:

  • the TestHarness
  • using javascript to get the list of links from the webview

My original entry is archived at the main ironcoder repository along with a dmg with all the entries.

Version History

2008-01-13 1.1 Lots of bug fixes and improvements. 2007-04-01 1.0 Original entry to the IronCoder 5 contest.

License (BSD)

Copyright (c) 2007, Kelan Champagne (http://yeahrightkeller.com) All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
* Neither the name of the Kelan Champagne nor the
  names of its contributors may be used to endorse or promote products
  derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server