Sha256: 19ae420f88e717132887756829d92db6aa246f42f5010a43833541fa855dd4f9

Contents?: true

Size: 681 Bytes

Versions: 4

Compression:

Stored size: 681 Bytes

Contents

=begin
                  Arachni
  Copyright (c) 2010-2011 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

  This is free software; you can copy and distribute and modify
  this program under the term of the GPL v2.0 License
  (See LICENSE file for details)

=end

module Anemone::Extractors

#
# @author: Tasos "Zapotek" Laskos
#                                      <tasos.laskos@gmail.com>
#                                      <zapotek@segfault.gr>
# @version: 0.1
#
class Sitemap < Paths

    #
    # @param    [Nokogiri]  Nokogiri document
    #
    # @return   [Array<String>]  paths
    #
    def run( doc )
        [ '/sitemap.xml', '/sitemap.xml.gz' ]
    end

end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.2.4 path_extractors/sitemap.rb
arachni-0.2.3 path_extractors/sitemap.rb
arachni-0.2.2.2 path_extractors/sitemap.rb
arachni-0.2.2.1 path_extractors/sitemap.rb