In attempting to process the accessibility of this site - http://www.ccg-gcc.gc.ca
I got the following error:
Opening http://www.ccg-gcc.gc.ca/folios/00025/images/Bar_Harbor_028.JPG
Skipping data for http://www.ccg-gcc.gc.ca/folios/00025/images/Bar_Harbor_028.JPG
/Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:539:in `is_frameset': undefined method `/' for nil:NilClass
(NoMethodError)
from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:403:in `check_frames'
from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:113:in `send'
from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:113:in `all'
from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:111:in `each'
from /Library/Ruby/Gems/1.8/gems/raakt-0.5.2/lib/raakt.rb:111:in `all'
from ./accessible.rb:19
from /Library/Ruby/Gems/1.8/gems/simplecrawler-0.1.6/lib/simplecrawler.rb:173:in `crawl'
from ./accessible.rb:13
Initially it had stopped for other file types, so I extended this for the command script:
sc.skip_patterns = ["\\.wmv$", "\\.mov$", "\\.gif$", "\\.png$", "\\.jpg$",
"\\.doc$", "\\.pdf$", "\\.xls$", "\\.pdf$", "\\.zip$", "\\.wmv$",
"\\.mov$", "\\.gif$", "\\.png$", "\\.jpg$", "\\.doc$", "\\.pdf$",
"\\.xls$", "\\.pdf$", "\\.zip$"]
Thoughts would be appreciated |