lib/wmap/site_tracker.rb
# Quick validation if a site is already covered under the site store
Quick validation if a site is already covered under the site store
Quick validation if a site is already covered under the site store
def site_known?(site)
		raise "Web site store not loaded properly! " if @known_sites.nil?
		site=site.strip.downcase unless site.nil?
		site=url_2_site(site)
		return @known_sites.key?(site) unless site.nil?
	rescue => ee
		puts "Error checking web site #{site} against the site store: #{ee}"
		return false
	end
def site_known? ( site ) raise "Web site store not loaded properly! " if @known_sites . nil? site = site . strip . downcase unless site . nil? site = url_2_site ( site ) return @known_sites . key? ( site ) unless site . nil? rescue => ee puts "Error checking web site #{site} against the site store: #{ee}" return false end
Quick validation if a site is already covered under the site store
Quick validation if a site is already covered under the site store
site
<not_specific>