def load(options = {}, &block)
      options.each do |k, v|
        self.send("#{k}=", v)
      end
      self.routes = block
    end
def load(options = {}, &block)
      options.each do |k, v|
        self.send("#{k}=", v)
      end
      self.routes = block
    end
Instantiates a new object.
 Should never be called directly.
 Sets the urls to be indexed.

 The +host+, or any other global option can be set here:

   Sitemap::Generator.instance.load :host => "mywebsite.com" do
     ...
   end

 Literal paths can be added as follows:

   Sitemap::Generator.instance.load :host => "mywebsite.com" do
     literal "/some_fancy_url"
   end

 Simple paths can be added as follows:

   Sitemap::Generator.instance.load :host => "mywebsite.com" do
     path :faq
   end

 Object collections are supported too:

   Sitemap::Generator.instance.load :host => "mywebsite.com" do
     resources :activities
   end

 Search options such as frequency and priority can be declared as an options hash:

   Sitemap::Generator.instance.load :host => "mywebsite.com" do
     path :root, :priority => 1
     path :faq, :priority => 0.8, :change_frequency => "daily"
     resources :activities, :change_frequency => "weekly"
   end