class Navigasmic::Builder::MapBuilder::Configuration
Attributes
changefreq[RW]
group_tag[RW]
item_changefreq[RW]
item_tag[RW]
label_generator[RW]
option_namespace[RW]
schema_location[RW]
wrapper_tag[RW]
xmlns[RW]
xmlns_xsi[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/navigasmic/builders/map_builder.rb, line 10 def initialize # where you want the changefreq and other options to be looked for @option_namespace = :map # tag configurations @wrapper_tag = :urlset @item_tag = :url # xml namespace / schema @xmlns = 'http://www.sitemaps.org/schemas/sitemap/0.9' @xmlns_xsi = 'http://www.w3.org/2001/XMLSchema-instance' @schema_location = 'http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd' # misc defaults @changefreq = 'yearly' @item_changefreq = 'yearly' super end