Sha256: 7c58ff00ffe9c76c63083c1576b7b4aeed94b8ff9cc568d0b1fe9e7bc2687b4a

Contents?: true

Size: 728 Bytes

Versions: 6

Compression:

Stored size: 728 Bytes

Contents

# frozen_string_literal: true

##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
WhatWeb::Plugin.define "Meta-Geo" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-03-06 #
  @version = "0.1"
  @description = "This plugin identifies and extracts data from meta geo.* tags - More Info: http://en.wikipedia.org/wiki/Geotagging"

  # Matches #
  @matches = [

    # Meta geo.*
    { string: /<meta name="geo.[^"]+" content="([^"]+)"[^>]*>/ },

    # ICBM tag
    { string: /<meta name="ICBM" content="([^"]+)"[^>]*>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/meta-geo.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/meta-geo.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/meta-geo.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/meta-geo.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/meta-geo.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/meta-geo.rb