Sha256: 9e73addfce2aeb8ad62ca3f96e890a0c56b12a3275820f9f519cc5b0f82609d3

Contents?: true

Size: 881 Bytes

Versions: 6

Compression:

Stored size: 881 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
##

# Version 0.2
# fixed examples= bug

WhatWeb::Plugin.define "Blogger" do
  @author = "Andrew Horton"
  @version = "0.2"
  @description = "Blogger.com free blogging site"

  # identifying strings
  # <meta content='blogger' name='generator'/>

  # <a href="http://www.blogger.com"><img width=88 height=31 src="http://www.blogger.com/buttons/bloggerbutton1.gif" border=0 alt="Powered by Blogger"></a>

  @matches = [
    { text: "<meta content='blogger' name='generator'/>" },
    { name: "Powered by link", regexp: /<a href="http:\/\/www.blogger.com"><img [^>]* alt="Powered by Blogger"><\/a>/ },
  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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