Sha256: c168668a26644798b3bb6ccb9ae8d0519e861c741584024a28c1875bf97cc031
Contents?: true
Size: 695 Bytes
Versions: 1
Compression:
Stored size: 695 Bytes
Contents
require 'time' require 'date' require 'zlib' require 'builder' require 'cgi' begin require 'nokogiri' rescue LoadError end require 'xml-sitemap/options' require 'xml-sitemap/render_engine' require 'xml-sitemap/item' require 'xml-sitemap/map' require 'xml-sitemap/index' module XmlSitemap class << self # Shortcut to XmlSitemap::Map.new # # domain - Primary domain # options - Map options # def map(domain, options={}) XmlSitemap::Map.new(domain, options) end alias :new :map # Shortcut to XmlSitemap::Index.new # # options - Index options # def index(options={}) XmlSitemap::Index.new(options) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xml-sitemap-1.2.2 | lib/xml-sitemap.rb |