Sha256: 332d41d1cd4223990bd931797ace44dd30f6cb3e03c74058c643d74d0a255557

Contents?: true

Size: 689 Bytes

Versions: 5

Compression:

Stored size: 689 Bytes

Contents

=begin
                  Arachni
  Copyright (c) 2010-2012 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 Arachni::Parser::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

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.0.4 path_extractors/sitemap.rb
arachni-0.4.0.3 path_extractors/sitemap.rb
arachni-0.4.0.2 path_extractors/sitemap.rb
arachni-0.4.0.1 path_extractors/sitemap.rb
arachni-0.4 path_extractors/sitemap.rb