Permalink
Browse files

Renamed to EscenicEngine5

Removed comments
Added homepage
Modified link identifier to match href=[].ece[]
  • Loading branch information...
1 parent f172f18 commit 7f4935bf05488b77ce6ba52c28aa9940c8da030a @nikosk nikosk committed Nov 23, 2010
Showing with 15 additions and 28 deletions.
  1. +0 −28 plugins/EscenicEngine.rb
  2. +15 −0 plugins/EscenicEngine5.rb
View
@@ -1,28 +0,0 @@
-Plugin.define "EscenicEngine" do
-author "nk@dsigned.gr"
-version "0.1"
-description "Identifies Escenic Engine CMS eg. Escenic.rb"
-examples %w| thetimes.co.uk |
-
-# a comment block here is a good place to make notes for yourself and others
-
-# These are the types of matches:
-# :regexp -- it's a regular expression in ruby, eg. /^foobar$/
-# :text -- case sensitive text
-# :ghdb -- Google Hack Database. u can use intitle: inurl: -
-# :md5 -- MD5 hash
-# :tagpattern -- a pattern made by the html entities. fuzzy matching coming soon
-# :url -- you can combine this with other variables or use by itself
-# :name -- naming the matches is optional
-# :version -- this is used to return data
-# :string -- this is used to return data
-
-# Matches are enclosed in {} brackets and separated by commas
-matches [
-{:name=>"Contains Escenic Engine image urls", :regexp=>/.*(\.ece).*(ALTERNATES|BINARY).*(w\d+)/ },
-{:name=>"Contains default .ece urls", :regexp=>/.*(\.ece)/ },
-{:url=>'/incoming/', :text=>'Default escenic section' }
-]
-
-end
-
View
@@ -0,0 +1,15 @@
+Plugin.define "EscenicEngine5" do
+author "nk@dsigned.gr"
+version "0.1"
+description "Identifies Escenic Engine CMS v5.x. Homepage: http://www.vizrt.com/products/escenic_content_engine/"
+examples %w| thetimes.co.uk |
+
+
+matches [
+{:name=>"Contains Escenic Engine image urls", :regexp=>/.*(\.ece).*(ALTERNATES|BINARY).*(w\d+)/,:certainty=>85 },
+{:name=>"Contains default .ece urls", :regexp=>/.*href=.*(\.ece).*/,:certainty=>75 },
+{:name=>"Builtin section exists", :url=>'/incoming/',:certainty=>50 }
+]
+
+end
+

0 comments on commit 7f4935b

Please sign in to comment.