Plugin Directory

Changeset 1048825


Ignore:
Timestamp:
12/19/2014 03:55:57 AM (11 years ago)
Author:
saucecode
Message:

Update for version 1.0

Location:
sc-google-ranking/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sc-google-ranking/trunk/ScGoogleRanking_OptionsManager.php

    r1015940 r1048825  
    323323                                <td>
    324324                                <?php $this->createFormControl($aOptionKey, $aOptionMeta, $this->getOption($aOptionKey)); ?>
    325                                 <span><?php if ($aOptionKey == 'YourKeywords') echo 'Enter the search keywords separate by space (e.g. budget homestay)';?>
    326                                     <?php if ($aOptionKey == 'GoogleDomain') echo 'Select which Google domain the perform search. Different search result return by different Google domain.';?>
     325                                <span><?php if ($aOptionKey == 'YourKeywords') echo 'Enter the search keywords separate by space (e.g. budget homestay). Exactly like what you enter to the Google search bar.';?>
     326                                    <?php if ($aOptionKey == 'GoogleDomain') echo 'Select which Google domain your are searching at. Different search result return by different Google domain.';?>
    327327                                </span>
    328328                                </td>
     
    337337                           value="<?php _e('Save Changes', 'sc-google-ranking') ?>"/>
    338338                </p>
    339             </form>                 
     339            </form>   
     340           
     341            <h2>Need to record your Google ranking everyday? </h2> 
     342            <p>See how your website&#39;s ranking going well while you maintaining your website&#39;s content and SEO. We will help you to keep track your ranking result everyday. We will provide simple daily keyword rank tracking reports.
     343                You will be able to compare with your competitor&#39;s ranking as well.
     344            </p>
     345            <p>Please provide the following and email to <a href="mailto:[email protected]">[email protected]</a>:</p>
     346        <ol>
     347            <li>Your email address</li>
     348            <li>Your website’s URL</li>
     349            <li>Your competitor’s website URL</li>
     350            <li>Search keywords</li>
     351        </ol>
     352        <p>An email of instruction with a website URL, and login will be sent to you. You will be able to access to the website to view your report.</p>             
    340353       
    341354        <?php
     
    433446     */
    434447    protected function createFormControl($aOptionKey, $aOptionMeta, $savedOptionValue) {
     448   
    435449        if (is_array($aOptionMeta) && count($aOptionMeta) >= 2) { // Drop-down list
    436450            $choices = array_slice($aOptionMeta, 1);
    437451            ?>
    438452            <p><select name="<?php echo $aOptionKey ?>" id="<?php echo $aOptionKey ?>">
    439             <?php
     453            <?php 
    440454                            foreach ($choices as $aChoice) {
    441                 $selected = ($aChoice == $savedOptionValue) ? 'selected' : '';
     455                $selected = ($aChoice['value'] == $savedOptionValue) ? 'selected' : '';
    442456                ?>
    443                     <option value="<?php echo $aChoice ?>" <?php echo $selected ?>><?php echo $this->getOptionValueI18nString($aChoice) ?></option>
     457                    <option value="<?php echo $aChoice['value'] ?>" <?php echo $selected ?>><?php echo $this->getOptionValueI18nString($aChoice['text']) ?></option>
    444458                <?php
    445459            }
  • sc-google-ranking/trunk/ScGoogleRanking_Plugin.php

    r1015940 r1048825  
    1616            'YourKeywords' => array(__('Your Keywords', 'sc-google-ranking')),
    1717            'GoogleDomain' => array(__('Google Domain', 'sc-google-ranking'),
    18                 'google.com',
    19         'google.com.au',       
    20         'google.com.hk',
    21         'google.com.my',
    22         'google.com.sg',       
    23         'google.com.tw',
    24         'google.co.in',
    25         'google.co.jp',
    26         'google.co.uk'
     18        array('text'=>'United States (google.com)','value'=>'google.com'),
     19        array('text'=>'Australia (google.com.au)','value'=>'google.com.au'),
     20        array('text'=>'United Kingdom (google.co.uk)','value'=>'google.co.uk'),
     21        array('text'=>'China (google.com.hk)','value'=>'google.com.hk'),
     22        array('text'=>'Afghanistan (google.com.af)','value'=>'google.com.af'),
     23        array('text'=>'Albania (google.al)','value'=>'google.al'),
     24        array('text'=>'Algeria (google.dz)','value'=>'google.dz'),
     25        array('text'=>'American Samoa (google.as)','value'=>'google.as'),
     26        array('text'=>'Andorra (google.ad)','value'=>'google.ad'),
     27        array('text'=>'Angola (google.co.ao)','value'=>'google.co.ao'),
     28        array('text'=>'Anguilla (google.com.ai)','value'=>'google.com.ai'),
     29        array('text'=>'Antigua and Barbuda (google.com.ag)','value'=>'google.com.ag'),
     30        array('text'=>'Argentina (google.com.ar)','value'=>'google.com.ar'),
     31        array('text'=>'Armenia (google.am)','value'=>'google.am'),
     32        array('text'=>'Ascension Island (google.ac)','value'=>'google.ac'),
     33        array('text'=>'Austria (google.at)','value'=>'google.at'),
     34        array('text'=>'Azerbaijan (google.az)','value'=>'google.az'),
     35        array('text'=>'Bahamas (google.bs)','value'=>'google.bs'),
     36        array('text'=>'Bahrain (google.com.bh)','value'=>'google.com.bh'),
     37        array('text'=>'Bangladesh (google.com.bd)','value'=>'google.com.bd'),
     38        array('text'=>'Belarus (google.by)','value'=>'google.by'),
     39        array('text'=>'Belgium (google.be)','value'=>'google.be'),
     40        array('text'=>'Belize (google.com.bz)','value'=>'google.com.bz'),
     41        array('text'=>'Benin (google.bj)','value'=>'google.bj'),
     42        array('text'=>'Bhutan (google.bt)','value'=>'google.bt'),
     43        array('text'=>'Bolivia (google.com.bo)','value'=>'google.com.bo'),
     44        array('text'=>'Bosnia and Herzegovina (google.ba)','value'=>'google.ba'),
     45        array('text'=>'Botswana (google.co.bw)','value'=>'google.co.bw'),
     46        array('text'=>'Brazil (google.com.br)','value'=>'google.com.br'),
     47        array('text'=>'British Indian Ocean Territory (google.io)','value'=>'google.io'),
     48        array('text'=>'British Virgin Islands (google.vg)','value'=>'google.vg'),
     49        array('text'=>'Brunei (google.com.bn)','value'=>'google.com.bn'),
     50        array('text'=>'Bulgaria (google.bg)','value'=>'google.bg'),
     51        array('text'=>'Burkina Faso (google.bf)','value'=>'google.bf'),
     52        array('text'=>'Burma (google.com.mm)','value'=>'google.com.mm'),
     53        array('text'=>'Burundi (google.bi)','value'=>'google.bi'),
     54        array('text'=>'Cambodia (google.com.kh)','value'=>'google.com.kh'),
     55        array('text'=>'Cameroon (google.cm)','value'=>'google.cm'),
     56        array('text'=>'Canada (google.ca)','value'=>'google.ca'),
     57        array('text'=>'Cape Verde (google.cv)','value'=>'google.cv'),
     58        array('text'=>'CataloniaCatalan Countries (google.cat)','value'=>'google.cat'),
     59        array('text'=>'Central African Republic (google.cf)','value'=>'google.cf'),
     60        array('text'=>'Chad (google.td)','value'=>'google.td'),
     61        array('text'=>'Chile (google.cl)','value'=>'google.cl'),
     62        array('text'=>'Cocos (Keeling) Islands (google.cc)','value'=>'google.cc'),
     63        array('text'=>'Colombia (google.com.co)','value'=>'google.com.co'),
     64        array('text'=>'Cook Islands (google.co.ck)','value'=>'google.co.ck'),
     65        array('text'=>'Costa Rica (google.co.cr)','value'=>'google.co.cr'),
     66        array('text'=>'Croatia (google.hr)','value'=>'google.hr'),
     67        array('text'=>'Cuba (google.com.cu)','value'=>'google.com.cu'),
     68        array('text'=>'Cyprus (google.com.cy)','value'=>'google.com.cy'),
     69        array('text'=>'Czech Republic (google.cz)','value'=>'google.cz'),
     70        array('text'=>'Democratic Republic of the Congo (google.cd)','value'=>'google.cd'),
     71        array('text'=>'Denmark (google.dk)','value'=>'google.dk'),
     72        array('text'=>'Djibouti (google.dj)','value'=>'google.dj'),
     73        array('text'=>'Dominica (google.dm)','value'=>'google.dm'),
     74        array('text'=>'Dominican Republic (google.com.do)','value'=>'google.com.do'),
     75        array('text'=>'Ecuador (google.com.ec)','value'=>'google.com.ec'),
     76        array('text'=>'Egypt (google.com.eg)','value'=>'google.com.eg'),
     77        array('text'=>'El Salvador (google.com.sv)','value'=>'google.com.sv'),
     78        array('text'=>'Estonia (google.ee)','value'=>'google.ee'),
     79        array('text'=>'Ethiopia (google.com.et)','value'=>'google.com.et'),
     80        array('text'=>'Federated States of Micronesia (google.fm)','value'=>'google.fm'),
     81        array('text'=>'Fiji (google.com.fj)','value'=>'google.com.fj'),
     82        array('text'=>'Finland (google.fi)','value'=>'google.fi'),
     83        array('text'=>'France (google.fr)','value'=>'google.fr'),
     84        array('text'=>'French Guiana (google.gf)','value'=>'google.gf'),
     85        array('text'=>'Gabon (google.ga)','value'=>'google.ga'),
     86        array('text'=>'Gambia (google.gm)','value'=>'google.gm'),
     87        array('text'=>'Georgia (google.ge)','value'=>'google.ge'),
     88        array('text'=>'Germany (google.de)','value'=>'google.de'),
     89        array('text'=>'Germany (google.de)','value'=>'google.de'),
     90        array('text'=>'Ghana (google.com.gh)','value'=>'google.com.gh'),
     91        array('text'=>'Gibraltar (google.com.gi)','value'=>'google.com.gi'),
     92        array('text'=>'Greece (google.gr)','value'=>'google.gr'),
     93        array('text'=>'Greenland (google.gl)','value'=>'google.gl'),
     94        array('text'=>'Guadeloupe (google.gp)','value'=>'google.gp'),
     95        array('text'=>'Guatemala (google.com.gt)','value'=>'google.com.gt'),
     96        array('text'=>'Guernsey (google.gg)','value'=>'google.gg'),
     97        array('text'=>'Guyana (google.gy)','value'=>'google.gy'),
     98        array('text'=>'Haiti (google.ht)','value'=>'google.ht'),
     99        array('text'=>'Honduras (google.hn)','value'=>'google.hn'),
     100        array('text'=>'Hong Kong (google.com.hk)','value'=>'google.com.hk'),
     101        array('text'=>'Hungary (google.hu)','value'=>'google.hu'),
     102        array('text'=>'Iceland (google.is)','value'=>'google.is'),
     103        array('text'=>'India (google.co.in)','value'=>'google.co.in'),
     104        array('text'=>'Indonesia (google.co.id)','value'=>'google.co.id'),
     105        array('text'=>'Iran (google.ir)','value'=>'google.ir'),
     106        array('text'=>'Iraq (google.iq)','value'=>'google.iq'),
     107        array('text'=>'Ireland (google.ie)','value'=>'google.ie'),
     108        array('text'=>'Isle of Man (google.im)','value'=>'google.im'),
     109        array('text'=>'Israel (google.co.il)','value'=>'google.co.il'),
     110        array('text'=>'Italy (google.it)','value'=>'google.it'),
     111        array('text'=>'Ivory Coast (google.ci)','value'=>'google.ci'),
     112        array('text'=>'Jamaica (google.com.jm)','value'=>'google.com.jm'),
     113        array('text'=>'Japan (google.co.jp)','value'=>'google.co.jp'),
     114        array('text'=>'Jersey (google.je)','value'=>'google.je'),
     115        array('text'=>'Jordan (google.jo)','value'=>'google.jo'),
     116        array('text'=>'Kazakhstan (google.kz)','value'=>'google.kz'),
     117        array('text'=>'Kenya (google.co.ke)','value'=>'google.co.ke'),
     118        array('text'=>'Kiribati (google.ki)','value'=>'google.ki'),
     119        array('text'=>'Kuwait (google.com.kw)','value'=>'google.com.kw'),
     120        array('text'=>'Kyrgyzstan (google.kg)','value'=>'google.kg'),
     121        array('text'=>'Laos (google.la)','value'=>'google.la'),
     122        array('text'=>'Latvia (google.lv)','value'=>'google.lv'),
     123        array('text'=>'Lebanon (google.com.lb)','value'=>'google.com.lb'),
     124        array('text'=>'Lesotho (google.co.ls)','value'=>'google.co.ls'),
     125        array('text'=>'Libya (google.com.ly)','value'=>'google.com.ly'),
     126        array('text'=>'Liechtenstein (google.li)','value'=>'google.li'),
     127        array('text'=>'Lithuania (google.lt)','value'=>'google.lt'),
     128        array('text'=>'Luxembourg (google.lu)','value'=>'google.lu'),
     129        array('text'=>'Macedonia (google.mk)','value'=>'google.mk'),
     130        array('text'=>'Madagascar (google.mg)','value'=>'google.mg'),
     131        array('text'=>'Malawi (google.mw)','value'=>'google.mw'),
     132        array('text'=>'Malaysia (google.com.my)','value'=>'google.com.my'),
     133        array('text'=>'Maldives (google.mv)','value'=>'google.mv'),
     134        array('text'=>'Mali (google.ml)','value'=>'google.ml'),
     135        array('text'=>'Malta (google.com.mt)','value'=>'google.com.mt'),
     136        array('text'=>'Mauritius (google.mu)','value'=>'google.mu'),
     137        array('text'=>'Mexico (google.com.mx)','value'=>'google.com.mx'),
     138        array('text'=>'Moldova (google.md)','value'=>'google.md'),
     139        array('text'=>'Mongolia (google.mn)','value'=>'google.mn'),
     140        array('text'=>'Montenegro (google.me)','value'=>'google.me'),
     141        array('text'=>'Montserrat (google.ms)','value'=>'google.ms'),
     142        array('text'=>'Morocco (google.co.ma)','value'=>'google.co.ma'),
     143        array('text'=>'Mozambique (google.co.mz)','value'=>'google.co.mz'),
     144        array('text'=>'Namibia (google.com.na)','value'=>'google.com.na'),
     145        array('text'=>'Nauru (google.nr)','value'=>'google.nr'),
     146        array('text'=>'Nepal (google.com.np)','value'=>'google.com.np'),
     147        array('text'=>'Netherlands (google.nl)','value'=>'google.nl'),
     148        array('text'=>'New Zealand (google.co.nz)','value'=>'google.co.nz'),
     149        array('text'=>'Nicaragua (google.com.ni)','value'=>'google.com.ni'),
     150        array('text'=>'Niger (google.ne)','value'=>'google.ne'),
     151        array('text'=>'Nigeria (google.com.ng)','value'=>'google.com.ng'),
     152        array('text'=>'Niue (google.nu)','value'=>'google.nu'),
     153        array('text'=>'Norfolk Island (google.com.nf)','value'=>'google.com.nf'),
     154        array('text'=>'Norway (google.no)','value'=>'google.no'),
     155        array('text'=>'Oman (google.com.om)','value'=>'google.com.om'),
     156        array('text'=>'Pakistan (google.com.pk)','value'=>'google.com.pk'),
     157        array('text'=>'Palestine[4] (google.ps)','value'=>'google.ps'),
     158        array('text'=>'Panama (google.com.pa)','value'=>'google.com.pa'),
     159        array('text'=>'Papua New Guinea (google.com.pg)','value'=>'google.com.pg'),
     160        array('text'=>'Paraguay (google.com.py)','value'=>'google.com.py'),
     161        array('text'=>'Peru (google.com.pe)','value'=>'google.com.pe'),
     162        array('text'=>'Philippines (google.com.ph)','value'=>'google.com.ph'),
     163        array('text'=>'Pitcairn Islands (google.pn)','value'=>'google.pn'),
     164        array('text'=>'Poland (google.pl)','value'=>'google.pl'),
     165        array('text'=>'Portugal (google.pt)','value'=>'google.pt'),
     166        array('text'=>'Puerto Rico (google.com.pr)','value'=>'google.com.pr'),
     167        array('text'=>'Qatar (google.com.qa)','value'=>'google.com.qa'),
     168        array('text'=>'Republic of the Congo (google.cg)','value'=>'google.cg'),
     169        array('text'=>'Romania (google.ro)','value'=>'google.ro'),
     170        array('text'=>'Russia (google.ru)','value'=>'google.ru'),
     171        array('text'=>'Rwanda (google.rw)','value'=>'google.rw'),
     172        array('text'=>'Saint Helena, Ascension and Tristan da Cunha (google.sh)','value'=>'google.sh'),
     173        array('text'=>'Saint Lucia (google.com.lc)','value'=>'google.com.lc'),
     174        array('text'=>'Saint Vincent and the Grenadines (google.com.vc)','value'=>'google.com.vc'),
     175        array('text'=>'Samoa (google.ws)','value'=>'google.ws'),
     176        array('text'=>'San Marino (google.sm)','value'=>'google.sm'),
     177        array('text'=>'São Tomé and Príncipe (google.st)','value'=>'google.st'),
     178        array('text'=>'Saudi Arabia (google.com.sa)','value'=>'google.com.sa'),
     179        array('text'=>'Senegal (google.sn)','value'=>'google.sn'),
     180        array('text'=>'Serbia (google.rs)','value'=>'google.rs'),
     181        array('text'=>'Seychelles (google.sc)','value'=>'google.sc'),
     182        array('text'=>'Sierra Leone (google.com.sl)','value'=>'google.com.sl'),
     183        array('text'=>'Singapore (google.com.sg)','value'=>'google.com.sg'),
     184        array('text'=>'Slovakia (google.sk)','value'=>'google.sk'),
     185        array('text'=>'Slovenia (google.si)','value'=>'google.si'),
     186        array('text'=>'Solomon Islands (google.com.sb)','value'=>'google.com.sb'),
     187        array('text'=>'Somalia (google.so)','value'=>'google.so'),
     188        array('text'=>'South Africa (google.co.za)','value'=>'google.co.za'),
     189        array('text'=>'South Korea (google.co.kr)','value'=>'google.co.kr'),
     190        array('text'=>'Spain (google.es)','value'=>'google.es'),
     191        array('text'=>'Sri Lanka (google.lk)','value'=>'google.lk'),
     192        array('text'=>'Sweden (google.se)','value'=>'google.se'),
     193        array('text'=>'Switzerland (google.ch)','value'=>'google.ch'),
     194        array('text'=>'Taiwan (google.com.tw)','value'=>'google.com.tw'),
     195        array('text'=>'Tajikistan (google.com.tj)','value'=>'google.com.tj'),
     196        array('text'=>'Tanzania (google.co.tz)','value'=>'google.co.tz'),
     197        array('text'=>'Thailand (google.co.th)','value'=>'google.co.th'),
     198        array('text'=>'Timor-Leste (google.tl)','value'=>'google.tl'),
     199        array('text'=>'Togo (google.tg)','value'=>'google.tg'),
     200        array('text'=>'Tokelau (google.tk)','value'=>'google.tk'),
     201        array('text'=>'Tonga (google.to)','value'=>'google.to'),
     202        array('text'=>'Trinidad and Tobago (google.tt)','value'=>'google.tt'),
     203        array('text'=>'Tunisia (google.tn)','value'=>'google.tn'),
     204        array('text'=>'Tunisia (google.com.tn)','value'=>'google.com.tn'),
     205        array('text'=>'Turkey (google.com.tr)','value'=>'google.com.tr'),
     206        array('text'=>'Turkmenistan (google.tm)','value'=>'google.tm'),
     207        array('text'=>'Uganda (google.co.ug)','value'=>'google.co.ug'),
     208        array('text'=>'Ukraine (google.com.ua)','value'=>'google.com.ua'),
     209        array('text'=>'United Arab Emirates (google.ae)','value'=>'google.ae'),
     210        array('text'=>'United States Virgin Islands (google.co.vi)','value'=>'google.co.vi'),
     211        array('text'=>'Uruguay (google.com.uy)','value'=>'google.com.uy'),
     212        array('text'=>'Uzbekistan (google.co.uz)','value'=>'google.co.uz'),
     213        array('text'=>'Vanuatu (google.vu)','value'=>'google.vu'),
     214        array('text'=>'Venezuela (google.co.ve)','value'=>'google.co.ve'),
     215        array('text'=>'Vietnam (google.com.vn)','value'=>'google.com.vn'),
     216        array('text'=>'Zambia (google.co.zm)','value'=>'google.co.zm'),
     217        array('text'=>'Zimbabwe (google.co.zw)','value'=>'google.co.zw')       
    27218            )
    28219        );
  • sc-google-ranking/trunk/readme.txt

    r1015948 r1048825  
    22Contributors: SauceCode
    33Donate link:
    4 Tags:
     4Tags: google, search, result, ranking, seo, keyword
    55License: GPLv3
    66License URI: http://www.gnu.org/licenses/gpl-3.0.html
    77Requires at least: 3.5
    8 Tested up to: 4.0
    9 Stable tag: 0.1
     8Tested up to: 4.1
     9Stable tag: 1.0
    1010
    1111Get the ranking of your site in Google search engine provided with keywords
     
    1313== Description ==
    1414
    15 This plugin lets you know the ranking of your website in Google search when you search by keywords. You can define which country you would like to search as Google search result is different by country.
     15This plugin lets you know the ranking of your website in Google search result provided with keywords. You can define which country's Google domain you would like to search as Google search result is different by country.
    1616
    1717Keep monitor your website in the best ranking by using this plugin.
     
    2525Navigate to "SCGoogleRanking" link in admin panel left menu, enter the keywords (e.g. homestay buget), then save the changes.
    26262. What is Google Domain?
    27 Google Domain is to define which country the keyword search to execute.
     27Google Domain is to define which country the keyword search engine to execute. Different Google domain will return different list of search results.
     283. Is this plugin working in in my local development environemnt?
     29This plugin will not work in local development environment.
     304. How many keywords I can provide in the Keywords input?
     31You can put as many as you like. Primarily, targeting about 5 keywords is recommended.
    2832
    2933== Screenshots ==
    30 1. SC Google Ranking tool.
     341. SC Google Ranking tool, showing the ranking of your website today provided with keywords.
     352. Ranking based on the Google search result
    3136
    3237
     
    3540= 0.1 =
    3641- Initial Revision
     42= 1.0 =
     43- Stable version
     44- Added more Google domains
     45- Added value service available to help you record your ranking daily.
Note: See TracChangeset for help on using the changeset viewer.