SEO Ultimate - Version 1.2

Version Description

Download this release

Release Info

Developer SEO Design Solutions
Plugin Icon 128x128 SEO Ultimate
Version 1.2
Comparing to
See all releases

Code changes from version 1.1.2 to 1.2

Files changed (3) hide show
  1. modules/competition-queries.php +92 -0
  2. readme.txt +11 -2
  3. seo-ultimate.php +4 -4
modules/competition-queries.php ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Competition Researcher Module
4
+ *
5
+ * @version 1.0
6
+ * @since 1.2
7
+ */
8
+
9
+ if (class_exists('SU_Module')) {
10
+
11
+ class SU_CompetitionQueries extends SU_Module {
12
+
13
+ function get_menu_title() { return __('Comp. Researcher', 'seo-ultimate'); }
14
+ function get_page_title() { return __('Competition Researcher', 'seo-ultimate'); }
15
+
16
+ function admin_page_contents() {
17
+ echo '<p>';
18
+ _e("The Competition Researcher provides you with easy access to various search engine tools which you can use to research multiple search queries or URLs.", 'seo-ultimate');
19
+ echo "</p>\n";
20
+ ?>
21
+ <form method="get" action="http://www.seodesignsolutions.com/blog/ultimate-seo-toolkit/result.php" target="_blank">
22
+ <h3><?php _e("Step 1: Choose Your Research Tool", 'seo-ultimate'); ?></h3>
23
+ <?php
24
+
25
+ $methods = array(
26
+ __('Keywords', 'seo-ultimate') => array( __('Normal Search', 'seo-ultimate') => __("Find out how many pages contain the words in each query", 'seo-ultimate')
27
+ ,__('In-Quotes', 'seo-ultimate') => __("Find out how many &quot;actual&quot; pages are competing for each query", 'seo-ultimate')
28
+ ,__('Allinanchor', 'seo-ultimate') => __("Find out which sites have the most links for each query", 'seo-ultimate')
29
+ ,__('Allintitle', 'seo-ultimate') => __("Find out which sites have the highest relevance in the title for each query", 'seo-ultimate')
30
+ ,__('Allintext', 'seo-ultimate') => __("Find out which sites have the most relevant content/text on their pages", 'seo-ultimate')
31
+ ,__('Allinurl', 'seo-ultimate') => __("Find out which sites have the most relevant naming conventions for each keyword", 'seo-ultimate')
32
+ ),
33
+ __('URLs', 'seo-ultimate') => array( __('Site', 'seo-ultimate') => __("Find out how many pages are indexed for each domain", 'seo-ultimate')
34
+ ,__('Inbound Links', 'seo-ultimate') => __("Find out how many sites link to the domains", 'seo-ultimate')
35
+ ,__('Outbound Links', 'seo-ultimate') => __("Find out how many sites the domains link to", 'seo-ultimate')
36
+ )
37
+ );
38
+
39
+ $nominimal = array(__('Inbound Links', 'seo-ultimate'), __('Outbound Links', 'seo-ultimate'));
40
+
41
+ $first=true; foreach ($methods as $type => $tools) {
42
+ foreach ($tools as $title => $desc) {
43
+ $value = strtolower(str_replace(array(' ', '-'), '', $title));
44
+
45
+ if ($desc) $desc = " &ndash; <i>$desc</i>";
46
+
47
+ if (in_array($title, $nominimal)) $showminimal='false'; else $showminimal='true';
48
+
49
+ if ($first) { $checked=" checked='checked'"; $first=false; } else $checked='';
50
+ echo "<label><input type='radio' name='method' value='$value' id='method$i' onclick='javascript:su_competition_queries_show_step2(\"$type\", $showminimal)'$checked /> ".
51
+ "<span class='title'>$title</span>$desc</label><br />\n";
52
+
53
+ $i++;
54
+ }
55
+ }
56
+ ?>
57
+ <h3><?php _e("Step 2: Enter the <span id='methodtype'>Keywords</span> To Research", 'seo-ultimate'); ?></h3>
58
+ <div><textarea id="queries" name="queries" rows="10" cols="60"><?php echo htmlspecialchars($_GET['queries']); ?></textarea></div>
59
+ <div><em><?php _e("(Type in one per line)", 'seo-ultimate'); ?></em></div>
60
+
61
+ <h3><?php _e("Step 3: Set Options and Submit", 'seo-ultimate'); ?></h3>
62
+ <div>
63
+ <label><input type="checkbox" name="r100" value="1" /> <?php _e("Show 100 results per page", 'seo-ultimate'); ?></label><br />
64
+ <label id="minimal-checkbox"><input type="checkbox" name="minimal" value="1" /> <?php
65
+ _e("Use Google's minimal mode", 'seo-ultimate'); ?></label><br /><br />
66
+ </div>
67
+ <input type="hidden" name="mixing" id="mixing" value="0" />
68
+ <input type="hidden" name="showback" id="showback" value="0" />
69
+ <input type="hidden" name="client" id="client" value="su-<?php echo SU_VERSION; ?>" />
70
+
71
+ <div id="submit"><input type="submit" value="<?php _e("Submit", 'seo-ultimate'); ?>" class="button-primary" /></div>
72
+ </form>
73
+ <?php
74
+ }
75
+ }
76
+
77
+ } elseif (strcmp($_GET['js'], 'admin') == 0) {
78
+ header('Content-type: text/javascript');
79
+ ?>
80
+
81
+ function su_competition_queries_show_step2(type, showminimal) {
82
+ document.getElementById('methodtype').innerHTML=type;
83
+
84
+ if (showminimal)
85
+ document.getElementById('minimal-checkbox').style.visibility='visible';
86
+ else
87
+ document.getElementById('minimal-checkbox').style.visibility='hidden';
88
+ }
89
+
90
+ <?php
91
+ }
92
+ ?>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: SEO Design Solutions
3
  Tags: seo, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, google, yahoo, bing, search engines, admin, post, page, modules
4
  Requires at least: 2.7
5
- Tested up to: 2.8.4
6
- Stable tag: 1.1.2
7
 
8
  This all-in-one SEO plugin can handle titles, noindex, meta data, slugs, canonical tags, 404 error tracking, and more (with many more features coming soon).
9
 
@@ -27,6 +27,8 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
27
 
28
  * **Slug Optimizer** - Removes common words from post/Page slugs to increase in-URL keyword potency.
29
 
 
 
30
  We have many more features that we're working on finetuning before release. If you install the plugin now, you can have these new features delivered to you on a regular basis via WordPress's automatic plugin upgrader.
31
 
32
  SEO Ultimate was developed with WordPress plugin "best practices" in mind:
@@ -154,6 +156,10 @@ When editing the post or page in question, just click the "Edit" button next to
154
 
155
  When editing the post or page in question, just click the "Edit" button next to the permalink; a "Save" button will appear in its place. Next erase the contents of the textbox, and then click the aforementioned "Save" button.
156
 
 
 
 
 
157
  = How do I remove the attribution link? =
158
 
159
  Because of the tremendous effort put into this plugin, we ask that you please leave the link enabled. If you must disable it, you can do so under `Settings > SEO Ultimate`.
@@ -192,6 +198,9 @@ Yes. WordPress plugins are supposed to delete their settings during the uninstal
192
 
193
  == Changelog ==
194
 
 
 
 
195
  = Version 1.1.2 (October 9, 2009) =
196
  * Compatibility: Added PHP4 support
197
 
2
  Contributors: SEO Design Solutions
3
  Tags: seo, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, google, yahoo, bing, search engines, admin, post, page, modules
4
  Requires at least: 2.7
5
+ Tested up to: 2.8.5
6
+ Stable tag: 1.2
7
 
8
  This all-in-one SEO plugin can handle titles, noindex, meta data, slugs, canonical tags, 404 error tracking, and more (with many more features coming soon).
9
 
27
 
28
  * **Slug Optimizer** - Removes common words from post/Page slugs to increase in-URL keyword potency.
29
 
30
+ * **Competition Researcher** - Investigate multiple keywords or URLs with quick access to search query parameters like `allinanchor:keyword`, `site:example.com`, `link:example.com`, and more.
31
+
32
  We have many more features that we're working on finetuning before release. If you install the plugin now, you can have these new features delivered to you on a regular basis via WordPress's automatic plugin upgrader.
33
 
34
  SEO Ultimate was developed with WordPress plugin "best practices" in mind:
156
 
157
  When editing the post or page in question, just click the "Edit" button next to the permalink; a "Save" button will appear in its place. Next erase the contents of the textbox, and then click the aforementioned "Save" button.
158
 
159
+ = How does the Competition Researcher work? =
160
+
161
+ The Competition Researcher opens Google search results in iframes based on the parameters you specify. You can study these results to glean information about the general competition for a keyword or about specific competitors' websites. The Competition Researcher does _not_ scrape/crawl Google's search results or use other illicit automated methods; it just opens the Google search results in your browser.
162
+
163
  = How do I remove the attribution link? =
164
 
165
  Because of the tremendous effort put into this plugin, we ask that you please leave the link enabled. If you must disable it, you can do so under `Settings > SEO Ultimate`.
198
 
199
  == Changelog ==
200
 
201
+ = Version 1.2 (October 31, 2009) =
202
+ * Feature: Added the Competition Researcher module
203
+
204
  = Version 1.1.2 (October 9, 2009) =
205
  * Compatibility: Added PHP4 support
206
 
seo-ultimate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SEO Ultimate
4
  Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
5
  Description: This all-in-one SEO plugin can rewrite title tags, set meta data, add noindex, insert canonical tags, log 404 errors, edit your robots.txt, and more.
6
- Version: 1.1.2
7
  Author: SEO Design Solutions
8
  Author URI: http://www.seodesignsolutions.com/
9
  Text Domain: seo-ultimate
@@ -12,7 +12,7 @@ Text Domain: seo-ultimate
12
  /**
13
  * The main SEO Ultimate plugin file.
14
  * @package SeoUltimate
15
- * @version 1.1.2
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
@@ -38,10 +38,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
38
  //Reading plugin info from constants is faster than trying to parse it from the header above.
39
  define("SU_PLUGIN_NAME", "SEO Ultimate");
40
  define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
41
- define("SU_VERSION", "1.1.2");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
- define("SU_USER_AGENT", "SeoUltimate/1.1.2");
45
 
46
  define('SU_MODULE_ENABLED', 10);
47
  define('SU_MODULE_SILENCED', 5);
3
  Plugin Name: SEO Ultimate
4
  Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
5
  Description: This all-in-one SEO plugin can rewrite title tags, set meta data, add noindex, insert canonical tags, log 404 errors, edit your robots.txt, and more.
6
+ Version: 1.2
7
  Author: SEO Design Solutions
8
  Author URI: http://www.seodesignsolutions.com/
9
  Text Domain: seo-ultimate
12
  /**
13
  * The main SEO Ultimate plugin file.
14
  * @package SeoUltimate
15
+ * @version 1.2
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
38
  //Reading plugin info from constants is faster than trying to parse it from the header above.
39
  define("SU_PLUGIN_NAME", "SEO Ultimate");
40
  define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
41
+ define("SU_VERSION", "1.2");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
+ define("SU_USER_AGENT", "SeoUltimate/1.2");
45
 
46
  define('SU_MODULE_ENABLED', 10);
47
  define('SU_MODULE_SILENCED', 5);