Class: SiteMapper::SiteMapper

Inherits:
Object
  • Object
show all
Includes:
BaseMethods
Defined in:
lib/taq-sitemapper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BaseMethods

#ping, #write_sitemap

Constructor Details

#initializeSiteMapper

Returns a new instance of SiteMapper.



77
78
79
80
81
82
83
84
# File 'lib/taq-sitemapper.rb', line 77

def initialize
   @url        = nil
   @loc        = :loc
   @lastmod    = :lastmod
   @changefreq = "daily"
   @priority   = 1.00
   @file       = nil
end

Instance Attribute Details

#changefreqObject

Returns the value of attribute changefreq.



75
76
77
# File 'lib/taq-sitemapper.rb', line 75

def changefreq
  @changefreq
end

#fileObject

Returns the value of attribute file.



75
76
77
# File 'lib/taq-sitemapper.rb', line 75

def file
  @file
end

#lastmodObject

Returns the value of attribute lastmod.



75
76
77
# File 'lib/taq-sitemapper.rb', line 75

def lastmod
  @lastmod
end

#locObject

Returns the value of attribute loc.



75
76
77
# File 'lib/taq-sitemapper.rb', line 75

def loc
  @loc
end

#priorityObject

Returns the value of attribute priority.



75
76
77
# File 'lib/taq-sitemapper.rb', line 75

def priority
  @priority
end

#urlObject

Returns the value of attribute url.



75
76
77
# File 'lib/taq-sitemapper.rb', line 75

def url
  @url
end