Version Description
CURL and save setting errors were fixed.
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Google Sitemap by BestWebSoft |
Version | 1.07 |
Comparing to | |
See all releases |
Code changes from version 1.06 to 1.07
- css/stylesheet.css +4 -38
- google-sitemap-plugin.php +97 -99
- languages/sitemap-ru_RU.mo +0 -0
- languages/sitemap-ru_RU.po +82 -58
- readme.txt +15 -9
- screenshot-1.jpg +0 -0
- screenshot-2.jpg +0 -0
css/stylesheet.css
CHANGED
@@ -1,41 +1,3 @@
|
|
1 |
-
#gglstmp_auth p{
|
2 |
-
padding-left:10px;
|
3 |
-
}
|
4 |
-
|
5 |
-
#gglstmp_auth p.submit {
|
6 |
-
padding-left:0px;
|
7 |
-
}
|
8 |
-
|
9 |
-
#gglstmp_login label{
|
10 |
-
float: left;
|
11 |
-
width: 100px;
|
12 |
-
}
|
13 |
-
|
14 |
-
#gglstmp_pass label{
|
15 |
-
float: left;
|
16 |
-
width: 100px;
|
17 |
-
}
|
18 |
-
|
19 |
-
#gglstmp_add_menu{
|
20 |
-
line-height: 25px;
|
21 |
-
}
|
22 |
-
|
23 |
-
#gglstmp_del_menu{
|
24 |
-
line-height: 25px;
|
25 |
-
}
|
26 |
-
|
27 |
-
#gglstmp_robot{
|
28 |
-
line-height: 25px;
|
29 |
-
}
|
30 |
-
|
31 |
-
#gglstmp_new_sitemap{
|
32 |
-
line-height: 14px;
|
33 |
-
}
|
34 |
-
|
35 |
-
#gglstmp_info{
|
36 |
-
line-height: 25px;
|
37 |
-
}
|
38 |
-
|
39 |
#adminmenu #toplevel_page_bws_plugins div.wp-menu-image
|
40 |
{
|
41 |
background: url("../images/icon_16.png") no-repeat scroll center center transparent;
|
@@ -51,4 +13,8 @@
|
|
51 |
#toplevel_page_bws_plugins .wp-submenu .wp-first-item
|
52 |
{
|
53 |
display:none;
|
|
|
|
|
|
|
|
|
54 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
#adminmenu #toplevel_page_bws_plugins div.wp-menu-image
|
2 |
{
|
3 |
background: url("../images/icon_16.png") no-repeat scroll center center transparent;
|
13 |
#toplevel_page_bws_plugins .wp-submenu .wp-first-item
|
14 |
{
|
15 |
display:none;
|
16 |
+
}
|
17 |
+
|
18 |
+
.error {
|
19 |
+
color:red;
|
20 |
}
|
google-sitemap-plugin.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google sitemap plugin
|
|
4 |
Plugin URI: http://bestwebsoft.com/plugin/
|
5 |
Description: Plugin to add google sitemap file in google webmaster tools account.
|
6 |
Author: BestWebSoft
|
7 |
-
Version: 1.
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
@@ -132,7 +132,7 @@ if( ! function_exists( 'gglstmp_add_pages' ) ) {
|
|
132 |
if( ! function_exists( 'gglstmp_sitemapcreate' ) ) {
|
133 |
function gglstmp_sitemapcreate() {
|
134 |
global $wpdb;
|
135 |
-
$loc = $wpdb->get_results( "SELECT ID,post_modified,post_status,post_type,ping_status FROM
|
136 |
$xml = new DomDocument('1.0','utf-8');
|
137 |
$xml_stylesheet_path = "wp-content/plugins/google-sitemap-plugin/sitemap.xsl";
|
138 |
$xslt = $xml->createProcessingInstruction( 'xml-stylesheet', "type=\"text/xsl\" href=\"$xml_stylesheet_path\"" );
|
@@ -165,61 +165,62 @@ if ( !function_exists ( 'gglstmp_settings_page' ) ) {
|
|
165 |
$url_robot = ABSPATH . "robots.txt";
|
166 |
$url_sitemap = ABSPATH . "sitemap.xml";
|
167 |
$message = "";
|
168 |
-
if( $_POST['
|
169 |
-
$message =
|
170 |
gglstmp_sitemapcreate();
|
171 |
}
|
172 |
?>
|
173 |
<div class="wrap">
|
174 |
<div class="icon32 icon32-bws" id="icon-options-general"></div>
|
175 |
<h2><?php _e( "Google Sitemap options", 'sitemap' ); ?></h2>
|
176 |
-
<div class="updated fade" <?php if( ! isset( $_REQUEST['
|
177 |
-
<?php //=============================== Creating sitemap file ====================================
|
178 |
-
if( file_exists( $url_sitemap ) ) {
|
179 |
-
echo "<p>". __( "The sitemap file is already exists. If you want to change it for a new sitemap file check the necessary box below. In other case all actions will be performed over an existing file.", 'sitemap' ) . "</p>";
|
180 |
-
}
|
181 |
-
else {
|
182 |
-
gglstmp_sitemapcreate();
|
183 |
-
echo "<p>".__( "Your sitemap file was created in the root directory of the site. ", 'sitemap' ) . "</p>";
|
184 |
-
}
|
185 |
-
//========================================== Recreating sitemap file ====================================
|
186 |
-
echo "<p>". __( "If you don't want to add this file automatically you may go through", 'sitemap' ) . " <a href=\"https://www.google.com/webmasters/tools/home?hl=en\">". __( "this", 'sitemap' ) . "</a> ". __( "link, sign in, select necessary site, select 'Sitemaps' and type in necessary field", 'sitemap' ) ." - '". $url_home."/sitemap.xml'.</p>";
|
187 |
-
if ( function_exists( 'curl_init' ) ) {
|
188 |
-
echo "<p>". __( "This hosting doesn't support CURL, so you can't add sitemap file automatically", 'sitemap' ). "</p>";
|
189 |
-
$curl_exist = 0;
|
190 |
-
}
|
191 |
-
else {
|
192 |
-
$curl_exist = 1;
|
193 |
-
}?>
|
194 |
<form action="admin.php?page=google-sitemap-plugin.php" method='post' id="gglstmp_auth" name="gglstmp_auth">
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
<
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
<p class="submit">
|
224 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
225 |
</p>
|
@@ -227,7 +228,7 @@ if ( !function_exists ( 'gglstmp_settings_page' ) ) {
|
|
227 |
</div>
|
228 |
<?php
|
229 |
//============================ Adding location of sitemap file to the robots.txt =============
|
230 |
-
if( $_POST['
|
231 |
if ( file_exists( $url_robot ) ) {
|
232 |
$fp = fopen( ABSPATH . 'robots.txt', "a+" );
|
233 |
fwrite($fp, "\nSitemap: " . $url_home . "/sitemap.xml\n" );
|
@@ -255,58 +256,55 @@ if ( !function_exists ( 'gglstmp_settings_page' ) ) {
|
|
255 |
}
|
256 |
}
|
257 |
//================================ Different checks for the valid entering data ===================
|
258 |
-
if( (
|
259 |
-
|
|
|
|
|
260 |
<script type = "text/javascript"> alert( "<?php _e( 'You must choose at least one action', 'sitemap' ); ?>" ) </script>
|
261 |
-
<?php
|
262 |
-
|
263 |
-
else{
|
264 |
-
if( ( ( !$_POST['email'] ) || ( !$_POST['passwd'] ) ) && ( ( $_POST['menu'] == "ad" ) || ( $_POST['menu'] == "del" ) || ( $_POST['menu'] == "inf" ) ) ) {
|
265 |
-
?> <script type = "text/javascript"> alert( "<?php _e( 'You must enter login and password', 'sitemap' ); ?>" ) </script>
|
266 |
-
<?php
|
267 |
-
}
|
268 |
-
else{
|
269 |
// =================== Connecting to the google account =================
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
|
|
288 |
list( $qKey, $qVal ) = explode ( "=", $rVal );
|
289 |
$httpParsedResponseAr[$qKey] = $qVal;
|
290 |
}
|
291 |
-
$au = $httpParsedResponseAr["Auth"];
|
292 |
-
if ( ( !$au ) && ( $_POST['email'] ) && ( $_POST['passwd'] ) ) {
|
293 |
-
?>
|
294 |
-
<script type = "text/javascript"> alert( "<?php _e( "Login and password don\'t match, try again, please", 'sitemap' ); ?>" ) </script>
|
295 |
-
<?php
|
296 |
-
}
|
297 |
-
else {
|
298 |
-
if( $_POST['menu'] == "inf" ) {
|
299 |
-
gglstmp_info_site( $au );//getting info about the site in google webmaster tools account
|
300 |
-
}
|
301 |
-
else if( $_POST['menu'] == "ad" ) {
|
302 |
-
gglstmp_add_site( $au ); //adding site and verifying its ownership
|
303 |
-
gglstmp_add_sitemap( $au );//adding sitemap file to the google webmaster tools account
|
304 |
-
}
|
305 |
-
else if( $_POST['menu'] == "del" ) {
|
306 |
-
gglstmp_del_site( $au );//deleting site from google webmaster tools
|
307 |
-
}
|
308 |
-
}
|
309 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
}
|
311 |
}
|
312 |
}
|
@@ -458,8 +456,8 @@ if ( ! function_exists ( 'gglstmp_plugin_init' ) ) {
|
|
458 |
}
|
459 |
}
|
460 |
|
461 |
-
add_action( '
|
462 |
-
add_action( '
|
463 |
add_action( 'admin_init', 'gglstmp_plugin_init' );
|
464 |
add_action( 'admin_menu', 'gglstmp_add_pages' );
|
465 |
add_filter( 'plugin_action_links', 'gglstmp_action_links', 10, 2 );
|
4 |
Plugin URI: http://bestwebsoft.com/plugin/
|
5 |
Description: Plugin to add google sitemap file in google webmaster tools account.
|
6 |
Author: BestWebSoft
|
7 |
+
Version: 1.07
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
132 |
if( ! function_exists( 'gglstmp_sitemapcreate' ) ) {
|
133 |
function gglstmp_sitemapcreate() {
|
134 |
global $wpdb;
|
135 |
+
$loc = $wpdb->get_results( "SELECT ID, post_modified, post_status, post_type, ping_status FROM $wpdb->posts WHERE post_status = 'publish' AND ping_status = 'open' AND post_type <> 'nav_menu_item'" );
|
136 |
$xml = new DomDocument('1.0','utf-8');
|
137 |
$xml_stylesheet_path = "wp-content/plugins/google-sitemap-plugin/sitemap.xsl";
|
138 |
$xslt = $xml->createProcessingInstruction( 'xml-stylesheet', "type=\"text/xsl\" href=\"$xml_stylesheet_path\"" );
|
165 |
$url_robot = ABSPATH . "robots.txt";
|
166 |
$url_sitemap = ABSPATH . "sitemap.xml";
|
167 |
$message = "";
|
168 |
+
if( isset( $_POST['gglstmp_new'] ) ) {
|
169 |
+
$message = __( "Your sitemap file was created in the root directory of the site. ", 'sitemap' );
|
170 |
gglstmp_sitemapcreate();
|
171 |
}
|
172 |
?>
|
173 |
<div class="wrap">
|
174 |
<div class="icon32 icon32-bws" id="icon-options-general"></div>
|
175 |
<h2><?php _e( "Google Sitemap options", 'sitemap' ); ?></h2>
|
176 |
+
<div class="updated fade" <?php if( ! isset( $_REQUEST['gglstmp_new'] ) ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
<form action="admin.php?page=google-sitemap-plugin.php" method='post' id="gglstmp_auth" name="gglstmp_auth">
|
178 |
+
<?php //=============================== Creating sitemap file ====================================
|
179 |
+
if( file_exists( $url_sitemap ) ) {
|
180 |
+
echo "<p>". __( "The sitemap file is already exists. If you want to change it for a new sitemap file check the necessary box below. In other case all actions will be performed over an existing file.", 'sitemap' ) . "</p>";
|
181 |
+
}
|
182 |
+
else {
|
183 |
+
gglstmp_sitemapcreate();
|
184 |
+
echo "<p>".__( "Your sitemap file was created in the root directory of the site. ", 'sitemap' ) . "</p>";
|
185 |
+
}
|
186 |
+
//========================================== Recreating sitemap file ====================================
|
187 |
+
echo '<p>'. __( "If you don't want to add this file automatically you may go through", 'sitemap' ) . " <a href=\"https://www.google.com/webmasters/tools/home?hl=en\">". __( "this", 'sitemap' ) . "</a> ". __( "link, sign in, select necessary site, select 'Sitemaps' and type in necessary field", 'sitemap' ) ." - '". $url_home."/sitemap.xml'.</p>";
|
188 |
+
if ( ! function_exists( 'curl_init' ) ) {
|
189 |
+
echo '<p class="error">'. __( "This hosting doesn't support CURL, so you can't add sitemap file automatically", 'sitemap' ). "</p>";
|
190 |
+
$curl_exist = 0;
|
191 |
+
}
|
192 |
+
else {
|
193 |
+
$curl_exist = 1;
|
194 |
+
}?>
|
195 |
+
<table class="form-table">
|
196 |
+
<tr valign="top">
|
197 |
+
<td colspan="2">
|
198 |
+
<input type='checkbox' name='gglstmp_new' value="1" /> <label for="gglstmp_new"><?php _e( "I want to create new sitemap file", 'sitemap' ); ?></label>
|
199 |
+
</td>
|
200 |
+
</tr>
|
201 |
+
<tr valign="top">
|
202 |
+
<td colspan="2">
|
203 |
+
<input type='checkbox' name='gglstmp_checkbox' value="1" /> <label for="gglstmp_checkbox"><?php _e( "I want to add sitemap file path in robots.txt", 'sitemap' );?></label>
|
204 |
+
</td>
|
205 |
+
</tr>
|
206 |
+
<?php if ( $curl_exist == 1 ) { ?>
|
207 |
+
<tr valign="top">
|
208 |
+
<td colspan="2">
|
209 |
+
<?php echo __( "Type here your login and password from google webmaster tools account to add or delete site and sitemap file automatically or to get information about this site in google webmaster tools.", 'sitemap' ); ?>
|
210 |
+
</td>
|
211 |
+
</tr>
|
212 |
+
<tr valign="top">
|
213 |
+
<th scope="row"><?php _e( 'Settings for remote work with google webmaster tools', 'sitemap' ); ?></th>
|
214 |
+
<td>
|
215 |
+
<input type='text' name='gglstmp_email' value="<?php if( isset( $_REQUEST['gglstmp_email'] ) ) echo $_REQUEST['gglstmp_email']; ?>" /> <label for='gglstmp_email'><?php _e( "Login", 'sitemap' ); ?></label><br />
|
216 |
+
<input type='password' name='gglstmp_passwd' value="<?php if( isset( $_REQUEST['gglstmp_email'] ) ) echo $_REQUEST['gglstmp_email']; ?>" /> <label for='gglstmp_passwd'><?php _e( "Password", 'sitemap' ); ?></label><br />
|
217 |
+
<input type='radio' name='gglstmp_menu' value="ad" /> <label for='gglstmp_menu'><?php _e( "I want to add this site to the google webmaster tools", 'sitemap' ); ?></label><br />
|
218 |
+
<input type='radio' name='gglstmp_menu' value="del" /> <label for='gglstmp_menu'><?php _e( "I want to delete this site from google webmaster tools", 'sitemap' ); ?></label><br />
|
219 |
+
<input type='radio' name='gglstmp_menu' value="inf" /> <label for='gglstmp_menu'><?php _e( "I want to get info about this site in google webmaster tools", 'sitemap' ); ?></label>
|
220 |
+
</td>
|
221 |
+
</tr>
|
222 |
+
<?php } ?>
|
223 |
+
</table>
|
224 |
<p class="submit">
|
225 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
226 |
</p>
|
228 |
</div>
|
229 |
<?php
|
230 |
//============================ Adding location of sitemap file to the robots.txt =============
|
231 |
+
if( isset( $_POST['gglstmp_ch1_robots'] ) ){
|
232 |
if ( file_exists( $url_robot ) ) {
|
233 |
$fp = fopen( ABSPATH . 'robots.txt', "a+" );
|
234 |
fwrite($fp, "\nSitemap: " . $url_home . "/sitemap.xml\n" );
|
256 |
}
|
257 |
}
|
258 |
//================================ Different checks for the valid entering data ===================
|
259 |
+
if( isset( $_POST['gglstmp_menu'] ) && ( ! isset( $_POST['gglstmp_email'] ) || ! isset( $_POST['gglstmp_passwd'] ) || empty( $_POST['gglstmp_email'] ) || empty( $_POST['gglstmp_passwd'] ) ) ) { ?>
|
260 |
+
<script type = "text/javascript"> alert( "<?php _e( 'You must enter login and password', 'sitemap' ); ?>" ) </script>
|
261 |
+
<?php }
|
262 |
+
else if( isset( $_POST['gglstmp_email'] ) && isset( $_POST['gglstmp_passwd'] ) && isset( $_POST['gglstmp_menu'] ) && $_POST['gglstmp_menu'] != "ad" && $_POST['gglstmp_menu'] != "del" && $_POST['gglstmp_menu'] != "inf" ) { ?>
|
263 |
<script type = "text/javascript"> alert( "<?php _e( 'You must choose at least one action', 'sitemap' ); ?>" ) </script>
|
264 |
+
<?php }
|
265 |
+
else if( isset( $_POST['gglstmp_email'] ) && isset( $_POST['gglstmp_passwd'] ) && isset( $_POST['gglstmp_menu'] ) && ! empty( $_POST['gglstmp_email'] ) && ! empty( $_POST['gglstmp_passwd'] )) {
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
// =================== Connecting to the google account =================
|
267 |
+
$data = array( 'accountType' => 'GOOGLE',
|
268 |
+
'Email' => $_POST['gglstmp_email'],
|
269 |
+
'Passwd' => $_POST['gglstmp_passwd'],
|
270 |
+
'source' =>'PHI-cUrl-Example',
|
271 |
+
'service' =>'sitemaps'
|
272 |
+
);
|
273 |
+
$ch = curl_init();
|
274 |
+
curl_setopt( $ch, CURLOPT_URL, "https://www.google.com/accounts/ClientLogin" );
|
275 |
+
curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0 );
|
276 |
+
curl_setopt( $ch, CURLOPT_POST, true );
|
277 |
+
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
|
278 |
+
curl_setopt( $ch, CURLOPT_POSTFIELDS, $data );
|
279 |
+
curl_setopt( $ch, CURLOPT_UNRESTRICTED_AUTH, true );
|
280 |
+
$hasil = curl_exec( $ch );
|
281 |
+
curl_close( $ch );
|
282 |
+
$httpResponseAr = explode( "\n", $hasil );
|
283 |
+
$httpParsedResponseAr = array();
|
284 |
+
foreach ( $httpResponseAr as $i => $rVal ) {
|
285 |
+
if( strpos( $rVal, "=" ) !== false ) {
|
286 |
list( $qKey, $qVal ) = explode ( "=", $rVal );
|
287 |
$httpParsedResponseAr[$qKey] = $qVal;
|
288 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
}
|
290 |
+
$au = isset( $httpParsedResponseAr["Auth"] ) ? $httpParsedResponseAr["Auth"] : false;
|
291 |
+
if ( ! $au && ( $_POST['gglstmp_email'] ) && ( $_POST['gglstmp_passwd'] ) ) {
|
292 |
+
?>
|
293 |
+
<script type = "text/javascript"> alert( "<?php _e( "Login and password don\'t match, try again, please", 'sitemap' ); ?>" ) </script>
|
294 |
+
<?php
|
295 |
+
}
|
296 |
+
else {
|
297 |
+
if( $_POST['gglstmp_menu'] == "inf" ) {
|
298 |
+
gglstmp_info_site( $au );//getting info about the site in google webmaster tools account
|
299 |
+
}
|
300 |
+
else if( $_POST['gglstmp_menu'] == "ad" ) {
|
301 |
+
gglstmp_add_site( $au ); //adding site and verifying its ownership
|
302 |
+
gglstmp_add_sitemap( $au );//adding sitemap file to the google webmaster tools account
|
303 |
+
}
|
304 |
+
else if( $_POST['gglstmp_menu'] == "del" ) {
|
305 |
+
gglstmp_del_site( $au );//deleting site from google webmaster tools
|
306 |
+
}
|
307 |
+
}
|
308 |
}
|
309 |
}
|
310 |
}
|
456 |
}
|
457 |
}
|
458 |
|
459 |
+
add_action( 'admin_enqueue_scripts', 'gglstmp_add_my_stylesheet' );
|
460 |
+
add_action( 'wp_enqueue_scripts', 'gglstmp_add_my_stylesheet' );
|
461 |
add_action( 'admin_init', 'gglstmp_plugin_init' );
|
462 |
add_action( 'admin_menu', 'gglstmp_add_pages' );
|
463 |
add_filter( 'plugin_action_links', 'gglstmp_action_links', 10, 2 );
|
languages/sitemap-ru_RU.mo
CHANGED
Binary file
|
languages/sitemap-ru_RU.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: google-sitemap-plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: BWS <zos@bestwebsoft.com>\n"
|
8 |
"Language-Team: bestwebsoft.com <plugin@bestwebsoft.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -16,151 +16,175 @@ msgstr ""
|
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
-
#: google-sitemap-plugin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
|
21 |
msgstr "Если у вас есть какие-то впросы, обращайтесь на plugin@bestwebsoft.com или заполните контактную форму на нашем сайте"
|
22 |
|
23 |
-
#: google-sitemap-plugin.php:
|
24 |
msgid "BWS Plugins"
|
25 |
msgstr "Плагины BWS"
|
26 |
|
27 |
-
#: google-sitemap-plugin.php:
|
28 |
msgid "Google Sitemap Options"
|
29 |
msgstr "Опции карты сайта Google"
|
30 |
|
31 |
-
#: google-sitemap-plugin.php:
|
32 |
msgid "Google Sitemap"
|
33 |
msgstr "Карта сайта Google"
|
34 |
|
35 |
-
#: google-sitemap-plugin.php:
|
36 |
-
#: google-sitemap-plugin.php:
|
37 |
msgid "Your sitemap file was created in the root directory of the site. "
|
38 |
msgstr "Карта сайта для вашего сайта создана в корне основной директории."
|
39 |
|
40 |
-
#: google-sitemap-plugin.php:
|
41 |
msgid "Google Sitemap options"
|
42 |
msgstr "Опции карты сайта Google"
|
43 |
|
44 |
-
#: google-sitemap-plugin.php:
|
45 |
msgid "The sitemap file is already exists. If you want to change it for a new sitemap file check the necessary box below. In other case all actions will be performed over an existing file."
|
46 |
msgstr "Карта сайта уже существует. Если вы хотите изменить ее на новую карту сайта, выберите соответствующее действие внизу. Все остальные действия перезапишут существующий файл."
|
47 |
|
48 |
-
#: google-sitemap-plugin.php:
|
49 |
msgid "If you don't want to add this file automatically you may go through"
|
50 |
msgstr "Если вы не хотите добавить файл карты сайта автоматически в Google webmaster tools, Вы можете сделать это через"
|
51 |
|
52 |
-
#: google-sitemap-plugin.php:
|
53 |
msgid "this"
|
54 |
msgstr "эту"
|
55 |
|
56 |
-
#: google-sitemap-plugin.php:
|
57 |
msgid "link, sign in, select necessary site, select 'Sitemaps' and type in necessary field"
|
58 |
msgstr "ссылку, залогиниться, выбрать сайт, выбрать 'Sitemaps' и заполнить обязательное поле"
|
59 |
|
60 |
-
#: google-sitemap-plugin.php:
|
61 |
msgid "This hosting doesn't support CURL, so you can't add sitemap file automatically"
|
62 |
msgstr "Ваш хостинг не поддерживает CURL, поэтому вы не можете добавить карту сайта в Google аккаунт автоматически."
|
63 |
|
64 |
-
#: google-sitemap-plugin.php:
|
65 |
msgid "I want to create new sitemap file"
|
66 |
msgstr "Я хочу создать новую карту сайта"
|
67 |
|
68 |
-
#: google-sitemap-plugin.php:
|
69 |
msgid "I want to add sitemap file path in robots.txt"
|
70 |
msgstr "Я хочу добавить карту сайта в robots.txt"
|
71 |
|
72 |
-
#: google-sitemap-plugin.php:
|
73 |
msgid "Type here your login and password from google webmaster tools account to add or delete site and sitemap file automatically or to get information about this site in google webmaster tools."
|
74 |
msgstr "Введите сюда свой логин и пароль для Google аккаунта, чтобы иметь возможность добавлять или удалять сайт и карту сайта автоматически в ваш аккаунт или же получить информацию об этом сайте из Google webmaster tools"
|
75 |
|
76 |
-
#: google-sitemap-plugin.php:
|
77 |
-
msgid "
|
78 |
-
msgstr "
|
|
|
|
|
|
|
|
|
79 |
|
80 |
-
#: google-sitemap-plugin.php:
|
81 |
-
msgid "Password
|
82 |
-
msgstr "
|
83 |
|
84 |
-
#: google-sitemap-plugin.php:
|
85 |
msgid "I want to add this site to the google webmaster tools"
|
86 |
msgstr "Я хочу добавить этот сайт в Google webmaster tools"
|
87 |
|
88 |
-
#: google-sitemap-plugin.php:
|
89 |
msgid "I want to delete this site from google webmaster tools"
|
90 |
msgstr "Я хочу удалить этот сайт из Google webmaster tools"
|
91 |
|
92 |
-
#: google-sitemap-plugin.php:
|
93 |
msgid "I want to get info about this site in google webmaster tools"
|
94 |
msgstr "Я хочу получить информацию об этом сайте из Google webmaster tools"
|
95 |
|
96 |
-
#: google-sitemap-plugin.php:
|
97 |
msgid "Save Changes"
|
98 |
msgstr "Сохранить изменения"
|
99 |
|
100 |
-
#: google-sitemap-plugin.php:
|
101 |
-
msgid "You must choose at least one action"
|
102 |
-
msgstr "Вы должны выбрать одно из действий"
|
103 |
-
|
104 |
-
#: google-sitemap-plugin.php:203
|
105 |
msgid "You must enter login and password"
|
106 |
msgstr "Вы должны ввести логин и пароль"
|
107 |
|
108 |
-
#: google-sitemap-plugin.php:
|
|
|
|
|
|
|
|
|
109 |
msgid "Login and password don\\'t match, try again, please"
|
110 |
msgstr "Логин и пароль введены неправильно, попробуйте еще раз"
|
111 |
|
112 |
-
#: google-sitemap-plugin.php:
|
113 |
msgid "Info about this site in google webmaster tools"
|
114 |
msgstr "Я хочу получить информацию об этом сайте из Google webmaster tools"
|
115 |
|
116 |
-
#: google-sitemap-plugin.php:
|
117 |
msgid "This site is not added to the google webmaster tools account"
|
118 |
msgstr "Я хочу добавить этот сайт в Google webmaster tools"
|
119 |
|
120 |
-
#: google-sitemap-plugin.php:
|
121 |
msgid "Site url: "
|
122 |
msgstr "Урл сайта:"
|
123 |
|
124 |
-
#: google-sitemap-plugin.php:
|
125 |
msgid "Site verification: "
|
126 |
msgstr "Верификация сайта:"
|
127 |
|
128 |
-
#: google-sitemap-plugin.php:
|
129 |
msgid "verificated"
|
130 |
msgstr "верифицровано"
|
131 |
|
132 |
-
#: google-sitemap-plugin.php:
|
133 |
msgid "non verificated"
|
134 |
msgstr "не верефицирован"
|
135 |
|
136 |
-
#: google-sitemap-plugin.php:
|
137 |
msgid "Sitemap file: "
|
138 |
msgstr "Файл карты сайта:"
|
139 |
|
140 |
-
#: google-sitemap-plugin.php:
|
141 |
msgid "added"
|
142 |
msgstr "добавлен"
|
143 |
|
144 |
-
#: google-sitemap-plugin.php:
|
145 |
msgid "not added"
|
146 |
msgstr "не добавлен"
|
147 |
|
148 |
-
#: google-sitemap-plugin.php:386
|
149 |
-
msgid "Settings"
|
150 |
-
msgstr "Настройки"
|
151 |
-
|
152 |
-
#~ msgid "Activated plugins"
|
153 |
-
#~ msgstr "Активированные плагины"
|
154 |
-
|
155 |
-
#~ msgid "Installed plugins"
|
156 |
-
#~ msgstr "Установленные плагины"
|
157 |
-
|
158 |
-
#~ msgid "Recommended plugins"
|
159 |
-
#~ msgstr "Рекомендованные к установке плагины"
|
160 |
-
|
161 |
-
#~ msgid "Install %s"
|
162 |
-
#~ msgstr "Установлено %s"
|
163 |
-
|
164 |
#~ msgid "Install Now"
|
165 |
#~ msgstr "Установить сейчас"
|
166 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: google-sitemap-plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-04-02 12:22+0200\n"
|
6 |
+
"PO-Revision-Date: 2012-04-02 12:23+0200\n"
|
7 |
"Last-Translator: BWS <zos@bestwebsoft.com>\n"
|
8 |
"Language-Team: bestwebsoft.com <plugin@bestwebsoft.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
+
#: google-sitemap-plugin.php:86
|
20 |
+
msgid "Activated plugins"
|
21 |
+
msgstr "Активированные плагины"
|
22 |
+
|
23 |
+
#: google-sitemap-plugin.php:88
|
24 |
+
#: google-sitemap-plugin.php:96
|
25 |
+
#: google-sitemap-plugin.php:104
|
26 |
+
msgid "Read more"
|
27 |
+
msgstr "Подробнее..."
|
28 |
+
|
29 |
+
#: google-sitemap-plugin.php:88
|
30 |
+
#: google-sitemap-plugin.php:446
|
31 |
+
msgid "Settings"
|
32 |
+
msgstr "Настройки"
|
33 |
+
|
34 |
+
#: google-sitemap-plugin.php:94
|
35 |
+
msgid "Installed plugins"
|
36 |
+
msgstr "Установленные плагины"
|
37 |
+
|
38 |
+
#: google-sitemap-plugin.php:102
|
39 |
+
msgid "Recommended plugins"
|
40 |
+
msgstr "Рекомендованные к установке плагины"
|
41 |
+
|
42 |
+
#: google-sitemap-plugin.php:104
|
43 |
+
msgid "Download"
|
44 |
+
msgstr "Скачать"
|
45 |
+
|
46 |
+
#: google-sitemap-plugin.php:104
|
47 |
+
#, php-format
|
48 |
+
msgid "Install %s"
|
49 |
+
msgstr "Установлено %s"
|
50 |
+
|
51 |
+
#: google-sitemap-plugin.php:104
|
52 |
+
msgid "Install now from wordpress.org"
|
53 |
+
msgstr "Установить с wordpress.org"
|
54 |
+
|
55 |
+
#: google-sitemap-plugin.php:106
|
56 |
msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
|
57 |
msgstr "Если у вас есть какие-то впросы, обращайтесь на plugin@bestwebsoft.com или заполните контактную форму на нашем сайте"
|
58 |
|
59 |
+
#: google-sitemap-plugin.php:117
|
60 |
msgid "BWS Plugins"
|
61 |
msgstr "Плагины BWS"
|
62 |
|
63 |
+
#: google-sitemap-plugin.php:118
|
64 |
msgid "Google Sitemap Options"
|
65 |
msgstr "Опции карты сайта Google"
|
66 |
|
67 |
+
#: google-sitemap-plugin.php:118
|
68 |
msgid "Google Sitemap"
|
69 |
msgstr "Карта сайта Google"
|
70 |
|
71 |
+
#: google-sitemap-plugin.php:169
|
72 |
+
#: google-sitemap-plugin.php:184
|
73 |
msgid "Your sitemap file was created in the root directory of the site. "
|
74 |
msgstr "Карта сайта для вашего сайта создана в корне основной директории."
|
75 |
|
76 |
+
#: google-sitemap-plugin.php:175
|
77 |
msgid "Google Sitemap options"
|
78 |
msgstr "Опции карты сайта Google"
|
79 |
|
80 |
+
#: google-sitemap-plugin.php:180
|
81 |
msgid "The sitemap file is already exists. If you want to change it for a new sitemap file check the necessary box below. In other case all actions will be performed over an existing file."
|
82 |
msgstr "Карта сайта уже существует. Если вы хотите изменить ее на новую карту сайта, выберите соответствующее действие внизу. Все остальные действия перезапишут существующий файл."
|
83 |
|
84 |
+
#: google-sitemap-plugin.php:187
|
85 |
msgid "If you don't want to add this file automatically you may go through"
|
86 |
msgstr "Если вы не хотите добавить файл карты сайта автоматически в Google webmaster tools, Вы можете сделать это через"
|
87 |
|
88 |
+
#: google-sitemap-plugin.php:187
|
89 |
msgid "this"
|
90 |
msgstr "эту"
|
91 |
|
92 |
+
#: google-sitemap-plugin.php:187
|
93 |
msgid "link, sign in, select necessary site, select 'Sitemaps' and type in necessary field"
|
94 |
msgstr "ссылку, залогиниться, выбрать сайт, выбрать 'Sitemaps' и заполнить обязательное поле"
|
95 |
|
96 |
+
#: google-sitemap-plugin.php:189
|
97 |
msgid "This hosting doesn't support CURL, so you can't add sitemap file automatically"
|
98 |
msgstr "Ваш хостинг не поддерживает CURL, поэтому вы не можете добавить карту сайта в Google аккаунт автоматически."
|
99 |
|
100 |
+
#: google-sitemap-plugin.php:198
|
101 |
msgid "I want to create new sitemap file"
|
102 |
msgstr "Я хочу создать новую карту сайта"
|
103 |
|
104 |
+
#: google-sitemap-plugin.php:203
|
105 |
msgid "I want to add sitemap file path in robots.txt"
|
106 |
msgstr "Я хочу добавить карту сайта в robots.txt"
|
107 |
|
108 |
+
#: google-sitemap-plugin.php:209
|
109 |
msgid "Type here your login and password from google webmaster tools account to add or delete site and sitemap file automatically or to get information about this site in google webmaster tools."
|
110 |
msgstr "Введите сюда свой логин и пароль для Google аккаунта, чтобы иметь возможность добавлять или удалять сайт и карту сайта автоматически в ваш аккаунт или же получить информацию об этом сайте из Google webmaster tools"
|
111 |
|
112 |
+
#: google-sitemap-plugin.php:213
|
113 |
+
msgid "Settings for remote work with google webmaster tools"
|
114 |
+
msgstr "Настройки для удаленной работы с google webmaster tools"
|
115 |
+
|
116 |
+
#: google-sitemap-plugin.php:215
|
117 |
+
msgid "Login"
|
118 |
+
msgstr "Логин"
|
119 |
|
120 |
+
#: google-sitemap-plugin.php:216
|
121 |
+
msgid "Password"
|
122 |
+
msgstr "Пароль"
|
123 |
|
124 |
+
#: google-sitemap-plugin.php:217
|
125 |
msgid "I want to add this site to the google webmaster tools"
|
126 |
msgstr "Я хочу добавить этот сайт в Google webmaster tools"
|
127 |
|
128 |
+
#: google-sitemap-plugin.php:218
|
129 |
msgid "I want to delete this site from google webmaster tools"
|
130 |
msgstr "Я хочу удалить этот сайт из Google webmaster tools"
|
131 |
|
132 |
+
#: google-sitemap-plugin.php:219
|
133 |
msgid "I want to get info about this site in google webmaster tools"
|
134 |
msgstr "Я хочу получить информацию об этом сайте из Google webmaster tools"
|
135 |
|
136 |
+
#: google-sitemap-plugin.php:225
|
137 |
msgid "Save Changes"
|
138 |
msgstr "Сохранить изменения"
|
139 |
|
140 |
+
#: google-sitemap-plugin.php:260
|
|
|
|
|
|
|
|
|
141 |
msgid "You must enter login and password"
|
142 |
msgstr "Вы должны ввести логин и пароль"
|
143 |
|
144 |
+
#: google-sitemap-plugin.php:263
|
145 |
+
msgid "You must choose at least one action"
|
146 |
+
msgstr "Вы должны выбрать одно из действий"
|
147 |
+
|
148 |
+
#: google-sitemap-plugin.php:293
|
149 |
msgid "Login and password don\\'t match, try again, please"
|
150 |
msgstr "Логин и пароль введены неправильно, попробуйте еще раз"
|
151 |
|
152 |
+
#: google-sitemap-plugin.php:352
|
153 |
msgid "Info about this site in google webmaster tools"
|
154 |
msgstr "Я хочу получить информацию об этом сайте из Google webmaster tools"
|
155 |
|
156 |
+
#: google-sitemap-plugin.php:354
|
157 |
msgid "This site is not added to the google webmaster tools account"
|
158 |
msgstr "Я хочу добавить этот сайт в Google webmaster tools"
|
159 |
|
160 |
+
#: google-sitemap-plugin.php:375
|
161 |
msgid "Site url: "
|
162 |
msgstr "Урл сайта:"
|
163 |
|
164 |
+
#: google-sitemap-plugin.php:376
|
165 |
msgid "Site verification: "
|
166 |
msgstr "Верификация сайта:"
|
167 |
|
168 |
+
#: google-sitemap-plugin.php:378
|
169 |
msgid "verificated"
|
170 |
msgstr "верифицровано"
|
171 |
|
172 |
+
#: google-sitemap-plugin.php:380
|
173 |
msgid "non verificated"
|
174 |
msgstr "не верефицирован"
|
175 |
|
176 |
+
#: google-sitemap-plugin.php:381
|
177 |
msgid "Sitemap file: "
|
178 |
msgstr "Файл карты сайта:"
|
179 |
|
180 |
+
#: google-sitemap-plugin.php:383
|
181 |
msgid "added"
|
182 |
msgstr "добавлен"
|
183 |
|
184 |
+
#: google-sitemap-plugin.php:385
|
185 |
msgid "not added"
|
186 |
msgstr "не добавлен"
|
187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
#~ msgid "Install Now"
|
189 |
#~ msgstr "Установить сейчас"
|
190 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: bestwebsoft
|
|
3 |
Donate link: http://bestwebsoft.com/
|
4 |
Tags: sitemap, google sitemap, google api, google webmaster tools, stmap, gogle sitemap, sitemp, google api sitemap, api sitemap, webmaster sitemap, webmaster tols, google stmp
|
5 |
Requires at least: 2.9
|
6 |
-
Tested up to: 3.3
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
This plugin allows you to add sitemap file to google webmaster tools.
|
10 |
|
@@ -57,26 +57,32 @@ In the WordPress admin panel go to "Plugins", find "Google sitemap" plugin and p
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
-
= 1.
|
61 |
-
*
|
|
|
|
|
|
|
62 |
|
63 |
= 1.05 =
|
64 |
-
* Added sitemap.xsl stylesheet.
|
65 |
|
66 |
= 1.04 =
|
67 |
-
* Added ability to add sitemap.xml path in robots.txt.
|
68 |
|
69 |
= 1.03 =
|
70 |
-
* Added ability to get info about site in google webmaster tools.
|
71 |
|
72 |
= 1.02 =
|
73 |
-
* Added ability to delete site from google webmaster tools.
|
74 |
|
75 |
= 1.01 =
|
76 |
-
* Added ability to add site in google webmaster tools, verificate it and add sitemap file.
|
77 |
|
78 |
== Upgrade Notice ==
|
79 |
|
|
|
|
|
|
|
80 |
= 1.06 =
|
81 |
Added language files for plugin.
|
82 |
|
3 |
Donate link: http://bestwebsoft.com/
|
4 |
Tags: sitemap, google sitemap, google api, google webmaster tools, stmap, gogle sitemap, sitemp, google api sitemap, api sitemap, webmaster sitemap, webmaster tols, google stmp
|
5 |
Requires at least: 2.9
|
6 |
+
Tested up to: 3.3.1
|
7 |
+
Stable tag: 1.07
|
8 |
|
9 |
This plugin allows you to add sitemap file to google webmaster tools.
|
10 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 1.07 - 02.04.2012 =
|
61 |
+
* Bugfix: CURL and save setting errors were fixed.
|
62 |
+
|
63 |
+
= 1.06 - 26.03.2012 =
|
64 |
+
* New: Added language files for plugin.
|
65 |
|
66 |
= 1.05 =
|
67 |
+
* New: Added sitemap.xsl stylesheet.
|
68 |
|
69 |
= 1.04 =
|
70 |
+
* New: Added ability to add sitemap.xml path in robots.txt.
|
71 |
|
72 |
= 1.03 =
|
73 |
+
* New: Added ability to get info about site in google webmaster tools.
|
74 |
|
75 |
= 1.02 =
|
76 |
+
* New: Added ability to delete site from google webmaster tools.
|
77 |
|
78 |
= 1.01 =
|
79 |
+
* New: Added ability to add site in google webmaster tools, verificate it and add sitemap file.
|
80 |
|
81 |
== Upgrade Notice ==
|
82 |
|
83 |
+
= 1.07 =
|
84 |
+
CURL and save setting errors were fixed.
|
85 |
+
|
86 |
= 1.06 =
|
87 |
Added language files for plugin.
|
88 |
|
screenshot-1.jpg
CHANGED
Binary file
|
screenshot-2.jpg
CHANGED
Binary file
|