Version Description
(2017-07-24) = * Fixed security issue related to donation functionality.
Download this release
Release Info
Developer | fredericktownes |
Plugin | Google XML Sitemaps |
Version | 4.0.9 |
Comparing to | |
See all releases |
Code changes from version 4.0.8 to 4.0.9
- documentation.txt +3 -2
- readme.txt +378 -11
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- sitemap-core.php +35 -14
- sitemap-loader.php +20 -2
- sitemap-ui.php +47 -50
- sitemap-wpmu.php +1 -1
- sitemap.php +4 -4
- sitemap.xsl +3 -3
documentation.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
Google XML Sitemaps Generator for WordPress
|
2 |
==============================================================================
|
3 |
|
4 |
-
This generator will create a sitemaps.org compliant sitemap of your WordPress
|
5 |
Currently homepage, posts, static pages, categories, archives and author pages are supported.
|
6 |
|
7 |
The priority of a post depends on its comments. You can choose the way the priority
|
@@ -309,6 +309,7 @@ Release History:
|
|
309 |
2014-09-02 4.0.7.1Added icon for the new WP Add-Plugin page
|
310 |
Changed "Tested up to" to 4.0
|
311 |
2014-11-15 4.0.8 Fixed bug with excluded categories, thanks to Claus Schöffel!
|
|
|
312 |
|
313 |
|
314 |
|
@@ -320,7 +321,7 @@ Todo:
|
|
320 |
|
321 |
License:
|
322 |
==============================================================================
|
323 |
-
Copyright 2005 -
|
324 |
|
325 |
This program is free software; you can redistribute it and/or modify
|
326 |
it under the terms of the GNU General Public License as published by
|
1 |
Google XML Sitemaps Generator for WordPress
|
2 |
==============================================================================
|
3 |
|
4 |
+
This generator will create a sitemaps.org compliant sitemap of your WordPress site.
|
5 |
Currently homepage, posts, static pages, categories, archives and author pages are supported.
|
6 |
|
7 |
The priority of a post depends on its comments. You can choose the way the priority
|
309 |
2014-09-02 4.0.7.1Added icon for the new WP Add-Plugin page
|
310 |
Changed "Tested up to" to 4.0
|
311 |
2014-11-15 4.0.8 Fixed bug with excluded categories, thanks to Claus Schöffel!
|
312 |
+
2017-03-22 4.0.9 Fixed security issue with donation submission.
|
313 |
|
314 |
|
315 |
|
321 |
|
322 |
License:
|
323 |
==============================================================================
|
324 |
+
Copyright 2005 - 2017 ARNE BRACHHOLD (email : himself - arnebrachhold - de)
|
325 |
|
326 |
This program is free software; you can redistribute it and/or modify
|
327 |
it under the terms of the GNU General Public License as published by
|
readme.txt
CHANGED
@@ -1,22 +1,23 @@
|
|
1 |
=== Google XML Sitemaps ===
|
2 |
Contributors: arnee
|
3 |
-
|
4 |
-
Tags: seo, google, sitemaps, google sitemaps, yahoo, msn, ask, live, xml sitemap, xml
|
5 |
Requires at least: 3.3
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 4.0.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
This plugin will
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
|
|
|
|
|
16 |
|
17 |
Supported since *over 9 years* and rated as the [best WordPress plugin](http://wordpress.org/plugins/browse/top-rated/), it will do exactly what it's supposed to do - providing a complete XML sitemap for search engines. It will not break your site, slow it down or annoy you. Guaranteed!
|
18 |
|
19 |
-
> If you like the plugin, feel free to rate it (on the right side of this page)
|
20 |
|
21 |
Related Links:
|
22 |
|
@@ -40,7 +41,7 @@ It is under Settings > XML Sitemap. I know nowadays many plugins add top-level m
|
|
40 |
|
41 |
= Do I have to create a sitemap.xml and sitemap.xml.gz by myself? =
|
42 |
|
43 |
-
Not anymore. Since version 4, these files are dynamically generated. *There must be no sitemap.xml or sitemap.xml.gz in your
|
44 |
|
45 |
= Does this plugin use static files or "I can't find the sitemap.xml file!" =
|
46 |
|
@@ -76,7 +77,368 @@ The WordPress.org repository is just another place to download this plugin. I do
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
== Screenshots ==
|
82 |
|
@@ -86,8 +448,13 @@ You can always find the changelog on [the plugin website](http://www.arnebrachho
|
|
86 |
|
87 |
== License ==
|
88 |
|
89 |
-
Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial
|
90 |
|
91 |
== Translations ==
|
92 |
|
93 |
-
The plugin comes with various translations, please refer to the [WordPress Codex](http://codex.wordpress.org/Installing_WordPress_in_Your_Language "Installing WordPress in Your Language") for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the sitemap.pot file which contains all definitions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Windows).
|
|
|
|
|
|
|
|
|
|
1 |
=== Google XML Sitemaps ===
|
2 |
Contributors: arnee
|
3 |
+
Tags: seo, google, bing, yahoo, msn, ask, live, sitemaps, google sitemaps, xml sitemap, xml
|
|
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 4.9.5
|
6 |
+
Stable tag: 4.0.9
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
+
This plugin will improve SEO by helping search enginess better index your site using sitemaps.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
Use this plugin to greatly improve SEO to create special XML sitemaps which will help search engines like Google, Bing, Yahoo and Ask.com to better index your site.
|
15 |
+
|
16 |
+
With such a sitemap, it's much easier for the crawlers to see the complete structure of your site and retrieve it more efficiently. The plugin supports all kinds of WordPress generated pages as well as custom URLs. Additionally it notifies all major search engines every time you create a post about the new content.
|
17 |
|
18 |
Supported since *over 9 years* and rated as the [best WordPress plugin](http://wordpress.org/plugins/browse/top-rated/), it will do exactly what it's supposed to do - providing a complete XML sitemap for search engines. It will not break your site, slow it down or annoy you. Guaranteed!
|
19 |
|
20 |
+
> If you like the plugin, feel free to rate it (on the right side of this page)! :)
|
21 |
|
22 |
Related Links:
|
23 |
|
41 |
|
42 |
= Do I have to create a sitemap.xml and sitemap.xml.gz by myself? =
|
43 |
|
44 |
+
Not anymore. Since version 4, these files are dynamically generated. *There must be no sitemap.xml or sitemap.xml.gz in your site directory anymore!* The plugin will try to rename them to sitemap.xml.bak if they still exists.
|
45 |
|
46 |
= Does this plugin use static files or "I can't find the sitemap.xml file!" =
|
47 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 4.0.9 (2017-07-24) =
|
81 |
+
* Fixed security issue related to donation functionality.
|
82 |
+
|
83 |
+
= 4.0.8 (2014-11-15) =
|
84 |
+
* Fixed bug regarding the exclude categories feature, thanks to Claus Schöffel!
|
85 |
+
|
86 |
+
= 4.0.7.1 (2014-09-02) =
|
87 |
+
* Sorry, no new features this time… This release only updates the Compatibility-Tag to WordPress 4.0. Unfortunately there is no way to do this anymore without a new version
|
88 |
+
|
89 |
+
= 4.0.7 (2014-06-23) =
|
90 |
+
* Better compatibility with GoDaddy managed WP hosting
|
91 |
+
* Better compatibility with QuickCache
|
92 |
+
* Removed WordPress version from the sitemap
|
93 |
+
* Corrected link to WordPress privacy settings (if search engines are blocked)
|
94 |
+
* Changed hook which is being used for sitemap pings to avoid pings on draft edit
|
95 |
+
|
96 |
+
= 4.0.6 (2014-06-03) =
|
97 |
+
* Added option to disable automatic gzipping
|
98 |
+
* Fixed bug with duplicated external sitemap entries
|
99 |
+
* Don’t gzip if behind Varnish since Varnish can do that
|
100 |
+
|
101 |
+
= 4.0.5 (2014-05-18) =
|
102 |
+
* Added function to manually start ping for main-sitemap or all sub-sitemaps
|
103 |
+
* Added support for changing the base of the sitemap URL to another URL (for WP installations in sub-folders)
|
104 |
+
* Fixed issue with empty post sitemaps (related to GMT/local time offset)
|
105 |
+
* Fixed some timing issues in archives
|
106 |
+
* Improved check for possible problems before gzipping
|
107 |
+
* Fixed empty archives and author sitemaps in case there were no posts
|
108 |
+
* Fixed bug which caused the Priority Provider to disappear in recent PHP versions
|
109 |
+
* Plugin will also ping with the corresponding sub-sitemap in case a post was modified
|
110 |
+
* Better checking for empty external urls
|
111 |
+
* Changed text in XSL template to be more clear about sitemap-index and sub-sitemaps
|
112 |
+
* Changed content type to text/xml to improve compatibility with caching plugins
|
113 |
+
* Changed query parameters to is_feed=true to improve compatibility with caching plugins
|
114 |
+
* Switched from using WP_Query to load posts to a custom SQL statement to avoid problems with other plugin filters
|
115 |
+
* Added caching of some SQL statements
|
116 |
+
* Added support feed for more help topics
|
117 |
+
* Added link to new help page
|
118 |
+
* Cleaned up code and renamed variables to be more readable
|
119 |
+
* Updated Japanese Translation, thanks to Daisuke Takahashi
|
120 |
+
|
121 |
+
= 4.0.4 (2014-04-19) =
|
122 |
+
* Removed deprecated get_page call
|
123 |
+
* Changed last modification time of sub-sitemaps to the last modification date of the posts instead of the publish date
|
124 |
+
* Removed information window if the statistic option has not been activated
|
125 |
+
* Added link regarding new sitemap format
|
126 |
+
* Updated Portuguese translation, thanks to Pedro Martinho
|
127 |
+
* Updated German translation
|
128 |
+
|
129 |
+
= 4.0.3 (2014-04-13) =
|
130 |
+
* Fixed compression if an gzlib handler was already active
|
131 |
+
* Help regarding permalinks for Nginx users
|
132 |
+
* Fix with gzip compression in case there was other output before already
|
133 |
+
* Return 404 for HTML sitemaps if the option has been disabled
|
134 |
+
* Updated translations
|
135 |
+
|
136 |
+
= 4.0.2 (2014-04-01) =
|
137 |
+
* Fixed warning if an gzip handler is already active
|
138 |
+
|
139 |
+
= 4.0.1 (2014-03-31) =
|
140 |
+
* Fixed bug with custom post types including a "-"
|
141 |
+
* Fixed some 404 Not Found Errors
|
142 |
+
|
143 |
+
= 4.0 (2014-03-30) =
|
144 |
+
* No static files anymore, sitemap is created on the fly!
|
145 |
+
* Sitemap is split-up into sub-sitemaps by month, allowing up to 50.000 posts per month! [More information](http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/google-xml-sitemap-generator-new-sitemap-format/)
|
146 |
+
* Support for custom post types and custom taxonomis!
|
147 |
+
* 100% Multisite compatible, including by-blog and network activation.
|
148 |
+
* Reduced server resource usage due to less content per request.
|
149 |
+
* New API allows other plugins to add their own, separate sitemaps.
|
150 |
+
* Note: PHP 5.1 and WordPress 3.3 is required! The plugin will not work with lower versions!
|
151 |
+
* Note: This version will try to rename your old sitemap files to *-old.xml. If that doesn’t work, please delete them manually since no static files are needed anymore!
|
152 |
+
|
153 |
+
= 3.4.1 (2014-04-10) =
|
154 |
+
* Compatibility with mysqli
|
155 |
+
|
156 |
+
= Version 3.4 (2013-11-24) =
|
157 |
+
* Fixed deprecation warnings in PHP 5.4, thanks to Dion Hulse!
|
158 |
+
|
159 |
+
= 3.3 (2013-09-28) =
|
160 |
+
* Fixed problem with file permission checking
|
161 |
+
* Filter out hashs (#) in URLs
|
162 |
+
|
163 |
+
= 3.2.9 (2013-01-11) =
|
164 |
+
* Fixed security issue with change frequencies and filename of sitemap file. Exploit was only possible with admin account.
|
165 |
+
|
166 |
+
= 3.2.8 (2012-08-08) =
|
167 |
+
* Fixed wrong custom taxonomy URLs, thanks to ramon fincken of the wordpress.org forum!
|
168 |
+
* Removed ASK ping since they shut down their service.
|
169 |
+
* Exclude post_format taxonomy from custom taxonomy list
|
170 |
+
|
171 |
+
= 3.2.7 (2012-04-24) =
|
172 |
+
* Fixed custom post types, thanks to clearsite of the wordpress.org forum!
|
173 |
+
* Fixed broken admin layout on WP 3.4
|
174 |
+
|
175 |
+
= 3.2.6 (2011-09-19) =
|
176 |
+
* Removed YAHOO ping since YAHOO uses bing now
|
177 |
+
* Removed deprecated function call
|
178 |
+
|
179 |
+
= 3.2.5 (2011-07-11) =
|
180 |
+
* Backported Bing ping success fix from beta
|
181 |
+
* Added friendly hint to try out the new beta
|
182 |
+
|
183 |
+
= 3.2.4 (2010-05-29) =
|
184 |
+
* Added (GMT) to date column in sitemap xslt template to avoid confusion with different time zones
|
185 |
+
* Fixed wrong SQL statement for author pages, thanks to twoenoug
|
186 |
+
* Fixed several deprecated function calls
|
187 |
+
* Note: This release does not support the new multisite feature of WordPress yet and will not be active when multisite is enabled.
|
188 |
+
|
189 |
+
= 3.2.3 (2010-04-02) =
|
190 |
+
* Fixed that all pages were missing in the sitemap if the “Uncategorized” category was excluded
|
191 |
+
|
192 |
+
= 3.2.2 (2009-12-19) =
|
193 |
+
* Updated compatibility tag to WordPress 2.9
|
194 |
+
* Fixed PHP4 problems
|
195 |
+
|
196 |
+
= 3.2.1 (2009-12-16) =
|
197 |
+
* Notes and update messages at the top of the admin page could interfere with the manual build function
|
198 |
+
* Help links in the WP contextual help were not shown anymore since the last update
|
199 |
+
* IE 7 sometimes displayed a cached admin page
|
200 |
+
* Removed invalid link to config page from the plugin description (The link lead to a "Not enough permission error")
|
201 |
+
* Improved performance of getting the current plugin version by caching
|
202 |
+
* Updated Spanish language files
|
203 |
+
|
204 |
+
= 3.2 (2009-11-23) =
|
205 |
+
* Added function to show the actual results of a ping instead of only linking to the url
|
206 |
+
* Added new hook (sm_rebuild) for third party plugins to start building the sitemap
|
207 |
+
* Fixed bug which showed the wrong URL for the latest Google ping result
|
208 |
+
* Added some missing documentation
|
209 |
+
* Removed hardcoded php name for sitemap file in admin urls
|
210 |
+
* Uses KSES for showing ping test results
|
211 |
+
* Ping test fixed for WP < 2.3
|
212 |
+
|
213 |
+
= 3.1.9 (2009-11-13) =
|
214 |
+
* Fixed MySQL Error if author pages were included
|
215 |
+
|
216 |
+
= 3.1.8 (2009-11-07) =
|
217 |
+
* Improved custom taxonomy handling and fixed wrong last modification date
|
218 |
+
* Fixed fatal error in WordPress versions lower than 2.3
|
219 |
+
* Fixed Update Notice for WordPress 2.8 and higher
|
220 |
+
* Added warning if blog privacy is activated
|
221 |
+
* Fixed priorities of additional pages were shown as 0 instead of 1
|
222 |
+
|
223 |
+
= 3.1.7 (2009-10-21) =
|
224 |
+
* Added support for custom taxonomies. Thanks to Lee!
|
225 |
+
|
226 |
+
= 3.1.6 (2009-08-31) =
|
227 |
+
* Fixed PHP error “Only variables can be passed by reference”
|
228 |
+
* Fixed wrong URLS of multi-page posts (Thanks artstorm!)
|
229 |
+
* Updated many language files
|
230 |
+
|
231 |
+
= 3.1.5 (2009-08-24) =
|
232 |
+
* Added option to completely disable the last modification time
|
233 |
+
* Fixed problem with HTTPS url for the XSL stylesheet if the sitemap was build via the admin panel
|
234 |
+
* Improved handling of homepage entry if a single page was set for it
|
235 |
+
* Fixed mktime warning which appeared sometimes
|
236 |
+
* Fixed bug which caused inf. reloads after rebuilding the sitemap via the admin panel
|
237 |
+
* Improved handling of missing sitemaps files if WP was moved to another location
|
238 |
+
|
239 |
+
= 3.1.4 (2009-06-22) =
|
240 |
+
* Fixed bug which broke all pings in WP older than 2.7
|
241 |
+
* Added more output in debug mode if pings fail
|
242 |
+
* Moved global post variable so other plugins can use it in get_permalink()
|
243 |
+
* Added small icon for ozh admin menu
|
244 |
+
* Added more help links in UI
|
245 |
+
|
246 |
+
= 3.1.3 (2009-06-07) =
|
247 |
+
* Changed MSN Live Search to Bing
|
248 |
+
* Exclude categories also now exludes the category itself and not only the posts
|
249 |
+
* Pings now use the new WordPress HTTP API instead of Snoopy
|
250 |
+
* Fixed bug that in localized WP installations priorities could not be saved
|
251 |
+
* The sitemap cron job is now cleared after a manual rebuild or after changing the config
|
252 |
+
* Adjusted style of admin area for WP 2.8 and refreshed icons
|
253 |
+
* Disabled the “Exclude categories” feature for WP 2.5.1, since it doesn’t have the required functions yet
|
254 |
+
|
255 |
+
= 3.1.2 (2008-12-26) =
|
256 |
+
* Changed the way the stylesheet is saved (default / custom stylesheet)
|
257 |
+
* Sitemap is now rebuild when a page is published
|
258 |
+
* Removed support for static robots.txt files, this is now handled via WordPress functions
|
259 |
+
* Added compat. exceptions for WP 2.0 and WP 2.1
|
260 |
+
|
261 |
+
= 3.1.1 (2008-12-21) =
|
262 |
+
* Fixed redirect issue if wp-admin is rewritten via mod_rewrite, thanks to macjoost
|
263 |
+
* Fixed wrong path to assets, thanks PozHonks
|
264 |
+
* Fixed wrong plugin URL if wp-content was renamed / redirected, thanks to wnorris
|
265 |
+
* Updated WP User Interface for 2.7
|
266 |
+
* Various other small things
|
267 |
+
|
268 |
+
= 3.1.0.1 (2008-05-27) =
|
269 |
+
* Extracted UI JS to external file
|
270 |
+
* Enabled the option to include following pages of multi-page posts
|
271 |
+
* Script tries to raise memory and time limit if active
|
272 |
+
|
273 |
+
= 3.1 (2008-05-22) =
|
274 |
+
* Marked as stable
|
275 |
+
|
276 |
+
= 3.1b3 (2008-05-19) =
|
277 |
+
* Cleaned up plugin directory and moved img files to subfolders
|
278 |
+
* Fixed background building bug in WP 2.1
|
279 |
+
* Removed auto-update plugin link for WP < 2.5
|
280 |
+
|
281 |
+
= 3.1b2 (2008-05-18) =
|
282 |
+
* Fixed critical bug with the build in background option
|
283 |
+
* Added notification if a build is scheduled
|
284 |
+
|
285 |
+
= 3.1b1 (2008-05-08) =
|
286 |
+
* Splitted plugin in loader, generator and user interface to save memory
|
287 |
+
* Generator and UI will only be loaded when needed
|
288 |
+
* Secured all admin actions with nonces
|
289 |
+
* Improved WP 2.5 handling
|
290 |
+
* New "Suggest a Feature" link
|
291 |
+
|
292 |
+
= 3.0.3.3 (2008-04-29) =
|
293 |
+
* Fixed author pages
|
294 |
+
* Enhanced background building and increased delay to 15 seconds
|
295 |
+
* Enabled background building by default
|
296 |
+
|
297 |
+
= 3.0.3.2 (2008-04-28) =
|
298 |
+
* Improved WP 2.5 handling (fixes blank screens and timeouts)
|
299 |
+
|
300 |
+
= 3.0.3.1 (2008-03-30) =
|
301 |
+
* Added compatibility CSS for WP 2.5
|
302 |
+
|
303 |
+
= 3.0.3 (2007-12-30) =
|
304 |
+
* Added option to ping MSN Live Search
|
305 |
+
* Removed some WordPress hooks (the sitemap isn’t updates with every comment anymore)
|
306 |
+
|
307 |
+
= 3.0.2.1 (2007-11-28) =
|
308 |
+
* Fixed wrong XML Schema Location (Thanks to Emanuele Tessore)
|
309 |
+
* Added Russian Language files by Sergey http://ryvkin.ru
|
310 |
+
|
311 |
+
= 3.0.2 (2007-11-25) =
|
312 |
+
* Fixed bug which caused that some settings were not saved correctly
|
313 |
+
* Added option to exclude pages or post by ID
|
314 |
+
* Restored YAHOO ping service with API key since the other one is to unreliable
|
315 |
+
|
316 |
+
= 3.0.1 (2007-11-03) =
|
317 |
+
* Changed HTTP client for ping requests to Snoopy
|
318 |
+
* Added "safemode" for SQL which doesn’t use unbuffered results
|
319 |
+
* Added option to run the building process in background using wp-cron
|
320 |
+
* Added links to test the ping if it failed
|
321 |
+
|
322 |
+
= 3.0 final (2007-09-24) =
|
323 |
+
* Marked as stable
|
324 |
+
* Removed useless functions
|
325 |
+
|
326 |
+
= 3.0b11 (2007-09-23) =
|
327 |
+
* Changed mysql queries to unbuffered queries
|
328 |
+
* Uses MUCH less memory
|
329 |
+
* Option to limit the number of posts
|
330 |
+
|
331 |
+
= 3.0b10 (2007-09-04) =
|
332 |
+
* Added category support for WordPress 2.3
|
333 |
+
* Fixed bug with empty URLs in sitemap
|
334 |
+
* Repaired GET building
|
335 |
+
|
336 |
+
= 3.0b9 (2007-09-02) =
|
337 |
+
* Added tag support for WordPress 2.3
|
338 |
+
* Fixed archive bug with static pages (Thanks to Peter Claus Lamprecht)
|
339 |
+
* Fixed some missing translation strings, thanks to Kirin Lin
|
340 |
+
|
341 |
+
= 3.0b8 (2007-07-22) =
|
342 |
+
* Fixed bug with empty categories
|
343 |
+
* Fixed bug with translation plugins
|
344 |
+
* Added support for robots.txt
|
345 |
+
* Switched YAHOO ping API from YAHOO Web Services to the “normal” ping service
|
346 |
+
* Search engines will only be pinged if the sitemap file has changed
|
347 |
+
|
348 |
+
= 3.0b7 (2007-05-17) =
|
349 |
+
* Added Ask.com notification
|
350 |
+
* Added option to include the author pages like /author/john
|
351 |
+
* Fixed WP 2.1 / Pre 2.1 post / pages database changes
|
352 |
+
* Added check to not build the sitemap if importing posts
|
353 |
+
* Fixed wrong XSLT location (Thanks froosh)
|
354 |
+
* Small enhancements and bug fixes
|
355 |
+
|
356 |
+
= 3.0b6 (2007-01-23) =
|
357 |
+
* sitemap.xml.gz was not compressed
|
358 |
+
* YAHOO update-notification was PHP5 only (Thanks to Joseph Abboud!)
|
359 |
+
* More WP 2.1 optimizations
|
360 |
+
* Reduced memory usage with PHP5
|
361 |
+
|
362 |
+
= 3.0b5 (2007-01-19) =
|
363 |
+
* WordPress 2 Design
|
364 |
+
* YAHOO update notification
|
365 |
+
* New status report, removed ugly logfiles
|
366 |
+
* Added option to define a XSLT stylesheet and added a default one
|
367 |
+
* Fixed bug with sub-pages, thanks to [Mike](http://baptiste.us/), [Peter](http://fastagent.de/) and [Glenn](http://publicityship.com.au/)
|
368 |
+
* Improved file handling, thanks to [VJTD3](http://www.vjtd3.com/)
|
369 |
+
* WP 2.1 improvements
|
370 |
+
|
371 |
+
= 3.0b4 (2006-11-16) =
|
372 |
+
* Fixed some smaller bugs
|
373 |
+
* Decreased memory usage which should solve timeout and memory problems
|
374 |
+
* Updated namespace to support YAHOO and MSN
|
375 |
+
|
376 |
+
= 3.0b2 (2006-01-14) =
|
377 |
+
* Fixed several bugs reported by users
|
378 |
+
|
379 |
+
= 3.0b (2005-11-25) =
|
380 |
+
* WordPress 2.0 (Beta, RC1) compatible
|
381 |
+
* Added different priority calculation modes and introduced an API to create custom ones (Some people didn’t like the way to calculate the post priority based on the count of user comments. This will give you the possibility to develop custom priority providers which fit your needs.)
|
382 |
+
* Added support to use the [Popularity Contest](http://www.alexking.org/blog/2005/07/27/popularity-contest-11/) plugin by [Alex King](http://www.alexking.org/) to calculate post priority (If you are already using the Popularity Contest plugin, this will be the best way to determine the priority of the posts. Uses to new priority API noted above.)
|
383 |
+
* Added option to exclude password protected posts (This was one of the most requested features.)
|
384 |
+
* Posts and pages marked for publish with a date in the future won’t be included
|
385 |
+
* Added function to start sitemap creation via GET and a secret key (If you are using external software which directly writes into the database without using the WordPress API, you can rebuild the sitemap with a simple HTTP Request. This can be made with a cron job for example.)
|
386 |
+
* Improved compatibility with other plugins (There should no longer be problems with other plugins now which checked for existence of a specified function to determine if you are in the control panel or not.)
|
387 |
+
* Recoded plugin architecture which is now fully OOP (The code is now cleaner and better to understand which makes it easier to modify. This should also avoid namespace problems.)
|
388 |
+
* Improved speed and optimized settings handling (Settings and pages are only loaded if the sitemap generation process starts and not every time a page loads. This saves one MySQL Query on every request.)
|
389 |
+
* Added Button to restore default configuration (Messed up the config? You’ll need just one click to restore all settings.)
|
390 |
+
* Added log file to check everything is running (In the new log window you can see when your sitemap was rebuilt or if there was any error.)
|
391 |
+
* Improved user-interface
|
392 |
+
* Added several links to homepage and support (This includes the Notify List about new releases and the WordPress support forum.)
|
393 |
+
|
394 |
+
= 2.7 (2005-11-25) =
|
395 |
+
* Added Polish Translation by [kuba](http://kubazwolinski.com/)
|
396 |
+
|
397 |
+
= 2.7 (2005-11-01) =
|
398 |
+
* Added French Translation by [Thierry Lanfranchi](http://www.chezthierry.info/)
|
399 |
+
|
400 |
+
= 2.7 (2005-07-21) =
|
401 |
+
* Fixed bug with incorrect date in additional pages (wrong format)
|
402 |
+
* Added Swedish Translation by [Tobias Bergius](http://tobiasbergius.se/)
|
403 |
+
|
404 |
+
= 2.6 (2005-07-16) =
|
405 |
+
* Included Chinese (Simplified) language files by [june6](http://www.june6.cn/)
|
406 |
+
|
407 |
+
= 2.6 (2005-07-04) =
|
408 |
+
* Added support to store the files at a custom location
|
409 |
+
* Changed the home URL to have a slash at the end
|
410 |
+
* Fixed errors with wp-mail
|
411 |
+
* Added support for other plugins to add content to the sitemap
|
412 |
+
|
413 |
+
= 2.5 (2005-06-15) =
|
414 |
+
* You can include now external pages which aren’t generated by WordPress or are not recognized by this plugin
|
415 |
+
* You can define a minimum post priority, which will overrride the calculated value if it’s too low
|
416 |
+
* The plugin will automatically ping Google whenever the sitemap gets regenerated
|
417 |
+
* Update 1: Included Spanish translations by [Cesar Gomez Martin](http://www.cesargomez.org/)
|
418 |
+
* Update 2: Included Italian translations by [Stefano Aglietti](http://wordpress-it.it/)
|
419 |
+
* Update 3: Included Traditional Chinese translations by [Kirin Lin](http://kirin-lin.idv.tw/)
|
420 |
+
|
421 |
+
= 2.2 (2005-06-08) =
|
422 |
+
* Language file support: [Hiromasa](http://hiromasa.zone.ne.jp/) from [http://hiromasa.zone.ne.jp](http://hiromasa.zone.ne.jp/) sent me a japanese version of the user interface and modified the script to support it! Thanks for this! Check [the WordPress Codex](http://codex.wordpress.org/WordPress_Localization) how to set the language in WordPress.
|
423 |
+
* Added Japanese user interface by [Hiromasa](http://hiromasa.zone.ne.jp/)
|
424 |
+
* Added German user interface by me
|
425 |
+
|
426 |
+
= 2.12 (2005-06-07) =
|
427 |
+
* Changed SQL Statement for categories that it also works on MySQL 3
|
428 |
+
|
429 |
+
= 2.11 (2005-06-07) =
|
430 |
+
* Fixed a hardcoded tablename which made a SQL error
|
431 |
+
|
432 |
+
= 2.1 (2005-06-07) =
|
433 |
+
* Can also generate a gzipped version of the xml file (sitemap.xml.gz)
|
434 |
+
* Uses correct last modification dates for categories and archives. (Thanks to thx [Rodney Shupe](http://www.shupe.ca/) for the SQL)
|
435 |
+
* Supports now different WordPress / Blog directories
|
436 |
+
* Fixed bug which ignored different post/page priorities (Reported by [Brad](http://h3h.net/))
|
437 |
+
|
438 |
+
= 2.01 (2005-06-07) =
|
439 |
+
* Fixed compatibility for PHP installations which are not configured to use short open tags
|
440 |
+
* Changed Line 147 from _e($i); to _e(strval($i));
|
441 |
+
* Thanks to [Christian Aust](http://publicvoidblog.de/) for reporting this!
|
442 |
|
443 |
== Screenshots ==
|
444 |
|
448 |
|
449 |
== License ==
|
450 |
|
451 |
+
Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial site.
|
452 |
|
453 |
== Translations ==
|
454 |
|
455 |
+
The plugin comes with various translations, please refer to the [WordPress Codex](http://codex.wordpress.org/Installing_WordPress_in_Your_Language "Installing WordPress in Your Language") for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the sitemap.pot file which contains all definitions and may be used with a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) (Windows).
|
456 |
+
|
457 |
+
== Upgrade Notice ==
|
458 |
+
|
459 |
+
= 4.0.9 =
|
460 |
+
Thanks for using Google XML Sitemaps! This release includes an important security fix that has been reported.
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
sitemap-core.php
CHANGED
@@ -200,7 +200,7 @@ class GoogleSitemapGeneratorStatus {
|
|
200 |
class GoogleSitemapGeneratorPage {
|
201 |
|
202 |
/**
|
203 |
-
* @var string $_url Sets the URL or the relative path to the
|
204 |
*/
|
205 |
public $_url;
|
206 |
|
@@ -395,7 +395,7 @@ class GoogleSitemapGeneratorDebugEntry extends GoogleSitemapGeneratorXmlEntry {
|
|
395 |
class GoogleSitemapGeneratorSitemapEntry {
|
396 |
|
397 |
/**
|
398 |
-
* @var string $_url Sets the URL or the relative path to the
|
399 |
*/
|
400 |
protected $_url;
|
401 |
|
@@ -660,7 +660,7 @@ class GoogleSitemapGeneratorPrioByAverageProvider implements GoogleSitemapGener
|
|
660 |
}
|
661 |
|
662 |
/**
|
663 |
-
* Class to generate a sitemaps.org Sitemaps compliant sitemap of a WordPress
|
664 |
*
|
665 |
* @package sitemap
|
666 |
* @author Arne Brachhold
|
@@ -843,9 +843,10 @@ final class GoogleSitemapGenerator {
|
|
843 |
* @since 3.0
|
844 |
* @return string The full url
|
845 |
*/
|
846 |
-
public static function GetBackLink() {
|
847 |
global $wp_version;
|
848 |
-
$url = admin_url("options-general.php?page=" .
|
|
|
849 |
return $url;
|
850 |
}
|
851 |
|
@@ -873,7 +874,7 @@ final class GoogleSitemapGenerator {
|
|
873 |
}
|
874 |
|
875 |
/**
|
876 |
-
* Returns if the
|
877 |
* @since 4.0
|
878 |
* @return bool
|
879 |
*/
|
@@ -1185,6 +1186,7 @@ final class GoogleSitemapGenerator {
|
|
1185 |
$this->options["sm_i_donated"] = false; //Did you donate? Thank you! :)
|
1186 |
$this->options["sm_i_hide_donated"] = false; //And hide the thank you..
|
1187 |
$this->options["sm_i_install_date"] = time(); //The installation date
|
|
|
1188 |
$this->options["sm_i_hide_note"] = false; //Hide the note which appears after 30 days
|
1189 |
$this->options["sm_i_hide_works"] = false; //Hide the "works?" message which appears after 15 days
|
1190 |
$this->options["sm_i_hide_donors"] = false; //Hide the list of donations
|
@@ -1205,14 +1207,10 @@ final class GoogleSitemapGenerator {
|
|
1205 |
|
1206 |
$this->InitOptions();
|
1207 |
|
1208 |
-
//Delete the options cache. This is unfortunately required for some hosts,
|
1209 |
-
//but it is not that bad since it will only clear the options and only if a
|
1210 |
-
//sitemap is actually served or the sitemap admin page is requested.
|
1211 |
-
wp_cache_delete('alloptions', 'options');
|
1212 |
-
|
1213 |
//First init default values, then overwrite it with stored values so we can add default
|
1214 |
//values with an update which get stored by the next edit.
|
1215 |
$storedOptions = get_option("sm_options");
|
|
|
1216 |
if($storedOptions && is_array($storedOptions)) {
|
1217 |
foreach($storedOptions AS $k => $v) {
|
1218 |
if(array_key_exists($k,$this->options)) $this->options[$k] = $v;
|
@@ -1365,7 +1363,7 @@ final class GoogleSitemapGenerator {
|
|
1365 |
$p = $this->GetPluginPath();
|
1366 |
if(file_exists($p . "sitemap.xsl")) {
|
1367 |
$url = $this->GetPluginUrl();
|
1368 |
-
//If called over the admin area using HTTPS, the stylesheet would also be https url, even if the
|
1369 |
if(substr(get_bloginfo('url'), 0, 5) != "https" && substr($url, 0, 5) == "https") $url = "http" . substr($url, 5);
|
1370 |
return $url . 'sitemap.xsl';
|
1371 |
}
|
@@ -1426,7 +1424,7 @@ final class GoogleSitemapGenerator {
|
|
1426 |
}
|
1427 |
|
1428 |
/**
|
1429 |
-
* Returns if there is still an old sitemap file in the
|
1430 |
*
|
1431 |
* @return Boolean True if a sitemap file still exists
|
1432 |
*/
|
@@ -1436,7 +1434,7 @@ final class GoogleSitemapGenerator {
|
|
1436 |
}
|
1437 |
|
1438 |
/**
|
1439 |
-
* Renames old sitemap files in the
|
1440 |
* @return bool True on success
|
1441 |
*/
|
1442 |
public function DeleteOldFiles() {
|
@@ -2248,4 +2246,27 @@ final class GoogleSitemapGenerator {
|
|
2248 |
|
2249 |
return (boolean) $value;
|
2250 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2251 |
}
|
200 |
class GoogleSitemapGeneratorPage {
|
201 |
|
202 |
/**
|
203 |
+
* @var string $_url Sets the URL or the relative path to the site dir of the page
|
204 |
*/
|
205 |
public $_url;
|
206 |
|
395 |
class GoogleSitemapGeneratorSitemapEntry {
|
396 |
|
397 |
/**
|
398 |
+
* @var string $_url Sets the URL or the relative path to the site dir of the page
|
399 |
*/
|
400 |
protected $_url;
|
401 |
|
660 |
}
|
661 |
|
662 |
/**
|
663 |
+
* Class to generate a sitemaps.org Sitemaps compliant sitemap of a WordPress site.
|
664 |
*
|
665 |
* @package sitemap
|
666 |
* @author Arne Brachhold
|
843 |
* @since 3.0
|
844 |
* @return string The full url
|
845 |
*/
|
846 |
+
public static function GetBackLink($extra = '') {
|
847 |
global $wp_version;
|
848 |
+
$url = admin_url("options-general.php?page=" .
|
849 |
+
GoogleSitemapGeneratorLoader::GetBaseName() . $extra);
|
850 |
return $url;
|
851 |
}
|
852 |
|
874 |
}
|
875 |
|
876 |
/**
|
877 |
+
* Returns if the site is running in multi site mode
|
878 |
* @since 4.0
|
879 |
* @return bool
|
880 |
*/
|
1186 |
$this->options["sm_i_donated"] = false; //Did you donate? Thank you! :)
|
1187 |
$this->options["sm_i_hide_donated"] = false; //And hide the thank you..
|
1188 |
$this->options["sm_i_install_date"] = time(); //The installation date
|
1189 |
+
$this->options["sm_i_hide_survey"] = false; //Hide the survey note
|
1190 |
$this->options["sm_i_hide_note"] = false; //Hide the note which appears after 30 days
|
1191 |
$this->options["sm_i_hide_works"] = false; //Hide the "works?" message which appears after 15 days
|
1192 |
$this->options["sm_i_hide_donors"] = false; //Hide the list of donations
|
1207 |
|
1208 |
$this->InitOptions();
|
1209 |
|
|
|
|
|
|
|
|
|
|
|
1210 |
//First init default values, then overwrite it with stored values so we can add default
|
1211 |
//values with an update which get stored by the next edit.
|
1212 |
$storedOptions = get_option("sm_options");
|
1213 |
+
|
1214 |
if($storedOptions && is_array($storedOptions)) {
|
1215 |
foreach($storedOptions AS $k => $v) {
|
1216 |
if(array_key_exists($k,$this->options)) $this->options[$k] = $v;
|
1363 |
$p = $this->GetPluginPath();
|
1364 |
if(file_exists($p . "sitemap.xsl")) {
|
1365 |
$url = $this->GetPluginUrl();
|
1366 |
+
//If called over the admin area using HTTPS, the stylesheet would also be https url, even if the site frontend is not.
|
1367 |
if(substr(get_bloginfo('url'), 0, 5) != "https" && substr($url, 0, 5) == "https") $url = "http" . substr($url, 5);
|
1368 |
return $url . 'sitemap.xsl';
|
1369 |
}
|
1424 |
}
|
1425 |
|
1426 |
/**
|
1427 |
+
* Returns if there is still an old sitemap file in the site directory
|
1428 |
*
|
1429 |
* @return Boolean True if a sitemap file still exists
|
1430 |
*/
|
1434 |
}
|
1435 |
|
1436 |
/**
|
1437 |
+
* Renames old sitemap files in the site directory from previous versions of this plugin
|
1438 |
* @return bool True on success
|
1439 |
*/
|
1440 |
public function DeleteOldFiles() {
|
2246 |
|
2247 |
return (boolean) $value;
|
2248 |
}
|
2249 |
+
|
2250 |
+
|
2251 |
+
|
2252 |
+
public function ShowSurvey() {
|
2253 |
+
$this->LoadOptions();
|
2254 |
+
|
2255 |
+
return (isset($_REQUEST['sm_survey']) || !$this->GetOption('i_hide_survey'));
|
2256 |
+
}
|
2257 |
+
|
2258 |
+
public function HtmlSurvey() {
|
2259 |
+
?>
|
2260 |
+
<div class="updated">
|
2261 |
+
<strong>
|
2262 |
+
<p>
|
2263 |
+
<?php echo str_replace('%s', 'https://w3edge.wufoo.com/forms/mex338s1ysw3i0/',
|
2264 |
+
__('Thank you for using Google XML Sitemaps! <a href="%s" target="_blank">Please help us improve by taking this short survey!</a>','sitemap'));
|
2265 |
+
?> <a href="<?php echo $this->GetBackLink() . "&sm_hide_survey=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('Don\'t show this anymore', 'sitemap'); ?></small></a>
|
2266 |
+
</p>
|
2267 |
+
</strong>
|
2268 |
+
<div style="clear:right;"></div>
|
2269 |
+
</div>
|
2270 |
+
<?php
|
2271 |
+
}
|
2272 |
}
|
sitemap-loader.php
CHANGED
@@ -30,6 +30,9 @@ class GoogleSitemapGeneratorLoader {
|
|
30 |
//Register the sitemap creator to wordpress...
|
31 |
add_action('admin_menu', array(__CLASS__, 'RegisterAdminPage'));
|
32 |
|
|
|
|
|
|
|
33 |
//Nice icon for Admin Menu (requires Ozh Admin Drop Down Plugin)
|
34 |
add_filter('ozh_adminmenu_icon', array(__CLASS__, 'RegisterAdminIcon'));
|
35 |
|
@@ -206,6 +209,23 @@ class GoogleSitemapGeneratorLoader {
|
|
206 |
add_options_page(__('XML-Sitemap Generator', 'sitemap'), __('XML-Sitemap', 'sitemap'), 'administrator', self::GetBaseName(), array(__CLASS__, 'CallHtmlShowOptionsPage'));
|
207 |
}
|
208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
/**
|
210 |
* Returns a nice icon for the Ozh Admin Menu if the {@param $hook} equals to the sitemap plugin
|
211 |
*
|
@@ -233,7 +253,6 @@ class GoogleSitemapGeneratorLoader {
|
|
233 |
$links[] = '<a href="options-general.php?page=' . self::GetBaseName() . '">' . __('Settings', 'sitemap') . '</a>';
|
234 |
$links[] = '<a href="http://www.arnebrachhold.de/redir/sitemap-plist-faq/">' . __('FAQ', 'sitemap') . '</a>';
|
235 |
$links[] = '<a href="http://www.arnebrachhold.de/redir/sitemap-plist-support/">' . __('Support', 'sitemap') . '</a>';
|
236 |
-
$links[] = '<a href="http://www.arnebrachhold.de/redir/sitemap-plist-donate/">' . __('Donate', 'sitemap') . '</a>';
|
237 |
}
|
238 |
return $links;
|
239 |
}
|
@@ -443,4 +462,3 @@ if(defined('ABSPATH') && defined('WPINC')) {
|
|
443 |
GoogleSitemapGeneratorLoader::SetupQueryVars();
|
444 |
GoogleSitemapGeneratorLoader::SetupRewriteHooks();
|
445 |
}
|
446 |
-
|
30 |
//Register the sitemap creator to wordpress...
|
31 |
add_action('admin_menu', array(__CLASS__, 'RegisterAdminPage'));
|
32 |
|
33 |
+
// Add a widget to the dashboard.
|
34 |
+
add_action( 'wp_dashboard_setup', array(__CLASS__, 'WpDashboardSetup'));
|
35 |
+
|
36 |
//Nice icon for Admin Menu (requires Ozh Admin Drop Down Plugin)
|
37 |
add_filter('ozh_adminmenu_icon', array(__CLASS__, 'RegisterAdminIcon'));
|
38 |
|
209 |
add_options_page(__('XML-Sitemap Generator', 'sitemap'), __('XML-Sitemap', 'sitemap'), 'administrator', self::GetBaseName(), array(__CLASS__, 'CallHtmlShowOptionsPage'));
|
210 |
}
|
211 |
|
212 |
+
/**
|
213 |
+
* Add a widget to the dashboard.
|
214 |
+
*/
|
215 |
+
public static function WpDashboardSetup($a) {
|
216 |
+
self::LoadPlugin();
|
217 |
+
$sg = GoogleSitemapGenerator::GetInstance();
|
218 |
+
|
219 |
+
if ($sg->ShowSurvey()) {
|
220 |
+
add_action( 'admin_notices', array(__CLASS__, 'WpDashboardAdminNotices' ) );
|
221 |
+
}
|
222 |
+
}
|
223 |
+
|
224 |
+
public static function WpDashboardAdminNotices() {
|
225 |
+
$sg = GoogleSitemapGenerator::GetInstance();
|
226 |
+
$sg->HtmlSurvey();
|
227 |
+
}
|
228 |
+
|
229 |
/**
|
230 |
* Returns a nice icon for the Ozh Admin Menu if the {@param $hook} equals to the sitemap plugin
|
231 |
*
|
253 |
$links[] = '<a href="options-general.php?page=' . self::GetBaseName() . '">' . __('Settings', 'sitemap') . '</a>';
|
254 |
$links[] = '<a href="http://www.arnebrachhold.de/redir/sitemap-plist-faq/">' . __('FAQ', 'sitemap') . '</a>';
|
255 |
$links[] = '<a href="http://www.arnebrachhold.de/redir/sitemap-plist-support/">' . __('Support', 'sitemap') . '</a>';
|
|
|
256 |
}
|
257 |
return $links;
|
258 |
}
|
462 |
GoogleSitemapGeneratorLoader::SetupQueryVars();
|
463 |
GoogleSitemapGeneratorLoader::SetupRewriteHooks();
|
464 |
}
|
|
sitemap-ui.php
CHANGED
@@ -493,6 +493,10 @@ HTML;
|
|
493 |
$this->sg->SetOption('i_hide_note',true);
|
494 |
$this->sg->SaveOptions();
|
495 |
}
|
|
|
|
|
|
|
|
|
496 |
if(isset($_GET['sm_hidedonors'])) {
|
497 |
$this->sg->SetOption('i_hide_donors',true);
|
498 |
$this->sg->SaveOptions();
|
@@ -509,25 +513,32 @@ HTML;
|
|
509 |
|
510 |
if(isset($_GET['sm_donated']) || ($this->sg->GetOption('i_donated')===true && $this->sg->GetOption('i_hide_donated')!==true)) {
|
511 |
?>
|
|
|
512 |
<div class="updated">
|
513 |
<strong><p><?php _e('Thank you very much for your donation. You help me to continue support and development of this plugin and other free software!','sitemap'); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hidedonate=true"; ?>"><small style="font-weight:normal;"><?php _e('Hide this notice', 'sitemap'); ?></small></a></p></strong>
|
514 |
</div>
|
|
|
515 |
<?php
|
516 |
} else if($this->sg->GetOption('i_donated') !== true && $this->sg->GetOption('i_install_date')>0 && $this->sg->GetOption('i_hide_note')!==true && time() > ($this->sg->GetOption('i_install_date') + (60*60*24*30))) {
|
517 |
?>
|
|
|
518 |
<div class="updated">
|
519 |
-
<strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-donate-note"),__('Thanks for using this plugin! You\'ve installed this plugin over a month ago. If it works and you are satisfied with the results, isn\'t it worth at least a few dollar? <a href="
|
520 |
<div style="clear:right;"></div>
|
521 |
</div>
|
|
|
522 |
<?php
|
523 |
} else if($this->sg->GetOption('i_install_date')>0 && $this->sg->GetOption('i_hide_works')!==true && time() > ($this->sg->GetOption('i_install_date') + (60*60*24*15))) {
|
524 |
?>
|
525 |
<div class="updated">
|
526 |
-
<strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-works-note"),__('Thanks for using this plugin! You\'ve installed this plugin some time ago. If it works and your are satisfied, why not <a href="
|
527 |
<div style="clear:right;"></div>
|
528 |
</div>
|
529 |
<?php
|
530 |
}
|
|
|
|
|
|
|
531 |
}
|
532 |
|
533 |
?>
|
@@ -672,7 +683,7 @@ HTML;
|
|
672 |
<?php
|
673 |
|
674 |
if(get_option('blog_public')!=1) {
|
675 |
-
?><div class="error"><p><?php echo str_replace("%s","options-reading.php#blog_public",__('Your
|
676 |
}
|
677 |
|
678 |
?>
|
@@ -688,42 +699,28 @@ HTML;
|
|
688 |
|
689 |
<?php if(!$snl): ?>
|
690 |
<?php $this->HtmlPrintBoxHeader('sm_pnres',__('About this Plugin:','sitemap'),true); ?>
|
691 |
-
<a class="sm_button sm_pluginHome" href="
|
692 |
-
<a class="sm_button sm_pluginHome" href="
|
693 |
-
<a class="sm_button sm_pluginHelp" href="
|
694 |
-
<a class="sm_button sm_pluginList" href="
|
695 |
-
<a class="sm_button sm_pluginSupport" href="
|
696 |
-
<a class="sm_button sm_pluginBugs" href="
|
697 |
-
|
698 |
-
<a class="sm_button sm_donatePayPal" href="<?php echo $this->sg->GetRedirectLink('sitemap-paypal'); ?>"><?php _e('Donate with PayPal','sitemap'); ?></a>
|
699 |
-
<a class="sm_button sm_donateAmazon" href="<?php echo $this->sg->GetRedirectLink('sitemap-amazon'); ?>"><?php _e('My Amazon Wish List','sitemap'); ?></a>
|
700 |
<?php if(__('translator_name','sitemap')!='translator_name') {?><a class="sm_button sm_pluginSupport" href="<?php _e('translator_url','sitemap'); ?>"><?php _e('translator_name','sitemap'); ?></a><?php } ?>
|
701 |
<?php $this->HtmlPrintBoxFooter(true); ?>
|
702 |
|
703 |
<?php $this->HtmlPrintBoxHeader('sm_smres',__('Sitemap Resources:','sitemap'),true); ?>
|
704 |
-
<a class="sm_button sm_resGoogle" href="
|
705 |
-
<a class="sm_button sm_resGoogle" href="
|
706 |
|
707 |
-
<a class="sm_button sm_resYahoo" href="
|
708 |
|
709 |
-
<a class="sm_button sm_resBing" href="
|
710 |
-
<a class="sm_button sm_resBing" href="
|
711 |
<br />
|
712 |
-
<a class="sm_button sm_resGoogle" href="
|
713 |
-
<a class="sm_button sm_resGoogle" href="
|
714 |
-
<a class="sm_button sm_pluginHome" href="
|
715 |
-
<?php $this->HtmlPrintBoxFooter(true); ?>
|
716 |
-
|
717 |
-
<?php $this->HtmlPrintBoxHeader('dm_donations',__('Recent Donations:','sitemap'),true); ?>
|
718 |
-
<?php if($this->sg->GetOption('i_hide_donors')!==true) { ?>
|
719 |
-
<iframe border="0" frameborder="0" scrolling="no" allowtransparency="yes" style="width:100%; height:80px;" src="<?php echo $this->sg->GetRedirectLink('sitemap-donorlist'); ?>">
|
720 |
-
<?php _e('List of the donors','sitemap'); ?>
|
721 |
-
</iframe><br />
|
722 |
-
<a href="<?php echo $this->sg->GetBackLink() . "&sm_hidedonors=true"; ?>"><small><?php _e('Hide this list','sitemap'); ?></small></a><br /><br />
|
723 |
-
<?php } ?>
|
724 |
-
<a style="float:left; margin-right:5px; border:none;" href="javascript:document.getElementById('sm_donate_form').submit();"><img style="vertical-align:middle; border:none; margin-top:2px;" src="<?php echo $this->sg->GetPluginUrl(); ?>img/icon-donate.gif" border="0" alt="PayPal" title="Help me to continue support of this plugin :)" /></a>
|
725 |
-
<span><small><?php _e('Thanks for your support!','sitemap'); ?></small></span>
|
726 |
-
<div style="clear:left; height:1px;"></div>
|
727 |
<?php $this->HtmlPrintBoxFooter(true); ?>
|
728 |
|
729 |
|
@@ -789,7 +786,7 @@ HTML;
|
|
789 |
<?php
|
790 |
|
791 |
if($this->sg->OldFileExists()) {
|
792 |
-
echo "<li class=\"sm_error\">" . str_replace("%s",wp_nonce_url($this->sg->GetBackLink() . "&sm_delete_old=true",'sitemap'),__('There is still a sitemap.xml or sitemap.xml.gz file in your
|
793 |
}
|
794 |
|
795 |
echo "<li>" . str_replace("%s",$this->sg->getXmlUrl(),__('The URL to your sitemap index file is: <a href="%s">%s</a>.','sitemap')) . "</li>";
|
@@ -826,7 +823,7 @@ HTML;
|
|
826 |
</ul>
|
827 |
<ul>
|
828 |
<li>
|
829 |
-
<?php echo sprintf(__('If you like the plugin, please <a target="_blank" href="
|
830 |
</li>
|
831 |
|
832 |
</ul>
|
@@ -857,13 +854,13 @@ HTML;
|
|
857 |
<ul>
|
858 |
<li>
|
859 |
<input type="checkbox" id="sm_b_ping" name="sm_b_ping" <?php echo ($this->sg->GetOption("b_ping")==true?"checked=\"checked\"":"") ?> />
|
860 |
-
<label for="sm_b_ping"><?php _e('Notify Google about updates of your
|
861 |
-
<small><?php echo str_replace("%s",$this->sg->GetRedirectLink('sitemap-gwt'),__('No registration required, but you can join the <a href="
|
862 |
</li>
|
863 |
<li>
|
864 |
<input type="checkbox" id="sm_b_pingmsn" name="sm_b_pingmsn" <?php echo ($this->sg->GetOption("b_pingmsn")==true?"checked=\"checked\"":"") ?> />
|
865 |
-
<label for="sm_b_pingmsn"><?php _e('Notify Bing (formerly MSN Live Search) about updates of your
|
866 |
-
<small><?php echo str_replace("%s",$this->sg->GetRedirectLink('sitemap-lwt'),__('No registration required, but you can join the <a href="
|
867 |
</li>
|
868 |
<li>
|
869 |
<label for="sm_b_robots">
|
@@ -872,7 +869,7 @@ HTML;
|
|
872 |
</label>
|
873 |
|
874 |
<br />
|
875 |
-
<small><?php _e('The virtual robots.txt generated by WordPress is used. A real robots.txt file must NOT exist in the
|
876 |
</li>
|
877 |
</ul>
|
878 |
<?php if(is_super_admin()): ?>
|
@@ -898,7 +895,7 @@ HTML;
|
|
898 |
</li>
|
899 |
<li>
|
900 |
<label for="sm_b_baseurl"><?php _e('Override the base URL of the sitemap:', 'sitemap') ?> <input type="text" name="sm_b_baseurl" id="sm_b_baseurl" value="<?php echo esc_attr($this->sg->GetOption("b_baseurl")); ?>" /></label><br />
|
901 |
-
<small><?php _e('Use this if your
|
902 |
</li>
|
903 |
<li>
|
904 |
<label for="sm_b_html">
|
@@ -918,13 +915,13 @@ HTML;
|
|
918 |
<?php $this->HtmlPrintBoxFooter(); ?>
|
919 |
|
920 |
<?php if(is_super_admin()): ?>
|
921 |
-
<?php $this->HtmlPrintBoxHeader('sm_pages',__('Additional
|
922 |
|
923 |
<?php
|
924 |
-
_e('Here you can specify files or URLs which should be included in the sitemap, but do not belong to your
|
925 |
echo "<ul><li>";
|
926 |
echo "<strong>" . __('Note','sitemap'). "</strong>: ";
|
927 |
-
_e("If your
|
928 |
echo "</li><li>";
|
929 |
echo "<strong>" . __('URL to the page','sitemap'). "</strong>: ";
|
930 |
_e("Enter the URL to the page. Examples: http://www.foo.com/index.html or www.foo.com/home ",'sitemap');
|
@@ -1123,7 +1120,7 @@ HTML;
|
|
1123 |
<?php $this->HtmlPrintBoxFooter(); ?>
|
1124 |
|
1125 |
<!-- Excluded Items -->
|
1126 |
-
<?php $this->HtmlPrintBoxHeader('sm_excludes',__('Excluded
|
1127 |
|
1128 |
<b><?php _e('Excluded categories', 'sitemap') ?>:</b>
|
1129 |
|
@@ -1143,7 +1140,7 @@ HTML;
|
|
1143 |
<?php $this->HtmlPrintBoxFooter(); ?>
|
1144 |
|
1145 |
<!-- Change frequencies -->
|
1146 |
-
<?php $this->HtmlPrintBoxHeader('sm_change_frequencies',__('Change
|
1147 |
|
1148 |
<p>
|
1149 |
<b><?php _e('Note', 'sitemap') ?>:</b>
|
@@ -1294,16 +1291,16 @@ HTML;
|
|
1294 |
}
|
1295 |
?>
|
1296 |
<input type="hidden" name="cmd" value="_donations" />
|
1297 |
-
<input type="hidden" name="business" value="<?php echo "
|
1298 |
<input type="hidden" name="item_name" value="Sitemap Generator for WordPress. Please tell me if if you don't want to be listed on the donator list." />
|
1299 |
<input type="hidden" name="no_shipping" value="1" />
|
1300 |
-
<input type="hidden" name="return" value="<?php echo
|
1301 |
-
<input type="hidden" name="currency_code" value="<?php echo $myLc["cc"]
|
1302 |
<input type="hidden" name="bn" value="PP-BuyNowBF" />
|
1303 |
-
<input type="hidden" name="lc" value="<?php echo $myLc["lc"]
|
1304 |
<input type="hidden" name="rm" value="2" />
|
1305 |
<input type="hidden" name="on0" value="Your Website" />
|
1306 |
-
<input type="hidden" name="os0" value="<?php echo get_bloginfo("url")
|
1307 |
</form>
|
1308 |
</div>
|
1309 |
<?php
|
493 |
$this->sg->SetOption('i_hide_note',true);
|
494 |
$this->sg->SaveOptions();
|
495 |
}
|
496 |
+
if(isset($_GET['sm_hide_survey'])) {
|
497 |
+
$this->sg->SetOption('i_hide_survey',true);
|
498 |
+
$this->sg->SaveOptions();
|
499 |
+
}
|
500 |
if(isset($_GET['sm_hidedonors'])) {
|
501 |
$this->sg->SetOption('i_hide_donors',true);
|
502 |
$this->sg->SaveOptions();
|
513 |
|
514 |
if(isset($_GET['sm_donated']) || ($this->sg->GetOption('i_donated')===true && $this->sg->GetOption('i_hide_donated')!==true)) {
|
515 |
?>
|
516 |
+
<!--
|
517 |
<div class="updated">
|
518 |
<strong><p><?php _e('Thank you very much for your donation. You help me to continue support and development of this plugin and other free software!','sitemap'); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hidedonate=true"; ?>"><small style="font-weight:normal;"><?php _e('Hide this notice', 'sitemap'); ?></small></a></p></strong>
|
519 |
</div>
|
520 |
+
-->
|
521 |
<?php
|
522 |
} else if($this->sg->GetOption('i_donated') !== true && $this->sg->GetOption('i_install_date')>0 && $this->sg->GetOption('i_hide_note')!==true && time() > ($this->sg->GetOption('i_install_date') + (60*60*24*30))) {
|
523 |
?>
|
524 |
+
<!--
|
525 |
<div class="updated">
|
526 |
+
<strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-donate-note"),__('Thanks for using this plugin! You\'ve installed this plugin over a month ago. If it works and you are satisfied with the results, isn\'t it worth at least a few dollar? <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-donate-note">Donations</a> help me to continue support and development of this <i>free</i> software! <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-donate-note">Sure, no problem!</a>','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_donated=true"; ?>" style="float:right; display:block; border:none; margin-left:10px;"><small style="font-weight:normal; "><?php _e('Sure, but I already did!', 'sitemap'); ?></small></a> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_note=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('No thanks, please don\'t bug me anymore!', 'sitemap'); ?></small></a></p></strong>
|
527 |
<div style="clear:right;"></div>
|
528 |
</div>
|
529 |
+
-->
|
530 |
<?php
|
531 |
} else if($this->sg->GetOption('i_install_date')>0 && $this->sg->GetOption('i_hide_works')!==true && time() > ($this->sg->GetOption('i_install_date') + (60*60*24*15))) {
|
532 |
?>
|
533 |
<div class="updated">
|
534 |
+
<strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-works-note"),__('Thanks for using this plugin! You\'ve installed this plugin some time ago. If it works and your are satisfied, why not <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-works-note">rate it</a> and <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-works-note">recommend it</a> to others? :-)','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_works=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('Don\'t show this anymore', 'sitemap'); ?></small></a></p></strong>
|
535 |
<div style="clear:right;"></div>
|
536 |
</div>
|
537 |
<?php
|
538 |
}
|
539 |
+
|
540 |
+
if ($this->sg->ShowSurvey())
|
541 |
+
$this->sg->HtmlSurvey();
|
542 |
}
|
543 |
|
544 |
?>
|
683 |
<?php
|
684 |
|
685 |
if(get_option('blog_public')!=1) {
|
686 |
+
?><div class="error"><p><?php echo str_replace("%s","options-reading.php#blog_public",__('Your site is currently blocking search engines! Visit the <a href="%s">Reading Settings</a> to change this.','sitemap')); ?></p></div><?php
|
687 |
}
|
688 |
|
689 |
?>
|
699 |
|
700 |
<?php if(!$snl): ?>
|
701 |
<?php $this->HtmlPrintBoxHeader('sm_pnres',__('About this Plugin:','sitemap'),true); ?>
|
702 |
+
<a class="sm_button sm_pluginHome" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-home"><?php _e('Plugin Homepage','sitemap'); ?></a>
|
703 |
+
<a class="sm_button sm_pluginHome" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-feedback"><?php _e('Suggest a Feature','sitemap'); ?></a>
|
704 |
+
<a class="sm_button sm_pluginHelp" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-help"><?php _e('Help / FAQ','sitemap'); ?></a>
|
705 |
+
<a class="sm_button sm_pluginList" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-list"><?php _e('Notify List','sitemap'); ?></a>
|
706 |
+
<a class="sm_button sm_pluginSupport" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-support"><?php _e('Support Forum','sitemap'); ?></a>
|
707 |
+
<a class="sm_button sm_pluginBugs" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-bugs"><?php _e('Report a Bug','sitemap'); ?></a>
|
708 |
+
|
|
|
|
|
709 |
<?php if(__('translator_name','sitemap')!='translator_name') {?><a class="sm_button sm_pluginSupport" href="<?php _e('translator_url','sitemap'); ?>"><?php _e('translator_name','sitemap'); ?></a><?php } ?>
|
710 |
<?php $this->HtmlPrintBoxFooter(true); ?>
|
711 |
|
712 |
<?php $this->HtmlPrintBoxHeader('sm_smres',__('Sitemap Resources:','sitemap'),true); ?>
|
713 |
+
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-gwt"><?php _e('Webmaster Tools','sitemap'); ?></a>
|
714 |
+
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-gwb"><?php _e('Webmaster Blog','sitemap'); ?></a>
|
715 |
|
716 |
+
<a class="sm_button sm_resYahoo" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-ywb"><?php _e('Search Blog','sitemap'); ?></a>
|
717 |
|
718 |
+
<a class="sm_button sm_resBing" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-lwt"><?php _e('Webmaster Tools','sitemap'); ?></a>
|
719 |
+
<a class="sm_button sm_resBing" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-lswcb"><?php _e('Webmaster Center Blog','sitemap'); ?></a>
|
720 |
<br />
|
721 |
+
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-prot"><?php _e('Sitemaps Protocol','sitemap'); ?></a>
|
722 |
+
<a class="sm_button sm_resGoogle" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-ofat"><?php _e('Official Sitemaps FAQ','sitemap'); ?></a>
|
723 |
+
<a class="sm_button sm_pluginHome" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-afaq"><?php _e('My Sitemaps FAQ','sitemap'); ?></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
724 |
<?php $this->HtmlPrintBoxFooter(true); ?>
|
725 |
|
726 |
|
786 |
<?php
|
787 |
|
788 |
if($this->sg->OldFileExists()) {
|
789 |
+
echo "<li class=\"sm_error\">" . str_replace("%s",wp_nonce_url($this->sg->GetBackLink() . "&sm_delete_old=true",'sitemap'),__('There is still a sitemap.xml or sitemap.xml.gz file in your site directory. Please delete them as no static files are used anymore or <a href="%s">try to delete them automatically</a>.','sitemap')) . "</li>";
|
790 |
}
|
791 |
|
792 |
echo "<li>" . str_replace("%s",$this->sg->getXmlUrl(),__('The URL to your sitemap index file is: <a href="%s">%s</a>.','sitemap')) . "</li>";
|
823 |
</ul>
|
824 |
<ul>
|
825 |
<li>
|
826 |
+
<?php echo sprintf(__('If you like the plugin, please <a target="_blank" href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-works-note">rate it 5 stars</a>! :)','sitemap'),$this->sg->GetRedirectLink('sitemap-works-note'),$this->sg->GetRedirectLink('sitemap-paypal')); ?>
|
827 |
</li>
|
828 |
|
829 |
</ul>
|
854 |
<ul>
|
855 |
<li>
|
856 |
<input type="checkbox" id="sm_b_ping" name="sm_b_ping" <?php echo ($this->sg->GetOption("b_ping")==true?"checked=\"checked\"":"") ?> />
|
857 |
+
<label for="sm_b_ping"><?php _e('Notify Google about updates of your site', 'sitemap') ?></label><br />
|
858 |
+
<small><?php echo str_replace("%s",$this->sg->GetRedirectLink('sitemap-gwt'),__('No registration required, but you can join the <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-gwt">Google Webmaster Tools</a> to check crawling statistics.','sitemap')); ?></small>
|
859 |
</li>
|
860 |
<li>
|
861 |
<input type="checkbox" id="sm_b_pingmsn" name="sm_b_pingmsn" <?php echo ($this->sg->GetOption("b_pingmsn")==true?"checked=\"checked\"":"") ?> />
|
862 |
+
<label for="sm_b_pingmsn"><?php _e('Notify Bing (formerly MSN Live Search) about updates of your site', 'sitemap') ?></label><br />
|
863 |
+
<small><?php echo str_replace("%s",$this->sg->GetRedirectLink('sitemap-lwt'),__('No registration required, but you can join the <a href="https://8rkh4sskhh.execute-api.us-east-1.amazonaws.com/gsg/v1/sitemap-lwt">Bing Webmaster Tools</a> to check crawling statistics.','sitemap')); ?></small>
|
864 |
</li>
|
865 |
<li>
|
866 |
<label for="sm_b_robots">
|
869 |
</label>
|
870 |
|
871 |
<br />
|
872 |
+
<small><?php _e('The virtual robots.txt generated by WordPress is used. A real robots.txt file must NOT exist in the site directory!','sitemap'); ?></small>
|
873 |
</li>
|
874 |
</ul>
|
875 |
<?php if(is_super_admin()): ?>
|
895 |
</li>
|
896 |
<li>
|
897 |
<label for="sm_b_baseurl"><?php _e('Override the base URL of the sitemap:', 'sitemap') ?> <input type="text" name="sm_b_baseurl" id="sm_b_baseurl" value="<?php echo esc_attr($this->sg->GetOption("b_baseurl")); ?>" /></label><br />
|
898 |
+
<small><?php _e('Use this if your site is in a sub-directory, but you want the sitemap be located in the root. Requires .htaccess modification.','sitemap'); ?> <a href="<?php echo $this->sg->GetRedirectLink('sitemap-help-options-adv-baseurl'); ?>"><?php _e('Learn more','sitemap'); ?></a></small>
|
899 |
</li>
|
900 |
<li>
|
901 |
<label for="sm_b_html">
|
915 |
<?php $this->HtmlPrintBoxFooter(); ?>
|
916 |
|
917 |
<?php if(is_super_admin()): ?>
|
918 |
+
<?php $this->HtmlPrintBoxHeader('sm_pages',__('Additional Pages', 'sitemap')); ?>
|
919 |
|
920 |
<?php
|
921 |
+
_e('Here you can specify files or URLs which should be included in the sitemap, but do not belong to your Site/WordPress.<br />For example, if your domain is www.foo.com and your site is located on www.foo.com/site you might want to include your homepage at www.foo.com','sitemap');
|
922 |
echo "<ul><li>";
|
923 |
echo "<strong>" . __('Note','sitemap'). "</strong>: ";
|
924 |
+
_e("If your site is in a subdirectory and you want to add pages which are NOT in the site directory or beneath, you MUST place your sitemap file in the root directory (Look at the "Location of your sitemap file" section on this page)!",'sitemap');
|
925 |
echo "</li><li>";
|
926 |
echo "<strong>" . __('URL to the page','sitemap'). "</strong>: ";
|
927 |
_e("Enter the URL to the page. Examples: http://www.foo.com/index.html or www.foo.com/home ",'sitemap');
|
1120 |
<?php $this->HtmlPrintBoxFooter(); ?>
|
1121 |
|
1122 |
<!-- Excluded Items -->
|
1123 |
+
<?php $this->HtmlPrintBoxHeader('sm_excludes',__('Excluded Items', 'sitemap')); ?>
|
1124 |
|
1125 |
<b><?php _e('Excluded categories', 'sitemap') ?>:</b>
|
1126 |
|
1140 |
<?php $this->HtmlPrintBoxFooter(); ?>
|
1141 |
|
1142 |
<!-- Change frequencies -->
|
1143 |
+
<?php $this->HtmlPrintBoxHeader('sm_change_frequencies',__('Change Frequencies', 'sitemap')); ?>
|
1144 |
|
1145 |
<p>
|
1146 |
<b><?php _e('Note', 'sitemap') ?>:</b>
|
1291 |
}
|
1292 |
?>
|
1293 |
<input type="hidden" name="cmd" value="_donations" />
|
1294 |
+
<input type="hidden" name="business" value="<?php echo "xmlsitemapgen" /* N O S P A M */ . "@" . "gmai" . "l.com"; ?>" />
|
1295 |
<input type="hidden" name="item_name" value="Sitemap Generator for WordPress. Please tell me if if you don't want to be listed on the donator list." />
|
1296 |
<input type="hidden" name="no_shipping" value="1" />
|
1297 |
+
<input type="hidden" name="return" value="<?php echo esc_attr($this->sg->GetBackLink('&sm_donated=true')) ?>" />
|
1298 |
+
<input type="hidden" name="currency_code" value="<?php echo esc_attr($myLc["cc"]) ?>" />
|
1299 |
<input type="hidden" name="bn" value="PP-BuyNowBF" />
|
1300 |
+
<input type="hidden" name="lc" value="<?php echo esc_attr($myLc["lc"]) ?>" />
|
1301 |
<input type="hidden" name="rm" value="2" />
|
1302 |
<input type="hidden" name="on0" value="Your Website" />
|
1303 |
+
<input type="hidden" name="os0" value="<?php echo esc_attr(get_bloginfo("url")) ?>"/>
|
1304 |
</form>
|
1305 |
</div>
|
1306 |
<?php
|
sitemap-wpmu.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* | | | - sitemap.php
|
17 |
* | | | - [...]
|
18 |
*
|
19 |
-
* All files in the mu-plugins directory are included for all
|
20 |
* activate this plugin anymore (and it also can not be deactivated).
|
21 |
*/
|
22 |
|
16 |
* | | | - sitemap.php
|
17 |
* | | | - [...]
|
18 |
*
|
19 |
+
* All files in the mu-plugins directory are included for all sites by WordPress by default, so there is no need to
|
20 |
* activate this plugin anymore (and it also can not be deactivated).
|
21 |
*/
|
22 |
|
sitemap.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
Google XML Sitemaps Generator for WordPress
|
7 |
==============================================================================
|
8 |
|
9 |
-
This generator will create a sitemaps.org compliant sitemap of your WordPress
|
10 |
|
11 |
For additional details like installation instructions, please check the readme.txt and documentation.txt files.
|
12 |
|
@@ -17,8 +17,8 @@
|
|
17 |
==============================================================================
|
18 |
Plugin Name: Google XML Sitemaps
|
19 |
Plugin URI: http://www.arnebrachhold.de/redir/sitemap-home/
|
20 |
-
Description: This plugin
|
21 |
-
Version: 4.0.
|
22 |
Author: Arne Brachhold
|
23 |
Author URI: http://www.arnebrachhold.de/
|
24 |
Text Domain: sitemap
|
@@ -45,7 +45,7 @@
|
|
45 |
|
46 |
*/
|
47 |
|
48 |
-
define("SM_SUPPORTFEED_URL","
|
49 |
|
50 |
/**
|
51 |
* Check if the requirements of the sitemap plugin are met and loads the actual loader
|
6 |
Google XML Sitemaps Generator for WordPress
|
7 |
==============================================================================
|
8 |
|
9 |
+
This generator will create a sitemaps.org compliant sitemap of your WordPress site.
|
10 |
|
11 |
For additional details like installation instructions, please check the readme.txt and documentation.txt files.
|
12 |
|
17 |
==============================================================================
|
18 |
Plugin Name: Google XML Sitemaps
|
19 |
Plugin URI: http://www.arnebrachhold.de/redir/sitemap-home/
|
20 |
+
Description: This plugin improves SEO using sitemaps for best indexation by search engines like Google, Bing, Yahoo and others.
|
21 |
+
Version: 4.0.9
|
22 |
Author: Arne Brachhold
|
23 |
Author URI: http://www.arnebrachhold.de/
|
24 |
Text Domain: sitemap
|
45 |
|
46 |
*/
|
47 |
|
48 |
+
define("SM_SUPPORTFEED_URL","https://wordpress.org/support/plugin/google-sitemap-generator/feed/");
|
49 |
|
50 |
/**
|
51 |
* Check if the requirements of the sitemap plugin are met and loads the actual loader
|
sitemap.xsl
CHANGED
@@ -64,7 +64,7 @@
|
|
64 |
<xsl:apply-templates></xsl:apply-templates>
|
65 |
<div id="footer">
|
66 |
Generated with <a rel="external nofollow" href="http://www.arnebrachhold.de/redir/sitemap-home/" title="Google (XML) Sitemap Generator Plugin for WordPress">Google (XML) Sitemaps Generator Plugin for WordPress</a> by <a rel="external nofollow" href="http://www.arnebrachhold.de/">Arne Brachhold</a>. This XSLT template is released under the GPL and free to use.<br />
|
67 |
-
If you have problems with your sitemap please visit the <a rel="external nofollow" href="http://www.arnebrachhold.de/redir/sitemap-x-faq/" title="Google (XML) sitemaps FAQ">plugin FAQ</a> or the <a rel="external nofollow" href="
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
@@ -76,7 +76,7 @@
|
|
76 |
<div id="intro">
|
77 |
<p>
|
78 |
This is a XML Sitemap which is supposed to be processed by search engines which follow the XML Sitemap standard like Ask.com, Bing, Google and Yahoo.<br />
|
79 |
-
It was generated using the
|
80 |
You can find more information about XML sitemaps on <a rel="external nofollow" href="http://sitemaps.org">sitemaps.org</a> and Google's <a rel="external nofollow" href="http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators">list of sitemap programs</a>.
|
81 |
</p>
|
82 |
</div>
|
@@ -124,7 +124,7 @@
|
|
124 |
<div id="intro">
|
125 |
<p>
|
126 |
This is a XML Sitemap which is supposed to be processed by search engines which follow the XML Sitemap standard like Ask.com, Bing, Google and Yahoo.<br />
|
127 |
-
It was generated using the
|
128 |
You can find more information about XML sitemaps on <a rel="external nofollow" href="http://sitemaps.org">sitemaps.org</a> and Google's <a rel="external nofollow" href="http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators">list of sitemap programs</a>.<br />
|
129 |
<br />
|
130 |
This file contains links to sub-sitemaps, follow them to see the actual sitemap content.
|
64 |
<xsl:apply-templates></xsl:apply-templates>
|
65 |
<div id="footer">
|
66 |
Generated with <a rel="external nofollow" href="http://www.arnebrachhold.de/redir/sitemap-home/" title="Google (XML) Sitemap Generator Plugin for WordPress">Google (XML) Sitemaps Generator Plugin for WordPress</a> by <a rel="external nofollow" href="http://www.arnebrachhold.de/">Arne Brachhold</a>. This XSLT template is released under the GPL and free to use.<br />
|
67 |
+
If you have problems with your sitemap please visit the <a rel="external nofollow" href="http://www.arnebrachhold.de/redir/sitemap-x-faq/" title="Google (XML) sitemaps FAQ">plugin FAQ</a> or the <a rel="external nofollow" href="https://wordpress.org/support/plugin/google-sitemap-generator">support forum</a>.
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
76 |
<div id="intro">
|
77 |
<p>
|
78 |
This is a XML Sitemap which is supposed to be processed by search engines which follow the XML Sitemap standard like Ask.com, Bing, Google and Yahoo.<br />
|
79 |
+
It was generated using the <a rel="external nofollow" href="http://wordpress.org/">WordPress</a> content management system and the <strong><a rel="external nofollow" href="http://www.arnebrachhold.de/redir/sitemap-home/" title="Google (XML) Sitemaps Generator Plugin for WordPress">Google Sitemap Generator Plugin</a></strong> by <a rel="external nofollow" href="http://www.arnebrachhold.de/">Arne Brachhold</a>.<br />
|
80 |
You can find more information about XML sitemaps on <a rel="external nofollow" href="http://sitemaps.org">sitemaps.org</a> and Google's <a rel="external nofollow" href="http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators">list of sitemap programs</a>.
|
81 |
</p>
|
82 |
</div>
|
124 |
<div id="intro">
|
125 |
<p>
|
126 |
This is a XML Sitemap which is supposed to be processed by search engines which follow the XML Sitemap standard like Ask.com, Bing, Google and Yahoo.<br />
|
127 |
+
It was generated using the <a rel="external nofollow" href="http://wordpress.org/">WordPress</a> content management system and the <strong><a rel="external nofollow" href="http://www.arnebrachhold.de/redir/sitemap-home/" title="Google (XML) Sitemaps Generator Plugin for WordPress">Google Sitemap Generator Plugin</a></strong> by <a rel="external nofollow" href="http://www.arnebrachhold.de/">Arne Brachhold</a>.<br />
|
128 |
You can find more information about XML sitemaps on <a rel="external nofollow" href="http://sitemaps.org">sitemaps.org</a> and Google's <a rel="external nofollow" href="http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators">list of sitemap programs</a>.<br />
|
129 |
<br />
|
130 |
This file contains links to sub-sitemaps, follow them to see the actual sitemap content.
|