Sha256: 8083d125984694fee44386128757fa67105341d2ccabd92ecdc7d85e89180f88

Contents?: true

Size: 859 Bytes

Versions: 2

Compression:

Stored size: 859 Bytes

Contents

module XmlSitemap
  PERIODS = [
    :none,
    :always,
    :hourly,
    :daily,
    :weekly,
    :monthly,
    :yearly,
    :never
  ].freeze

  MAP_SCHEMA_OPTIONS = {
    'xsi:schemaLocation' => "http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd",
    'xmlns:xsi'          => "http://www.w3.org/2001/XMLSchema-instance",
    'xmlns:image'        => "http://www.google.com/schemas/sitemap-image/1.1",
    'xmlns'              => "http://www.sitemaps.org/schemas/sitemap/0.9"
  }.freeze

  INDEX_SCHEMA_OPTIONS = {
    'xsi:schemaLocation' => "http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd",
    'xmlns:xsi'          => "http://www.w3.org/2001/XMLSchema-instance",
    'xmlns'              => "http://www.sitemaps.org/schemas/sitemap/0.9"
  }.freeze
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xml-sitemap-1.3.1 lib/xml-sitemap/options.rb
xml-sitemap-1.3.0 lib/xml-sitemap/options.rb