ezkl/sniffles — Issue #48: Stop checking CMS's once one is found
Author: JakeAustwick
Created: 2012-03-06 20:44:48+00:00
State: open

A page can only belong to one CMS, so I think it seems smart to stop checking if it's another CMS is one is detected. However with the way things are currently run, I'm not sure on the best way to implement this.

That way the sniffer response object could be something along the lines of

```ruby
:cms => {:platform=>:wordpress, :version=>false, :feed=>"http://feeds.feedburner.com/pearsonified", :theme=>"thesis_17", :pingback=>"http://www.pearsonified.com/xmlrpc.php"}
```
Rather than

```ruby
:phpbb=>{:found=>false}, :vbulletin=>{:found=>false}, :wordpress=>{:found=>true, :version=>false, :feed=>"http://feeds.feedburner.com/pearsonified", :theme=>"thesis_17", :pingback=>"http://www.pearsonified.com/xmlrpc.php"}}
```
I'm not entirely sure on the best implementation either. But currently the only way to find out what CMS a site actually was would be to look through all the CMS keys, and find which were true? Unless I'm overlooking something.