Google Sitemap by BestWebSoft - Version 1.09

Version Description

  • 27.06.2012 =
  • New: Added Arabic language file for plugin.
  • Bugfix: Create new sitemap file and Add sitemap file path in robots.txt errors were fixed.
  • Update : We updated all functionality for wordpress 3.4.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Google Sitemap by BestWebSoft
Version 1.09
Comparing to
See all releases

Code changes from version 1.08 to 1.09

css/stylesheet.css CHANGED
File without changes
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.08
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -293,10 +293,16 @@ if ( !function_exists ( 'gglstmp_settings_page' ) ) {
293
  </div>
294
  <?php
295
  //============================ Adding location of sitemap file to the robots.txt =============
296
- if( isset( $_POST['gglstmp_ch1_robots'] ) ){
297
  if ( file_exists( $url_robot ) ) {
298
  $fp = fopen( ABSPATH . 'robots.txt', "a+" );
299
- fwrite($fp, "\nSitemap: " . $url_home . "/sitemap.xml\n" );
 
 
 
 
 
 
300
  fclose ( $fp );
301
  }
302
  else{
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.09
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
293
  </div>
294
  <?php
295
  //============================ Adding location of sitemap file to the robots.txt =============
296
+ if( isset( $_POST['gglstmp_checkbox'] ) ){
297
  if ( file_exists( $url_robot ) ) {
298
  $fp = fopen( ABSPATH . 'robots.txt', "a+" );
299
+ $flag = false;
300
+ while ( ($line = fgets($fp)) !== false) {
301
+ if ( $line == "Sitemap: " . $url_home . "/sitemap.xml\n" )
302
+ $flag = true;
303
+ }
304
+ if( ! $flag )
305
+ fwrite($fp, "\nSitemap: " . $url_home . "/sitemap.xml\n" );
306
  fclose ( $fp );
307
  }
308
  else{
images/icon_16.png CHANGED
File without changes
images/icon_16_c.png CHANGED
File without changes
images/icon_36.png CHANGED
File without changes
images/px.png CHANGED
File without changes
languages/sitemap-ar_AR.mo ADDED
Binary file
languages/sitemap-ar_AR.po ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: google-sitemap-plugin\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-06-27 18:34+0300\n"
6
+ "PO-Revision-Date: 2012-06-27 18:35+0300\n"
7
+ "Last-Translator: zos <zos@bestwebsoft.com>\n"
8
+ "Language-Team: Albayan Design, hani aladoli <info@albayan-design.com, darkking8@gmail.com>\n"
9
+ "Language: \n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Language: arabic\n"
17
+ "X-Poedit-Country: libya\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: google-sitemap-plugin.php:86
21
+ msgid "Activated plugins"
22
+ msgstr "الاضافات المفعلة"
23
+
24
+ #: google-sitemap-plugin.php:88
25
+ #: google-sitemap-plugin.php:96
26
+ #: google-sitemap-plugin.php:104
27
+ msgid "Read more"
28
+ msgstr "اقراء المزيد..."
29
+
30
+ #: google-sitemap-plugin.php:88
31
+ #: google-sitemap-plugin.php:517
32
+ msgid "Settings"
33
+ msgstr "الاعدادات"
34
+
35
+ #: google-sitemap-plugin.php:94
36
+ msgid "Installed plugins"
37
+ msgstr "الاضافات المثبته"
38
+
39
+ #: google-sitemap-plugin.php:102
40
+ msgid "Recommended plugins"
41
+ msgstr "اضافات موصي بها"
42
+
43
+ #: google-sitemap-plugin.php:104
44
+ msgid "Download"
45
+ msgstr "تحميل"
46
+
47
+ #: google-sitemap-plugin.php:104
48
+ #, php-format
49
+ msgid "Install %s"
50
+ msgstr "تثبيت %s"
51
+
52
+ #: google-sitemap-plugin.php:104
53
+ msgid "Install now from wordpress.org"
54
+ msgstr "حملها الان من wordpress.org"
55
+
56
+ #: google-sitemap-plugin.php:106
57
+ msgid "If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site"
58
+ msgstr "اذا كانت لديك اي اسئلة , الرجاء الاتصال بنا عبر البريد الالكتروني plugin@bestwebsoft.com -"
59
+
60
+ #: google-sitemap-plugin.php:117
61
+ msgid "BWS Plugins"
62
+ msgstr " اضافات BWS"
63
+
64
+ #: google-sitemap-plugin.php:118
65
+ msgid "Google Sitemap Options"
66
+ msgstr "خيارات خرائط جوجل"
67
+
68
+ #: google-sitemap-plugin.php:118
69
+ msgid "Google Sitemap"
70
+ msgstr "خرائط جوجل"
71
+
72
+ #: google-sitemap-plugin.php:216
73
+ #: google-sitemap-plugin.php:237
74
+ msgid "Your sitemap file was created in the root directory of the site. "
75
+ msgstr "تم إنشاء ملف Sitemap الخاص بك في الدليل الرئيسي للموقع."
76
+
77
+ #: google-sitemap-plugin.php:222
78
+ msgid "Options saved."
79
+ msgstr "تم حفظ الخيارات."
80
+
81
+ #: google-sitemap-plugin.php:228
82
+ msgid "Google Sitemap options"
83
+ msgstr "خيارات خرائط جوجل"
84
+
85
+ #: google-sitemap-plugin.php:233
86
+ 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."
87
+ msgstr "ملف الخريطة موجود مسبقاً . اذا كنت ترغب في انشاء خريطة جديدة قم بوضع علامة في المربع ادناه , في حالة اخري جميع التغيرات سوف تعاد كتابتها فوق الملف الموجود مسبقاُ ."
88
+
89
+ #: google-sitemap-plugin.php:240
90
+ msgid "If you don't want to add this file automatically you may go through"
91
+ msgstr "إذا كنت لا ترغب في إضافة هذا الملف تلقائيا قد تذهب من خلال"
92
+
93
+ #: google-sitemap-plugin.php:240
94
+ msgid "this"
95
+ msgstr "هذه"
96
+
97
+ #: google-sitemap-plugin.php:240
98
+ msgid "link, sign in, select necessary site, select 'Sitemaps' and type in necessary field"
99
+ msgstr "الرابط , تسجيل الدخول , اختياري الموقع ضاروري , اختيار الخرائط , و املاء الحقول الضرورية"
100
+
101
+ #: google-sitemap-plugin.php:242
102
+ msgid "This hosting doesn't support CURL, so you can't add sitemap file automatically"
103
+ msgstr "الاستضافة لا تدعم ( CURL ) اذاُ لا يمكنك اضافة ملف الخريطة تلقائياُ"
104
+
105
+ #: google-sitemap-plugin.php:251
106
+ msgid "I want to create new sitemap file"
107
+ msgstr "ارغب في انشاء خريطة جديدة"
108
+
109
+ #: google-sitemap-plugin.php:256
110
+ msgid "I want to add sitemap file path in robots.txt"
111
+ msgstr "ارغب في اضافة مسار ملف الخريطة في robots.txt"
112
+
113
+ #: google-sitemap-plugin.php:260
114
+ msgid "Please choose the necessary post types in order to add the links to them in the sitemap:"
115
+ msgstr "الرجاء اختيار انواع المواضيع الضارورية لاضافة روابطها في الخريطة :"
116
+
117
+ #: google-sitemap-plugin.php:273
118
+ 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."
119
+ msgstr "اكتب هنا اسم الدخول والرقم السري الخاصة بـحساب google webmaster tools - للاضافة او حذف ملف الخريطة تلقائياً . او معرفة المعلومات عن هذه الموقع في google webmaster tools"
120
+
121
+ #: google-sitemap-plugin.php:277
122
+ msgid "Settings for remote work with google webmaster tools"
123
+ msgstr "الضبط للعمل عن بعد مع google webmaster tools"
124
+
125
+ #: google-sitemap-plugin.php:279
126
+ msgid "Login"
127
+ msgstr "اسم الدخول"
128
+
129
+ #: google-sitemap-plugin.php:280
130
+ msgid "Password"
131
+ msgstr "الرقم السري"
132
+
133
+ #: google-sitemap-plugin.php:281
134
+ msgid "I want to add this site to the google webmaster tools"
135
+ msgstr "ارغب في اضافة هذه الموقع في google webmaster tools"
136
+
137
+ #: google-sitemap-plugin.php:282
138
+ msgid "I want to delete this site from google webmaster tools"
139
+ msgstr "ارغب في حذف هذه الموقع من google webmaster tools"
140
+
141
+ #: google-sitemap-plugin.php:283
142
+ msgid "I want to get info about this site in google webmaster tools"
143
+ msgstr "ارغب في الحصول علي البيانات هذه الموقع في google webmaster tools"
144
+
145
+ #: google-sitemap-plugin.php:290
146
+ msgid "Save Changes"
147
+ msgstr "حفظ الاعدادات"
148
+
149
+ #: google-sitemap-plugin.php:331
150
+ msgid "You must enter login and password"
151
+ msgstr "يجب عليك كتابة اسم الدخول والرقم السري"
152
+
153
+ #: google-sitemap-plugin.php:334
154
+ msgid "You must choose at least one action"
155
+ msgstr "يجب عليك اختيار عملية واحدة علي الاقل"
156
+
157
+ #: google-sitemap-plugin.php:364
158
+ msgid "Login and password don\\'t match, try again, please"
159
+ msgstr "اسم الدخول والرقم السري // غير مطابقة , الرجاء اعادة المحاولة مرة اخري"
160
+
161
+ #: google-sitemap-plugin.php:423
162
+ msgid "Info about this site in google webmaster tools"
163
+ msgstr "المعلومات عن هذه الموقع في google webmaster tools"
164
+
165
+ #: google-sitemap-plugin.php:425
166
+ msgid "This site is not added to the google webmaster tools account"
167
+ msgstr "هذه الموقع غير مضاف الي حساب google webmaster tools"
168
+
169
+ #: google-sitemap-plugin.php:446
170
+ msgid "Site url: "
171
+ msgstr "رابط الموقع :"
172
+
173
+ #: google-sitemap-plugin.php:447
174
+ msgid "Site verification: "
175
+ msgstr "كود التحقق لهذه الموقع :"
176
+
177
+ #: google-sitemap-plugin.php:449
178
+ msgid "verificated"
179
+ msgstr "التحقق"
180
+
181
+ #: google-sitemap-plugin.php:451
182
+ msgid "non verificated"
183
+ msgstr "لا يوجد تحقق"
184
+
185
+ #: google-sitemap-plugin.php:452
186
+ msgid "Sitemap file: "
187
+ msgstr "ملف الخريطة :"
188
+
189
+ #: google-sitemap-plugin.php:454
190
+ msgid "added"
191
+ msgstr "اضيفت"
192
+
193
+ #: google-sitemap-plugin.php:456
194
+ msgid "not added"
195
+ msgstr "لم تضاف"
196
+
197
+ #~ msgid "Install Now"
198
+ #~ msgstr "تثبيت الان"
199
+ #~ msgid "Update"
200
+ #~ msgstr "تحديث"
201
+
languages/sitemap-ru_RU.mo CHANGED
Binary file
languages/sitemap-ru_RU.po CHANGED
@@ -2,10 +2,11 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: google-sitemap-plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-04-03 16:23+0200\n"
6
- "PO-Revision-Date: 2012-04-03 16:28+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"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -27,7 +28,7 @@ msgid "Read more"
27
  msgstr "Подробнее..."
28
 
29
  #: google-sitemap-plugin.php:88
30
- #: google-sitemap-plugin.php:511
31
  msgid "Settings"
32
  msgstr "Настройки"
33
 
@@ -145,56 +146,56 @@ msgstr "Я хочу получить информацию об этом сайт
145
  msgid "Save Changes"
146
  msgstr "Сохранить изменения"
147
 
148
- #: google-sitemap-plugin.php:325
149
  msgid "You must enter login and password"
150
  msgstr "Вы должны ввести логин и пароль"
151
 
152
- #: google-sitemap-plugin.php:328
153
  msgid "You must choose at least one action"
154
  msgstr "Вы должны выбрать одно из действий"
155
 
156
- #: google-sitemap-plugin.php:358
157
  msgid "Login and password don\\'t match, try again, please"
158
  msgstr "Логин и пароль введены неправильно, попробуйте еще раз"
159
 
160
- #: google-sitemap-plugin.php:417
161
  msgid "Info about this site in google webmaster tools"
162
  msgstr "Я хочу получить информацию об этом сайте из Google webmaster tools"
163
 
164
- #: google-sitemap-plugin.php:419
165
  msgid "This site is not added to the google webmaster tools account"
166
  msgstr "Я хочу добавить этот сайт в Google webmaster tools"
167
 
168
- #: google-sitemap-plugin.php:440
169
  msgid "Site url: "
170
  msgstr "Урл сайта:"
171
 
172
- #: google-sitemap-plugin.php:441
173
  msgid "Site verification: "
174
  msgstr "Верификация сайта:"
175
 
176
- #: google-sitemap-plugin.php:443
177
  msgid "verificated"
178
  msgstr "верифицровано"
179
 
180
- #: google-sitemap-plugin.php:445
181
  msgid "non verificated"
182
  msgstr "не верефицирован"
183
 
184
- #: google-sitemap-plugin.php:446
185
  msgid "Sitemap file: "
186
  msgstr "Файл карты сайта:"
187
 
188
- #: google-sitemap-plugin.php:448
189
  msgid "added"
190
  msgstr "добавлен"
191
 
192
- #: google-sitemap-plugin.php:450
193
  msgid "not added"
194
  msgstr "не добавлен"
195
 
196
  #~ msgid "Install Now"
197
  #~ msgstr "Установить сейчас"
198
-
199
  #~ msgid "Update"
200
  #~ msgstr "Сохранить"
 
2
  msgstr ""
3
  "Project-Id-Version: google-sitemap-plugin\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-06-27 18:35+0300\n"
6
+ "PO-Revision-Date: 2012-06-27 18:35+0300\n"
7
+ "Last-Translator: zos <zos@bestwebsoft.com>\n"
8
  "Language-Team: bestwebsoft.com <plugin@bestwebsoft.com>\n"
9
+ "Language: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
28
  msgstr "Подробнее..."
29
 
30
  #: google-sitemap-plugin.php:88
31
+ #: google-sitemap-plugin.php:517
32
  msgid "Settings"
33
  msgstr "Настройки"
34
 
146
  msgid "Save Changes"
147
  msgstr "Сохранить изменения"
148
 
149
+ #: google-sitemap-plugin.php:331
150
  msgid "You must enter login and password"
151
  msgstr "Вы должны ввести логин и пароль"
152
 
153
+ #: google-sitemap-plugin.php:334
154
  msgid "You must choose at least one action"
155
  msgstr "Вы должны выбрать одно из действий"
156
 
157
+ #: google-sitemap-plugin.php:364
158
  msgid "Login and password don\\'t match, try again, please"
159
  msgstr "Логин и пароль введены неправильно, попробуйте еще раз"
160
 
161
+ #: google-sitemap-plugin.php:423
162
  msgid "Info about this site in google webmaster tools"
163
  msgstr "Я хочу получить информацию об этом сайте из Google webmaster tools"
164
 
165
+ #: google-sitemap-plugin.php:425
166
  msgid "This site is not added to the google webmaster tools account"
167
  msgstr "Я хочу добавить этот сайт в Google webmaster tools"
168
 
169
+ #: google-sitemap-plugin.php:446
170
  msgid "Site url: "
171
  msgstr "Урл сайта:"
172
 
173
+ #: google-sitemap-plugin.php:447
174
  msgid "Site verification: "
175
  msgstr "Верификация сайта:"
176
 
177
+ #: google-sitemap-plugin.php:449
178
  msgid "verificated"
179
  msgstr "верифицровано"
180
 
181
+ #: google-sitemap-plugin.php:451
182
  msgid "non verificated"
183
  msgstr "не верефицирован"
184
 
185
+ #: google-sitemap-plugin.php:452
186
  msgid "Sitemap file: "
187
  msgstr "Файл карты сайта:"
188
 
189
+ #: google-sitemap-plugin.php:454
190
  msgid "added"
191
  msgstr "добавлен"
192
 
193
+ #: google-sitemap-plugin.php:456
194
  msgid "not added"
195
  msgstr "не добавлен"
196
 
197
  #~ msgid "Install Now"
198
  #~ msgstr "Установить сейчас"
 
199
  #~ msgid "Update"
200
  #~ msgstr "Сохранить"
201
+
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.1
7
- Stable tag: 1.08
8
 
9
  This plugin allows you to add sitemap file to google webmaster tools.
10
 
@@ -14,6 +14,7 @@ Google sitemap plugin allows you to create and add sitemap file to google webmas
14
 
15
  = Translation =
16
 
 
17
  * Russian (ru_RU)
18
 
19
  If you create your own language pack or update an existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank"> text in PO and MO files</a> for <a href="http://bestwebsoft.com/" target="_blank">BWS</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
@@ -67,6 +68,11 @@ In the WordPress admin panel go to "Plugins", find "Google sitemap" plugin and p
67
 
68
  == Changelog ==
69
 
 
 
 
 
 
70
  = V1.08 - 03.04.2012 =
71
  * NEW: Added a possibility to include links on the selected post types to the sitemap.
72
 
@@ -93,6 +99,9 @@ In the WordPress admin panel go to "Plugins", find "Google sitemap" plugin and p
93
 
94
  == Upgrade Notice ==
95
 
 
 
 
96
  = V1.08 =
97
  Added a possibility to include links on the selected post types to the sitemap.
98
 
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.4
7
+ Stable tag: 1.09
8
 
9
  This plugin allows you to add sitemap file to google webmaster tools.
10
 
14
 
15
  = Translation =
16
 
17
+ * Arabic (ar_AR) (thanks to Albayan Design, hani aladoli)
18
  * Russian (ru_RU)
19
 
20
  If you create your own language pack or update an existing one, you can send <a href="http://codex.wordpress.org/Translating_WordPress" target="_blank"> text in PO and MO files</a> for <a href="http://bestwebsoft.com/" target="_blank">BWS</a> and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files <a href="http://www.poedit.net/download.php" target="_blank">Poedit</a>.
68
 
69
  == Changelog ==
70
 
71
+ = V1.09 - 27.06.2012 =
72
+ * New: Added Arabic language file for plugin.
73
+ * Bugfix: Create new sitemap file and Add sitemap file path in robots.txt errors were fixed.
74
+ * Update : We updated all functionality for wordpress 3.4.
75
+
76
  = V1.08 - 03.04.2012 =
77
  * NEW: Added a possibility to include links on the selected post types to the sitemap.
78
 
99
 
100
  == Upgrade Notice ==
101
 
102
+ = V1.09 =
103
+ Added Arabic language file for plugin. Create new sitemap file and Add sitemap file path in robots.txt errors were fixed. We updated all functionality for wordpress 3.4.
104
+
105
  = V1.08 =
106
  Added a possibility to include links on the selected post types to the sitemap.
107
 
screenshot-1.jpg CHANGED
File without changes
screenshot-2.jpg CHANGED
File without changes
sitemap.xsl CHANGED
File without changes