Version Description
- Code cleanup
- POT file update
- Dutch translation update
Download this release
Release Info
Developer | deployer |
Plugin | XML Sitemap & Google News feeds |
Version | 4.6.1 |
Comparing to | |
See all releases |
Code changes from version 4.6 to 4.6.1
- .gitignore +18 -0
- LICENSE +339 -0
- README.md +3 -0
- images/sitemapxml.gif +0 -0
- includes/admin.php +161 -164
- includes/core.php +1 -5
- includes/feed-sitemap-custom.php +8 -6
- includes/feed-sitemap-home.php +10 -8
- includes/feed-sitemap-news.php +41 -39
- includes/feed-sitemap-post_type.php +16 -14
- includes/feed-sitemap-taxonomy.php +11 -9
- includes/feed-sitemap.php +8 -6
- includes/xsl/sitemap-index.xsl +0 -0
- includes/xsl/sitemap.xsl +0 -0
- languages/instructions.txt +0 -0
- languages/xml-sitemap-feed-es_ES.mo +0 -0
- languages/xml-sitemap-feed-es_ES.po +0 -0
- languages/xml-sitemap-feed-id_ID.mo +0 -0
- languages/xml-sitemap-feed-id_ID.po +0 -0
- languages/xml-sitemap-feed-it_IT.mo +0 -0
- languages/xml-sitemap-feed-it_IT.po +0 -0
- languages/xml-sitemap-feed-nl_NL.mo +0 -0
- languages/xml-sitemap-feed-nl_NL.po +291 -225
- languages/xml-sitemap-feed-sr_RS.mo +0 -0
- languages/xml-sitemap-feed-sr_RS.po +0 -0
- languages/xml-sitemap-feed-ua_UA.mo +0 -0
- languages/xml-sitemap-feed-ua_UA.po +0 -0
- languages/xml-sitemap-feed-xx_XX.po +173 -176
- languages/xml-sitemap-feed.pot +173 -175
- readme.txt +13 -3
- terms +7 -0
- xml-sitemap.php +6 -8
.gitignore
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.log
|
2 |
+
.htaccess
|
3 |
+
sitemap.xml
|
4 |
+
sitemap.xml.gz
|
5 |
+
wp-config.php
|
6 |
+
wp-content/advanced-cache.php
|
7 |
+
wp-content/backup-db/
|
8 |
+
wp-content/backups/
|
9 |
+
wp-content/blogs.dir/
|
10 |
+
wp-content/cache/
|
11 |
+
wp-content/upgrade/
|
12 |
+
wp-content/uploads/
|
13 |
+
wp-content/wp-cache-config.php
|
14 |
+
wp-content/plugins/hello.php
|
15 |
+
|
16 |
+
/readme.html
|
17 |
+
/license.txt
|
18 |
+
|
LICENSE
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
5 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
6 |
+
Everyone is permitted to copy and distribute verbatim copies
|
7 |
+
of this license document, but changing it is not allowed.
|
8 |
+
|
9 |
+
Preamble
|
10 |
+
|
11 |
+
The licenses for most software are designed to take away your
|
12 |
+
freedom to share and change it. By contrast, the GNU General Public
|
13 |
+
License is intended to guarantee your freedom to share and change free
|
14 |
+
software--to make sure the software is free for all its users. This
|
15 |
+
General Public License applies to most of the Free Software
|
16 |
+
Foundation's software and to any other program whose authors commit to
|
17 |
+
using it. (Some other Free Software Foundation software is covered by
|
18 |
+
the GNU Lesser General Public License instead.) You can apply it to
|
19 |
+
your programs, too.
|
20 |
+
|
21 |
+
When we speak of free software, we are referring to freedom, not
|
22 |
+
price. Our General Public Licenses are designed to make sure that you
|
23 |
+
have the freedom to distribute copies of free software (and charge for
|
24 |
+
this service if you wish), that you receive source code or can get it
|
25 |
+
if you want it, that you can change the software or use pieces of it
|
26 |
+
in new free programs; and that you know you can do these things.
|
27 |
+
|
28 |
+
To protect your rights, we need to make restrictions that forbid
|
29 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
30 |
+
These restrictions translate to certain responsibilities for you if you
|
31 |
+
distribute copies of the software, or if you modify it.
|
32 |
+
|
33 |
+
For example, if you distribute copies of such a program, whether
|
34 |
+
gratis or for a fee, you must give the recipients all the rights that
|
35 |
+
you have. You must make sure that they, too, receive or can get the
|
36 |
+
source code. And you must show them these terms so they know their
|
37 |
+
rights.
|
38 |
+
|
39 |
+
We protect your rights with two steps: (1) copyright the software, and
|
40 |
+
(2) offer you this license which gives you legal permission to copy,
|
41 |
+
distribute and/or modify the software.
|
42 |
+
|
43 |
+
Also, for each author's protection and ours, we want to make certain
|
44 |
+
that everyone understands that there is no warranty for this free
|
45 |
+
software. If the software is modified by someone else and passed on, we
|
46 |
+
want its recipients to know that what they have is not the original, so
|
47 |
+
that any problems introduced by others will not reflect on the original
|
48 |
+
authors' reputations.
|
49 |
+
|
50 |
+
Finally, any free program is threatened constantly by software
|
51 |
+
patents. We wish to avoid the danger that redistributors of a free
|
52 |
+
program will individually obtain patent licenses, in effect making the
|
53 |
+
program proprietary. To prevent this, we have made it clear that any
|
54 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
55 |
+
|
56 |
+
The precise terms and conditions for copying, distribution and
|
57 |
+
modification follow.
|
58 |
+
|
59 |
+
GNU GENERAL PUBLIC LICENSE
|
60 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61 |
+
|
62 |
+
0. This License applies to any program or other work which contains
|
63 |
+
a notice placed by the copyright holder saying it may be distributed
|
64 |
+
under the terms of this General Public License. The "Program", below,
|
65 |
+
refers to any such program or work, and a "work based on the Program"
|
66 |
+
means either the Program or any derivative work under copyright law:
|
67 |
+
that is to say, a work containing the Program or a portion of it,
|
68 |
+
either verbatim or with modifications and/or translated into another
|
69 |
+
language. (Hereinafter, translation is included without limitation in
|
70 |
+
the term "modification".) Each licensee is addressed as "you".
|
71 |
+
|
72 |
+
Activities other than copying, distribution and modification are not
|
73 |
+
covered by this License; they are outside its scope. The act of
|
74 |
+
running the Program is not restricted, and the output from the Program
|
75 |
+
is covered only if its contents constitute a work based on the
|
76 |
+
Program (independent of having been made by running the Program).
|
77 |
+
Whether that is true depends on what the Program does.
|
78 |
+
|
79 |
+
1. You may copy and distribute verbatim copies of the Program's
|
80 |
+
source code as you receive it, in any medium, provided that you
|
81 |
+
conspicuously and appropriately publish on each copy an appropriate
|
82 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
83 |
+
notices that refer to this License and to the absence of any warranty;
|
84 |
+
and give any other recipients of the Program a copy of this License
|
85 |
+
along with the Program.
|
86 |
+
|
87 |
+
You may charge a fee for the physical act of transferring a copy, and
|
88 |
+
you may at your option offer warranty protection in exchange for a fee.
|
89 |
+
|
90 |
+
2. You may modify your copy or copies of the Program or any portion
|
91 |
+
of it, thus forming a work based on the Program, and copy and
|
92 |
+
distribute such modifications or work under the terms of Section 1
|
93 |
+
above, provided that you also meet all of these conditions:
|
94 |
+
|
95 |
+
a) You must cause the modified files to carry prominent notices
|
96 |
+
stating that you changed the files and the date of any change.
|
97 |
+
|
98 |
+
b) You must cause any work that you distribute or publish, that in
|
99 |
+
whole or in part contains or is derived from the Program or any
|
100 |
+
part thereof, to be licensed as a whole at no charge to all third
|
101 |
+
parties under the terms of this License.
|
102 |
+
|
103 |
+
c) If the modified program normally reads commands interactively
|
104 |
+
when run, you must cause it, when started running for such
|
105 |
+
interactive use in the most ordinary way, to print or display an
|
106 |
+
announcement including an appropriate copyright notice and a
|
107 |
+
notice that there is no warranty (or else, saying that you provide
|
108 |
+
a warranty) and that users may redistribute the program under
|
109 |
+
these conditions, and telling the user how to view a copy of this
|
110 |
+
License. (Exception: if the Program itself is interactive but
|
111 |
+
does not normally print such an announcement, your work based on
|
112 |
+
the Program is not required to print an announcement.)
|
113 |
+
|
114 |
+
These requirements apply to the modified work as a whole. If
|
115 |
+
identifiable sections of that work are not derived from the Program,
|
116 |
+
and can be reasonably considered independent and separate works in
|
117 |
+
themselves, then this License, and its terms, do not apply to those
|
118 |
+
sections when you distribute them as separate works. But when you
|
119 |
+
distribute the same sections as part of a whole which is a work based
|
120 |
+
on the Program, the distribution of the whole must be on the terms of
|
121 |
+
this License, whose permissions for other licensees extend to the
|
122 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
123 |
+
|
124 |
+
Thus, it is not the intent of this section to claim rights or contest
|
125 |
+
your rights to work written entirely by you; rather, the intent is to
|
126 |
+
exercise the right to control the distribution of derivative or
|
127 |
+
collective works based on the Program.
|
128 |
+
|
129 |
+
In addition, mere aggregation of another work not based on the Program
|
130 |
+
with the Program (or with a work based on the Program) on a volume of
|
131 |
+
a storage or distribution medium does not bring the other work under
|
132 |
+
the scope of this License.
|
133 |
+
|
134 |
+
3. You may copy and distribute the Program (or a work based on it,
|
135 |
+
under Section 2) in object code or executable form under the terms of
|
136 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
+
|
138 |
+
a) Accompany it with the complete corresponding machine-readable
|
139 |
+
source code, which must be distributed under the terms of Sections
|
140 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
+
|
142 |
+
b) Accompany it with a written offer, valid for at least three
|
143 |
+
years, to give any third party, for a charge no more than your
|
144 |
+
cost of physically performing source distribution, a complete
|
145 |
+
machine-readable copy of the corresponding source code, to be
|
146 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
+
customarily used for software interchange; or,
|
148 |
+
|
149 |
+
c) Accompany it with the information you received as to the offer
|
150 |
+
to distribute corresponding source code. (This alternative is
|
151 |
+
allowed only for noncommercial distribution and only if you
|
152 |
+
received the program in object code or executable form with such
|
153 |
+
an offer, in accord with Subsection b above.)
|
154 |
+
|
155 |
+
The source code for a work means the preferred form of the work for
|
156 |
+
making modifications to it. For an executable work, complete source
|
157 |
+
code means all the source code for all modules it contains, plus any
|
158 |
+
associated interface definition files, plus the scripts used to
|
159 |
+
control compilation and installation of the executable. However, as a
|
160 |
+
special exception, the source code distributed need not include
|
161 |
+
anything that is normally distributed (in either source or binary
|
162 |
+
form) with the major components (compiler, kernel, and so on) of the
|
163 |
+
operating system on which the executable runs, unless that component
|
164 |
+
itself accompanies the executable.
|
165 |
+
|
166 |
+
If distribution of executable or object code is made by offering
|
167 |
+
access to copy from a designated place, then offering equivalent
|
168 |
+
access to copy the source code from the same place counts as
|
169 |
+
distribution of the source code, even though third parties are not
|
170 |
+
compelled to copy the source along with the object code.
|
171 |
+
|
172 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
+
except as expressly provided under this License. Any attempt
|
174 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
+
void, and will automatically terminate your rights under this License.
|
176 |
+
However, parties who have received copies, or rights, from you under
|
177 |
+
this License will not have their licenses terminated so long as such
|
178 |
+
parties remain in full compliance.
|
179 |
+
|
180 |
+
5. You are not required to accept this License, since you have not
|
181 |
+
signed it. However, nothing else grants you permission to modify or
|
182 |
+
distribute the Program or its derivative works. These actions are
|
183 |
+
prohibited by law if you do not accept this License. Therefore, by
|
184 |
+
modifying or distributing the Program (or any work based on the
|
185 |
+
Program), you indicate your acceptance of this License to do so, and
|
186 |
+
all its terms and conditions for copying, distributing or modifying
|
187 |
+
the Program or works based on it.
|
188 |
+
|
189 |
+
6. Each time you redistribute the Program (or any work based on the
|
190 |
+
Program), the recipient automatically receives a license from the
|
191 |
+
original licensor to copy, distribute or modify the Program subject to
|
192 |
+
these terms and conditions. You may not impose any further
|
193 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
+
You are not responsible for enforcing compliance by third parties to
|
195 |
+
this License.
|
196 |
+
|
197 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
+
infringement or for any other reason (not limited to patent issues),
|
199 |
+
conditions are imposed on you (whether by court order, agreement or
|
200 |
+
otherwise) that contradict the conditions of this License, they do not
|
201 |
+
excuse you from the conditions of this License. If you cannot
|
202 |
+
distribute so as to satisfy simultaneously your obligations under this
|
203 |
+
License and any other pertinent obligations, then as a consequence you
|
204 |
+
may not distribute the Program at all. For example, if a patent
|
205 |
+
license would not permit royalty-free redistribution of the Program by
|
206 |
+
all those who receive copies directly or indirectly through you, then
|
207 |
+
the only way you could satisfy both it and this License would be to
|
208 |
+
refrain entirely from distribution of the Program.
|
209 |
+
|
210 |
+
If any portion of this section is held invalid or unenforceable under
|
211 |
+
any particular circumstance, the balance of the section is intended to
|
212 |
+
apply and the section as a whole is intended to apply in other
|
213 |
+
circumstances.
|
214 |
+
|
215 |
+
It is not the purpose of this section to induce you to infringe any
|
216 |
+
patents or other property right claims or to contest validity of any
|
217 |
+
such claims; this section has the sole purpose of protecting the
|
218 |
+
integrity of the free software distribution system, which is
|
219 |
+
implemented by public license practices. Many people have made
|
220 |
+
generous contributions to the wide range of software distributed
|
221 |
+
through that system in reliance on consistent application of that
|
222 |
+
system; it is up to the author/donor to decide if he or she is willing
|
223 |
+
to distribute software through any other system and a licensee cannot
|
224 |
+
impose that choice.
|
225 |
+
|
226 |
+
This section is intended to make thoroughly clear what is believed to
|
227 |
+
be a consequence of the rest of this License.
|
228 |
+
|
229 |
+
8. If the distribution and/or use of the Program is restricted in
|
230 |
+
certain countries either by patents or by copyrighted interfaces, the
|
231 |
+
original copyright holder who places the Program under this License
|
232 |
+
may add an explicit geographical distribution limitation excluding
|
233 |
+
those countries, so that distribution is permitted only in or among
|
234 |
+
countries not thus excluded. In such case, this License incorporates
|
235 |
+
the limitation as if written in the body of this License.
|
236 |
+
|
237 |
+
9. The Free Software Foundation may publish revised and/or new versions
|
238 |
+
of the General Public License from time to time. Such new versions will
|
239 |
+
be similar in spirit to the present version, but may differ in detail to
|
240 |
+
address new problems or concerns.
|
241 |
+
|
242 |
+
Each version is given a distinguishing version number. If the Program
|
243 |
+
specifies a version number of this License which applies to it and "any
|
244 |
+
later version", you have the option of following the terms and conditions
|
245 |
+
either of that version or of any later version published by the Free
|
246 |
+
Software Foundation. If the Program does not specify a version number of
|
247 |
+
this License, you may choose any version ever published by the Free Software
|
248 |
+
Foundation.
|
249 |
+
|
250 |
+
10. If you wish to incorporate parts of the Program into other free
|
251 |
+
programs whose distribution conditions are different, write to the author
|
252 |
+
to ask for permission. For software which is copyrighted by the Free
|
253 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
+
make exceptions for this. Our decision will be guided by the two goals
|
255 |
+
of preserving the free status of all derivatives of our free software and
|
256 |
+
of promoting the sharing and reuse of software generally.
|
257 |
+
|
258 |
+
NO WARRANTY
|
259 |
+
|
260 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
+
REPAIR OR CORRECTION.
|
269 |
+
|
270 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
+
POSSIBILITY OF SUCH DAMAGES.
|
279 |
+
|
280 |
+
END OF TERMS AND CONDITIONS
|
281 |
+
|
282 |
+
How to Apply These Terms to Your New Programs
|
283 |
+
|
284 |
+
If you develop a new program, and you want it to be of the greatest
|
285 |
+
possible use to the public, the best way to achieve this is to make it
|
286 |
+
free software which everyone can redistribute and change under these terms.
|
287 |
+
|
288 |
+
To do so, attach the following notices to the program. It is safest
|
289 |
+
to attach them to the start of each source file to most effectively
|
290 |
+
convey the exclusion of warranty; and each file should have at least
|
291 |
+
the "copyright" line and a pointer to where the full notice is found.
|
292 |
+
|
293 |
+
{description}
|
294 |
+
Copyright (C) {year} {fullname}
|
295 |
+
|
296 |
+
This program is free software; you can redistribute it and/or modify
|
297 |
+
it under the terms of the GNU General Public License as published by
|
298 |
+
the Free Software Foundation; either version 2 of the License, or
|
299 |
+
(at your option) any later version.
|
300 |
+
|
301 |
+
This program is distributed in the hope that it will be useful,
|
302 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
303 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
304 |
+
GNU General Public License for more details.
|
305 |
+
|
306 |
+
You should have received a copy of the GNU General Public License along
|
307 |
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
308 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
309 |
+
|
310 |
+
Also add information on how to contact you by electronic and paper mail.
|
311 |
+
|
312 |
+
If the program is interactive, make it output a short notice like this
|
313 |
+
when it starts in an interactive mode:
|
314 |
+
|
315 |
+
Gnomovision version 69, Copyright (C) year name of author
|
316 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
317 |
+
This is free software, and you are welcome to redistribute it
|
318 |
+
under certain conditions; type `show c' for details.
|
319 |
+
|
320 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
321 |
+
parts of the General Public License. Of course, the commands you use may
|
322 |
+
be called something other than `show w' and `show c'; they could even be
|
323 |
+
mouse-clicks or menu items--whatever suits your program.
|
324 |
+
|
325 |
+
You should also get your employer (if you work as a programmer) or your
|
326 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
327 |
+
necessary. Here is a sample; alter the names:
|
328 |
+
|
329 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
330 |
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
331 |
+
|
332 |
+
{signature of Ty Coon}, 1 April 1989
|
333 |
+
Ty Coon, President of Vice
|
334 |
+
|
335 |
+
This General Public License does not permit incorporating your program into
|
336 |
+
proprietary programs. If your program is a subroutine library, you may
|
337 |
+
consider it more useful to permit linking proprietary applications with the
|
338 |
+
library. If this is what you want to do, use the GNU Lesser General
|
339 |
+
Public License instead of this License.
|
README.md
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
# XML Sitemap & Google News feeds
|
2 |
+
|
3 |
+
XML and Google News Sitemaps for WordPress to feed the hungry spiders. Multisite, WP Super Cache and Polylang compatible.
|
images/sitemapxml.gif
CHANGED
File without changes
|
includes/admin.php
CHANGED
@@ -2,7 +2,9 @@
|
|
2 |
/* ------------------------------
|
3 |
* XMLSF Admin CLASS
|
4 |
* ------------------------------ */
|
5 |
-
|
|
|
|
|
6 |
if ( class_exists('XMLSitemapFeed') ) :
|
7 |
|
8 |
class XMLSF_Admin extends XMLSitemapFeed {
|
@@ -60,7 +62,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
60 |
}
|
61 |
|
62 |
/* PINGS */
|
63 |
-
|
64 |
public function ping_settings_field() {
|
65 |
$options = parent::get_ping();
|
66 |
$defaults = parent::defaults('ping');
|
@@ -104,7 +106,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
104 |
checked( $active, true, false).' /> ';
|
105 |
echo isset($names[$key]) && !empty($names[$key]['name']) ? $names[$key]['name'] : $key ;
|
106 |
echo '</label>';
|
107 |
-
|
108 |
echo '
|
109 |
<input type="hidden" name="'.$prefix.'ping['.
|
110 |
$key.'][uri]" value="'.
|
@@ -166,21 +168,21 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
166 |
if ( $old_active == $new_active )
|
167 |
$changed = false;
|
168 |
}
|
169 |
-
|
170 |
-
if ( $changed ) {
|
171 |
// then change the ping_sites list according to option
|
172 |
if ( !empty($new[$key]['active']) && strpos($update_services,untrailingslashit($values['uri'])) === false )
|
173 |
$update_services_new .= "\n" . $values['uri'];
|
174 |
elseif ( empty($new[$key]['active']) && strpos($update_services,untrailingslashit($values['uri'])) !== false )
|
175 |
$update_services_new = str_replace(array(trailingslashit($values['uri']),untrailingslashit($values['uri'])),'',$update_services_new);
|
176 |
-
} else {
|
177 |
// or change the option according to ping_sites
|
178 |
if ( strpos($update_services,untrailingslashit($values['uri'])) !== false )
|
179 |
$new[$key]['active'] = '1';
|
180 |
else
|
181 |
unset($new[$key]['active']);
|
182 |
}
|
183 |
-
}
|
184 |
if ( is_array($new[$key]) ) {
|
185 |
$sanitized += array( $key => $new[$key] );
|
186 |
}
|
@@ -193,7 +195,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
193 |
}
|
194 |
|
195 |
/* ROBOTS */
|
196 |
-
|
197 |
public function robots_settings_field() {
|
198 |
echo '
|
199 |
<fieldset><legend class="screen-reader-text">'.__('Additional robots.txt rules','xml-sitemap-feed').'</legend>
|
@@ -215,7 +217,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
215 |
/**
|
216 |
* XML SITEMAP SECTION
|
217 |
*/
|
218 |
-
|
219 |
public function xml_sitemap_settings() {
|
220 |
echo '<p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feeds&item_number='.XMLSF_VERSION.'&no_shipping=0&tax=0&charset=UTF%2d8" title="'.
|
221 |
sprintf(__('Donate to keep the free %s plugin development & support going!','xml-sitemap-feed'),__('XML Sitemap & Google News Feeds','xml-sitemap-feed')).'"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" style="border:none;float:right;margin:4px 0 0 10px" alt="'.
|
@@ -223,7 +225,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
223 |
sprintf(__('These settings control the XML Sitemaps generated by the %s plugin.','xml-sitemap-feed'),__('XML Sitemap & Google News Feeds','xml-sitemap-feed')).' '.
|
224 |
sprintf(__('For ping options, go to %s.','xml-sitemap-feed'),'<a href="options-writing.php">'.translate('Writing Settings').'</a>').'</p>';
|
225 |
}
|
226 |
-
|
227 |
public function post_types_settings_field() {
|
228 |
$options = parent::get_post_types();
|
229 |
$defaults = parent::defaults('post_types');
|
@@ -233,16 +235,16 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
233 |
$post_types = get_post_types(array('public'=>true),'objects');
|
234 |
if ( !is_array($post_types) || is_wp_error($post_types) )
|
235 |
return;
|
236 |
-
|
237 |
echo '<fieldset id="xmlsf_post_types"><legend class="screen-reader-text">'.__('XML Sitemaps for post types','xml-sitemap-feed').'</legend>
|
238 |
';
|
239 |
foreach ( $post_types as $post_type ) {
|
240 |
// skip unallowed post types
|
241 |
if (in_array($post_type->name,parent::disabled_post_types()))
|
242 |
continue;
|
243 |
-
|
244 |
$count = wp_count_posts( $post_type->name );
|
245 |
-
|
246 |
echo '
|
247 |
<input type="hidden" name="'.$prefix.'post_types['.
|
248 |
$post_type->name.'][name]" value="'.
|
@@ -255,9 +257,9 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
255 |
checked( !empty($options[$post_type->name]["active"]), true, false).' /> '.
|
256 |
$post_type->label.'</label> ('.
|
257 |
$count->publish.')';
|
258 |
-
|
259 |
if (!empty($options[$post_type->name]['active'])) {
|
260 |
-
|
261 |
echo ' – <span class="description"><a id="xmlsf_post_types_'.$post_type->name.'_link" href="#xmlsf_post_types_'.$post_type->name.'_settings">'.translate('Settings').'</a></span><br>
|
262 |
<script type="text/javascript">
|
263 |
jQuery( document ).ready( function() {
|
@@ -270,14 +272,14 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
270 |
</script>
|
271 |
<ul style="margin-left:18px" id="xmlsf_post_types_'.$post_type->name.'_settings">';
|
272 |
|
273 |
-
|
274 |
if ( isset($defaults[$post_type->name]['archive']) ) {
|
275 |
$archives = array (
|
276 |
'yearly' => __('Year','xml-sitemap-feed'),
|
277 |
-
'monthly' => __('Month','xml-sitemap-feed')
|
278 |
);
|
279 |
$archive = !empty($options[$post_type->name]['archive']) ? $options[$post_type->name]['archive'] : $defaults[$post_type->name]['archive'];
|
280 |
-
echo '
|
281 |
<li><label>'.__('Split by','xml-sitemap-feed').' <select name="'.$prefix.'post_types['.
|
282 |
$post_type->name.'][archive]" id="xmlsf_post_types_'.
|
283 |
$post_type->name.'_archive">
|
@@ -292,7 +294,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
292 |
}
|
293 |
|
294 |
$priority_val = !empty($options[$post_type->name]['priority']) ? $options[$post_type->name]['priority'] : $defaults[$post_type->name]['priority'];
|
295 |
-
echo '
|
296 |
<li><label>'.__('Priority','xml-sitemap-feed').' <input type="number" step="0.1" min="0.1" max="0.9" name="'.$prefix.'post_types['.
|
297 |
$post_type->name.'][priority]" id="xmlsf_post_types_'.
|
298 |
$post_type->name.'_priority" value="'.$priority_val.'" class="small-text"></label> <span class="description">'.__('Priority can be overridden on individual posts.','xml-sitemap-feed').' *</span></li>';
|
@@ -301,14 +303,14 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
301 |
<li><label><input type="checkbox" name="'.$prefix.'post_types['.
|
302 |
$post_type->name.'][dynamic_priority]" value="1" '.
|
303 |
checked( !empty($options[$post_type->name]['dynamic_priority']), true, false).' /> '.__('Automatically adjusts Priority according to relative age and comment count.','xml-sitemap-feed').'</label> <span class="description">'.__('Sticky posts will not be subject to reduction by age. Individual posts with fixed Priority will always keep that value.','xml-sitemap-feed').'</span></li>';
|
304 |
-
|
305 |
echo '
|
306 |
<li><label><input type="checkbox" name="'.$prefix.'post_types['.
|
307 |
$post_type->name.'][update_lastmod_on_comments]" value="1" '.
|
308 |
checked( !empty($options[$post_type->name]["update_lastmod_on_comments"]), true, false).' /> '.__('Update Lastmod and Changefreq on comments.','xml-sitemap-feed').'</label> <span class="description">'.__('Set this if discussion on your site warrants reindexation upon each new comment.','xml-sitemap-feed').'</li>';
|
309 |
-
|
310 |
$image = isset($options[$post_type->name]['tags']['image']) ? $options[$post_type->name]['tags']['image'] : $defaults[$post_type->name]['tags']['image'];
|
311 |
-
echo '
|
312 |
<li><label>'.__('Add image tags for','xml-sitemap-feed').' <select name="'.$prefix.'post_types['.
|
313 |
$post_type->name.'][tags][image]">
|
314 |
<option value="">'.translate('None').'</option>
|
@@ -319,7 +321,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
319 |
selected( $image == "attached", true, false).
|
320 |
'>'.__('Attached images','xml-sitemap-feed').'</option>
|
321 |
</select></label></li>
|
322 |
-
|
323 |
</ul>';
|
324 |
} else {
|
325 |
echo '<br>';
|
@@ -327,7 +329,7 @@ class XMLSF_Admin extends XMLSitemapFeed {
|
|
327 |
}
|
328 |
|
329 |
echo '
|
330 |
-
<p class="description">* '.__('Priority settings do not affect ranking in search results in any way. They are only meant to suggest search engines which URLs to index first. Once a URL has been indexed, its Priority becomes meaningless until its Lastmod is updated.','xml-sitemap-feed').' <a href="#xmlsf_post_types_note_1_more" id="xmlsf_post_types_note_1_link">'.translate('[more]').'</a>
|
331 |
<span id="xmlsf_post_types_note_1_more">'.__('Maximum Priority (1.0) is reserved for the front page, individual posts and, when allowed, posts with high comment count.','xml-sitemap-feed').' '.__('Priority values are taken as relative values. Setting all to the same (high) value is pointless.','xml-sitemap-feed').'</span></p>
|
332 |
<script type="text/javascript">
|
333 |
jQuery( document ).ready( function() {
|
@@ -356,9 +358,9 @@ jQuery( document ).ready( function() {
|
|
356 |
$skip = true;
|
357 |
foreach ( $taxonomy->object_type as $post_type)
|
358 |
if (!empty($active[$post_type]['active']) && $active[$post_type]['active'] == '1')
|
359 |
-
$skip = false;
|
360 |
if ($skip) continue; // skip if none of the associated post types are active
|
361 |
-
|
362 |
$count = wp_count_terms( $taxonomy->name );
|
363 |
$output .= '
|
364 |
<label><input type="checkbox" name="'.parent::prefix().'taxonomies['.
|
@@ -375,7 +377,7 @@ jQuery( document ).ready( function() {
|
|
375 |
$output .= '
|
376 |
<br>';
|
377 |
}
|
378 |
-
|
379 |
if ($output) {
|
380 |
echo '
|
381 |
<fieldset id="xmlsf_taxonomies"><legend class="screen-reader-text">'.__('XML Sitemaps for taxonomies','xml-sitemap-feed').'</legend>
|
@@ -384,7 +386,7 @@ jQuery( document ).ready( function() {
|
|
384 |
echo $output;
|
385 |
|
386 |
echo '
|
387 |
-
<p class="description">'.__('It is generally not recommended to include taxonomy pages, unless their content brings added value.','xml-sitemap-feed').' <a href="#xmlsf_taxonomies_note_1_more" id="xmlsf_taxonomies_note_1_link">'.translate('[more]').'</a>
|
388 |
<span id="xmlsf_taxonomies_note_1_more">'.__('For example, when you use category descriptions with information that is not present elsewhere on your site or if taxonomy pages list posts with an excerpt that is different from, but complementary to the post content. In these cases you might consider including certain taxonomies. Otherwise, if you fear <a href="http://moz.com/learn/seo/duplicate-content">negative affects of duplicate content</a> or PageRank spread, you might even consider disallowing indexation of taxonomies.','xml-sitemap-feed').' '.
|
389 |
sprintf(__('You can do this by adding specific robots.txt rules in the %s field above.','xml-sitemap-feed'),'<strong>'.__('Additional robots.txt rules','xml-sitemap-feed').'</strong>');
|
390 |
echo '</span></p>
|
@@ -407,34 +409,34 @@ jQuery( document ).ready( function() {
|
|
407 |
|
408 |
public function custom_sitemaps_settings_field() {
|
409 |
$lines = parent::get_custom_sitemaps();
|
410 |
-
|
411 |
echo '
|
412 |
<fieldset><legend class="screen-reader-text">'.__('Include custom XML Sitemaps','xml-sitemap-feed').'</legend>
|
413 |
<label>'.__('Additional XML Sitemaps to append to the main XML Sitemap Index:','xml-sitemap-feed').'<br>
|
414 |
<textarea name="'.parent::prefix().'custom_sitemaps" id="xmlsf_custom_sitemaps" class="large-text" cols="50" rows="4" />'. implode("\n",$lines) .'</textarea></label>
|
415 |
<p class="description">'.__('Add the full URL, including protocol (http/https) and domain, of any XML Sitemap that you want to append to the Sitemap Index. Start each URL on a new line.','xml-sitemap-feed').'<br><span style="color: red" class="warning">'.__('Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing Webmaster Tools to verify!','xml-sitemap-feed').'</span></p>
|
416 |
</fieldset>';
|
417 |
-
|
418 |
}
|
419 |
|
420 |
public function urls_settings_field() {
|
421 |
$urls = parent::get_urls();
|
422 |
$lines = array();
|
423 |
-
|
424 |
if(!empty($urls)) {
|
425 |
foreach($urls as $arr) {
|
426 |
-
if(is_array($arr))
|
427 |
$lines[] = implode(" ",$arr);
|
428 |
}
|
429 |
}
|
430 |
-
|
431 |
echo '
|
432 |
<fieldset><legend class="screen-reader-text">'.__('Include custom URLs','xml-sitemap-feed').'</legend>
|
433 |
<label>'.__('Additional URLs to append in an extra XML Sitemap:','xml-sitemap-feed').'<br>
|
434 |
<textarea name="'.parent::prefix().'urls" id="xmlsf_urls" class="large-text" cols="50" rows="4" />'. implode("\n",$lines) .'</textarea></label>
|
435 |
<p class="description">'.__('Add the full URL, including protocol (http/https) and domain, of any (static) page that you want to append to the ones already included by WordPress. Optionally add a priority value between 0 and 1, separated with a space after the URL. Start each URL on a new line.','xml-sitemap-feed').'</p>
|
436 |
</fieldset>';
|
437 |
-
|
438 |
}
|
439 |
|
440 |
public function domains_settings_field() {
|
@@ -446,14 +448,14 @@ jQuery( document ).ready( function() {
|
|
446 |
<label>'.__('Additional domains to allow in the XML Sitemaps:','xml-sitemap-feed').'<br><textarea name="'.parent::prefix().'domains" id="xmlsf_domains" class="large-text" cols="50" rows="4" />'. implode("\n",$domains) .'</textarea></label>
|
447 |
<p class="description">'.sprintf(__('By default, only the domain %s as used in your WordPress site address is allowed. This means that all URLs that use another domain (custom URLs or using a plugin like Page Links To) are filtered from the XML Sitemap. However, if you are the verified owner of other domains in your Google/Bing Webmaster Tools account, you can include these in the same sitemap. Add these domains, without protocol (http/https) each on a new line. Note that if you enter a domain with www, all URLs without it or with other subdomains will be filtered.','xml-sitemap-feed'),'<strong>'.$default.'</strong>').'</p>
|
448 |
</fieldset>';
|
449 |
-
|
450 |
}
|
451 |
|
452 |
|
453 |
/**
|
454 |
* GOOGLE NEWS SITEMAP SECTION
|
455 |
*/
|
456 |
-
|
457 |
public function news_sitemap_settings() {
|
458 |
echo '<p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feeds&item_number='.XMLSF_VERSION.'&no_shipping=0&tax=0&charset=UTF%2d8" title="'.
|
459 |
sprintf(__('Donate to keep the free %s plugin development & support going!','xml-sitemap-feed'),__('XML Sitemap & Google News Feeds','xml-sitemap-feed')).'"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" style="border:none;float:right;margin:4px 0 0 10px" alt="'.
|
@@ -465,14 +467,14 @@ jQuery( document ).ready( function() {
|
|
465 |
|
466 |
}
|
467 |
|
468 |
-
//TODO: publication name allow tag %category% ... post_types (+ exclusion per post or none + allow inclusion per post), limit to category ...
|
469 |
public function news_name_field() {
|
470 |
$options = parent::get_option('news_tags');
|
471 |
|
472 |
$name = !empty($options['name']) ? $options['name'] : '';
|
473 |
echo '
|
474 |
<fieldset><legend class="screen-reader-text">'.__('Publication name','xml-sitemap-feed').'</legend>
|
475 |
-
<input type="text" name="'.parent::prefix().'news_tags[name]" id="xmlsf_news_name" value="'.$name.'" class="regular-text"> <span class="description">'.sprintf(__('By default, the general %s setting will be used.','xml-sitemap-feed'),'<a href="options-general.php">'.translate('Site Title').'</a>').'</span><p class="description">' .
|
476 |
__('The publication name should match the name submitted on the Google News Publisher Center. If you wish to change it, please read <a href="https://support.google.com/news/publisher/answer/40402" target="_blank">Updated publication name</a>.') . '</p>
|
477 |
</fieldset>';
|
478 |
}
|
@@ -498,7 +500,7 @@ jQuery( document ).ready( function() {
|
|
498 |
foreach ( $post_types as $post_type ) {
|
499 |
// skip unallowed post types
|
500 |
if ( !is_object($post_type) || in_array($post_type->name,parent::disabled_post_types()) )
|
501 |
-
continue;
|
502 |
|
503 |
$checked = in_array($post_type->name,$news_post_type) ? true : false;
|
504 |
$disabled = false;
|
@@ -510,7 +512,7 @@ jQuery( document ).ready( function() {
|
|
510 |
$checked = false;
|
511 |
}
|
512 |
}
|
513 |
-
|
514 |
echo '
|
515 |
<label><input type="checkbox" name="'.$prefix.'news_tags[post_type][]" id="xmlsf_post_type_'.
|
516 |
$post_type->name.'" value="'.$post_type->name.'" '.
|
@@ -522,13 +524,13 @@ jQuery( document ).ready( function() {
|
|
522 |
<p class="description">'.sprintf(__('At least one post type must be selected. By default, the post type %s will be used.','xml-sitemap-feed'),translate('Posts')).'</p>
|
523 |
</fieldset>';
|
524 |
}
|
525 |
-
|
526 |
}
|
527 |
|
528 |
public function news_categories_field() {
|
529 |
-
$options = parent::get_option('news_tags');
|
530 |
|
531 |
-
if ( !empty($options['post_type']) && array( 'post' ) !== (array)$options['post_type'] ) {
|
532 |
echo '
|
533 |
<p class="description">' . sprintf(__('Selection based on categories will be available when <strong>only</strong> the post type %s is included above.','xml-sitemap-feed'),translate('Posts')) . '</p>';
|
534 |
return;
|
@@ -550,7 +552,7 @@ jQuery( document ).ready( function() {
|
|
550 |
echo '
|
551 |
<label>'.__('Limit to posts in these post categories:','xml-sitemap-feed').'<br>
|
552 |
<select multiple name="'.parent::prefix().'news_tags[categories][]" size="'.$size.'">';
|
553 |
-
|
554 |
foreach($all_categories as $category) {
|
555 |
$depth = count( explode( '%#%', get_category_parents($category, false, '%#%') ) ) - 2;
|
556 |
$pad = str_repeat(' ', $depth * 3);
|
@@ -563,7 +565,7 @@ jQuery( document ).ready( function() {
|
|
563 |
}
|
564 |
echo '
|
565 |
</select>
|
566 |
-
</label>
|
567 |
<p class="description">'.__('If you wish to limit posts that will feature in your News Sitemap to certain categories, select them here. If no categories are selected, posts of all categories will be included in your News Sitemap.','xml-sitemap-feed').' '.__('Use the Ctrl/Cmd key plus click to select more than one or to deselect.','xml-sitemap-feed');
|
568 |
echo '
|
569 |
</fieldset>';
|
@@ -585,7 +587,7 @@ jQuery( document ).ready( function() {
|
|
585 |
selected( $image == "attached", true, false).
|
586 |
'>'.__('Attached images','xml-sitemap-feed').'</option>
|
587 |
';
|
588 |
-
echo '</select></label>
|
589 |
<p class="description">'.__('Note: Google News prefers at most one image per article in the News Sitemap. If multiple valid images are specified, the crawler will have to pick one arbitrarily. Images in News Sitemaps should be in jpeg or png format.','xml-sitemap-feed').' <a href="https://support.google.com/news/publisher/answer/13369" target="_blank">'.__('More information…','xml-sitemap-feed').'</a></p>
|
590 |
</fieldset>';
|
591 |
}
|
@@ -595,7 +597,7 @@ jQuery( document ).ready( function() {
|
|
595 |
<fieldset id="xmlsf_news_labels"><legend class="screen-reader-text">'.__('Source labels','xml-sitemap-feed').'</legend>' .
|
596 |
sprintf(__('You can use the %1$s and %2$s tags to provide Google more information about the content of your articles.','xml-sitemap-feed'),'<access>','<genres>') . ' <a href="https://support.google.com/news/publisher/answer/93992" target="_blank">'.__('More information…','xml-sitemap-feed').'</a>
|
597 |
<br><br>';
|
598 |
-
|
599 |
$options = parent::get_option('news_tags');
|
600 |
$prefix = parent::prefix();
|
601 |
|
@@ -605,10 +607,10 @@ jQuery( document ).ready( function() {
|
|
605 |
$access_password = !empty($access['password']) ? $access['password'] : '';
|
606 |
echo '
|
607 |
<fieldset id="xmlsf_news_labels_access"><legend class="screen-reader-text"><access></legend>
|
608 |
-
'.sprintf(__('The %4$s tag specifies whether an article is available to all readers (%1$s), or only to those with a free (%2$s) or paid membership (%3$s) to your site.','xml-sitemap-feed'),translate('Public'),__('Registration','xml-sitemap-feed'),__('Subscription','xml-sitemap-feed'),'<strong><access></strong>').'
|
609 |
'.__('You can assign a different access level when writing a post.','xml-sitemap-feed') . '
|
610 |
<ul>';
|
611 |
-
|
612 |
echo '
|
613 |
<li><label>'.__('Tag normal posts as','xml-sitemap-feed').' <select name="'.$prefix.'news_tags[access][default]" id="xmlsf_news_tags_access_default">
|
614 |
<option value="">'.translate('Public').'</option>
|
@@ -632,20 +634,14 @@ jQuery( document ).ready( function() {
|
|
632 |
echo '
|
633 |
<fieldset id="xmlsf_news_labels_genres"><legend class="screen-reader-text"><genres></legend>
|
634 |
'.sprintf(__('The %s tag specifies one or more properties for an article, namely, whether it is a press release, a blog post, an opinion, an op-ed piece, user-generated content, or satire.','xml-sitemap-feed'),'<strong><genres></strong>').' '.__('You can assign different genres when writing a post.','xml-sitemap-feed');
|
635 |
-
|
636 |
-
echo !empty($genres['active']) ? $genres['active'] : '';
|
637 |
-
echo '" />';
|
638 |
-
/* echo '
|
639 |
-
<p><label><input type="checkbox" name="'.$prefix.'news_tags[genres][active]" id="xmlsf_news_tags_genres" value="1"'.
|
640 |
-
checked( !empty($genres['active']), true, false).' /> '
|
641 |
-
.__('Use Google News genres','xml-sitemap-feed').'</label> </p>';
|
642 |
-
*/
|
643 |
echo '
|
644 |
<ul>
|
645 |
<li><label>'.__('Default genre:','xml-sitemap-feed').'<br><select multiple name="'.$prefix.'news_tags[genres][default][]" id="xmlsf_news_tags_genres_default" size="'.count($gn_genres).'">';
|
646 |
-
foreach ( $gn_genres as $name)
|
647 |
echo '
|
648 |
<option value="'.$name.'" '.selected( in_array($name,$genres_default), true, false ).'>'.$name.'</option>';
|
|
|
649 |
echo '
|
650 |
</select></label></li>
|
651 |
</ul>
|
@@ -653,12 +649,8 @@ jQuery( document ).ready( function() {
|
|
653 |
<p class="description">'.__('Use the Ctrl/Cmd key plus click to select more than one or to deselect.','xml-sitemap-feed').' '.sprintf(__('Read more about source labels on %s','xml-sitemap-feed'),'<a href="https://support.google.com/news/publisher/answer/4582731" target="_blank">'.__('What does each source label mean?','xml-sitemap-feed').'</a>').'</p>
|
654 |
</fieldset>';
|
655 |
|
656 |
-
/* }
|
657 |
-
|
658 |
-
public function news_keywords_field() {
|
659 |
-
$options = parent::get_option('news_tags');
|
660 |
-
$prefix = parent::prefix();*/
|
661 |
|
|
|
662 |
$keywords = !empty($options['keywords']) ? $options['keywords'] : array();
|
663 |
$keywords_from = !empty($keywords['from']) ? $keywords['from'] : '';
|
664 |
echo '
|
@@ -678,17 +670,17 @@ jQuery( document ).ready( function() {
|
|
678 |
}
|
679 |
echo '
|
680 |
</ul>
|
681 |
-
<p class="description">'.__('Keywords may be drawn from, but are not limited to, the list of <a href="
|
682 |
</fieldset>';
|
683 |
}
|
684 |
-
|
685 |
//sanitize callback functions
|
686 |
|
687 |
public function sanitize_robots_settings($new) {
|
688 |
if(is_array($new)) $new = array_shift(array_filter($new));
|
689 |
return trim(strip_tags($new));
|
690 |
}
|
691 |
-
|
692 |
public function sanitize_sitemaps_settings($new) {
|
693 |
$old = parent::get_sitemaps();
|
694 |
|
@@ -698,10 +690,10 @@ jQuery( document ).ready( function() {
|
|
698 |
if( '1' == get_option('blog_public') ) {
|
699 |
if ($old != $new && !isset($new['reset'])) // when sitemaps are added or removed, set transient to flush rewrite rules
|
700 |
set_transient('xmlsf_flush_rewrite_rules','');
|
701 |
-
|
702 |
if (empty($old['sitemap-news']) && !empty($new['sitemap-news']))
|
703 |
set_transient('xmlsf_create_genres','');
|
704 |
-
|
705 |
$sanitized = $new;
|
706 |
} else {
|
707 |
$sanitized = $old;
|
@@ -709,13 +701,13 @@ jQuery( document ).ready( function() {
|
|
709 |
|
710 |
return $sanitized;
|
711 |
}
|
712 |
-
|
713 |
public function sanitize_post_types_settings( $new = array() ) {
|
714 |
$old = parent::get_post_types();
|
715 |
$defaults = parent::defaults('post_types');
|
716 |
$sanitized = $new;
|
717 |
$flush = false;
|
718 |
-
|
719 |
foreach ($new as $post_type => $settings) {
|
720 |
|
721 |
// when post types are (de)activated, set transient to flush rewrite rules
|
@@ -728,7 +720,7 @@ jQuery( document ).ready( function() {
|
|
728 |
$sanitized[$post_type]['priority'] = $defaults[$post_type]['priority'];
|
729 |
}
|
730 |
}
|
731 |
-
|
732 |
if ($flush)
|
733 |
set_transient('xmlsf_flush_rewrite_rules','');
|
734 |
|
@@ -763,7 +755,7 @@ jQuery( document ).ready( function() {
|
|
763 |
|
764 |
foreach ($input_arr as $line) {
|
765 |
$line = filter_var(esc_url(trim($line)),FILTER_VALIDATE_URL,FILTER_FLAG_PATH_REQUIRED);
|
766 |
-
if(!empty($line))
|
767 |
$sanitized[] = $line;
|
768 |
}
|
769 |
|
@@ -778,7 +770,7 @@ jQuery( document ).ready( function() {
|
|
778 |
$callback = create_function('$a','return filter_var($a,FILTER_VALIDATE_URL) || is_numeric($a);');
|
779 |
|
780 |
foreach ($input_arr as $line) {
|
781 |
-
if(empty($line))
|
782 |
continue;
|
783 |
|
784 |
$arr = array_values(array_filter(explode(" ",trim($line)),$callback));
|
@@ -788,7 +780,7 @@ jQuery( document ).ready( function() {
|
|
788 |
$arr[1] = $this->sanitize_priority($arr[1]);
|
789 |
else
|
790 |
$arr[1] = '0.5';
|
791 |
-
|
792 |
$sanitized[] = array( esc_url($arr[0]) , $arr[1] );
|
793 |
}
|
794 |
}
|
@@ -797,7 +789,7 @@ jQuery( document ).ready( function() {
|
|
797 |
if (!empty($sanitized))
|
798 |
set_transient('xmlsf_flush_rewrite_rules','');
|
799 |
} else if (empty($sanitized)) {
|
800 |
-
set_transient('xmlsf_flush_rewrite_rules','');
|
801 |
}
|
802 |
|
803 |
return (!empty($sanitized)) ? $sanitized : '';
|
@@ -818,15 +810,15 @@ jQuery( document ).ready( function() {
|
|
818 |
} else {
|
819 |
$domain_arr = explode('/', $parsed_url['path']);
|
820 |
$domain_arr = array_filter($domain_arr);
|
821 |
-
$domain = array_shift( $domain_arr );
|
822 |
$domain = trim( $domain );
|
823 |
}
|
824 |
-
|
825 |
// filter out empties and default domain
|
826 |
if(!empty($domain) && $domain !== $default && strpos($domain,".".$default) === false)
|
827 |
$sanitized[] = $domain;
|
828 |
}
|
829 |
-
|
830 |
return (!empty($sanitized)) ? $sanitized : '';
|
831 |
}
|
832 |
|
@@ -834,24 +826,23 @@ jQuery( document ).ready( function() {
|
|
834 |
return $new;
|
835 |
}
|
836 |
|
837 |
-
|
838 |
// action links
|
839 |
-
|
840 |
public function add_action_link( $links ) {
|
841 |
$settings_link = '<a href="' . admin_url('options-reading.php') . '#blog_public">' . translate('Settings') . '</a>';
|
842 |
-
array_unshift( $links, $settings_link );
|
843 |
return $links;
|
844 |
}
|
845 |
|
846 |
/**
|
847 |
-
* META
|
848 |
*/
|
849 |
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
foreach (parent::get_post_types() as $post_type) {
|
855 |
// Only include metaboxes on post types that are included
|
856 |
if (isset($post_type["active"]))
|
857 |
add_meta_box(
|
@@ -859,24 +850,13 @@ jQuery( document ).ready( function() {
|
|
859 |
__( 'XML Sitemap', 'xml-sitemap-feed' ),
|
860 |
array($this,'meta_box'),
|
861 |
$post_type['name'],
|
862 |
-
'side'
|
|
|
863 |
);
|
864 |
}
|
865 |
-
// Google News Sitemap
|
866 |
-
// Only include metaboxes on post types that are included
|
867 |
-
$news_tags = parent::get_option('news_tags');
|
868 |
-
foreach ( (array)$news_tags['post_type'] as $post_type ) {
|
869 |
-
add_meta_box(
|
870 |
-
'xmlsf_news_section',
|
871 |
-
__( 'Google News Sitemap', 'xml-sitemap-feed' ),
|
872 |
-
array($this,'meta_box_news'),
|
873 |
-
$post_type,
|
874 |
-
'side'
|
875 |
-
);
|
876 |
-
}
|
877 |
}
|
878 |
|
879 |
-
public function meta_box($post)
|
880 |
{
|
881 |
// Use nonce for verification
|
882 |
wp_nonce_field( plugin_basename( __FILE__ ), 'xmlsf_sitemap_nonce' );
|
@@ -886,31 +866,47 @@ jQuery( document ).ready( function() {
|
|
886 |
$exclude = get_post_meta( $post->ID, '_xmlsf_exclude', true );
|
887 |
$priority = get_post_meta( $post->ID, '_xmlsf_priority', true );
|
888 |
$disabled = '';
|
889 |
-
|
890 |
// disable options and (visibly) set excluded to true for private posts
|
891 |
if ( 'private' == $post->post_status ) {
|
892 |
$disabled = ' disabled="disabled"';
|
893 |
$exclude = true;
|
894 |
-
}
|
895 |
-
|
896 |
// disable options and (visibly) set priority to 1 for front page
|
897 |
if ( $post->ID == get_option('page_on_front') ) {
|
898 |
$disabled = ' disabled="disabled"';
|
899 |
$priority = '1'; // force excluded to true for private posts
|
900 |
}
|
901 |
-
|
902 |
-
echo '<p><label><input type="checkbox" name="xmlsf_exclude" id="xmlsf_exclude" value="1"'.checked(!empty($exclude), true, false).$disabled.' > ';
|
903 |
-
_e('Exclude from XML Sitemap','xml-sitemap-feed');
|
904 |
-
echo '</label></p>';
|
905 |
|
906 |
echo '<p><label>';
|
907 |
_e('Priority','xml-sitemap-feed');
|
908 |
echo ' <input type="number" step="0.1" min="0" max="1" name="xmlsf_priority" id="xmlsf_priority" value="'.$priority.'" class="small-text"'.$disabled.'></label> <span class="description">';
|
909 |
printf(__('Leave empty for automatic Priority as configured on %1$s > %2$s.','xml-sitemap-feed'),translate('Settings'),'<a href="' . admin_url('options-reading.php') . '#xmlsf">' . translate('Reading') . '</a>');
|
910 |
echo '</span></p>';
|
|
|
|
|
|
|
|
|
911 |
}
|
912 |
|
913 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
{
|
915 |
// Use nonce for verification
|
916 |
wp_nonce_field( plugin_basename( __FILE__ ), 'xmlsf_sitemap_nonce' );
|
@@ -920,12 +916,12 @@ jQuery( document ).ready( function() {
|
|
920 |
$exclude = get_post_meta( $post->ID, '_xmlsf_news_exclude', true );
|
921 |
$access = get_post_meta( $post->ID, '_xmlsf_news_access', true );
|
922 |
$disabled = '';
|
923 |
-
|
924 |
// disable options and (visibly) set excluded to true for private posts
|
925 |
if ( 'private' == $post->post_status ) {
|
926 |
$disabled = ' disabled="disabled"';
|
927 |
$exclude = true;
|
928 |
-
}
|
929 |
|
930 |
echo '<p><label>'.__('Access','xml-sitemap-feed').'
|
931 |
<select name="xmlsf_news_access" id="xmlsf_news_access">
|
@@ -936,12 +932,12 @@ jQuery( document ).ready( function() {
|
|
936 |
</select></label></p>';
|
937 |
|
938 |
echo '<p><label><input type="checkbox" name="xmlsf_news_exclude" id="xmlsf_news_exclude" value="1"'.checked(!empty($exclude), true, false).$disabled.' > ';
|
939 |
-
_e('Exclude from Google News Sitemap','xml-sitemap-feed');
|
940 |
echo '</label></p>';
|
941 |
}
|
942 |
-
|
943 |
/* When the post is saved, save our meta data */
|
944 |
-
function save_metadata( $post_id )
|
945 |
{
|
946 |
if ( !isset($post_id) )
|
947 |
$post_id = (int)$_REQUEST['post_ID'];
|
@@ -955,14 +951,14 @@ jQuery( document ).ready( function() {
|
|
955 |
} else {
|
956 |
delete_post_meta($post_id, '_xmlsf_priority');
|
957 |
}
|
958 |
-
|
959 |
// _xmlsf_exclude
|
960 |
if ( isset($_POST['xmlsf_exclude']) && $_POST['xmlsf_exclude'] != '' ) {
|
961 |
update_post_meta($post_id, '_xmlsf_exclude', $_POST['xmlsf_exclude']);
|
962 |
} else {
|
963 |
delete_post_meta($post_id, '_xmlsf_exclude');
|
964 |
}
|
965 |
-
|
966 |
// _xmlsf_news_exclude
|
967 |
if ( isset($_POST['xmlsf_news_exclude']) && $_POST['xmlsf_news_exclude'] != '' ) {
|
968 |
update_post_meta($post_id, '_xmlsf_news_exclude', $_POST['xmlsf_news_exclude']);
|
@@ -985,7 +981,7 @@ jQuery( document ).ready( function() {
|
|
985 |
function __construct() {
|
986 |
$sitemaps = parent::get_sitemaps();
|
987 |
$prefix = parent::prefix();
|
988 |
-
|
989 |
// sitemaps
|
990 |
register_setting('reading', $prefix.'sitemaps', array($this,'sanitize_sitemaps_settings') );
|
991 |
add_settings_field($prefix.'sitemaps', __('Enable XML sitemaps','xml-sitemap-feed'), array($this,'sitemaps_settings_field'), 'reading');
|
@@ -997,57 +993,58 @@ jQuery( document ).ready( function() {
|
|
997 |
add_settings_field($prefix.'robots', __('Additional robots.txt rules','xml-sitemap-feed'), array($this,'robots_settings_field'), 'reading');
|
998 |
}
|
999 |
|
1000 |
-
|
1001 |
-
|
1002 |
-
add_settings_field($prefix.'reset', __('Reset XML sitemaps','xml-sitemap-feed'), array($this,'reset_settings_field'), 'reading');
|
1003 |
-
|
1004 |
-
if ( isset($sitemaps['sitemap']) ) {
|
1005 |
-
// XML SITEMAP SETTINGS
|
1006 |
-
add_settings_section('xml_sitemap_section', '<a name="xmlsf"></a>'.__('XML Sitemap','xml-sitemap-feed'), array($this,'xml_sitemap_settings'), 'reading');
|
1007 |
-
// post_types
|
1008 |
-
register_setting('reading', $prefix.'post_types', array($this,'sanitize_post_types_settings') );
|
1009 |
-
add_settings_field($prefix.'post_types', __('Include post types','xml-sitemap-feed'), array($this,'post_types_settings_field'), 'reading', 'xml_sitemap_section');
|
1010 |
-
// taxonomies
|
1011 |
-
register_setting('reading', $prefix.'taxonomies', array($this,'sanitize_taxonomies_settings') );
|
1012 |
-
add_settings_field($prefix.'taxonomies', __('Include taxonomies','xml-sitemap-feed'), array($this,'taxonomies_settings_field'), 'reading', 'xml_sitemap_section');
|
1013 |
-
// custom domains
|
1014 |
-
register_setting('reading', $prefix.'domains', array($this,'sanitize_domains_settings') );
|
1015 |
-
add_settings_field($prefix.'domains', __('Allowed domains','xml-sitemap-feed'), array($this,'domains_settings_field'), 'reading', 'xml_sitemap_section');
|
1016 |
-
// custom urls
|
1017 |
-
register_setting('reading', $prefix.'urls', array($this,'sanitize_urls_settings') );
|
1018 |
-
add_settings_field($prefix.'urls', __('Include custom URLs','xml-sitemap-feed'), array($this,'urls_settings_field'), 'reading', 'xml_sitemap_section');
|
1019 |
-
// custom sitemaps
|
1020 |
-
register_setting('reading', $prefix.'custom_sitemaps', array($this,'sanitize_custom_sitemaps_settings') );
|
1021 |
-
add_settings_field($prefix.'custom_sitemaps', __('Include custom XML Sitemaps','xml-sitemap-feed'), array($this,'custom_sitemaps_settings_field'), 'reading', 'xml_sitemap_section');
|
1022 |
-
|
1023 |
-
// POST META BOX
|
1024 |
-
add_action( 'add_meta_boxes', array($this,'add_meta_boxes') );
|
1025 |
-
add_action( 'save_post', array($this,'save_metadata') );
|
1026 |
-
}
|
1027 |
-
|
1028 |
-
if ( isset($sitemaps['sitemap-news']) ) {
|
1029 |
-
// XML SITEMAP SETTINGS
|
1030 |
-
add_settings_section('news_sitemap_section', '<a name="xmlnf"></a>'.__('Google News Sitemap','xml-sitemap-feed'), array($this,'news_sitemap_settings'), 'reading');
|
1031 |
-
|
1032 |
-
// tags
|
1033 |
-
register_setting('reading', $prefix.'news_tags', array($this,'sanitize_news_tags_settings') );
|
1034 |
-
add_settings_field($prefix.'news_name', '<label for="xmlsf_news_name">'.__('Publication name','xml-sitemap-feed').'</label>', array($this,'news_name_field'), 'reading', 'news_sitemap_section');
|
1035 |
-
add_settings_field($prefix.'news_post_type', __('Include post types','xml-sitemap-feed'), array($this,'news_post_type_field'), 'reading', 'news_sitemap_section');
|
1036 |
-
add_settings_field($prefix.'news_categories', translate('Categories'), array($this,'news_categories_field'), 'reading', 'news_sitemap_section');
|
1037 |
-
add_settings_field($prefix.'news_image', translate('Images'), array($this,'news_image_field'), 'reading', 'news_sitemap_section');
|
1038 |
-
add_settings_field($prefix.'news_labels', __('Source labels','xml-sitemap-feed'), array($this,'news_labels_field'), 'reading', 'news_sitemap_section');
|
1039 |
-
// add_settings_field($prefix.'news_keywords', __('Topics','xml-sitemap-feed'), array($this,'news_keywords_field'), 'reading', 'news_sitemap_section');
|
1040 |
|
1041 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1042 |
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1047 |
}
|
1048 |
|
1049 |
-
|
1050 |
-
|
|
|
|
|
|
|
|
|
1051 |
}
|
1052 |
|
1053 |
}
|
2 |
/* ------------------------------
|
3 |
* XMLSF Admin CLASS
|
4 |
* ------------------------------ */
|
5 |
+
|
6 |
+
if ( ! defined( 'WPINC' ) ) die;
|
7 |
+
|
8 |
if ( class_exists('XMLSitemapFeed') ) :
|
9 |
|
10 |
class XMLSF_Admin extends XMLSitemapFeed {
|
62 |
}
|
63 |
|
64 |
/* PINGS */
|
65 |
+
|
66 |
public function ping_settings_field() {
|
67 |
$options = parent::get_ping();
|
68 |
$defaults = parent::defaults('ping');
|
106 |
checked( $active, true, false).' /> ';
|
107 |
echo isset($names[$key]) && !empty($names[$key]['name']) ? $names[$key]['name'] : $key ;
|
108 |
echo '</label>';
|
109 |
+
|
110 |
echo '
|
111 |
<input type="hidden" name="'.$prefix.'ping['.
|
112 |
$key.'][uri]" value="'.
|
168 |
if ( $old_active == $new_active )
|
169 |
$changed = false;
|
170 |
}
|
171 |
+
|
172 |
+
if ( $changed ) {
|
173 |
// then change the ping_sites list according to option
|
174 |
if ( !empty($new[$key]['active']) && strpos($update_services,untrailingslashit($values['uri'])) === false )
|
175 |
$update_services_new .= "\n" . $values['uri'];
|
176 |
elseif ( empty($new[$key]['active']) && strpos($update_services,untrailingslashit($values['uri'])) !== false )
|
177 |
$update_services_new = str_replace(array(trailingslashit($values['uri']),untrailingslashit($values['uri'])),'',$update_services_new);
|
178 |
+
} else {
|
179 |
// or change the option according to ping_sites
|
180 |
if ( strpos($update_services,untrailingslashit($values['uri'])) !== false )
|
181 |
$new[$key]['active'] = '1';
|
182 |
else
|
183 |
unset($new[$key]['active']);
|
184 |
}
|
185 |
+
}
|
186 |
if ( is_array($new[$key]) ) {
|
187 |
$sanitized += array( $key => $new[$key] );
|
188 |
}
|
195 |
}
|
196 |
|
197 |
/* ROBOTS */
|
198 |
+
|
199 |
public function robots_settings_field() {
|
200 |
echo '
|
201 |
<fieldset><legend class="screen-reader-text">'.__('Additional robots.txt rules','xml-sitemap-feed').'</legend>
|
217 |
/**
|
218 |
* XML SITEMAP SECTION
|
219 |
*/
|
220 |
+
|
221 |
public function xml_sitemap_settings() {
|
222 |
echo '<p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feeds&item_number='.XMLSF_VERSION.'&no_shipping=0&tax=0&charset=UTF%2d8" title="'.
|
223 |
sprintf(__('Donate to keep the free %s plugin development & support going!','xml-sitemap-feed'),__('XML Sitemap & Google News Feeds','xml-sitemap-feed')).'"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" style="border:none;float:right;margin:4px 0 0 10px" alt="'.
|
225 |
sprintf(__('These settings control the XML Sitemaps generated by the %s plugin.','xml-sitemap-feed'),__('XML Sitemap & Google News Feeds','xml-sitemap-feed')).' '.
|
226 |
sprintf(__('For ping options, go to %s.','xml-sitemap-feed'),'<a href="options-writing.php">'.translate('Writing Settings').'</a>').'</p>';
|
227 |
}
|
228 |
+
|
229 |
public function post_types_settings_field() {
|
230 |
$options = parent::get_post_types();
|
231 |
$defaults = parent::defaults('post_types');
|
235 |
$post_types = get_post_types(array('public'=>true),'objects');
|
236 |
if ( !is_array($post_types) || is_wp_error($post_types) )
|
237 |
return;
|
238 |
+
|
239 |
echo '<fieldset id="xmlsf_post_types"><legend class="screen-reader-text">'.__('XML Sitemaps for post types','xml-sitemap-feed').'</legend>
|
240 |
';
|
241 |
foreach ( $post_types as $post_type ) {
|
242 |
// skip unallowed post types
|
243 |
if (in_array($post_type->name,parent::disabled_post_types()))
|
244 |
continue;
|
245 |
+
|
246 |
$count = wp_count_posts( $post_type->name );
|
247 |
+
|
248 |
echo '
|
249 |
<input type="hidden" name="'.$prefix.'post_types['.
|
250 |
$post_type->name.'][name]" value="'.
|
257 |
checked( !empty($options[$post_type->name]["active"]), true, false).' /> '.
|
258 |
$post_type->label.'</label> ('.
|
259 |
$count->publish.')';
|
260 |
+
|
261 |
if (!empty($options[$post_type->name]['active'])) {
|
262 |
+
|
263 |
echo ' – <span class="description"><a id="xmlsf_post_types_'.$post_type->name.'_link" href="#xmlsf_post_types_'.$post_type->name.'_settings">'.translate('Settings').'</a></span><br>
|
264 |
<script type="text/javascript">
|
265 |
jQuery( document ).ready( function() {
|
272 |
</script>
|
273 |
<ul style="margin-left:18px" id="xmlsf_post_types_'.$post_type->name.'_settings">';
|
274 |
|
275 |
+
|
276 |
if ( isset($defaults[$post_type->name]['archive']) ) {
|
277 |
$archives = array (
|
278 |
'yearly' => __('Year','xml-sitemap-feed'),
|
279 |
+
'monthly' => __('Month','xml-sitemap-feed')
|
280 |
);
|
281 |
$archive = !empty($options[$post_type->name]['archive']) ? $options[$post_type->name]['archive'] : $defaults[$post_type->name]['archive'];
|
282 |
+
echo '
|
283 |
<li><label>'.__('Split by','xml-sitemap-feed').' <select name="'.$prefix.'post_types['.
|
284 |
$post_type->name.'][archive]" id="xmlsf_post_types_'.
|
285 |
$post_type->name.'_archive">
|
294 |
}
|
295 |
|
296 |
$priority_val = !empty($options[$post_type->name]['priority']) ? $options[$post_type->name]['priority'] : $defaults[$post_type->name]['priority'];
|
297 |
+
echo '
|
298 |
<li><label>'.__('Priority','xml-sitemap-feed').' <input type="number" step="0.1" min="0.1" max="0.9" name="'.$prefix.'post_types['.
|
299 |
$post_type->name.'][priority]" id="xmlsf_post_types_'.
|
300 |
$post_type->name.'_priority" value="'.$priority_val.'" class="small-text"></label> <span class="description">'.__('Priority can be overridden on individual posts.','xml-sitemap-feed').' *</span></li>';
|
303 |
<li><label><input type="checkbox" name="'.$prefix.'post_types['.
|
304 |
$post_type->name.'][dynamic_priority]" value="1" '.
|
305 |
checked( !empty($options[$post_type->name]['dynamic_priority']), true, false).' /> '.__('Automatically adjusts Priority according to relative age and comment count.','xml-sitemap-feed').'</label> <span class="description">'.__('Sticky posts will not be subject to reduction by age. Individual posts with fixed Priority will always keep that value.','xml-sitemap-feed').'</span></li>';
|
306 |
+
|
307 |
echo '
|
308 |
<li><label><input type="checkbox" name="'.$prefix.'post_types['.
|
309 |
$post_type->name.'][update_lastmod_on_comments]" value="1" '.
|
310 |
checked( !empty($options[$post_type->name]["update_lastmod_on_comments"]), true, false).' /> '.__('Update Lastmod and Changefreq on comments.','xml-sitemap-feed').'</label> <span class="description">'.__('Set this if discussion on your site warrants reindexation upon each new comment.','xml-sitemap-feed').'</li>';
|
311 |
+
|
312 |
$image = isset($options[$post_type->name]['tags']['image']) ? $options[$post_type->name]['tags']['image'] : $defaults[$post_type->name]['tags']['image'];
|
313 |
+
echo '
|
314 |
<li><label>'.__('Add image tags for','xml-sitemap-feed').' <select name="'.$prefix.'post_types['.
|
315 |
$post_type->name.'][tags][image]">
|
316 |
<option value="">'.translate('None').'</option>
|
321 |
selected( $image == "attached", true, false).
|
322 |
'>'.__('Attached images','xml-sitemap-feed').'</option>
|
323 |
</select></label></li>
|
324 |
+
|
325 |
</ul>';
|
326 |
} else {
|
327 |
echo '<br>';
|
329 |
}
|
330 |
|
331 |
echo '
|
332 |
+
<p class="description">* '.__('Priority settings do not affect ranking in search results in any way. They are only meant to suggest search engines which URLs to index first. Once a URL has been indexed, its Priority becomes meaningless until its Lastmod is updated.','xml-sitemap-feed').' <a href="#xmlsf_post_types_note_1_more" id="xmlsf_post_types_note_1_link">'.translate('[more]').'</a>
|
333 |
<span id="xmlsf_post_types_note_1_more">'.__('Maximum Priority (1.0) is reserved for the front page, individual posts and, when allowed, posts with high comment count.','xml-sitemap-feed').' '.__('Priority values are taken as relative values. Setting all to the same (high) value is pointless.','xml-sitemap-feed').'</span></p>
|
334 |
<script type="text/javascript">
|
335 |
jQuery( document ).ready( function() {
|
358 |
$skip = true;
|
359 |
foreach ( $taxonomy->object_type as $post_type)
|
360 |
if (!empty($active[$post_type]['active']) && $active[$post_type]['active'] == '1')
|
361 |
+
$skip = false;
|
362 |
if ($skip) continue; // skip if none of the associated post types are active
|
363 |
+
|
364 |
$count = wp_count_terms( $taxonomy->name );
|
365 |
$output .= '
|
366 |
<label><input type="checkbox" name="'.parent::prefix().'taxonomies['.
|
377 |
$output .= '
|
378 |
<br>';
|
379 |
}
|
380 |
+
|
381 |
if ($output) {
|
382 |
echo '
|
383 |
<fieldset id="xmlsf_taxonomies"><legend class="screen-reader-text">'.__('XML Sitemaps for taxonomies','xml-sitemap-feed').'</legend>
|
386 |
echo $output;
|
387 |
|
388 |
echo '
|
389 |
+
<p class="description">'.__('It is generally not recommended to include taxonomy pages, unless their content brings added value.','xml-sitemap-feed').' <a href="#xmlsf_taxonomies_note_1_more" id="xmlsf_taxonomies_note_1_link">'.translate('[more]').'</a>
|
390 |
<span id="xmlsf_taxonomies_note_1_more">'.__('For example, when you use category descriptions with information that is not present elsewhere on your site or if taxonomy pages list posts with an excerpt that is different from, but complementary to the post content. In these cases you might consider including certain taxonomies. Otherwise, if you fear <a href="http://moz.com/learn/seo/duplicate-content">negative affects of duplicate content</a> or PageRank spread, you might even consider disallowing indexation of taxonomies.','xml-sitemap-feed').' '.
|
391 |
sprintf(__('You can do this by adding specific robots.txt rules in the %s field above.','xml-sitemap-feed'),'<strong>'.__('Additional robots.txt rules','xml-sitemap-feed').'</strong>');
|
392 |
echo '</span></p>
|
409 |
|
410 |
public function custom_sitemaps_settings_field() {
|
411 |
$lines = parent::get_custom_sitemaps();
|
412 |
+
|
413 |
echo '
|
414 |
<fieldset><legend class="screen-reader-text">'.__('Include custom XML Sitemaps','xml-sitemap-feed').'</legend>
|
415 |
<label>'.__('Additional XML Sitemaps to append to the main XML Sitemap Index:','xml-sitemap-feed').'<br>
|
416 |
<textarea name="'.parent::prefix().'custom_sitemaps" id="xmlsf_custom_sitemaps" class="large-text" cols="50" rows="4" />'. implode("\n",$lines) .'</textarea></label>
|
417 |
<p class="description">'.__('Add the full URL, including protocol (http/https) and domain, of any XML Sitemap that you want to append to the Sitemap Index. Start each URL on a new line.','xml-sitemap-feed').'<br><span style="color: red" class="warning">'.__('Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing Webmaster Tools to verify!','xml-sitemap-feed').'</span></p>
|
418 |
</fieldset>';
|
419 |
+
|
420 |
}
|
421 |
|
422 |
public function urls_settings_field() {
|
423 |
$urls = parent::get_urls();
|
424 |
$lines = array();
|
425 |
+
|
426 |
if(!empty($urls)) {
|
427 |
foreach($urls as $arr) {
|
428 |
+
if(is_array($arr))
|
429 |
$lines[] = implode(" ",$arr);
|
430 |
}
|
431 |
}
|
432 |
+
|
433 |
echo '
|
434 |
<fieldset><legend class="screen-reader-text">'.__('Include custom URLs','xml-sitemap-feed').'</legend>
|
435 |
<label>'.__('Additional URLs to append in an extra XML Sitemap:','xml-sitemap-feed').'<br>
|
436 |
<textarea name="'.parent::prefix().'urls" id="xmlsf_urls" class="large-text" cols="50" rows="4" />'. implode("\n",$lines) .'</textarea></label>
|
437 |
<p class="description">'.__('Add the full URL, including protocol (http/https) and domain, of any (static) page that you want to append to the ones already included by WordPress. Optionally add a priority value between 0 and 1, separated with a space after the URL. Start each URL on a new line.','xml-sitemap-feed').'</p>
|
438 |
</fieldset>';
|
439 |
+
|
440 |
}
|
441 |
|
442 |
public function domains_settings_field() {
|
448 |
<label>'.__('Additional domains to allow in the XML Sitemaps:','xml-sitemap-feed').'<br><textarea name="'.parent::prefix().'domains" id="xmlsf_domains" class="large-text" cols="50" rows="4" />'. implode("\n",$domains) .'</textarea></label>
|
449 |
<p class="description">'.sprintf(__('By default, only the domain %s as used in your WordPress site address is allowed. This means that all URLs that use another domain (custom URLs or using a plugin like Page Links To) are filtered from the XML Sitemap. However, if you are the verified owner of other domains in your Google/Bing Webmaster Tools account, you can include these in the same sitemap. Add these domains, without protocol (http/https) each on a new line. Note that if you enter a domain with www, all URLs without it or with other subdomains will be filtered.','xml-sitemap-feed'),'<strong>'.$default.'</strong>').'</p>
|
450 |
</fieldset>';
|
451 |
+
|
452 |
}
|
453 |
|
454 |
|
455 |
/**
|
456 |
* GOOGLE NEWS SITEMAP SECTION
|
457 |
*/
|
458 |
+
|
459 |
public function news_sitemap_settings() {
|
460 |
echo '<p><a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feeds&item_number='.XMLSF_VERSION.'&no_shipping=0&tax=0&charset=UTF%2d8" title="'.
|
461 |
sprintf(__('Donate to keep the free %s plugin development & support going!','xml-sitemap-feed'),__('XML Sitemap & Google News Feeds','xml-sitemap-feed')).'"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" style="border:none;float:right;margin:4px 0 0 10px" alt="'.
|
467 |
|
468 |
}
|
469 |
|
470 |
+
//TODO: publication name allow tag %category% ... post_types (+ exclusion per post or none + allow inclusion per post), limit to category ...
|
471 |
public function news_name_field() {
|
472 |
$options = parent::get_option('news_tags');
|
473 |
|
474 |
$name = !empty($options['name']) ? $options['name'] : '';
|
475 |
echo '
|
476 |
<fieldset><legend class="screen-reader-text">'.__('Publication name','xml-sitemap-feed').'</legend>
|
477 |
+
<input type="text" name="'.parent::prefix().'news_tags[name]" id="xmlsf_news_name" value="'.$name.'" class="regular-text"> <span class="description">'.sprintf(__('By default, the general %s setting will be used.','xml-sitemap-feed'),'<a href="options-general.php">'.translate('Site Title').'</a>').'</span><p class="description">' .
|
478 |
__('The publication name should match the name submitted on the Google News Publisher Center. If you wish to change it, please read <a href="https://support.google.com/news/publisher/answer/40402" target="_blank">Updated publication name</a>.') . '</p>
|
479 |
</fieldset>';
|
480 |
}
|
500 |
foreach ( $post_types as $post_type ) {
|
501 |
// skip unallowed post types
|
502 |
if ( !is_object($post_type) || in_array($post_type->name,parent::disabled_post_types()) )
|
503 |
+
continue;
|
504 |
|
505 |
$checked = in_array($post_type->name,$news_post_type) ? true : false;
|
506 |
$disabled = false;
|
512 |
$checked = false;
|
513 |
}
|
514 |
}
|
515 |
+
|
516 |
echo '
|
517 |
<label><input type="checkbox" name="'.$prefix.'news_tags[post_type][]" id="xmlsf_post_type_'.
|
518 |
$post_type->name.'" value="'.$post_type->name.'" '.
|
524 |
<p class="description">'.sprintf(__('At least one post type must be selected. By default, the post type %s will be used.','xml-sitemap-feed'),translate('Posts')).'</p>
|
525 |
</fieldset>';
|
526 |
}
|
527 |
+
|
528 |
}
|
529 |
|
530 |
public function news_categories_field() {
|
531 |
+
$options = parent::get_option('news_tags');
|
532 |
|
533 |
+
if ( !empty($options['post_type']) && array( 'post' ) !== (array)$options['post_type'] ) {
|
534 |
echo '
|
535 |
<p class="description">' . sprintf(__('Selection based on categories will be available when <strong>only</strong> the post type %s is included above.','xml-sitemap-feed'),translate('Posts')) . '</p>';
|
536 |
return;
|
552 |
echo '
|
553 |
<label>'.__('Limit to posts in these post categories:','xml-sitemap-feed').'<br>
|
554 |
<select multiple name="'.parent::prefix().'news_tags[categories][]" size="'.$size.'">';
|
555 |
+
|
556 |
foreach($all_categories as $category) {
|
557 |
$depth = count( explode( '%#%', get_category_parents($category, false, '%#%') ) ) - 2;
|
558 |
$pad = str_repeat(' ', $depth * 3);
|
565 |
}
|
566 |
echo '
|
567 |
</select>
|
568 |
+
</label>
|
569 |
<p class="description">'.__('If you wish to limit posts that will feature in your News Sitemap to certain categories, select them here. If no categories are selected, posts of all categories will be included in your News Sitemap.','xml-sitemap-feed').' '.__('Use the Ctrl/Cmd key plus click to select more than one or to deselect.','xml-sitemap-feed');
|
570 |
echo '
|
571 |
</fieldset>';
|
587 |
selected( $image == "attached", true, false).
|
588 |
'>'.__('Attached images','xml-sitemap-feed').'</option>
|
589 |
';
|
590 |
+
echo '</select></label>
|
591 |
<p class="description">'.__('Note: Google News prefers at most one image per article in the News Sitemap. If multiple valid images are specified, the crawler will have to pick one arbitrarily. Images in News Sitemaps should be in jpeg or png format.','xml-sitemap-feed').' <a href="https://support.google.com/news/publisher/answer/13369" target="_blank">'.__('More information…','xml-sitemap-feed').'</a></p>
|
592 |
</fieldset>';
|
593 |
}
|
597 |
<fieldset id="xmlsf_news_labels"><legend class="screen-reader-text">'.__('Source labels','xml-sitemap-feed').'</legend>' .
|
598 |
sprintf(__('You can use the %1$s and %2$s tags to provide Google more information about the content of your articles.','xml-sitemap-feed'),'<access>','<genres>') . ' <a href="https://support.google.com/news/publisher/answer/93992" target="_blank">'.__('More information…','xml-sitemap-feed').'</a>
|
599 |
<br><br>';
|
600 |
+
|
601 |
$options = parent::get_option('news_tags');
|
602 |
$prefix = parent::prefix();
|
603 |
|
607 |
$access_password = !empty($access['password']) ? $access['password'] : '';
|
608 |
echo '
|
609 |
<fieldset id="xmlsf_news_labels_access"><legend class="screen-reader-text"><access></legend>
|
610 |
+
'.sprintf(__('The %4$s tag specifies whether an article is available to all readers (%1$s), or only to those with a free (%2$s) or paid membership (%3$s) to your site.','xml-sitemap-feed'),translate('Public'),__('Registration','xml-sitemap-feed'),__('Subscription','xml-sitemap-feed'),'<strong><access></strong>').'
|
611 |
'.__('You can assign a different access level when writing a post.','xml-sitemap-feed') . '
|
612 |
<ul>';
|
613 |
+
|
614 |
echo '
|
615 |
<li><label>'.__('Tag normal posts as','xml-sitemap-feed').' <select name="'.$prefix.'news_tags[access][default]" id="xmlsf_news_tags_access_default">
|
616 |
<option value="">'.translate('Public').'</option>
|
634 |
echo '
|
635 |
<fieldset id="xmlsf_news_labels_genres"><legend class="screen-reader-text"><genres></legend>
|
636 |
'.sprintf(__('The %s tag specifies one or more properties for an article, namely, whether it is a press release, a blog post, an opinion, an op-ed piece, user-generated content, or satire.','xml-sitemap-feed'),'<strong><genres></strong>').' '.__('You can assign different genres when writing a post.','xml-sitemap-feed');
|
637 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
echo '
|
639 |
<ul>
|
640 |
<li><label>'.__('Default genre:','xml-sitemap-feed').'<br><select multiple name="'.$prefix.'news_tags[genres][default][]" id="xmlsf_news_tags_genres_default" size="'.count($gn_genres).'">';
|
641 |
+
foreach ( $gn_genres as $name) {
|
642 |
echo '
|
643 |
<option value="'.$name.'" '.selected( in_array($name,$genres_default), true, false ).'>'.$name.'</option>';
|
644 |
+
}
|
645 |
echo '
|
646 |
</select></label></li>
|
647 |
</ul>
|
649 |
<p class="description">'.__('Use the Ctrl/Cmd key plus click to select more than one or to deselect.','xml-sitemap-feed').' '.sprintf(__('Read more about source labels on %s','xml-sitemap-feed'),'<a href="https://support.google.com/news/publisher/answer/4582731" target="_blank">'.__('What does each source label mean?','xml-sitemap-feed').'</a>').'</p>
|
650 |
</fieldset>';
|
651 |
|
|
|
|
|
|
|
|
|
|
|
652 |
|
653 |
+
// keywords
|
654 |
$keywords = !empty($options['keywords']) ? $options['keywords'] : array();
|
655 |
$keywords_from = !empty($keywords['from']) ? $keywords['from'] : '';
|
656 |
echo '
|
670 |
}
|
671 |
echo '
|
672 |
</ul>
|
673 |
+
<p class="description">'.__('Keywords may be drawn from, but are not limited to, the list of <a href="https://support.google.com/news/publisher/answer/116037" target="_blank">existing Google News keywords</a>.','xml-sitemap-feed').'</p>
|
674 |
</fieldset>';
|
675 |
}
|
676 |
+
|
677 |
//sanitize callback functions
|
678 |
|
679 |
public function sanitize_robots_settings($new) {
|
680 |
if(is_array($new)) $new = array_shift(array_filter($new));
|
681 |
return trim(strip_tags($new));
|
682 |
}
|
683 |
+
|
684 |
public function sanitize_sitemaps_settings($new) {
|
685 |
$old = parent::get_sitemaps();
|
686 |
|
690 |
if( '1' == get_option('blog_public') ) {
|
691 |
if ($old != $new && !isset($new['reset'])) // when sitemaps are added or removed, set transient to flush rewrite rules
|
692 |
set_transient('xmlsf_flush_rewrite_rules','');
|
693 |
+
|
694 |
if (empty($old['sitemap-news']) && !empty($new['sitemap-news']))
|
695 |
set_transient('xmlsf_create_genres','');
|
696 |
+
|
697 |
$sanitized = $new;
|
698 |
} else {
|
699 |
$sanitized = $old;
|
701 |
|
702 |
return $sanitized;
|
703 |
}
|
704 |
+
|
705 |
public function sanitize_post_types_settings( $new = array() ) {
|
706 |
$old = parent::get_post_types();
|
707 |
$defaults = parent::defaults('post_types');
|
708 |
$sanitized = $new;
|
709 |
$flush = false;
|
710 |
+
|
711 |
foreach ($new as $post_type => $settings) {
|
712 |
|
713 |
// when post types are (de)activated, set transient to flush rewrite rules
|
720 |
$sanitized[$post_type]['priority'] = $defaults[$post_type]['priority'];
|
721 |
}
|
722 |
}
|
723 |
+
|
724 |
if ($flush)
|
725 |
set_transient('xmlsf_flush_rewrite_rules','');
|
726 |
|
755 |
|
756 |
foreach ($input_arr as $line) {
|
757 |
$line = filter_var(esc_url(trim($line)),FILTER_VALIDATE_URL,FILTER_FLAG_PATH_REQUIRED);
|
758 |
+
if(!empty($line))
|
759 |
$sanitized[] = $line;
|
760 |
}
|
761 |
|
770 |
$callback = create_function('$a','return filter_var($a,FILTER_VALIDATE_URL) || is_numeric($a);');
|
771 |
|
772 |
foreach ($input_arr as $line) {
|
773 |
+
if(empty($line))
|
774 |
continue;
|
775 |
|
776 |
$arr = array_values(array_filter(explode(" ",trim($line)),$callback));
|
780 |
$arr[1] = $this->sanitize_priority($arr[1]);
|
781 |
else
|
782 |
$arr[1] = '0.5';
|
783 |
+
|
784 |
$sanitized[] = array( esc_url($arr[0]) , $arr[1] );
|
785 |
}
|
786 |
}
|
789 |
if (!empty($sanitized))
|
790 |
set_transient('xmlsf_flush_rewrite_rules','');
|
791 |
} else if (empty($sanitized)) {
|
792 |
+
set_transient('xmlsf_flush_rewrite_rules','');
|
793 |
}
|
794 |
|
795 |
return (!empty($sanitized)) ? $sanitized : '';
|
810 |
} else {
|
811 |
$domain_arr = explode('/', $parsed_url['path']);
|
812 |
$domain_arr = array_filter($domain_arr);
|
813 |
+
$domain = array_shift( $domain_arr );
|
814 |
$domain = trim( $domain );
|
815 |
}
|
816 |
+
|
817 |
// filter out empties and default domain
|
818 |
if(!empty($domain) && $domain !== $default && strpos($domain,".".$default) === false)
|
819 |
$sanitized[] = $domain;
|
820 |
}
|
821 |
+
|
822 |
return (!empty($sanitized)) ? $sanitized : '';
|
823 |
}
|
824 |
|
826 |
return $new;
|
827 |
}
|
828 |
|
829 |
+
|
830 |
// action links
|
831 |
+
|
832 |
public function add_action_link( $links ) {
|
833 |
$settings_link = '<a href="' . admin_url('options-reading.php') . '#blog_public">' . translate('Settings') . '</a>';
|
834 |
+
array_unshift( $links, $settings_link );
|
835 |
return $links;
|
836 |
}
|
837 |
|
838 |
/**
|
839 |
+
* META BOXES
|
840 |
*/
|
841 |
|
842 |
+
/* Adds a XML Sitemap box to the side column */
|
843 |
+
public function add_meta_box ()
|
844 |
+
{
|
845 |
+
foreach ( parent::get_post_types() as $post_type ) {
|
|
|
846 |
// Only include metaboxes on post types that are included
|
847 |
if (isset($post_type["active"]))
|
848 |
add_meta_box(
|
850 |
__( 'XML Sitemap', 'xml-sitemap-feed' ),
|
851 |
array($this,'meta_box'),
|
852 |
$post_type['name'],
|
853 |
+
'side',
|
854 |
+
'low'
|
855 |
);
|
856 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
857 |
}
|
858 |
|
859 |
+
public function meta_box($post)
|
860 |
{
|
861 |
// Use nonce for verification
|
862 |
wp_nonce_field( plugin_basename( __FILE__ ), 'xmlsf_sitemap_nonce' );
|
866 |
$exclude = get_post_meta( $post->ID, '_xmlsf_exclude', true );
|
867 |
$priority = get_post_meta( $post->ID, '_xmlsf_priority', true );
|
868 |
$disabled = '';
|
869 |
+
|
870 |
// disable options and (visibly) set excluded to true for private posts
|
871 |
if ( 'private' == $post->post_status ) {
|
872 |
$disabled = ' disabled="disabled"';
|
873 |
$exclude = true;
|
874 |
+
}
|
875 |
+
|
876 |
// disable options and (visibly) set priority to 1 for front page
|
877 |
if ( $post->ID == get_option('page_on_front') ) {
|
878 |
$disabled = ' disabled="disabled"';
|
879 |
$priority = '1'; // force excluded to true for private posts
|
880 |
}
|
|
|
|
|
|
|
|
|
881 |
|
882 |
echo '<p><label>';
|
883 |
_e('Priority','xml-sitemap-feed');
|
884 |
echo ' <input type="number" step="0.1" min="0" max="1" name="xmlsf_priority" id="xmlsf_priority" value="'.$priority.'" class="small-text"'.$disabled.'></label> <span class="description">';
|
885 |
printf(__('Leave empty for automatic Priority as configured on %1$s > %2$s.','xml-sitemap-feed'),translate('Settings'),'<a href="' . admin_url('options-reading.php') . '#xmlsf">' . translate('Reading') . '</a>');
|
886 |
echo '</span></p>';
|
887 |
+
|
888 |
+
echo '<p><label><input type="checkbox" name="xmlsf_exclude" id="xmlsf_exclude" value="1"'.checked(!empty($exclude), true, false).$disabled.' > ';
|
889 |
+
_e('Exclude from XML Sitemap','xml-sitemap-feed');
|
890 |
+
echo '</label></p>';
|
891 |
}
|
892 |
|
893 |
+
/* Adds a News Sitemap box to the side column */
|
894 |
+
public function add_meta_box_news ()
|
895 |
+
{
|
896 |
+
$news_tags = parent::get_option('news_tags');
|
897 |
+
foreach ( (array)$news_tags['post_type'] as $post_type ) {
|
898 |
+
// Only include metabox on post types that are included
|
899 |
+
add_meta_box(
|
900 |
+
'xmlsf_news_section',
|
901 |
+
__( 'Google News', 'xml-sitemap-feed' ),
|
902 |
+
array($this,'meta_box_news'),
|
903 |
+
$post_type,
|
904 |
+
'side'
|
905 |
+
);
|
906 |
+
}
|
907 |
+
}
|
908 |
+
|
909 |
+
public function meta_box_news($post)
|
910 |
{
|
911 |
// Use nonce for verification
|
912 |
wp_nonce_field( plugin_basename( __FILE__ ), 'xmlsf_sitemap_nonce' );
|
916 |
$exclude = get_post_meta( $post->ID, '_xmlsf_news_exclude', true );
|
917 |
$access = get_post_meta( $post->ID, '_xmlsf_news_access', true );
|
918 |
$disabled = '';
|
919 |
+
|
920 |
// disable options and (visibly) set excluded to true for private posts
|
921 |
if ( 'private' == $post->post_status ) {
|
922 |
$disabled = ' disabled="disabled"';
|
923 |
$exclude = true;
|
924 |
+
}
|
925 |
|
926 |
echo '<p><label>'.__('Access','xml-sitemap-feed').'
|
927 |
<select name="xmlsf_news_access" id="xmlsf_news_access">
|
932 |
</select></label></p>';
|
933 |
|
934 |
echo '<p><label><input type="checkbox" name="xmlsf_news_exclude" id="xmlsf_news_exclude" value="1"'.checked(!empty($exclude), true, false).$disabled.' > ';
|
935 |
+
_e('Exclude from Google News Sitemap.','xml-sitemap-feed');
|
936 |
echo '</label></p>';
|
937 |
}
|
938 |
+
|
939 |
/* When the post is saved, save our meta data */
|
940 |
+
function save_metadata( $post_id )
|
941 |
{
|
942 |
if ( !isset($post_id) )
|
943 |
$post_id = (int)$_REQUEST['post_ID'];
|
951 |
} else {
|
952 |
delete_post_meta($post_id, '_xmlsf_priority');
|
953 |
}
|
954 |
+
|
955 |
// _xmlsf_exclude
|
956 |
if ( isset($_POST['xmlsf_exclude']) && $_POST['xmlsf_exclude'] != '' ) {
|
957 |
update_post_meta($post_id, '_xmlsf_exclude', $_POST['xmlsf_exclude']);
|
958 |
} else {
|
959 |
delete_post_meta($post_id, '_xmlsf_exclude');
|
960 |
}
|
961 |
+
|
962 |
// _xmlsf_news_exclude
|
963 |
if ( isset($_POST['xmlsf_news_exclude']) && $_POST['xmlsf_news_exclude'] != '' ) {
|
964 |
update_post_meta($post_id, '_xmlsf_news_exclude', $_POST['xmlsf_news_exclude']);
|
981 |
function __construct() {
|
982 |
$sitemaps = parent::get_sitemaps();
|
983 |
$prefix = parent::prefix();
|
984 |
+
|
985 |
// sitemaps
|
986 |
register_setting('reading', $prefix.'sitemaps', array($this,'sanitize_sitemaps_settings') );
|
987 |
add_settings_field($prefix.'sitemaps', __('Enable XML sitemaps','xml-sitemap-feed'), array($this,'sitemaps_settings_field'), 'reading');
|
993 |
add_settings_field($prefix.'robots', __('Additional robots.txt rules','xml-sitemap-feed'), array($this,'robots_settings_field'), 'reading');
|
994 |
}
|
995 |
|
996 |
+
// ACTION LINK
|
997 |
+
add_filter('plugin_action_links_' . XMLSF_PLUGIN_BASENAME, array($this, 'add_action_link') );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
998 |
|
999 |
+
// stop here if blog is not public
|
1000 |
+
if ( !get_option('blog_public') ) { return; }
|
1001 |
+
|
1002 |
+
if ( is_multisite() && is_plugin_active_for_network(XMLSF_PLUGIN_BASENAME) ) {
|
1003 |
+
add_settings_field($prefix.'reset', __('Reset XML sitemaps','xml-sitemap-feed'), array($this,'reset_settings_field'), 'reading');
|
1004 |
+
}
|
1005 |
+
|
1006 |
+
if ( isset($sitemaps['sitemap-news']) ) {
|
1007 |
+
// XML SITEMAP SETTINGS
|
1008 |
+
add_settings_section('news_sitemap_section', '<a name="xmlnf"></a>'.__('Google News Sitemap','xml-sitemap-feed'), array($this,'news_sitemap_settings'), 'reading');
|
1009 |
+
// tags
|
1010 |
+
register_setting('reading', $prefix.'news_tags', array($this,'sanitize_news_tags_settings') );
|
1011 |
+
add_settings_field($prefix.'news_name', '<label for="xmlsf_news_name">'.__('Publication name','xml-sitemap-feed').'</label>', array($this,'news_name_field'), 'reading', 'news_sitemap_section');
|
1012 |
+
add_settings_field($prefix.'news_post_type', __('Include post types','xml-sitemap-feed'), array($this,'news_post_type_field'), 'reading', 'news_sitemap_section');
|
1013 |
+
add_settings_field($prefix.'news_categories', translate('Categories'), array($this,'news_categories_field'), 'reading', 'news_sitemap_section');
|
1014 |
+
add_settings_field($prefix.'news_image', translate('Images'), array($this,'news_image_field'), 'reading', 'news_sitemap_section');
|
1015 |
+
add_settings_field($prefix.'news_labels', __('Source labels','xml-sitemap-feed'), array($this,'news_labels_field'), 'reading', 'news_sitemap_section');
|
1016 |
+
// post meta box
|
1017 |
+
add_action( 'add_meta_boxes', array($this,'add_meta_box_news') );
|
1018 |
+
}
|
1019 |
|
1020 |
+
if ( isset($sitemaps['sitemap']) ) {
|
1021 |
+
// XML SITEMAP SETTINGS
|
1022 |
+
add_settings_section('xml_sitemap_section', '<a name="xmlsf"></a>'.__('XML Sitemap','xml-sitemap-feed'), array($this,'xml_sitemap_settings'), 'reading');
|
1023 |
+
// post_types
|
1024 |
+
register_setting('reading', $prefix.'post_types', array($this,'sanitize_post_types_settings') );
|
1025 |
+
add_settings_field($prefix.'post_types', __('Include post types','xml-sitemap-feed'), array($this,'post_types_settings_field'), 'reading', 'xml_sitemap_section');
|
1026 |
+
// taxonomies
|
1027 |
+
register_setting('reading', $prefix.'taxonomies', array($this,'sanitize_taxonomies_settings') );
|
1028 |
+
add_settings_field($prefix.'taxonomies', __('Include taxonomies','xml-sitemap-feed'), array($this,'taxonomies_settings_field'), 'reading', 'xml_sitemap_section');
|
1029 |
+
// custom domains
|
1030 |
+
register_setting('reading', $prefix.'domains', array($this,'sanitize_domains_settings') );
|
1031 |
+
add_settings_field($prefix.'domains', __('Allowed domains','xml-sitemap-feed'), array($this,'domains_settings_field'), 'reading', 'xml_sitemap_section');
|
1032 |
+
// custom urls
|
1033 |
+
register_setting('reading', $prefix.'urls', array($this,'sanitize_urls_settings') );
|
1034 |
+
add_settings_field($prefix.'urls', __('Include custom URLs','xml-sitemap-feed'), array($this,'urls_settings_field'), 'reading', 'xml_sitemap_section');
|
1035 |
+
// custom sitemaps
|
1036 |
+
register_setting('reading', $prefix.'custom_sitemaps', array($this,'sanitize_custom_sitemaps_settings') );
|
1037 |
+
add_settings_field($prefix.'custom_sitemaps', __('Include custom XML Sitemaps','xml-sitemap-feed'), array($this,'custom_sitemaps_settings_field'), 'reading', 'xml_sitemap_section');
|
1038 |
+
// post meta box
|
1039 |
+
add_action( 'add_meta_boxes', array($this,'add_meta_box') );
|
1040 |
}
|
1041 |
|
1042 |
+
if ( isset($sitemaps['sitemap']) || isset($sitemaps['sitemap-news']) ) {
|
1043 |
+
register_setting('writing', $prefix.'ping', array($this,'sanitize_ping_settings') );
|
1044 |
+
add_settings_field($prefix.'ping', translate('Update Services'), array($this,'ping_settings_field'), 'writing');
|
1045 |
+
// save post meta box settings
|
1046 |
+
add_action( 'save_post', array($this,'save_metadata') );
|
1047 |
+
}
|
1048 |
}
|
1049 |
|
1050 |
}
|
includes/core.php
CHANGED
@@ -3,8 +3,6 @@
|
|
3 |
* XMLSitemapFeed CLASS
|
4 |
* ------------------------------ */
|
5 |
|
6 |
-
if ( !class_exists('XMLSitemapFeed') ) :
|
7 |
-
|
8 |
class XMLSitemapFeed {
|
9 |
|
10 |
/**
|
@@ -176,7 +174,6 @@ class XMLSitemapFeed {
|
|
176 |
'password' => 'Subscription'
|
177 |
),
|
178 |
'genres' => array(
|
179 |
-
'active' => '1',
|
180 |
'default' => array('Blog')
|
181 |
),
|
182 |
'keywords' => array(
|
@@ -1299,6 +1296,7 @@ class XMLSitemapFeed {
|
|
1299 |
'labels' => array(
|
1300 |
'name' => __('Google News Genres','xml-sitemap-feed'),
|
1301 |
'singular_name' => __('Google News Genre','xml-sitemap-feed'),
|
|
|
1302 |
//'menu_name' => __('GN Genres','xml-sitemap-feed'),
|
1303 |
),
|
1304 |
'public' => false,
|
@@ -1377,5 +1375,3 @@ class XMLSitemapFeed {
|
|
1377 |
|
1378 |
}
|
1379 |
}
|
1380 |
-
|
1381 |
-
endif;
|
3 |
* XMLSitemapFeed CLASS
|
4 |
* ------------------------------ */
|
5 |
|
|
|
|
|
6 |
class XMLSitemapFeed {
|
7 |
|
8 |
/**
|
174 |
'password' => 'Subscription'
|
175 |
),
|
176 |
'genres' => array(
|
|
|
177 |
'default' => array('Blog')
|
178 |
),
|
179 |
'keywords' => array(
|
1296 |
'labels' => array(
|
1297 |
'name' => __('Google News Genres','xml-sitemap-feed'),
|
1298 |
'singular_name' => __('Google News Genre','xml-sitemap-feed'),
|
1299 |
+
'all_items' => translate('All') // __('All Genres','xml-sitemap-feed')
|
1300 |
//'menu_name' => __('GN Genres','xml-sitemap-feed'),
|
1301 |
),
|
1302 |
'public' => false,
|
1375 |
|
1376 |
}
|
1377 |
}
|
|
|
|
includes/feed-sitemap-custom.php
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
|
|
|
|
8 |
status_header('200'); // force header('HTTP/1.1 200 OK') even for sites without posts
|
9 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
10 |
header('X-Robots-Tag: noindex, follow', true);
|
@@ -16,8 +18,8 @@ echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
|
|
16 |
<!-- generator-url="http://status301.net/wordpress-plugins/xml-sitemap-feed/" -->
|
17 |
<!-- generator-version="' . XMLSF_VERSION . '" -->
|
18 |
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
19 |
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
20 |
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
21 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
22 |
';
|
23 |
|
@@ -26,7 +28,7 @@ global $xmlsf;
|
|
26 |
$urls = $xmlsf->get_urls();
|
27 |
|
28 |
// and loop away!
|
29 |
-
foreach ( $urls as $url ) {
|
30 |
if (empty($url[0]))
|
31 |
continue;
|
32 |
|
@@ -36,12 +38,12 @@ foreach ( $urls as $url ) {
|
|
36 |
<loc><?php echo esc_url( $url[0] ); ?></loc>
|
37 |
<priority><?php echo ( isset($url[1]) && is_numeric($url[1]) ) ? $url[1] : '0.5'; ?></priority>
|
38 |
</url>
|
39 |
-
<?php
|
40 |
} else {
|
41 |
?>
|
42 |
-
<!-- URL <?php echo esc_url( $url[0] ); ?> skipped: Not within allowed domains. -->
|
43 |
<?php
|
44 |
}
|
45 |
-
}
|
46 |
?></urlset>
|
47 |
<?php $xmlsf->_e_usage();
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
8 |
+
if ( ! defined( 'WPINC' ) ) die;
|
9 |
+
|
10 |
status_header('200'); // force header('HTTP/1.1 200 OK') even for sites without posts
|
11 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
12 |
header('X-Robots-Tag: noindex, follow', true);
|
18 |
<!-- generator-url="http://status301.net/wordpress-plugins/xml-sitemap-feed/" -->
|
19 |
<!-- generator-version="' . XMLSF_VERSION . '" -->
|
20 |
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
21 |
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
22 |
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
23 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
24 |
';
|
25 |
|
28 |
$urls = $xmlsf->get_urls();
|
29 |
|
30 |
// and loop away!
|
31 |
+
foreach ( $urls as $url ) {
|
32 |
if (empty($url[0]))
|
33 |
continue;
|
34 |
|
38 |
<loc><?php echo esc_url( $url[0] ); ?></loc>
|
39 |
<priority><?php echo ( isset($url[1]) && is_numeric($url[1]) ) ? $url[1] : '0.5'; ?></priority>
|
40 |
</url>
|
41 |
+
<?php
|
42 |
} else {
|
43 |
?>
|
44 |
+
<!-- URL <?php echo esc_url( $url[0] ); ?> skipped: Not within allowed domains. -->
|
45 |
<?php
|
46 |
}
|
47 |
+
}
|
48 |
?></urlset>
|
49 |
<?php $xmlsf->_e_usage();
|
includes/feed-sitemap-home.php
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
|
|
|
|
8 |
status_header('200'); // force header('HTTP/1.1 200 OK') even for sites without posts
|
9 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
10 |
header('X-Robots-Tag: noindex, follow', true);
|
@@ -15,9 +17,9 @@ echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?>
|
|
15 |
<!-- generator="XML & Google News Sitemap Feed plugin for WordPress" -->
|
16 |
<!-- generator-url="http://status301.net/wordpress-plugins/xml-sitemap-feed/" -->
|
17 |
<!-- generator-version="' . XMLSF_VERSION . '" -->
|
18 |
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
19 |
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
20 |
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
21 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
22 |
';
|
23 |
|
@@ -29,14 +31,14 @@ foreach ( $xmlsf->get_home_urls() as $url ) {
|
|
29 |
<url>
|
30 |
<loc><?php echo esc_url( $url ); ?></loc>
|
31 |
<lastmod><?php echo mysql2date('Y-m-d\TH:i:s+00:00', $lastmodified, false); ?></lastmod>
|
32 |
-
<changefreq><?php
|
33 |
-
if ( ($lastactivityage/86400) < 1 ) { // last activity less than 1 day old
|
34 |
echo 'hourly';
|
35 |
-
} else if ( ($lastactivityage/86400) < 7 ) { // last activity less than 1 week old
|
36 |
echo 'daily';
|
37 |
-
} else { // over a week old
|
38 |
echo 'weekly';
|
39 |
-
}
|
40 |
?></changefreq>
|
41 |
<priority>1.0</priority>
|
42 |
</url>
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
8 |
+
if ( ! defined( 'WPINC' ) ) die;
|
9 |
+
|
10 |
status_header('200'); // force header('HTTP/1.1 200 OK') even for sites without posts
|
11 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
12 |
header('X-Robots-Tag: noindex, follow', true);
|
17 |
<!-- generator="XML & Google News Sitemap Feed plugin for WordPress" -->
|
18 |
<!-- generator-url="http://status301.net/wordpress-plugins/xml-sitemap-feed/" -->
|
19 |
<!-- generator-version="' . XMLSF_VERSION . '" -->
|
20 |
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
21 |
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
22 |
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
23 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
24 |
';
|
25 |
|
31 |
<url>
|
32 |
<loc><?php echo esc_url( $url ); ?></loc>
|
33 |
<lastmod><?php echo mysql2date('Y-m-d\TH:i:s+00:00', $lastmodified, false); ?></lastmod>
|
34 |
+
<changefreq><?php
|
35 |
+
if ( ($lastactivityage/86400) < 1 ) { // last activity less than 1 day old
|
36 |
echo 'hourly';
|
37 |
+
} else if ( ($lastactivityage/86400) < 7 ) { // last activity less than 1 week old
|
38 |
echo 'daily';
|
39 |
+
} else { // over a week old
|
40 |
echo 'weekly';
|
41 |
+
}
|
42 |
?></changefreq>
|
43 |
<priority>1.0</priority>
|
44 |
</url>
|
includes/feed-sitemap-news.php
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
|
|
|
|
8 |
global $xmlsf;
|
9 |
$options = $xmlsf->get_option('news_tags');
|
10 |
|
@@ -18,26 +20,26 @@ echo '<?xml version="1.0" encoding="'.get_bloginfo('charset').'"?>
|
|
18 |
<!-- generator="XML & Google News Sitemap Feed plugin for WordPress" -->
|
19 |
<!-- generator-url="http://status301.net/wordpress-plugins/xml-sitemap-feed/" -->
|
20 |
<!-- generator-version="'.XMLSF_VERSION.'" -->
|
21 |
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
22 |
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" ';
|
23 |
|
24 |
echo !empty($options['image']) ? '
|
25 |
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" ' : '';
|
26 |
echo '
|
27 |
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
28 |
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
29 |
-
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
|
30 |
-
http://www.google.com/schemas/sitemap-news/0.9
|
31 |
http://www.google.com/schemas/sitemap-news/0.9/sitemap-news.xsd' ;
|
32 |
echo !empty($options['image']) ? '
|
33 |
-
http://www.google.com/schemas/sitemap-image/1.1
|
34 |
http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd' : '';
|
35 |
echo '">
|
36 |
';
|
37 |
|
38 |
// get site language for default language
|
39 |
// bloginfo_rss('language') returns improper format so
|
40 |
-
// we explode on hyphen and use only first part.
|
41 |
// TODO this workaround breaks (simplified) chinese :(
|
42 |
$language = explode('-', convert_chars(strip_tags(get_bloginfo('language'))));
|
43 |
$language = empty($language) ? 'en' : reset($language);
|
@@ -46,8 +48,8 @@ $language = empty($language) ? 'en' : reset($language);
|
|
46 |
$have_posts = false;
|
47 |
|
48 |
// loop away!
|
49 |
-
if ( have_posts() ) :
|
50 |
-
while ( have_posts() ) :
|
51 |
the_post();
|
52 |
|
53 |
// check if we are not dealing with an external URL :: Thanks to Francois Deschenes :)
|
@@ -62,14 +64,14 @@ if ( have_posts() ) :
|
|
62 |
<loc><?php echo esc_url( get_permalink() ); ?></loc>
|
63 |
<news:news>
|
64 |
<news:publication>
|
65 |
-
<news:name><?php
|
66 |
if(!empty($options['name']))
|
67 |
echo apply_filters( 'the_title_xmlsitemap', $options['name'] );
|
68 |
-
elseif(defined('XMLSF_GOOGLE_NEWS_NAME'))
|
69 |
-
echo apply_filters( 'the_title_xmlsitemap', XMLSF_GOOGLE_NEWS_NAME );
|
70 |
-
else
|
71 |
echo apply_filters( 'the_title_xmlsitemap', get_bloginfo('name') ); ?></news:name>
|
72 |
-
<news:language><?php
|
73 |
if ( taxonomy_exists('language') ) {
|
74 |
$lang = get_the_terms($post->ID,'language');
|
75 |
if ( is_array($lang) ) {
|
@@ -77,10 +79,10 @@ if ( have_posts() ) :
|
|
77 |
echo is_object($lang) ? $lang->slug : $language;
|
78 |
}
|
79 |
} else {
|
80 |
-
echo $language;
|
81 |
} ?></news:language>
|
82 |
</news:publication>
|
83 |
-
<news:publication_date><?php
|
84 |
echo mysql2date('Y-m-d\TH:i:s+00:00', $post->post_date_gmt, false); ?></news:publication_date>
|
85 |
<news:title><?php echo apply_filters( 'the_title_xmlsitemap', get_the_title() ); ?></news:title>
|
86 |
<?php
|
@@ -96,7 +98,7 @@ if ( have_posts() ) :
|
|
96 |
}
|
97 |
}
|
98 |
endif;
|
99 |
-
|
100 |
if (!empty($access) && $access != 'Public' ) {
|
101 |
?>
|
102 |
<news:access><?php echo $access; ?></news:access>
|
@@ -106,19 +108,19 @@ if ( have_posts() ) :
|
|
106 |
// genres tag
|
107 |
$genres = '';
|
108 |
$terms = get_the_terms($post->ID,'gn-genre');
|
109 |
-
if ( is_array($terms) ) {
|
110 |
-
$sep = '';
|
111 |
-
foreach($terms as $obj) {
|
112 |
if (!empty($obj->name)) {
|
113 |
$genres .= $sep . $obj->name;
|
114 |
$sep = ', ';
|
115 |
}
|
116 |
-
}
|
117 |
-
}
|
118 |
-
|
119 |
$genres = trim(apply_filters('the_title_xmlsitemap', $genres));
|
120 |
-
|
121 |
-
if ( empty($genres) && !empty($options['genres']) && !empty($options['genres']['default']) ) {
|
122 |
$genres = implode( ', ', (array)$options['genres']['default'] );
|
123 |
}
|
124 |
|
@@ -135,42 +137,42 @@ if ( have_posts() ) :
|
|
135 |
$terms = get_the_terms( $post->ID, $options['keywords']['from'] );
|
136 |
if ( is_array($terms) ) {
|
137 |
$sep = '';
|
138 |
-
foreach($terms as $obj) {
|
139 |
if (!empty($obj->name)) {
|
140 |
$keywords .= $sep . $obj->name;
|
141 |
$sep = ', ';
|
142 |
}
|
143 |
-
}
|
144 |
}
|
145 |
-
}
|
146 |
-
|
147 |
$keywords = trim(apply_filters('the_title_xmlsitemap', $keywords));
|
148 |
-
|
149 |
if ( empty($keywords) && !empty($options['keywords']['default']) ) {
|
150 |
$keywords = trim(apply_filters('the_title_xmlsitemap', $options['keywords']['default']));
|
151 |
}
|
152 |
-
|
153 |
}
|
154 |
-
|
155 |
if ( !empty($keywords) ) {
|
156 |
?>
|
157 |
<news:keywords><?php echo $keywords; ?></news:keywords>
|
158 |
<?php
|
159 |
-
}
|
160 |
|
161 |
/* xmlsf_news_tags_after action hook */
|
162 |
do_action( 'xmlsf_news_tags_after' );
|
163 |
?>
|
164 |
</news:news>
|
165 |
<?php
|
166 |
-
if ( !empty($options['image']) && $xmlsf->get_images('news') ) :
|
167 |
-
foreach ( $xmlsf->get_images() as $image ) {
|
168 |
if ( empty($image['loc']) )
|
169 |
continue;
|
170 |
?>
|
171 |
<image:image>
|
172 |
<image:loc><?php echo utf8_uri_encode( $image['loc'] ); ?></image:loc>
|
173 |
-
<?php
|
174 |
if ( !empty($image['title']) ) {
|
175 |
?>
|
176 |
<image:title><![CDATA[<?php echo str_replace(']]>', ']]>', $image['title']); ?>]]></image:title>
|
@@ -183,12 +185,12 @@ if ( have_posts() ) :
|
|
183 |
}
|
184 |
?>
|
185 |
</image:image>
|
186 |
-
<?php
|
187 |
}
|
188 |
endif;
|
189 |
?>
|
190 |
</url>
|
191 |
-
<?php
|
192 |
endwhile;
|
193 |
endif;
|
194 |
|
@@ -204,7 +206,7 @@ if ( !$have_posts ) :
|
|
204 |
<priority>1.0</priority>
|
205 |
</url>
|
206 |
<?php
|
207 |
-
endif;
|
208 |
|
209 |
?></urlset>
|
210 |
<?php $xmlsf->_e_usage();
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
8 |
+
if ( ! defined( 'WPINC' ) ) die;
|
9 |
+
|
10 |
global $xmlsf;
|
11 |
$options = $xmlsf->get_option('news_tags');
|
12 |
|
20 |
<!-- generator="XML & Google News Sitemap Feed plugin for WordPress" -->
|
21 |
<!-- generator-url="http://status301.net/wordpress-plugins/xml-sitemap-feed/" -->
|
22 |
<!-- generator-version="'.XMLSF_VERSION.'" -->
|
23 |
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
24 |
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" ';
|
25 |
|
26 |
echo !empty($options['image']) ? '
|
27 |
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" ' : '';
|
28 |
echo '
|
29 |
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
30 |
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
31 |
+
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
|
32 |
+
http://www.google.com/schemas/sitemap-news/0.9
|
33 |
http://www.google.com/schemas/sitemap-news/0.9/sitemap-news.xsd' ;
|
34 |
echo !empty($options['image']) ? '
|
35 |
+
http://www.google.com/schemas/sitemap-image/1.1
|
36 |
http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd' : '';
|
37 |
echo '">
|
38 |
';
|
39 |
|
40 |
// get site language for default language
|
41 |
// bloginfo_rss('language') returns improper format so
|
42 |
+
// we explode on hyphen and use only first part.
|
43 |
// TODO this workaround breaks (simplified) chinese :(
|
44 |
$language = explode('-', convert_chars(strip_tags(get_bloginfo('language'))));
|
45 |
$language = empty($language) ? 'en' : reset($language);
|
48 |
$have_posts = false;
|
49 |
|
50 |
// loop away!
|
51 |
+
if ( have_posts() ) :
|
52 |
+
while ( have_posts() ) :
|
53 |
the_post();
|
54 |
|
55 |
// check if we are not dealing with an external URL :: Thanks to Francois Deschenes :)
|
64 |
<loc><?php echo esc_url( get_permalink() ); ?></loc>
|
65 |
<news:news>
|
66 |
<news:publication>
|
67 |
+
<news:name><?php
|
68 |
if(!empty($options['name']))
|
69 |
echo apply_filters( 'the_title_xmlsitemap', $options['name'] );
|
70 |
+
elseif(defined('XMLSF_GOOGLE_NEWS_NAME'))
|
71 |
+
echo apply_filters( 'the_title_xmlsitemap', XMLSF_GOOGLE_NEWS_NAME );
|
72 |
+
else
|
73 |
echo apply_filters( 'the_title_xmlsitemap', get_bloginfo('name') ); ?></news:name>
|
74 |
+
<news:language><?php
|
75 |
if ( taxonomy_exists('language') ) {
|
76 |
$lang = get_the_terms($post->ID,'language');
|
77 |
if ( is_array($lang) ) {
|
79 |
echo is_object($lang) ? $lang->slug : $language;
|
80 |
}
|
81 |
} else {
|
82 |
+
echo $language;
|
83 |
} ?></news:language>
|
84 |
</news:publication>
|
85 |
+
<news:publication_date><?php
|
86 |
echo mysql2date('Y-m-d\TH:i:s+00:00', $post->post_date_gmt, false); ?></news:publication_date>
|
87 |
<news:title><?php echo apply_filters( 'the_title_xmlsitemap', get_the_title() ); ?></news:title>
|
88 |
<?php
|
98 |
}
|
99 |
}
|
100 |
endif;
|
101 |
+
|
102 |
if (!empty($access) && $access != 'Public' ) {
|
103 |
?>
|
104 |
<news:access><?php echo $access; ?></news:access>
|
108 |
// genres tag
|
109 |
$genres = '';
|
110 |
$terms = get_the_terms($post->ID,'gn-genre');
|
111 |
+
if ( is_array($terms) ) {
|
112 |
+
$sep = '';
|
113 |
+
foreach($terms as $obj) {
|
114 |
if (!empty($obj->name)) {
|
115 |
$genres .= $sep . $obj->name;
|
116 |
$sep = ', ';
|
117 |
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
$genres = trim(apply_filters('the_title_xmlsitemap', $genres));
|
122 |
+
|
123 |
+
if ( empty($genres) && !empty($options['genres']) && !empty($options['genres']['default']) ) {
|
124 |
$genres = implode( ', ', (array)$options['genres']['default'] );
|
125 |
}
|
126 |
|
137 |
$terms = get_the_terms( $post->ID, $options['keywords']['from'] );
|
138 |
if ( is_array($terms) ) {
|
139 |
$sep = '';
|
140 |
+
foreach($terms as $obj) {
|
141 |
if (!empty($obj->name)) {
|
142 |
$keywords .= $sep . $obj->name;
|
143 |
$sep = ', ';
|
144 |
}
|
145 |
+
}
|
146 |
}
|
147 |
+
}
|
148 |
+
|
149 |
$keywords = trim(apply_filters('the_title_xmlsitemap', $keywords));
|
150 |
+
|
151 |
if ( empty($keywords) && !empty($options['keywords']['default']) ) {
|
152 |
$keywords = trim(apply_filters('the_title_xmlsitemap', $options['keywords']['default']));
|
153 |
}
|
154 |
+
|
155 |
}
|
156 |
+
|
157 |
if ( !empty($keywords) ) {
|
158 |
?>
|
159 |
<news:keywords><?php echo $keywords; ?></news:keywords>
|
160 |
<?php
|
161 |
+
}
|
162 |
|
163 |
/* xmlsf_news_tags_after action hook */
|
164 |
do_action( 'xmlsf_news_tags_after' );
|
165 |
?>
|
166 |
</news:news>
|
167 |
<?php
|
168 |
+
if ( !empty($options['image']) && $xmlsf->get_images('news') ) :
|
169 |
+
foreach ( $xmlsf->get_images() as $image ) {
|
170 |
if ( empty($image['loc']) )
|
171 |
continue;
|
172 |
?>
|
173 |
<image:image>
|
174 |
<image:loc><?php echo utf8_uri_encode( $image['loc'] ); ?></image:loc>
|
175 |
+
<?php
|
176 |
if ( !empty($image['title']) ) {
|
177 |
?>
|
178 |
<image:title><![CDATA[<?php echo str_replace(']]>', ']]>', $image['title']); ?>]]></image:title>
|
185 |
}
|
186 |
?>
|
187 |
</image:image>
|
188 |
+
<?php
|
189 |
}
|
190 |
endif;
|
191 |
?>
|
192 |
</url>
|
193 |
+
<?php
|
194 |
endwhile;
|
195 |
endif;
|
196 |
|
206 |
<priority>1.0</priority>
|
207 |
</url>
|
208 |
<?php
|
209 |
+
endif;
|
210 |
|
211 |
?></urlset>
|
212 |
<?php $xmlsf->_e_usage();
|
includes/feed-sitemap-post_type.php
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
|
|
|
|
8 |
status_header('200'); // force header('HTTP/1.1 200 OK') even for sites without posts
|
9 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
10 |
header('X-Robots-Tag: noindex, follow', true);
|
@@ -26,11 +28,11 @@ foreach ( $xmlsf->do_tags($post_type) as $tag => $setting )
|
|
26 |
echo !empty($image) ? '
|
27 |
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" ' : '';
|
28 |
echo '
|
29 |
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
30 |
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
31 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd';
|
32 |
echo !empty($image) ? '
|
33 |
-
http://www.google.com/schemas/sitemap-image/1.1
|
34 |
http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd' : '';
|
35 |
echo '">
|
36 |
';
|
@@ -40,9 +42,9 @@ $excluded = $xmlsf->get_excluded($post_type);
|
|
40 |
|
41 |
// loop away!
|
42 |
if ( have_posts() ) :
|
43 |
-
while ( have_posts() ) :
|
44 |
the_post();
|
45 |
-
|
46 |
// check if page is in the exclusion list (like front page)
|
47 |
// or if we are not dealing with an external URL :: Thanks to Francois Deschenes :)
|
48 |
// or if post meta says "exclude me please"
|
@@ -54,18 +56,18 @@ if ( have_posts() ) :
|
|
54 |
?>
|
55 |
<url>
|
56 |
<loc><?php echo esc_url( get_permalink() ); ?></loc>
|
57 |
-
<?php echo $xmlsf->get_lastmod(); ?>
|
58 |
<changefreq><?php echo $xmlsf->get_changefreq(); ?></changefreq>
|
59 |
<priority><?php echo $xmlsf->get_priority(); ?></priority>
|
60 |
<?php
|
61 |
-
if ( !empty($image) && $xmlsf->get_images() ) :
|
62 |
-
foreach ( $xmlsf->get_images() as $image ) {
|
63 |
if ( empty($image['loc']) )
|
64 |
continue;
|
65 |
?>
|
66 |
<image:image>
|
67 |
<image:loc><?php echo utf8_uri_encode( $image['loc'] ); ?></image:loc>
|
68 |
-
<?php
|
69 |
if ( !empty($image['title']) ) {
|
70 |
?>
|
71 |
<image:title><![CDATA[<?php echo str_replace(']]>', ']]>', $image['title']); ?>]]></image:title>
|
@@ -78,13 +80,13 @@ if ( have_posts() ) :
|
|
78 |
}
|
79 |
?>
|
80 |
</image:image>
|
81 |
-
<?php
|
82 |
}
|
83 |
endif;
|
84 |
?>
|
85 |
</url>
|
86 |
-
<?php
|
87 |
-
endwhile;
|
88 |
-
endif;
|
89 |
?></urlset>
|
90 |
-
<?php $xmlsf->_e_usage();
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
8 |
+
if ( ! defined( 'WPINC' ) ) die;
|
9 |
+
|
10 |
status_header('200'); // force header('HTTP/1.1 200 OK') even for sites without posts
|
11 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
12 |
header('X-Robots-Tag: noindex, follow', true);
|
28 |
echo !empty($image) ? '
|
29 |
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" ' : '';
|
30 |
echo '
|
31 |
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
32 |
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
33 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd';
|
34 |
echo !empty($image) ? '
|
35 |
+
http://www.google.com/schemas/sitemap-image/1.1
|
36 |
http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd' : '';
|
37 |
echo '">
|
38 |
';
|
42 |
|
43 |
// loop away!
|
44 |
if ( have_posts() ) :
|
45 |
+
while ( have_posts() ) :
|
46 |
the_post();
|
47 |
+
|
48 |
// check if page is in the exclusion list (like front page)
|
49 |
// or if we are not dealing with an external URL :: Thanks to Francois Deschenes :)
|
50 |
// or if post meta says "exclude me please"
|
56 |
?>
|
57 |
<url>
|
58 |
<loc><?php echo esc_url( get_permalink() ); ?></loc>
|
59 |
+
<?php echo $xmlsf->get_lastmod(); ?>
|
60 |
<changefreq><?php echo $xmlsf->get_changefreq(); ?></changefreq>
|
61 |
<priority><?php echo $xmlsf->get_priority(); ?></priority>
|
62 |
<?php
|
63 |
+
if ( !empty($image) && $xmlsf->get_images() ) :
|
64 |
+
foreach ( $xmlsf->get_images() as $image ) {
|
65 |
if ( empty($image['loc']) )
|
66 |
continue;
|
67 |
?>
|
68 |
<image:image>
|
69 |
<image:loc><?php echo utf8_uri_encode( $image['loc'] ); ?></image:loc>
|
70 |
+
<?php
|
71 |
if ( !empty($image['title']) ) {
|
72 |
?>
|
73 |
<image:title><![CDATA[<?php echo str_replace(']]>', ']]>', $image['title']); ?>]]></image:title>
|
80 |
}
|
81 |
?>
|
82 |
</image:image>
|
83 |
+
<?php
|
84 |
}
|
85 |
endif;
|
86 |
?>
|
87 |
</url>
|
88 |
+
<?php
|
89 |
+
endwhile;
|
90 |
+
endif;
|
91 |
?></urlset>
|
92 |
+
<?php $xmlsf->_e_usage();
|
includes/feed-sitemap-taxonomy.php
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
|
|
|
|
8 |
status_header('200'); // force header('HTTP/1.1 200 OK') for sites without posts
|
9 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset', 'UTF-8'), true);
|
10 |
header('X-Robots-Tag: noindex, follow', true);
|
@@ -15,9 +17,9 @@ echo '<?xml version="1.0" encoding="'.get_bloginfo('charset', 'UTF-8').'"?>
|
|
15 |
<!-- generator="XML & Google News Sitemap Feed plugin for WordPress" -->
|
16 |
<!-- generator-url="http://status310.net/wordpress-plugins/xml-sitemap-feed/" -->
|
17 |
<!-- generator-version="'.XMLSF_VERSION.'" -->
|
18 |
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
19 |
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
20 |
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
21 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
22 |
';
|
23 |
|
@@ -34,20 +36,20 @@ $terms = get_terms( $taxonomy, array(
|
|
34 |
'pad_counts' => true, // count child term post count too...
|
35 |
'number' => 50000 ) );
|
36 |
|
37 |
-
if ( $terms ) :
|
|
|
|
|
38 |
|
39 |
-
foreach ( $terms as $term ) :
|
40 |
-
|
41 |
?>
|
42 |
<url>
|
43 |
<loc><?php echo get_term_link( $term ); ?></loc>
|
44 |
<priority><?php echo $xmlsf->get_priority('taxonomy',$term); ?></priority>
|
45 |
-
<?php echo $xmlsf->get_lastmod('taxonomy',$term); ?>
|
46 |
<changefreq><?php echo $xmlsf->get_changefreq('taxonomy',$term); ?></changefreq>
|
47 |
</url>
|
48 |
-
<?php
|
49 |
endforeach;
|
50 |
-
endif;
|
51 |
|
52 |
?></urlset>
|
53 |
<?php $xmlsf->_e_usage();
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
8 |
+
if ( ! defined( 'WPINC' ) ) die;
|
9 |
+
|
10 |
status_header('200'); // force header('HTTP/1.1 200 OK') for sites without posts
|
11 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset', 'UTF-8'), true);
|
12 |
header('X-Robots-Tag: noindex, follow', true);
|
17 |
<!-- generator="XML & Google News Sitemap Feed plugin for WordPress" -->
|
18 |
<!-- generator-url="http://status310.net/wordpress-plugins/xml-sitemap-feed/" -->
|
19 |
<!-- generator-version="'.XMLSF_VERSION.'" -->
|
20 |
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
21 |
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
22 |
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
23 |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
24 |
';
|
25 |
|
36 |
'pad_counts' => true, // count child term post count too...
|
37 |
'number' => 50000 ) );
|
38 |
|
39 |
+
if ( $terms ) :
|
40 |
+
|
41 |
+
foreach ( $terms as $term ) :
|
42 |
|
|
|
|
|
43 |
?>
|
44 |
<url>
|
45 |
<loc><?php echo get_term_link( $term ); ?></loc>
|
46 |
<priority><?php echo $xmlsf->get_priority('taxonomy',$term); ?></priority>
|
47 |
+
<?php echo $xmlsf->get_lastmod('taxonomy',$term); ?>
|
48 |
<changefreq><?php echo $xmlsf->get_changefreq('taxonomy',$term); ?></changefreq>
|
49 |
</url>
|
50 |
+
<?php
|
51 |
endforeach;
|
52 |
+
endif;
|
53 |
|
54 |
?></urlset>
|
55 |
<?php $xmlsf->_e_usage();
|
includes/feed-sitemap.php
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
|
|
|
|
8 |
status_header('200'); // force header('HTTP/1.1 200 OK') for sites without posts
|
9 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
10 |
header('X-Robots-Tag: noindex, follow', true);
|
@@ -17,7 +19,7 @@ echo '<?xml version="1.0" encoding="'.get_bloginfo('charset').'"?>
|
|
17 |
<!-- generator-version="'.XMLSF_VERSION.'" -->
|
18 |
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
19 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
20 |
-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
21 |
http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
|
22 |
';
|
23 |
|
@@ -38,7 +40,7 @@ foreach ( $xmlsf->have_post_types() as $post_type ) {
|
|
38 |
<loc><?php echo $url; ?></loc>
|
39 |
<lastmod><?php echo mysql2date('Y-m-d\TH:i:s+00:00', get_lastmodified( 'gmt', $post_type['name'], $m ), false); ?></lastmod>
|
40 |
</sitemap>
|
41 |
-
<?php
|
42 |
}
|
43 |
}
|
44 |
|
@@ -49,7 +51,7 @@ foreach ( $xmlsf->get_taxonomies() as $taxonomy ) {
|
|
49 |
<sitemap>
|
50 |
<loc><?php echo $xmlsf->get_index_url('taxonomy',$taxonomy); ?></loc>
|
51 |
<?php echo $xmlsf->get_lastmod('taxonomy',$taxonomy); ?></sitemap>
|
52 |
-
<?php
|
53 |
}
|
54 |
}
|
55 |
|
@@ -60,7 +62,7 @@ if ( !empty($urls) ) {
|
|
60 |
<sitemap>
|
61 |
<loc><?php echo $xmlsf->get_index_url('custom'); ?></loc>
|
62 |
</sitemap>
|
63 |
-
<?php
|
64 |
}
|
65 |
|
66 |
// custom sitemaps
|
@@ -72,8 +74,8 @@ foreach ($custom_sitemaps as $url) {
|
|
72 |
<sitemap>
|
73 |
<loc><?php echo esc_url($url); ?></loc>
|
74 |
</sitemap>
|
75 |
-
<?php
|
76 |
}
|
77 |
|
78 |
?></sitemapindex>
|
79 |
-
<?php $xmlsf->_e_usage();
|
5 |
* @package XML Sitemap Feed plugin for WordPress
|
6 |
*/
|
7 |
|
8 |
+
if ( ! defined( 'WPINC' ) ) die;
|
9 |
+
|
10 |
status_header('200'); // force header('HTTP/1.1 200 OK') for sites without posts
|
11 |
header('Content-Type: text/xml; charset=' . get_bloginfo('charset'), true);
|
12 |
header('X-Robots-Tag: noindex, follow', true);
|
19 |
<!-- generator-version="'.XMLSF_VERSION.'" -->
|
20 |
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
21 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
22 |
+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
23 |
http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
|
24 |
';
|
25 |
|
40 |
<loc><?php echo $url; ?></loc>
|
41 |
<lastmod><?php echo mysql2date('Y-m-d\TH:i:s+00:00', get_lastmodified( 'gmt', $post_type['name'], $m ), false); ?></lastmod>
|
42 |
</sitemap>
|
43 |
+
<?php
|
44 |
}
|
45 |
}
|
46 |
|
51 |
<sitemap>
|
52 |
<loc><?php echo $xmlsf->get_index_url('taxonomy',$taxonomy); ?></loc>
|
53 |
<?php echo $xmlsf->get_lastmod('taxonomy',$taxonomy); ?></sitemap>
|
54 |
+
<?php
|
55 |
}
|
56 |
}
|
57 |
|
62 |
<sitemap>
|
63 |
<loc><?php echo $xmlsf->get_index_url('custom'); ?></loc>
|
64 |
</sitemap>
|
65 |
+
<?php
|
66 |
}
|
67 |
|
68 |
// custom sitemaps
|
74 |
<sitemap>
|
75 |
<loc><?php echo esc_url($url); ?></loc>
|
76 |
</sitemap>
|
77 |
+
<?php
|
78 |
}
|
79 |
|
80 |
?></sitemapindex>
|
81 |
+
<?php $xmlsf->_e_usage();
|
includes/xsl/sitemap-index.xsl
CHANGED
File without changes
|
includes/xsl/sitemap.xsl
CHANGED
File without changes
|
languages/instructions.txt
CHANGED
File without changes
|
languages/xml-sitemap-feed-es_ES.mo
CHANGED
File without changes
|
languages/xml-sitemap-feed-es_ES.po
CHANGED
File without changes
|
languages/xml-sitemap-feed-id_ID.mo
CHANGED
File without changes
|
languages/xml-sitemap-feed-id_ID.po
CHANGED
File without changes
|
languages/xml-sitemap-feed-it_IT.mo
CHANGED
File without changes
|
languages/xml-sitemap-feed-it_IT.po
CHANGED
File without changes
|
languages/xml-sitemap-feed-nl_NL.mo
CHANGED
Binary file
|
languages/xml-sitemap-feed-nl_NL.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: XML Sitemap and Google News feeds/4.4\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: RavanH <ravanhagen@gmail.com>\n"
|
8 |
"Language-Team: RavanH <ravanhagen@gmail.com>\n"
|
9 |
"Language: nl_NL\n"
|
@@ -12,93 +12,64 @@ msgstr ""
|
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_n\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Generator: Poedit 1.
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
|
18 |
-
#: ../includes/
|
19 |
-
msgid "Google News Genres"
|
20 |
-
msgstr "Google News Genres"
|
21 |
-
|
22 |
-
#: ../includes/core.php:1187
|
23 |
-
msgid "Google News Genre"
|
24 |
-
msgstr "Google News Genre"
|
25 |
-
|
26 |
-
#: ../includes/core.php:1205
|
27 |
-
msgid "Google News Country"
|
28 |
-
msgstr "Google News Land"
|
29 |
-
|
30 |
-
#: ../includes/core.php:1207 ../includes/core.php:1226
|
31 |
-
#: ../includes/core.php:1245
|
32 |
-
msgid ""
|
33 |
-
"Only one allowed. Must be consistent with other Google News location "
|
34 |
-
"entities (if set)."
|
35 |
-
msgstr ""
|
36 |
-
"Slechts één toegestaan. Moet consistent zijn met de andere locatie-"
|
37 |
-
"entiteiten (indien ingevoerd)."
|
38 |
-
|
39 |
-
#: ../includes/core.php:1224
|
40 |
-
msgid "Google News State/Province"
|
41 |
-
msgstr "Google News Staat/Provincie"
|
42 |
-
|
43 |
-
#: ../includes/core.php:1243
|
44 |
-
msgid "Google News City"
|
45 |
-
msgstr "Google News Stad"
|
46 |
-
|
47 |
-
#: ../includes/admin.php:19
|
48 |
msgid "XML Sitemaps"
|
49 |
msgstr "XML Sitemaps"
|
50 |
|
51 |
-
#: ../includes/admin.php:
|
52 |
msgid "XML Sitemap Index"
|
53 |
msgstr "XML Sitemap Index"
|
54 |
|
55 |
-
#: ../includes/admin.php:
|
56 |
msgid "Google News Sitemap"
|
57 |
-
msgstr "Google
|
58 |
|
59 |
-
#: ../includes/admin.php:
|
60 |
msgid "Google"
|
61 |
msgstr "Google"
|
62 |
|
63 |
-
#: ../includes/admin.php:
|
64 |
msgid "Bing & Yahoo"
|
65 |
msgstr "Bing & Yahoo"
|
66 |
|
67 |
-
#: ../includes/admin.php:
|
68 |
msgid "Yandex"
|
69 |
msgstr "Yandex"
|
70 |
|
71 |
-
#: ../includes/admin.php:
|
72 |
msgid "Baidu"
|
73 |
msgstr "Baidu"
|
74 |
|
75 |
-
#: ../includes/admin.php:
|
76 |
msgid "Ping-O-Matic"
|
77 |
msgstr "Ping-O-Matic"
|
78 |
|
79 |
-
#: ../includes/admin.php:
|
80 |
#, php-format
|
81 |
msgid "Successfully sent %1$s on %2$s."
|
82 |
msgstr "Succesvolle verzending van %1$s op %2$s."
|
83 |
|
84 |
-
#: ../includes/admin.php:
|
85 |
-
#: ../includes/admin.php:
|
86 |
msgid "Additional robots.txt rules"
|
87 |
msgstr "Aanvullende robots.txt regels"
|
88 |
|
89 |
-
#: ../includes/admin.php:
|
90 |
#, php-format
|
91 |
msgid "Rules that will be appended to the %s generated by WordPress:"
|
92 |
msgstr "Regels die aan de WordPress-gegenereerde %s zullen worden toegevoegd:"
|
93 |
|
94 |
-
#: ../includes/admin.php:
|
95 |
msgid ""
|
96 |
"These rules will not have effect when you are using a static robots.txt file."
|
97 |
msgstr ""
|
98 |
"Deze regels hebben geen effect als je een statisch robots.txt bestand "
|
99 |
"gebruikt."
|
100 |
|
101 |
-
#: ../includes/admin.php:
|
102 |
msgid ""
|
103 |
"Only add rules here when you know what you are doing, otherwise you might "
|
104 |
"break search engine access to your site."
|
@@ -106,64 +77,64 @@ msgstr ""
|
|
106 |
"Definieer hier alleen regels als je weet wat je doet, anders zou je de "
|
107 |
"toegang tot je site kunnen verstoren."
|
108 |
|
109 |
-
#: ../includes/admin.php:
|
110 |
msgid "Reset XML sitemaps"
|
111 |
msgstr "XML sitemaps resetten"
|
112 |
|
113 |
-
#: ../includes/admin.php:
|
114 |
msgid "Clear all XML Sitemap Feed settings from the database."
|
115 |
msgstr "Wis alle XML Sitemap Feed opties van de database."
|
116 |
|
117 |
-
#: ../includes/admin.php:
|
118 |
msgid ""
|
119 |
"You can use this to start fresh with the default settings or to remove all "
|
120 |
"XML Sitemap and Google News settings and taxonomy terms before uninstalling."
|
121 |
msgstr ""
|
122 |
"Gebruik dit op opnieuw met de default instellingen te beginnen of om alle "
|
123 |
-
"XML Sitemap
|
124 |
"installeren."
|
125 |
|
126 |
-
#: ../includes/admin.php:
|
127 |
-
#: ../includes/admin.php:
|
128 |
#, php-format
|
129 |
msgid "Donate to keep the free %s plugin development & support going!"
|
130 |
msgstr ""
|
131 |
"Doneer om de ontwikkeling en ondersteuning van de %s plugin gaande te houden!"
|
132 |
|
133 |
-
#: ../includes/admin.php:
|
134 |
-
#: ../includes/admin.php:
|
135 |
-
#: ../includes/admin.php:
|
136 |
msgid "XML Sitemap & Google News Feeds"
|
137 |
-
msgstr "XML Sitemap & Google
|
138 |
|
139 |
-
#: ../includes/admin.php:
|
140 |
#, php-format
|
141 |
msgid "These settings control the XML Sitemaps generated by the %s plugin."
|
142 |
msgstr ""
|
143 |
"Deze instellingen beheersen de XML Sitemaps gegenereerd door de %s plugin."
|
144 |
|
145 |
-
#: ../includes/admin.php:
|
146 |
#, php-format
|
147 |
msgid "For ping options, go to %s."
|
148 |
msgstr "Ga naar %s voor Ping instellingen."
|
149 |
|
150 |
-
#: ../includes/admin.php:
|
151 |
msgid "XML Sitemaps for post types"
|
152 |
msgstr "XML Sitemaps voor berichttypen"
|
153 |
|
154 |
-
#: ../includes/admin.php:
|
155 |
msgid "Year"
|
156 |
msgstr "Jaar"
|
157 |
|
158 |
-
#: ../includes/admin.php:
|
159 |
msgid "Month"
|
160 |
msgstr "Maand"
|
161 |
|
162 |
-
#: ../includes/admin.php:
|
163 |
msgid "Split by"
|
164 |
msgstr "Verdeel naar"
|
165 |
|
166 |
-
#: ../includes/admin.php:
|
167 |
msgid ""
|
168 |
"Split by year if you experience errors or slow sitemaps. In very rare cases, "
|
169 |
"split by month is needed."
|
@@ -171,22 +142,22 @@ msgstr ""
|
|
171 |
"Verdeel naar jaar als je errors of trage sitemaps ondervindt. In zeldzame "
|
172 |
"gevallen is een verdeling naar maand nodig."
|
173 |
|
174 |
-
#: ../includes/admin.php:
|
175 |
msgid "Priority"
|
176 |
msgstr "Prioriteit"
|
177 |
|
178 |
-
#: ../includes/admin.php:
|
179 |
msgid "Priority can be overridden on individual posts."
|
180 |
msgstr "De Priority kan per bericht worden aangepast."
|
181 |
|
182 |
-
#: ../includes/admin.php:
|
183 |
msgid ""
|
184 |
"Automatically adjusts Priority according to relative age and comment count."
|
185 |
msgstr ""
|
186 |
"Pas de Priority automatisch aan naar relatieve leeftijd en aantal "
|
187 |
"commentaren."
|
188 |
|
189 |
-
#: ../includes/admin.php:
|
190 |
msgid ""
|
191 |
"Sticky posts will not be subject to reduction by age. Individual posts with "
|
192 |
"fixed Priority will always keep that value."
|
@@ -194,11 +165,11 @@ msgstr ""
|
|
194 |
"Sticky berichten worden niet onderworpen aan een reductie naar leeftijd. "
|
195 |
"Berichten met een vastgezette prioriteit behouden deze."
|
196 |
|
197 |
-
#: ../includes/admin.php:
|
198 |
msgid "Update Lastmod and Changefreq on comments."
|
199 |
msgstr "Pas de Lastmod en Changefreq aan bij commentaren."
|
200 |
|
201 |
-
#: ../includes/admin.php:
|
202 |
msgid ""
|
203 |
"Set this if discussion on your site warrants reindexation upon each new "
|
204 |
"comment."
|
@@ -206,15 +177,15 @@ msgstr ""
|
|
206 |
"Activeer dit als discussies op je site het waard zijn om na ieder commentaar "
|
207 |
"opnieuw geïndexeerd te worden."
|
208 |
|
209 |
-
#: ../includes/admin.php:
|
210 |
msgid "Add image tags for"
|
211 |
msgstr "Voeg afbeeldingstags toe voor"
|
212 |
|
213 |
-
#: ../includes/admin.php:
|
214 |
msgid "Attached images"
|
215 |
msgstr "Bijgevoegde afbeeldingen"
|
216 |
|
217 |
-
#: ../includes/admin.php:
|
218 |
msgid ""
|
219 |
"Priority settings do not affect ranking in search results in any way. They "
|
220 |
"are only meant to suggest search engines which URLs to index first. Once a "
|
@@ -226,7 +197,7 @@ msgstr ""
|
|
226 |
"een URL geïndexeerd is, wordt de prioriteit betekenisloos totdat de Lastmod "
|
227 |
"is veranderd."
|
228 |
|
229 |
-
#: ../includes/admin.php:
|
230 |
msgid ""
|
231 |
"Maximum Priority (1.0) is reserved for the front page, individual posts and, "
|
232 |
"when allowed, posts with high comment count."
|
@@ -234,7 +205,7 @@ msgstr ""
|
|
234 |
"Maximum Priority (1.0) is gereserveerd voor de voorpagina, individuele posts "
|
235 |
"en, indien toegestaan, posts met veel commentaren."
|
236 |
|
237 |
-
#: ../includes/admin.php:
|
238 |
msgid ""
|
239 |
"Priority values are taken as relative values. Setting all to the same (high) "
|
240 |
"value is pointless."
|
@@ -242,11 +213,11 @@ msgstr ""
|
|
242 |
"Priority is een relatieve waarde. Het is zinloos om ze allemaal dezelfde "
|
243 |
"(hoge) waarde te geven."
|
244 |
|
245 |
-
#: ../includes/admin.php:
|
246 |
msgid "XML Sitemaps for taxonomies"
|
247 |
msgstr "XML Sitemaps voor taxonomieën"
|
248 |
|
249 |
-
#: ../includes/admin.php:
|
250 |
msgid ""
|
251 |
"It is generally not recommended to include taxonomy pages, unless their "
|
252 |
"content brings added value."
|
@@ -254,7 +225,7 @@ msgstr ""
|
|
254 |
"Het is over het algemeen niet aangeraden om taxonomie-pagina's bij te "
|
255 |
"sluiten, tenzij ze een toegevoegde waarde hebben."
|
256 |
|
257 |
-
#: ../includes/admin.php:
|
258 |
msgid ""
|
259 |
"For example, when you use category descriptions with information that is not "
|
260 |
"present elsewhere on your site or if taxonomy pages list posts with an "
|
@@ -272,7 +243,7 @@ msgstr ""
|
|
272 |
"dubbele inhoud</a> of verspeiding van PageRank vreest, zelfs kunnen "
|
273 |
"overwegen om indexatie van taxonomieën te verbieden."
|
274 |
|
275 |
-
#: ../includes/admin.php:
|
276 |
#, php-format
|
277 |
msgid ""
|
278 |
"You can do this by adding specific robots.txt rules in the %s field above."
|
@@ -280,19 +251,19 @@ msgstr ""
|
|
280 |
"Je kunt dit doen door specifieke robots.txt-regels in het veld %s hierboven "
|
281 |
"toe te voegen."
|
282 |
|
283 |
-
#: ../includes/admin.php:
|
284 |
msgid "No taxonomies available for the currently included post types."
|
285 |
msgstr "Geen taxonomieën beschikbaar voor de huidige bijgesloten berichttypes."
|
286 |
|
287 |
-
#: ../includes/admin.php:
|
288 |
msgid "Include custom XML Sitemaps"
|
289 |
msgstr "Aangepaste XML Sitemaps toevoegen"
|
290 |
|
291 |
-
#: ../includes/admin.php:
|
292 |
msgid "Additional XML Sitemaps to append to the main XML Sitemap Index:"
|
293 |
msgstr "Extra URL's om in de XML Sitemap Index bij te sluiten:"
|
294 |
|
295 |
-
#: ../includes/admin.php:
|
296 |
msgid ""
|
297 |
"Add the full URL, including protocol (http/https) and domain, of any XML "
|
298 |
"Sitemap that you want to append to the Sitemap Index. Start each URL on a "
|
@@ -302,7 +273,7 @@ msgstr ""
|
|
302 |
"Sitemaps die je wil toevoegen aan de Sitemap Index. Begin iedere URL op een "
|
303 |
"nieuwe regel."
|
304 |
|
305 |
-
#: ../includes/admin.php:
|
306 |
msgid ""
|
307 |
"Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing "
|
308 |
"Webmaster Tools to verify!"
|
@@ -310,15 +281,15 @@ msgstr ""
|
|
310 |
"Alleen valide sitemaps zijn toegestaan in de Sitemap Index. Gebruik je "
|
311 |
"Google/Bing Webmaster Tools om ze te verifiëren!"
|
312 |
|
313 |
-
#: ../includes/admin.php:
|
314 |
msgid "Include custom URLs"
|
315 |
msgstr "Aangepaste URL's bijsluiten"
|
316 |
|
317 |
-
#: ../includes/admin.php:
|
318 |
msgid "Additional URLs to append in an extra XML Sitemap:"
|
319 |
msgstr "Extra URL's om in een extra XML Sitemap bij te sluiten:"
|
320 |
|
321 |
-
#: ../includes/admin.php:
|
322 |
msgid ""
|
323 |
"Add the full URL, including protocol (http/https) and domain, of any "
|
324 |
"(static) page that you want to append to the ones already included by "
|
@@ -330,15 +301,15 @@ msgstr ""
|
|
330 |
"gegenereerd. Geef eventueel een Priority-waarde tussen 0 en 1 met een spatie "
|
331 |
"gescheiden achter de URL. Begin iedere URL op een nieuwe regel."
|
332 |
|
333 |
-
#: ../includes/admin.php:
|
334 |
msgid "Allowed domains"
|
335 |
msgstr "Toegestane domeinen"
|
336 |
|
337 |
-
#: ../includes/admin.php:
|
338 |
msgid "Additional domains to allow in the XML Sitemaps:"
|
339 |
msgstr "Extra domeinen om in de XML Sitemap toe te staan:"
|
340 |
|
341 |
-
#: ../includes/admin.php:
|
342 |
#, php-format
|
343 |
msgid ""
|
344 |
"By default, only the domain %s as used in your WordPress site address is "
|
@@ -359,52 +330,78 @@ msgstr ""
|
|
359 |
"https), ieder op een nieuwe regel. Let op: als je een domein met www "
|
360 |
"gebruikt dan worden URL's zonder www of met andere subdomeinen, gefilterd."
|
361 |
|
362 |
-
#: ../includes/admin.php:
|
363 |
#, php-format
|
364 |
msgid ""
|
365 |
"These settings control the Google News Sitemap generated by the %s plugin."
|
366 |
msgstr ""
|
367 |
"Deze instellingen beheersen de XML Sitemaps gegenereerd door de %s plugin."
|
368 |
|
369 |
-
#: ../includes/admin.php:
|
370 |
msgid ""
|
371 |
"When you are done configuring and preparing your news content and you are "
|
372 |
"convinced your site adheres to the <a href=\"https://support.google.com/news/"
|
373 |
-
"publisher/answer/40787
|
374 |
-
"
|
375 |
-
"
|
376 |
-
"site for inclusion</a>!"
|
377 |
msgstr ""
|
378 |
"Als je klaar bent met configureren en voorbereiden van nieuwsberichten en je "
|
379 |
"overtuigd bent dat je site overeenstemt met de <a href=\"https://support."
|
380 |
-
"google.com/news/publisher/answer/40787
|
381 |
-
"
|
382 |
-
"
|
383 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
|
385 |
-
#: ../includes/admin.php:
|
386 |
msgid "Publication name"
|
387 |
msgstr "Publicatienaam"
|
388 |
|
389 |
-
#: ../includes/admin.php:
|
390 |
#, php-format
|
391 |
msgid "By default, the general %s setting will be used."
|
392 |
msgstr "Standaard wordt de algemene %s instelling gebruikt."
|
393 |
|
394 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
msgid ""
|
396 |
"Error: There where no valid post types found. Without at least one public "
|
397 |
"post type, a Google News Sitemap cannot be created by this plugin. Please "
|
398 |
"deselect the option Google News Sitemap at <a href=\"#xmlsf_sitemaps"
|
399 |
"\">Enable XML sitemaps</a> and choose another method."
|
400 |
msgstr ""
|
|
|
|
|
|
|
|
|
401 |
|
402 |
-
#: ../includes/admin.php:
|
403 |
-
#: ../includes/admin.php:
|
404 |
msgid "Include post types"
|
405 |
msgstr "Berichttypes bijsluiten"
|
406 |
|
407 |
-
#: ../includes/admin.php:
|
408 |
#, php-format
|
409 |
msgid ""
|
410 |
"At least one post type must be selected. By default, the post type %s will "
|
@@ -413,33 +410,36 @@ msgstr ""
|
|
413 |
"Er moet ten minste één post type zijn geselecteerd. Standaard wordt %s "
|
414 |
"gebruikt."
|
415 |
|
416 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
417 |
msgid "Limit to posts in these post categories:"
|
418 |
msgstr "Beperk tot berichten in deze bericht-categorieën:"
|
419 |
|
420 |
-
#: ../includes/admin.php:
|
421 |
msgid ""
|
422 |
"If you wish to limit posts that will feature in your News Sitemap to certain "
|
423 |
-
"categories, select them here.
|
424 |
-
"than one or to deselect. If no categories are selected, posts of all "
|
425 |
"categories will be included in your News Sitemap."
|
426 |
msgstr ""
|
427 |
"Als je berichten in je News Sitemap wil beperken tot bepaalde categorieën, "
|
428 |
-
"selecteer die hier.
|
429 |
-
"
|
430 |
-
"geselecteerd zijn, worden artikelen niet gefilterd in je News Sitemap."
|
431 |
|
432 |
-
#: ../includes/admin.php:
|
433 |
-
msgid ""
|
434 |
-
"Please be aware that limiting by post category will rule out all custom post "
|
435 |
-
"types that do not use post categories, even if you selected them to be "
|
436 |
-
"included (above)."
|
437 |
msgstr ""
|
438 |
-
"
|
439 |
-
"
|
440 |
-
"geselecteerd voor bijsluiting (boven)."
|
441 |
|
442 |
-
#: ../includes/admin.php:
|
443 |
msgid ""
|
444 |
"Note: Google News prefers at most one image per article in the News Sitemap. "
|
445 |
"If multiple valid images are specified, the crawler will have to pick one "
|
@@ -450,166 +450,232 @@ msgstr ""
|
|
450 |
"uitlichten. Afbeeldingen in News Sitemaps dienen van het jpeg of png formaat "
|
451 |
"te zijn."
|
452 |
|
453 |
-
#: ../includes/admin.php:
|
454 |
-
msgid "
|
455 |
-
msgstr "
|
|
|
|
|
|
|
|
|
456 |
|
457 |
-
#: ../includes/admin.php:
|
458 |
#, php-format
|
459 |
msgid ""
|
460 |
-
"
|
461 |
-
"
|
462 |
-
"(%3$s) to your site."
|
463 |
msgstr ""
|
464 |
-
"
|
465 |
-
"
|
466 |
-
"je site."
|
467 |
|
468 |
-
#: ../includes/admin.php:
|
469 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
470 |
msgid "Registration"
|
471 |
msgstr "Registratie"
|
472 |
|
473 |
-
#: ../includes/admin.php:
|
474 |
-
#: ../includes/admin.php:605
|
475 |
msgid "Subscription"
|
476 |
msgstr "Abonnement"
|
477 |
|
478 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
479 |
msgid "Tag normal posts as"
|
480 |
msgstr "Normale artikelen taggen als"
|
481 |
|
482 |
-
#: ../includes/admin.php:
|
483 |
-
|
484 |
-
|
485 |
-
msgstr "%s artikelen taggen als"
|
486 |
|
487 |
-
#: ../includes/admin.php:
|
488 |
-
msgid ""
|
489 |
-
"
|
490 |
-
"Public when your content is not."
|
491 |
-
msgstr ""
|
492 |
-
"Let op: de <access> tag is verplicht wanneer van toepassing. Laat het "
|
493 |
-
"niet op Public als je inhoud "
|
494 |
|
495 |
-
#: ../includes/admin.php:
|
496 |
-
msgid "
|
497 |
-
msgstr "
|
498 |
|
499 |
-
#: ../includes/admin.php:
|
|
|
500 |
msgid ""
|
501 |
-
"The
|
502 |
-
"
|
503 |
-
"
|
504 |
msgstr ""
|
505 |
-
"De
|
506 |
-
"
|
507 |
-
"
|
508 |
|
509 |
-
#: ../includes/admin.php:
|
510 |
-
msgid "You can assign
|
511 |
-
msgstr ""
|
512 |
-
"Je kunt Google News genres toewijzen bij het opstellen van een nieuw artikel."
|
513 |
|
514 |
-
#: ../includes/admin.php:
|
515 |
msgid "Default genre:"
|
516 |
msgstr "Standaard genre:"
|
517 |
|
518 |
-
#: ../includes/admin.php:
|
519 |
-
|
520 |
-
"
|
521 |
-
"
|
522 |
-
msgstr ""
|
523 |
-
"Let op: de <genres> tag is verplicht wanneer van toepassing en "
|
524 |
-
"gelimiteerd tot de bovenstaande lijst."
|
525 |
|
526 |
-
#: ../includes/admin.php:
|
527 |
-
msgid "
|
528 |
-
msgstr "
|
529 |
|
530 |
-
#: ../includes/admin.php:
|
|
|
531 |
msgid ""
|
532 |
-
"The
|
533 |
-
"
|
534 |
msgstr ""
|
535 |
-
"De
|
536 |
-
"
|
537 |
|
538 |
-
#: ../includes/admin.php:
|
539 |
#, php-format
|
540 |
msgid "Use %s for topics."
|
541 |
msgstr "Gebruik %s voor onderwerpen."
|
542 |
|
543 |
-
#: ../includes/admin.php:
|
544 |
msgid "Default topic(s):"
|
545 |
msgstr "Standaard onderwerpen:"
|
546 |
|
547 |
-
#: ../includes/admin.php:
|
548 |
msgid "Separate with a comma."
|
549 |
msgstr "Scheiden met een komma."
|
550 |
|
551 |
-
#: ../includes/admin.php:
|
|
|
552 |
msgid ""
|
553 |
"Keywords may be drawn from, but are not limited to, the list of <a href="
|
554 |
-
"\"
|
555 |
-
"
|
556 |
-
msgstr ""
|
557 |
-
"Keywords mogen gehaald worden uit maar zijn niet gelimiteerd tot de lijst "
|
558 |
-
"van <a href=\"http://www.google.com/support/news_pub/bin/answer.py?"
|
559 |
-
"answer=116037\" target=\"_blank\">bestaande Google News keywords</a>."
|
560 |
-
|
561 |
-
#: ../includes/admin.php:689 ../includes/admin.php:999
|
562 |
-
msgid "Locations (<geo_locations> tag)"
|
563 |
-
msgstr "Locaties (<geo_locations> tag)"
|
564 |
-
|
565 |
-
#: ../includes/admin.php:690
|
566 |
-
msgid ""
|
567 |
-
"The <geo_locations> tag is used identify the geographic location of "
|
568 |
-
"your articles."
|
569 |
-
msgstr ""
|
570 |
-
"De <geo_locations> tag dient bij het bepalen van de geografische "
|
571 |
-
"locatie van je artikelen."
|
572 |
-
|
573 |
-
#: ../includes/admin.php:690
|
574 |
-
msgid "You can assign locations when writing a new post."
|
575 |
-
msgstr "Je kunt de locatie bij het schrijven van een nieuw artikel instellen."
|
576 |
-
|
577 |
-
#: ../includes/admin.php:696
|
578 |
-
msgid "Default location:"
|
579 |
-
msgstr "Standaardlocatie:"
|
580 |
-
|
581 |
-
#: ../includes/admin.php:700
|
582 |
-
msgid ""
|
583 |
-
"You should list location entities from smallest entity to largest. For "
|
584 |
-
"example: <code>Detroit, Michigan, USA</code> or <code>Rhône-Alpes, France</"
|
585 |
-
"code>."
|
586 |
msgstr ""
|
587 |
-
"
|
588 |
-
"
|
589 |
-
"
|
590 |
|
591 |
-
#: ../includes/admin.php:
|
592 |
msgid "XML Sitemap"
|
593 |
msgstr "XML Sitemap"
|
594 |
|
595 |
-
#: ../includes/admin.php:
|
596 |
-
msgid "Exclude from XML Sitemap"
|
597 |
-
msgstr "Uit in de XML Sitemap houden."
|
598 |
-
|
599 |
-
#: ../includes/admin.php:910
|
600 |
#, php-format
|
601 |
msgid "Leave empty for automatic Priority as configured on %1$s > %2$s."
|
602 |
msgstr ""
|
603 |
"Laat leeg voor automatische Priority zoals geconfigureerd op %1$s > %2$s."
|
604 |
|
605 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
606 |
msgid "Enable XML sitemaps"
|
607 |
msgstr "XML sitemaps activeren"
|
608 |
|
609 |
-
#: ../includes/admin.php:
|
610 |
msgid "Include taxonomies"
|
611 |
msgstr "Taxonomieën bijsluiten"
|
612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
#~ msgid "Ping on Publish"
|
614 |
#~ msgstr "Ping bij Publiceren"
|
615 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: XML Sitemap and Google News feeds/4.4\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-04-06 23:43+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-04-06 23:43+0200\n"
|
7 |
"Last-Translator: RavanH <ravanhagen@gmail.com>\n"
|
8 |
"Language-Team: RavanH <ravanhagen@gmail.com>\n"
|
9 |
"Language: nl_NL\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_n\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Generator: Poedit 1.8.7.1\n"
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
|
18 |
+
#: ../includes/admin.php:23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
msgid "XML Sitemaps"
|
20 |
msgstr "XML Sitemaps"
|
21 |
|
22 |
+
#: ../includes/admin.php:24
|
23 |
msgid "XML Sitemap Index"
|
24 |
msgstr "XML Sitemap Index"
|
25 |
|
26 |
+
#: ../includes/admin.php:29 ../includes/admin.php:1008
|
27 |
msgid "Google News Sitemap"
|
28 |
+
msgstr "Google Nieuws Sitemap"
|
29 |
|
30 |
+
#: ../includes/admin.php:73
|
31 |
msgid "Google"
|
32 |
msgstr "Google"
|
33 |
|
34 |
+
#: ../includes/admin.php:76
|
35 |
msgid "Bing & Yahoo"
|
36 |
msgstr "Bing & Yahoo"
|
37 |
|
38 |
+
#: ../includes/admin.php:79
|
39 |
msgid "Yandex"
|
40 |
msgstr "Yandex"
|
41 |
|
42 |
+
#: ../includes/admin.php:82
|
43 |
msgid "Baidu"
|
44 |
msgstr "Baidu"
|
45 |
|
46 |
+
#: ../includes/admin.php:85
|
47 |
msgid "Ping-O-Matic"
|
48 |
msgstr "Ping-O-Matic"
|
49 |
|
50 |
+
#: ../includes/admin.php:140
|
51 |
#, php-format
|
52 |
msgid "Successfully sent %1$s on %2$s."
|
53 |
msgstr "Succesvolle verzending van %1$s op %2$s."
|
54 |
|
55 |
+
#: ../includes/admin.php:201 ../includes/admin.php:391
|
56 |
+
#: ../includes/admin.php:993
|
57 |
msgid "Additional robots.txt rules"
|
58 |
msgstr "Aanvullende robots.txt regels"
|
59 |
|
60 |
+
#: ../includes/admin.php:202
|
61 |
#, php-format
|
62 |
msgid "Rules that will be appended to the %s generated by WordPress:"
|
63 |
msgstr "Regels die aan de WordPress-gegenereerde %s zullen worden toegevoegd:"
|
64 |
|
65 |
+
#: ../includes/admin.php:203
|
66 |
msgid ""
|
67 |
"These rules will not have effect when you are using a static robots.txt file."
|
68 |
msgstr ""
|
69 |
"Deze regels hebben geen effect als je een statisch robots.txt bestand "
|
70 |
"gebruikt."
|
71 |
|
72 |
+
#: ../includes/admin.php:203
|
73 |
msgid ""
|
74 |
"Only add rules here when you know what you are doing, otherwise you might "
|
75 |
"break search engine access to your site."
|
77 |
"Definieer hier alleen regels als je weet wat je doet, anders zou je de "
|
78 |
"toegang tot je site kunnen verstoren."
|
79 |
|
80 |
+
#: ../includes/admin.php:209 ../includes/admin.php:1003
|
81 |
msgid "Reset XML sitemaps"
|
82 |
msgstr "XML sitemaps resetten"
|
83 |
|
84 |
+
#: ../includes/admin.php:211
|
85 |
msgid "Clear all XML Sitemap Feed settings from the database."
|
86 |
msgstr "Wis alle XML Sitemap Feed opties van de database."
|
87 |
|
88 |
+
#: ../includes/admin.php:214
|
89 |
msgid ""
|
90 |
"You can use this to start fresh with the default settings or to remove all "
|
91 |
"XML Sitemap and Google News settings and taxonomy terms before uninstalling."
|
92 |
msgstr ""
|
93 |
"Gebruik dit op opnieuw met de default instellingen te beginnen of om alle "
|
94 |
+
"XML Sitemap en Google Nieuws Sitemap instellingen te verwijderen voor het de-"
|
95 |
"installeren."
|
96 |
|
97 |
+
#: ../includes/admin.php:223 ../includes/admin.php:224
|
98 |
+
#: ../includes/admin.php:461 ../includes/admin.php:462
|
99 |
#, php-format
|
100 |
msgid "Donate to keep the free %s plugin development & support going!"
|
101 |
msgstr ""
|
102 |
"Doneer om de ontwikkeling en ondersteuning van de %s plugin gaande te houden!"
|
103 |
|
104 |
+
#: ../includes/admin.php:223 ../includes/admin.php:224
|
105 |
+
#: ../includes/admin.php:225 ../includes/admin.php:461
|
106 |
+
#: ../includes/admin.php:462 ../includes/admin.php:463
|
107 |
msgid "XML Sitemap & Google News Feeds"
|
108 |
+
msgstr "XML Sitemap & Google Nieuws Feeds"
|
109 |
|
110 |
+
#: ../includes/admin.php:225
|
111 |
#, php-format
|
112 |
msgid "These settings control the XML Sitemaps generated by the %s plugin."
|
113 |
msgstr ""
|
114 |
"Deze instellingen beheersen de XML Sitemaps gegenereerd door de %s plugin."
|
115 |
|
116 |
+
#: ../includes/admin.php:226 ../includes/admin.php:466
|
117 |
#, php-format
|
118 |
msgid "For ping options, go to %s."
|
119 |
msgstr "Ga naar %s voor Ping instellingen."
|
120 |
|
121 |
+
#: ../includes/admin.php:239
|
122 |
msgid "XML Sitemaps for post types"
|
123 |
msgstr "XML Sitemaps voor berichttypen"
|
124 |
|
125 |
+
#: ../includes/admin.php:278
|
126 |
msgid "Year"
|
127 |
msgstr "Jaar"
|
128 |
|
129 |
+
#: ../includes/admin.php:279
|
130 |
msgid "Month"
|
131 |
msgstr "Maand"
|
132 |
|
133 |
+
#: ../includes/admin.php:283
|
134 |
msgid "Split by"
|
135 |
msgstr "Verdeel naar"
|
136 |
|
137 |
+
#: ../includes/admin.php:293
|
138 |
msgid ""
|
139 |
"Split by year if you experience errors or slow sitemaps. In very rare cases, "
|
140 |
"split by month is needed."
|
142 |
"Verdeel naar jaar als je errors of trage sitemaps ondervindt. In zeldzame "
|
143 |
"gevallen is een verdeling naar maand nodig."
|
144 |
|
145 |
+
#: ../includes/admin.php:298 ../includes/admin.php:883
|
146 |
msgid "Priority"
|
147 |
msgstr "Prioriteit"
|
148 |
|
149 |
+
#: ../includes/admin.php:300
|
150 |
msgid "Priority can be overridden on individual posts."
|
151 |
msgstr "De Priority kan per bericht worden aangepast."
|
152 |
|
153 |
+
#: ../includes/admin.php:305
|
154 |
msgid ""
|
155 |
"Automatically adjusts Priority according to relative age and comment count."
|
156 |
msgstr ""
|
157 |
"Pas de Priority automatisch aan naar relatieve leeftijd en aantal "
|
158 |
"commentaren."
|
159 |
|
160 |
+
#: ../includes/admin.php:305
|
161 |
msgid ""
|
162 |
"Sticky posts will not be subject to reduction by age. Individual posts with "
|
163 |
"fixed Priority will always keep that value."
|
165 |
"Sticky berichten worden niet onderworpen aan een reductie naar leeftijd. "
|
166 |
"Berichten met een vastgezette prioriteit behouden deze."
|
167 |
|
168 |
+
#: ../includes/admin.php:310
|
169 |
msgid "Update Lastmod and Changefreq on comments."
|
170 |
msgstr "Pas de Lastmod en Changefreq aan bij commentaren."
|
171 |
|
172 |
+
#: ../includes/admin.php:310
|
173 |
msgid ""
|
174 |
"Set this if discussion on your site warrants reindexation upon each new "
|
175 |
"comment."
|
177 |
"Activeer dit als discussies op je site het waard zijn om na ieder commentaar "
|
178 |
"opnieuw geïndexeerd te worden."
|
179 |
|
180 |
+
#: ../includes/admin.php:314 ../includes/admin.php:581
|
181 |
msgid "Add image tags for"
|
182 |
msgstr "Voeg afbeeldingstags toe voor"
|
183 |
|
184 |
+
#: ../includes/admin.php:322 ../includes/admin.php:588
|
185 |
msgid "Attached images"
|
186 |
msgstr "Bijgevoegde afbeeldingen"
|
187 |
|
188 |
+
#: ../includes/admin.php:332
|
189 |
msgid ""
|
190 |
"Priority settings do not affect ranking in search results in any way. They "
|
191 |
"are only meant to suggest search engines which URLs to index first. Once a "
|
197 |
"een URL geïndexeerd is, wordt de prioriteit betekenisloos totdat de Lastmod "
|
198 |
"is veranderd."
|
199 |
|
200 |
+
#: ../includes/admin.php:333
|
201 |
msgid ""
|
202 |
"Maximum Priority (1.0) is reserved for the front page, individual posts and, "
|
203 |
"when allowed, posts with high comment count."
|
205 |
"Maximum Priority (1.0) is gereserveerd voor de voorpagina, individuele posts "
|
206 |
"en, indien toegestaan, posts met veel commentaren."
|
207 |
|
208 |
+
#: ../includes/admin.php:333
|
209 |
msgid ""
|
210 |
"Priority values are taken as relative values. Setting all to the same (high) "
|
211 |
"value is pointless."
|
213 |
"Priority is een relatieve waarde. Het is zinloos om ze allemaal dezelfde "
|
214 |
"(hoge) waarde te geven."
|
215 |
|
216 |
+
#: ../includes/admin.php:383
|
217 |
msgid "XML Sitemaps for taxonomies"
|
218 |
msgstr "XML Sitemaps voor taxonomieën"
|
219 |
|
220 |
+
#: ../includes/admin.php:389
|
221 |
msgid ""
|
222 |
"It is generally not recommended to include taxonomy pages, unless their "
|
223 |
"content brings added value."
|
225 |
"Het is over het algemeen niet aangeraden om taxonomie-pagina's bij te "
|
226 |
"sluiten, tenzij ze een toegevoegde waarde hebben."
|
227 |
|
228 |
+
#: ../includes/admin.php:390
|
229 |
msgid ""
|
230 |
"For example, when you use category descriptions with information that is not "
|
231 |
"present elsewhere on your site or if taxonomy pages list posts with an "
|
243 |
"dubbele inhoud</a> of verspeiding van PageRank vreest, zelfs kunnen "
|
244 |
"overwegen om indexatie van taxonomieën te verbieden."
|
245 |
|
246 |
+
#: ../includes/admin.php:391
|
247 |
#, php-format
|
248 |
msgid ""
|
249 |
"You can do this by adding specific robots.txt rules in the %s field above."
|
251 |
"Je kunt dit doen door specifieke robots.txt-regels in het veld %s hierboven "
|
252 |
"toe te voegen."
|
253 |
|
254 |
+
#: ../includes/admin.php:406
|
255 |
msgid "No taxonomies available for the currently included post types."
|
256 |
msgstr "Geen taxonomieën beschikbaar voor de huidige bijgesloten berichttypes."
|
257 |
|
258 |
+
#: ../includes/admin.php:414 ../includes/admin.php:1037
|
259 |
msgid "Include custom XML Sitemaps"
|
260 |
msgstr "Aangepaste XML Sitemaps toevoegen"
|
261 |
|
262 |
+
#: ../includes/admin.php:415
|
263 |
msgid "Additional XML Sitemaps to append to the main XML Sitemap Index:"
|
264 |
msgstr "Extra URL's om in de XML Sitemap Index bij te sluiten:"
|
265 |
|
266 |
+
#: ../includes/admin.php:417
|
267 |
msgid ""
|
268 |
"Add the full URL, including protocol (http/https) and domain, of any XML "
|
269 |
"Sitemap that you want to append to the Sitemap Index. Start each URL on a "
|
273 |
"Sitemaps die je wil toevoegen aan de Sitemap Index. Begin iedere URL op een "
|
274 |
"nieuwe regel."
|
275 |
|
276 |
+
#: ../includes/admin.php:417
|
277 |
msgid ""
|
278 |
"Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing "
|
279 |
"Webmaster Tools to verify!"
|
281 |
"Alleen valide sitemaps zijn toegestaan in de Sitemap Index. Gebruik je "
|
282 |
"Google/Bing Webmaster Tools om ze te verifiëren!"
|
283 |
|
284 |
+
#: ../includes/admin.php:434 ../includes/admin.php:1034
|
285 |
msgid "Include custom URLs"
|
286 |
msgstr "Aangepaste URL's bijsluiten"
|
287 |
|
288 |
+
#: ../includes/admin.php:435
|
289 |
msgid "Additional URLs to append in an extra XML Sitemap:"
|
290 |
msgstr "Extra URL's om in een extra XML Sitemap bij te sluiten:"
|
291 |
|
292 |
+
#: ../includes/admin.php:437
|
293 |
msgid ""
|
294 |
"Add the full URL, including protocol (http/https) and domain, of any "
|
295 |
"(static) page that you want to append to the ones already included by "
|
301 |
"gegenereerd. Geef eventueel een Priority-waarde tussen 0 en 1 met een spatie "
|
302 |
"gescheiden achter de URL. Begin iedere URL op een nieuwe regel."
|
303 |
|
304 |
+
#: ../includes/admin.php:447 ../includes/admin.php:1031
|
305 |
msgid "Allowed domains"
|
306 |
msgstr "Toegestane domeinen"
|
307 |
|
308 |
+
#: ../includes/admin.php:448
|
309 |
msgid "Additional domains to allow in the XML Sitemaps:"
|
310 |
msgstr "Extra domeinen om in de XML Sitemap toe te staan:"
|
311 |
|
312 |
+
#: ../includes/admin.php:449
|
313 |
#, php-format
|
314 |
msgid ""
|
315 |
"By default, only the domain %s as used in your WordPress site address is "
|
330 |
"https), ieder op een nieuwe regel. Let op: als je een domein met www "
|
331 |
"gebruikt dan worden URL's zonder www of met andere subdomeinen, gefilterd."
|
332 |
|
333 |
+
#: ../includes/admin.php:463
|
334 |
#, php-format
|
335 |
msgid ""
|
336 |
"These settings control the Google News Sitemap generated by the %s plugin."
|
337 |
msgstr ""
|
338 |
"Deze instellingen beheersen de XML Sitemaps gegenereerd door de %s plugin."
|
339 |
|
340 |
+
#: ../includes/admin.php:464
|
341 |
msgid ""
|
342 |
"When you are done configuring and preparing your news content and you are "
|
343 |
"convinced your site adheres to the <a href=\"https://support.google.com/news/"
|
344 |
+
"publisher/answer/40787\" target=\"_blank\">Google News guidelines</a>, go "
|
345 |
+
"ahead and <a href=\"https://partnerdash.google.com/partnerdash/d/news\" "
|
346 |
+
"target=\"_blank\">submit your site for inclusion</a>!"
|
|
|
347 |
msgstr ""
|
348 |
"Als je klaar bent met configureren en voorbereiden van nieuwsberichten en je "
|
349 |
"overtuigd bent dat je site overeenstemt met de <a href=\"https://support."
|
350 |
+
"google.com/news/publisher/answer/40787\" target=\"_blank\">Google Nieuws "
|
351 |
+
"richtlijnen</a>, dan kun je <a href=\"https://partnerdash.google.com/"
|
352 |
+
"partnerdash/d/news\" target=\"_blank\">je site voor insluiting indienen</a>!"
|
353 |
+
|
354 |
+
#: ../includes/admin.php:465
|
355 |
+
msgid ""
|
356 |
+
"It is strongly recommended to submit your news sitemap to your Google "
|
357 |
+
"Webmasters Tools account to monitor for warnings or errors. Read more on how "
|
358 |
+
"to <a href=\"https://support.google.com/webmasters/answer/183669\" target="
|
359 |
+
"\"_blank\">Manage sitemaps with the Sitemaps page</a>."
|
360 |
+
msgstr ""
|
361 |
+
"Het is sterk aangeraden om je nieuws sitemap in je Google Webmaster Tools "
|
362 |
+
"account toe te voegen om eventuele fouten op te sporen. Leer meer op <a href="
|
363 |
+
"\"https://support.google.com/webmasters/answer/183669\" target=\"_blank"
|
364 |
+
"\">Sitemaps beheren met het rapport Sitemaps</a>."
|
365 |
|
366 |
+
#: ../includes/admin.php:476 ../includes/admin.php:1011
|
367 |
msgid "Publication name"
|
368 |
msgstr "Publicatienaam"
|
369 |
|
370 |
+
#: ../includes/admin.php:477
|
371 |
#, php-format
|
372 |
msgid "By default, the general %s setting will be used."
|
373 |
msgstr "Standaard wordt de algemene %s instelling gebruikt."
|
374 |
|
375 |
+
#: ../includes/admin.php:478
|
376 |
+
msgid ""
|
377 |
+
"The publication name should match the name submitted on the Google News "
|
378 |
+
"Publisher Center. If you wish to change it, please read <a href=\"https://"
|
379 |
+
"support.google.com/news/publisher/answer/40402\" target=\"_blank\">Updated "
|
380 |
+
"publication name</a>."
|
381 |
+
msgstr ""
|
382 |
+
"De publicatienaam dient overeen te komen met de naam die is ingediend bij "
|
383 |
+
"het Uitgeverscentrum van Google Nieuws. Als je deze wil veranderen, lees dan "
|
384 |
+
"<a href=\"https://support.google.com/news/publisher/answer/40402\" target="
|
385 |
+
"\"_blank\">Bijgewerkte publicatienaam</a>."
|
386 |
+
|
387 |
+
#: ../includes/admin.php:495
|
388 |
msgid ""
|
389 |
"Error: There where no valid post types found. Without at least one public "
|
390 |
"post type, a Google News Sitemap cannot be created by this plugin. Please "
|
391 |
"deselect the option Google News Sitemap at <a href=\"#xmlsf_sitemaps"
|
392 |
"\">Enable XML sitemaps</a> and choose another method."
|
393 |
msgstr ""
|
394 |
+
"Fout: Er zijn geen geldige posttypes gevonden. Zonder tenminste één posttype "
|
395 |
+
"kan deze plugin geen Google Nieuws Sitemap creëren. Schakel de optie Google "
|
396 |
+
"Nieuws Sitemap uit bij <a href=\"#xmlsf_sitemaps\">XML sitemaps inschakelen</"
|
397 |
+
"a> en kies een andere methode."
|
398 |
|
399 |
+
#: ../includes/admin.php:498 ../includes/admin.php:1012
|
400 |
+
#: ../includes/admin.php:1025
|
401 |
msgid "Include post types"
|
402 |
msgstr "Berichttypes bijsluiten"
|
403 |
|
404 |
+
#: ../includes/admin.php:524
|
405 |
#, php-format
|
406 |
msgid ""
|
407 |
"At least one post type must be selected. By default, the post type %s will "
|
410 |
"Er moet ten minste één post type zijn geselecteerd. Standaard wordt %s "
|
411 |
"gebruikt."
|
412 |
|
413 |
+
#: ../includes/admin.php:535
|
414 |
+
#, php-format
|
415 |
+
msgid ""
|
416 |
+
"Selection based on categories will be available when <strong>only</strong> "
|
417 |
+
"the post type %s is included above."
|
418 |
+
msgstr ""
|
419 |
+
"Selectie op basis van categorieën komt beschikbaar als <strong>alleen</"
|
420 |
+
"strong> de posttype %s hierboven is geselecteerd."
|
421 |
+
|
422 |
+
#: ../includes/admin.php:553
|
423 |
msgid "Limit to posts in these post categories:"
|
424 |
msgstr "Beperk tot berichten in deze bericht-categorieën:"
|
425 |
|
426 |
+
#: ../includes/admin.php:569
|
427 |
msgid ""
|
428 |
"If you wish to limit posts that will feature in your News Sitemap to certain "
|
429 |
+
"categories, select them here. If no categories are selected, posts of all "
|
|
|
430 |
"categories will be included in your News Sitemap."
|
431 |
msgstr ""
|
432 |
"Als je berichten in je News Sitemap wil beperken tot bepaalde categorieën, "
|
433 |
+
"selecteer die hier. Als er geen categorieën geselecteerd zijn, worden "
|
434 |
+
"artikelen uit alle categorieën in de News Sitemap bijgesloten."
|
|
|
435 |
|
436 |
+
#: ../includes/admin.php:569 ../includes/admin.php:649
|
437 |
+
msgid "Use the Ctrl/Cmd key plus click to select more than one or to deselect."
|
|
|
|
|
|
|
438 |
msgstr ""
|
439 |
+
"Gebruik de Ctrl/Cmd toets plus click om meerdere te selecteren of te "
|
440 |
+
"verwijderen."
|
|
|
441 |
|
442 |
+
#: ../includes/admin.php:591
|
443 |
msgid ""
|
444 |
"Note: Google News prefers at most one image per article in the News Sitemap. "
|
445 |
"If multiple valid images are specified, the crawler will have to pick one "
|
450 |
"uitlichten. Afbeeldingen in News Sitemaps dienen van het jpeg of png formaat "
|
451 |
"te zijn."
|
452 |
|
453 |
+
#: ../includes/admin.php:591 ../includes/admin.php:598
|
454 |
+
msgid "More information…"
|
455 |
+
msgstr "Meer informatie…"
|
456 |
+
|
457 |
+
#: ../includes/admin.php:597 ../includes/admin.php:1015
|
458 |
+
msgid "Source labels"
|
459 |
+
msgstr "Bronlabels"
|
460 |
|
461 |
+
#: ../includes/admin.php:598
|
462 |
#, php-format
|
463 |
msgid ""
|
464 |
+
"You can use the %1$s and %2$s tags to provide Google more information about "
|
465 |
+
"the content of your articles."
|
|
|
466 |
msgstr ""
|
467 |
+
"Gebruik de %1$s en %2$s labels om meer informatie over de inhoud van je "
|
468 |
+
"artikelen aan Google te verstrekken."
|
|
|
469 |
|
470 |
+
#: ../includes/admin.php:610
|
471 |
+
#, php-format
|
472 |
+
msgid ""
|
473 |
+
"The %4$s tag specifies whether an article is available to all readers "
|
474 |
+
"(%1$s), or only to those with a free (%2$s) or paid membership (%3$s) to "
|
475 |
+
"your site."
|
476 |
+
msgstr ""
|
477 |
+
"De %4$s tag geeft aan of een artikel toegankelijk is voor iedereen (%1$s), "
|
478 |
+
"of alleen via een gratis (%2$s) of betaalde inschrijving (%3$s) op je site."
|
479 |
+
|
480 |
+
#: ../includes/admin.php:610 ../includes/admin.php:930
|
481 |
msgid "Registration"
|
482 |
msgstr "Registratie"
|
483 |
|
484 |
+
#: ../includes/admin.php:610 ../includes/admin.php:931
|
|
|
485 |
msgid "Subscription"
|
486 |
msgstr "Abonnement"
|
487 |
|
488 |
+
#: ../includes/admin.php:611
|
489 |
+
msgid "You can assign a different access level when writing a post."
|
490 |
+
msgstr ""
|
491 |
+
"Je kunt een ander toegangsniveau instellen bij het schrijven van een artikel."
|
492 |
+
|
493 |
+
#: ../includes/admin.php:615
|
494 |
msgid "Tag normal posts as"
|
495 |
msgstr "Normale artikelen taggen als"
|
496 |
|
497 |
+
#: ../includes/admin.php:617 ../includes/admin.php:622
|
498 |
+
msgid "Free registration"
|
499 |
+
msgstr "Gratis registratie"
|
|
|
500 |
|
501 |
+
#: ../includes/admin.php:618 ../includes/admin.php:623
|
502 |
+
msgid "Paid subscription"
|
503 |
+
msgstr "Betaald abonnement"
|
|
|
|
|
|
|
|
|
504 |
|
505 |
+
#: ../includes/admin.php:621
|
506 |
+
msgid "Tag Password Protected posts as"
|
507 |
+
msgstr "Wachtwoord beschermde artikelen markeren als"
|
508 |
|
509 |
+
#: ../includes/admin.php:636
|
510 |
+
#, php-format
|
511 |
msgid ""
|
512 |
+
"The %s tag specifies one or more properties for an article, namely, whether "
|
513 |
+
"it is a press release, a blog post, an opinion, an op-ed piece, user-"
|
514 |
+
"generated content, or satire."
|
515 |
msgstr ""
|
516 |
+
"De %s tag geeft één of meer kenmerken aan een artikel, met name of het een "
|
517 |
+
"persbericht, een blog artikel, een mening, een zogenaamd op-ed stuk, "
|
518 |
+
"gebruiker-gegenereerde inhoud, of satire is."
|
519 |
|
520 |
+
#: ../includes/admin.php:636
|
521 |
+
msgid "You can assign different genres when writing a post."
|
522 |
+
msgstr "Je kunt andere genres toewijzen bij het opstellen van een artikel."
|
|
|
523 |
|
524 |
+
#: ../includes/admin.php:640
|
525 |
msgid "Default genre:"
|
526 |
msgstr "Standaard genre:"
|
527 |
|
528 |
+
#: ../includes/admin.php:649
|
529 |
+
#, php-format
|
530 |
+
msgid "Read more about source labels on %s"
|
531 |
+
msgstr "Lees meer over bronlabels op %s"
|
|
|
|
|
|
|
532 |
|
533 |
+
#: ../includes/admin.php:649
|
534 |
+
msgid "What does each source label mean?"
|
535 |
+
msgstr "Wat betekent elke bronlabel?"
|
536 |
|
537 |
+
#: ../includes/admin.php:658
|
538 |
+
#, php-format
|
539 |
msgid ""
|
540 |
+
"The %s tag is used to help classify the articles you submit to Google News "
|
541 |
+
"by <strong>topic</strong>."
|
542 |
msgstr ""
|
543 |
+
"De %s tag wordt gebruikt om artikelen ingediend bij Google Nieuws, te "
|
544 |
+
"classificeren naar <strong>onderwerp</strong>."
|
545 |
|
546 |
+
#: ../includes/admin.php:660
|
547 |
#, php-format
|
548 |
msgid "Use %s for topics."
|
549 |
msgstr "Gebruik %s voor onderwerpen."
|
550 |
|
551 |
+
#: ../includes/admin.php:667
|
552 |
msgid "Default topic(s):"
|
553 |
msgstr "Standaard onderwerpen:"
|
554 |
|
555 |
+
#: ../includes/admin.php:669
|
556 |
msgid "Separate with a comma."
|
557 |
msgstr "Scheiden met een komma."
|
558 |
|
559 |
+
#: ../includes/admin.php:673
|
560 |
+
#, fuzzy
|
561 |
msgid ""
|
562 |
"Keywords may be drawn from, but are not limited to, the list of <a href="
|
563 |
+
"\"https://support.google.com/news/publisher/answer/116037\" target=\"_blank"
|
564 |
+
"\">existing Google News keywords</a>."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
565 |
msgstr ""
|
566 |
+
"Zoekwoorden mogen gehaald worden uit maar zijn niet gelimiteerd tot de lijst "
|
567 |
+
"van <a href=\"https://support.google.com/news/publisher/answer/116037\" "
|
568 |
+
"target=\"_blank\">bestaande Google Nieuws zoekwoorden</a>."
|
569 |
|
570 |
+
#: ../includes/admin.php:850 ../includes/admin.php:1022
|
571 |
msgid "XML Sitemap"
|
572 |
msgstr "XML Sitemap"
|
573 |
|
574 |
+
#: ../includes/admin.php:885
|
|
|
|
|
|
|
|
|
575 |
#, php-format
|
576 |
msgid "Leave empty for automatic Priority as configured on %1$s > %2$s."
|
577 |
msgstr ""
|
578 |
"Laat leeg voor automatische Priority zoals geconfigureerd op %1$s > %2$s."
|
579 |
|
580 |
+
#: ../includes/admin.php:889
|
581 |
+
msgid "Exclude from XML Sitemap"
|
582 |
+
msgstr "Uit in de XML Sitemap houden."
|
583 |
+
|
584 |
+
#: ../includes/admin.php:901
|
585 |
+
msgid "Google News"
|
586 |
+
msgstr "Google Nieuws"
|
587 |
+
|
588 |
+
#: ../includes/admin.php:926
|
589 |
+
msgid "Access"
|
590 |
+
msgstr "Toegang"
|
591 |
+
|
592 |
+
#: ../includes/admin.php:935
|
593 |
+
msgid "Exclude from Google News Sitemap."
|
594 |
+
msgstr "Uit in de Google Nieuws Sitemap houden."
|
595 |
+
|
596 |
+
#: ../includes/admin.php:987
|
597 |
msgid "Enable XML sitemaps"
|
598 |
msgstr "XML sitemaps activeren"
|
599 |
|
600 |
+
#: ../includes/admin.php:1028
|
601 |
msgid "Include taxonomies"
|
602 |
msgstr "Taxonomieën bijsluiten"
|
603 |
|
604 |
+
#: ../includes/core.php:1297
|
605 |
+
msgid "Google News Genres"
|
606 |
+
msgstr "Google Nieuws Genres"
|
607 |
+
|
608 |
+
#: ../includes/core.php:1298
|
609 |
+
msgid "Google News Genre"
|
610 |
+
msgstr "Google Nieuws Genre"
|
611 |
+
|
612 |
+
#~ msgid "Google News Country"
|
613 |
+
#~ msgstr "Google News Land"
|
614 |
+
|
615 |
+
#~ msgid ""
|
616 |
+
#~ "Only one allowed. Must be consistent with other Google News location "
|
617 |
+
#~ "entities (if set)."
|
618 |
+
#~ msgstr ""
|
619 |
+
#~ "Slechts één toegestaan. Moet consistent zijn met de andere locatie-"
|
620 |
+
#~ "entiteiten (indien ingevoerd)."
|
621 |
+
|
622 |
+
#~ msgid "Google News State/Province"
|
623 |
+
#~ msgstr "Google News Staat/Provincie"
|
624 |
+
|
625 |
+
#~ msgid ""
|
626 |
+
#~ "Please be aware that limiting by post category will rule out all custom "
|
627 |
+
#~ "post types that do not use post categories, even if you selected them to "
|
628 |
+
#~ "be included (above)."
|
629 |
+
#~ msgstr ""
|
630 |
+
#~ "Let op dat beperken tot bepaalde categorieën alle artikelen van "
|
631 |
+
#~ "berichttypen die geen bericht-categorieën gebruiken, uitsluit zelfs als "
|
632 |
+
#~ "je deze hebt geselecteerd voor bijsluiting (boven)."
|
633 |
+
|
634 |
+
#~ msgid "Access (<access> tag)"
|
635 |
+
#~ msgstr "Toegang (<access> tag)"
|
636 |
+
|
637 |
+
#~ msgid ""
|
638 |
+
#~ "Note: The <access> tag is required when applicable. Do not leave it "
|
639 |
+
#~ "to Public when your content is not."
|
640 |
+
#~ msgstr ""
|
641 |
+
#~ "Let op: de <access> tag is verplicht wanneer van toepassing. Laat "
|
642 |
+
#~ "het niet op Public als je inhoud "
|
643 |
+
|
644 |
+
#~ msgid "Genres (<genres> tag)"
|
645 |
+
#~ msgstr "Genres (<genres> tag)"
|
646 |
+
|
647 |
+
#~ msgid ""
|
648 |
+
#~ "Note: The <genres> tag is required when applicable and restricted "
|
649 |
+
#~ "to the list provided above."
|
650 |
+
#~ msgstr ""
|
651 |
+
#~ "Let op: de <genres> tag is verplicht wanneer van toepassing en "
|
652 |
+
#~ "gelimiteerd tot de bovenstaande lijst."
|
653 |
+
|
654 |
+
#~ msgid "Topics (<keywords> tag)"
|
655 |
+
#~ msgstr "Onderwerpen (<keywords> tag)"
|
656 |
+
|
657 |
+
#~ msgid "Locations (<geo_locations> tag)"
|
658 |
+
#~ msgstr "Locaties (<geo_locations> tag)"
|
659 |
+
|
660 |
+
#~ msgid ""
|
661 |
+
#~ "The <geo_locations> tag is used identify the geographic location of "
|
662 |
+
#~ "your articles."
|
663 |
+
#~ msgstr ""
|
664 |
+
#~ "De <geo_locations> tag dient bij het bepalen van de geografische "
|
665 |
+
#~ "locatie van je artikelen."
|
666 |
+
|
667 |
+
#~ msgid "Default location:"
|
668 |
+
#~ msgstr "Standaardlocatie:"
|
669 |
+
|
670 |
+
#~ msgid ""
|
671 |
+
#~ "You should list location entities from smallest entity to largest. For "
|
672 |
+
#~ "example: <code>Detroit, Michigan, USA</code> or <code>Rhône-Alpes, "
|
673 |
+
#~ "France</code>."
|
674 |
+
#~ msgstr ""
|
675 |
+
#~ "Locatie-eenheden dienen van kleinste naar grootste worden ingevoerd. "
|
676 |
+
#~ "Bijvoorbeeld: <code>Detroit, Michigan, USA</code> of <code>Rhône-Alpes, "
|
677 |
+
#~ "France</code>."
|
678 |
+
|
679 |
#~ msgid "Ping on Publish"
|
680 |
#~ msgstr "Ping bij Publiceren"
|
681 |
|
languages/xml-sitemap-feed-sr_RS.mo
CHANGED
File without changes
|
languages/xml-sitemap-feed-sr_RS.po
CHANGED
File without changes
|
languages/xml-sitemap-feed-ua_UA.mo
CHANGED
File without changes
|
languages/xml-sitemap-feed-ua_UA.po
CHANGED
File without changes
|
languages/xml-sitemap-feed-xx_XX.po
CHANGED
@@ -2,199 +2,172 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: XML Sitemap and Google News feeds/4.4\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: RavanH <ravanhagen@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: __;_e;_n\n"
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
-
"X-Generator: Poedit 1.
|
15 |
-
"Language: xx\n"
|
16 |
-
|
17 |
-
#: ../includes/core.php:1186
|
18 |
-
msgid "Google News Genres"
|
19 |
-
msgstr ""
|
20 |
-
|
21 |
-
#: ../includes/core.php:1187
|
22 |
-
msgid "Google News Genre"
|
23 |
-
msgstr ""
|
24 |
-
|
25 |
-
#: ../includes/core.php:1205
|
26 |
-
msgid "Google News Country"
|
27 |
-
msgstr ""
|
28 |
|
29 |
-
#: ../includes/
|
30 |
-
#: ../includes/core.php:1245
|
31 |
-
msgid ""
|
32 |
-
"Only one allowed. Must be consistent with other Google News location "
|
33 |
-
"entities (if set)."
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
#: ../includes/core.php:1224
|
37 |
-
msgid "Google News State/Province"
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
-
#: ../includes/core.php:1243
|
41 |
-
msgid "Google News City"
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#: ../includes/admin.php:19
|
45 |
msgid "XML Sitemaps"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: ../includes/admin.php:
|
49 |
msgid "XML Sitemap Index"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: ../includes/admin.php:
|
53 |
msgid "Google News Sitemap"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../includes/admin.php:
|
57 |
msgid "Google"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../includes/admin.php:
|
61 |
msgid "Bing & Yahoo"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: ../includes/admin.php:
|
65 |
msgid "Yandex"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: ../includes/admin.php:
|
69 |
msgid "Baidu"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: ../includes/admin.php:
|
73 |
msgid "Ping-O-Matic"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: ../includes/admin.php:
|
77 |
#, php-format
|
78 |
msgid "Successfully sent %1$s on %2$s."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: ../includes/admin.php:
|
82 |
-
#: ../includes/admin.php:
|
83 |
msgid "Additional robots.txt rules"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: ../includes/admin.php:
|
87 |
#, php-format
|
88 |
msgid "Rules that will be appended to the %s generated by WordPress:"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../includes/admin.php:
|
92 |
msgid ""
|
93 |
"These rules will not have effect when you are using a static robots.txt file."
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: ../includes/admin.php:
|
97 |
msgid ""
|
98 |
"Only add rules here when you know what you are doing, otherwise you might "
|
99 |
"break search engine access to your site."
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: ../includes/admin.php:
|
103 |
msgid "Reset XML sitemaps"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: ../includes/admin.php:
|
107 |
msgid "Clear all XML Sitemap Feed settings from the database."
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: ../includes/admin.php:
|
111 |
msgid ""
|
112 |
"You can use this to start fresh with the default settings or to remove all "
|
113 |
"XML Sitemap and Google News settings and taxonomy terms before uninstalling."
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: ../includes/admin.php:
|
117 |
-
#: ../includes/admin.php:
|
118 |
#, php-format
|
119 |
msgid "Donate to keep the free %s plugin development & support going!"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: ../includes/admin.php:
|
123 |
-
#: ../includes/admin.php:
|
124 |
-
#: ../includes/admin.php:
|
125 |
msgid "XML Sitemap & Google News Feeds"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: ../includes/admin.php:
|
129 |
#, php-format
|
130 |
msgid "These settings control the XML Sitemaps generated by the %s plugin."
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: ../includes/admin.php:
|
134 |
#, php-format
|
135 |
msgid "For ping options, go to %s."
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: ../includes/admin.php:
|
139 |
msgid "XML Sitemaps for post types"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: ../includes/admin.php:
|
143 |
msgid "Year"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: ../includes/admin.php:
|
147 |
msgid "Month"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: ../includes/admin.php:
|
151 |
msgid "Split by"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: ../includes/admin.php:
|
155 |
msgid ""
|
156 |
"Split by year if you experience errors or slow sitemaps. In very rare cases, "
|
157 |
"split by month is needed."
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: ../includes/admin.php:
|
161 |
msgid "Priority"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: ../includes/admin.php:
|
165 |
msgid "Priority can be overridden on individual posts."
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: ../includes/admin.php:
|
169 |
msgid ""
|
170 |
"Automatically adjusts Priority according to relative age and comment count."
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: ../includes/admin.php:
|
174 |
msgid ""
|
175 |
"Sticky posts will not be subject to reduction by age. Individual posts with "
|
176 |
"fixed Priority will always keep that value."
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: ../includes/admin.php:
|
180 |
msgid "Update Lastmod and Changefreq on comments."
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: ../includes/admin.php:
|
184 |
msgid ""
|
185 |
"Set this if discussion on your site warrants reindexation upon each new "
|
186 |
"comment."
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: ../includes/admin.php:
|
190 |
msgid "Add image tags for"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: ../includes/admin.php:
|
194 |
msgid "Attached images"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: ../includes/admin.php:
|
198 |
msgid ""
|
199 |
"Priority settings do not affect ranking in search results in any way. They "
|
200 |
"are only meant to suggest search engines which URLs to index first. Once a "
|
@@ -202,29 +175,29 @@ msgid ""
|
|
202 |
"updated."
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: ../includes/admin.php:
|
206 |
msgid ""
|
207 |
"Maximum Priority (1.0) is reserved for the front page, individual posts and, "
|
208 |
"when allowed, posts with high comment count."
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: ../includes/admin.php:
|
212 |
msgid ""
|
213 |
"Priority values are taken as relative values. Setting all to the same (high) "
|
214 |
"value is pointless."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: ../includes/admin.php:
|
218 |
msgid "XML Sitemaps for taxonomies"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: ../includes/admin.php:
|
222 |
msgid ""
|
223 |
"It is generally not recommended to include taxonomy pages, unless their "
|
224 |
"content brings added value."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: ../includes/admin.php:
|
228 |
msgid ""
|
229 |
"For example, when you use category descriptions with information that is not "
|
230 |
"present elsewhere on your site or if taxonomy pages list posts with an "
|
@@ -235,46 +208,46 @@ msgid ""
|
|
235 |
"disallowing indexation of taxonomies."
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: ../includes/admin.php:
|
239 |
#, php-format
|
240 |
msgid ""
|
241 |
"You can do this by adding specific robots.txt rules in the %s field above."
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: ../includes/admin.php:
|
245 |
msgid "No taxonomies available for the currently included post types."
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: ../includes/admin.php:
|
249 |
msgid "Include custom XML Sitemaps"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: ../includes/admin.php:
|
253 |
msgid "Additional XML Sitemaps to append to the main XML Sitemap Index:"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: ../includes/admin.php:
|
257 |
msgid ""
|
258 |
"Add the full URL, including protocol (http/https) and domain, of any XML "
|
259 |
"Sitemap that you want to append to the Sitemap Index. Start each URL on a "
|
260 |
"new line."
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: ../includes/admin.php:
|
264 |
msgid ""
|
265 |
"Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing "
|
266 |
"Webmaster Tools to verify!"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: ../includes/admin.php:
|
270 |
msgid "Include custom URLs"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: ../includes/admin.php:
|
274 |
msgid "Additional URLs to append in an extra XML Sitemap:"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: ../includes/admin.php:
|
278 |
msgid ""
|
279 |
"Add the full URL, including protocol (http/https) and domain, of any "
|
280 |
"(static) page that you want to append to the ones already included by "
|
@@ -282,15 +255,15 @@ msgid ""
|
|
282 |
"space after the URL. Start each URL on a new line."
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: ../includes/admin.php:
|
286 |
msgid "Allowed domains"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: ../includes/admin.php:
|
290 |
msgid "Additional domains to allow in the XML Sitemaps:"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: ../includes/admin.php:
|
294 |
#, php-format
|
295 |
msgid ""
|
296 |
"By default, only the domain %s as used in your WordPress site address is "
|
@@ -303,32 +276,47 @@ msgid ""
|
|
303 |
"will be filtered."
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: ../includes/admin.php:
|
307 |
#, php-format
|
308 |
msgid ""
|
309 |
"These settings control the Google News Sitemap generated by the %s plugin."
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: ../includes/admin.php:
|
313 |
msgid ""
|
314 |
"When you are done configuring and preparing your news content and you are "
|
315 |
"convinced your site adheres to the <a href=\"https://support.google.com/news/"
|
316 |
-
"publisher/answer/40787
|
317 |
-
"
|
318 |
-
"
|
319 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: ../includes/admin.php:
|
323 |
msgid "Publication name"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: ../includes/admin.php:
|
327 |
#, php-format
|
328 |
msgid "By default, the general %s setting will be used."
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
msgid ""
|
333 |
"Error: There where no valid post types found. Without at least one public "
|
334 |
"post type, a Google News Sitemap cannot be created by this plugin. Please "
|
@@ -336,178 +324,187 @@ msgid ""
|
|
336 |
"\">Enable XML sitemaps</a> and choose another method."
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: ../includes/admin.php:
|
340 |
-
#: ../includes/admin.php:
|
341 |
msgid "Include post types"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: ../includes/admin.php:
|
345 |
#, php-format
|
346 |
msgid ""
|
347 |
"At least one post type must be selected. By default, the post type %s will "
|
348 |
"be used."
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
msgid "Limit to posts in these post categories:"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: ../includes/admin.php:
|
356 |
msgid ""
|
357 |
"If you wish to limit posts that will feature in your News Sitemap to certain "
|
358 |
-
"categories, select them here.
|
359 |
-
"than one or to deselect. If no categories are selected, posts of all "
|
360 |
"categories will be included in your News Sitemap."
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: ../includes/admin.php:
|
364 |
-
msgid ""
|
365 |
-
"Please be aware that limiting by post category will rule out all custom post "
|
366 |
-
"types that do not use post categories, even if you selected them to be "
|
367 |
-
"included (above)."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: ../includes/admin.php:
|
371 |
msgid ""
|
372 |
"Note: Google News prefers at most one image per article in the News Sitemap. "
|
373 |
"If multiple valid images are specified, the crawler will have to pick one "
|
374 |
"arbitrarily. Images in News Sitemaps should be in jpeg or png format."
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: ../includes/admin.php:
|
378 |
-
msgid "
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
382 |
#, php-format
|
383 |
msgid ""
|
384 |
-
"
|
385 |
-
"
|
386 |
-
"(%3$s) to your site."
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: ../includes/admin.php:
|
390 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
msgid "Registration"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: ../includes/admin.php:
|
395 |
-
#: ../includes/admin.php:605
|
396 |
msgid "Subscription"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
400 |
msgid "Tag normal posts as"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: ../includes/admin.php:
|
404 |
-
|
405 |
-
msgid "Tag %s posts as"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: ../includes/admin.php:
|
409 |
-
msgid ""
|
410 |
-
"Note: The <access> tag is required when applicable. Do not leave it to "
|
411 |
-
"Public when your content is not."
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: ../includes/admin.php:
|
415 |
-
msgid "
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: ../includes/admin.php:
|
|
|
419 |
msgid ""
|
420 |
-
"The
|
421 |
-
"
|
422 |
-
"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: ../includes/admin.php:
|
426 |
-
msgid "You can assign
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: ../includes/admin.php:
|
430 |
msgid "Default genre:"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: ../includes/admin.php:
|
434 |
-
|
435 |
-
"
|
436 |
-
"the list provided above."
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: ../includes/admin.php:
|
440 |
-
msgid "
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: ../includes/admin.php:
|
|
|
444 |
msgid ""
|
445 |
-
"The
|
446 |
-
"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: ../includes/admin.php:
|
450 |
#, php-format
|
451 |
msgid "Use %s for topics."
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: ../includes/admin.php:
|
455 |
msgid "Default topic(s):"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: ../includes/admin.php:
|
459 |
msgid "Separate with a comma."
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: ../includes/admin.php:
|
463 |
msgid ""
|
464 |
"Keywords may be drawn from, but are not limited to, the list of <a href="
|
465 |
-
"\"
|
466 |
-
"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: ../includes/admin.php:
|
470 |
-
msgid "
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: ../includes/admin.php:
|
474 |
-
|
475 |
-
"
|
476 |
-
"your articles."
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: ../includes/admin.php:
|
480 |
-
msgid "
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: ../includes/admin.php:
|
484 |
-
msgid "
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: ../includes/admin.php:
|
488 |
-
msgid ""
|
489 |
-
"You should list location entities from smallest entity to largest. For "
|
490 |
-
"example: <code>Detroit, Michigan, USA</code> or <code>Rhône-Alpes, France</"
|
491 |
-
"code>."
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: ../includes/admin.php:
|
495 |
-
msgid "
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: ../includes/admin.php:
|
499 |
-
msgid "
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: ../includes/admin.php:
|
503 |
-
|
504 |
-
msgid "Leave empty for automatic Priority as configured on %1$s > %2$s."
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../includes/
|
508 |
-
msgid "
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: ../includes/
|
512 |
-
msgid "
|
513 |
msgstr ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: XML Sitemap and Google News feeds/4.4\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2016-04-06 23:43+0200\n"
|
6 |
+
"PO-Revision-Date: 2016-04-06 23:43+0200\n"
|
7 |
"Last-Translator: RavanH <ravanhagen@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
+
"Language: xx\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\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Generator: Poedit 1.8.7.1\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
+
#: ../includes/admin.php:23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
msgid "XML Sitemaps"
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: ../includes/admin.php:24
|
22 |
msgid "XML Sitemap Index"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: ../includes/admin.php:29 ../includes/admin.php:1008
|
26 |
msgid "Google News Sitemap"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: ../includes/admin.php:73
|
30 |
msgid "Google"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: ../includes/admin.php:76
|
34 |
msgid "Bing & Yahoo"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: ../includes/admin.php:79
|
38 |
msgid "Yandex"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: ../includes/admin.php:82
|
42 |
msgid "Baidu"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: ../includes/admin.php:85
|
46 |
msgid "Ping-O-Matic"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: ../includes/admin.php:140
|
50 |
#, php-format
|
51 |
msgid "Successfully sent %1$s on %2$s."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: ../includes/admin.php:201 ../includes/admin.php:391
|
55 |
+
#: ../includes/admin.php:993
|
56 |
msgid "Additional robots.txt rules"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: ../includes/admin.php:202
|
60 |
#, php-format
|
61 |
msgid "Rules that will be appended to the %s generated by WordPress:"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: ../includes/admin.php:203
|
65 |
msgid ""
|
66 |
"These rules will not have effect when you are using a static robots.txt file."
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: ../includes/admin.php:203
|
70 |
msgid ""
|
71 |
"Only add rules here when you know what you are doing, otherwise you might "
|
72 |
"break search engine access to your site."
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../includes/admin.php:209 ../includes/admin.php:1003
|
76 |
msgid "Reset XML sitemaps"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../includes/admin.php:211
|
80 |
msgid "Clear all XML Sitemap Feed settings from the database."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../includes/admin.php:214
|
84 |
msgid ""
|
85 |
"You can use this to start fresh with the default settings or to remove all "
|
86 |
"XML Sitemap and Google News settings and taxonomy terms before uninstalling."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: ../includes/admin.php:223 ../includes/admin.php:224
|
90 |
+
#: ../includes/admin.php:461 ../includes/admin.php:462
|
91 |
#, php-format
|
92 |
msgid "Donate to keep the free %s plugin development & support going!"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: ../includes/admin.php:223 ../includes/admin.php:224
|
96 |
+
#: ../includes/admin.php:225 ../includes/admin.php:461
|
97 |
+
#: ../includes/admin.php:462 ../includes/admin.php:463
|
98 |
msgid "XML Sitemap & Google News Feeds"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: ../includes/admin.php:225
|
102 |
#, php-format
|
103 |
msgid "These settings control the XML Sitemaps generated by the %s plugin."
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: ../includes/admin.php:226 ../includes/admin.php:466
|
107 |
#, php-format
|
108 |
msgid "For ping options, go to %s."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../includes/admin.php:239
|
112 |
msgid "XML Sitemaps for post types"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../includes/admin.php:278
|
116 |
msgid "Year"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: ../includes/admin.php:279
|
120 |
msgid "Month"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: ../includes/admin.php:283
|
124 |
msgid "Split by"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../includes/admin.php:293
|
128 |
msgid ""
|
129 |
"Split by year if you experience errors or slow sitemaps. In very rare cases, "
|
130 |
"split by month is needed."
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: ../includes/admin.php:298 ../includes/admin.php:883
|
134 |
msgid "Priority"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: ../includes/admin.php:300
|
138 |
msgid "Priority can be overridden on individual posts."
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: ../includes/admin.php:305
|
142 |
msgid ""
|
143 |
"Automatically adjusts Priority according to relative age and comment count."
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: ../includes/admin.php:305
|
147 |
msgid ""
|
148 |
"Sticky posts will not be subject to reduction by age. Individual posts with "
|
149 |
"fixed Priority will always keep that value."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: ../includes/admin.php:310
|
153 |
msgid "Update Lastmod and Changefreq on comments."
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: ../includes/admin.php:310
|
157 |
msgid ""
|
158 |
"Set this if discussion on your site warrants reindexation upon each new "
|
159 |
"comment."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: ../includes/admin.php:314 ../includes/admin.php:581
|
163 |
msgid "Add image tags for"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: ../includes/admin.php:322 ../includes/admin.php:588
|
167 |
msgid "Attached images"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: ../includes/admin.php:332
|
171 |
msgid ""
|
172 |
"Priority settings do not affect ranking in search results in any way. They "
|
173 |
"are only meant to suggest search engines which URLs to index first. Once a "
|
175 |
"updated."
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: ../includes/admin.php:333
|
179 |
msgid ""
|
180 |
"Maximum Priority (1.0) is reserved for the front page, individual posts and, "
|
181 |
"when allowed, posts with high comment count."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../includes/admin.php:333
|
185 |
msgid ""
|
186 |
"Priority values are taken as relative values. Setting all to the same (high) "
|
187 |
"value is pointless."
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: ../includes/admin.php:383
|
191 |
msgid "XML Sitemaps for taxonomies"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: ../includes/admin.php:389
|
195 |
msgid ""
|
196 |
"It is generally not recommended to include taxonomy pages, unless their "
|
197 |
"content brings added value."
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: ../includes/admin.php:390
|
201 |
msgid ""
|
202 |
"For example, when you use category descriptions with information that is not "
|
203 |
"present elsewhere on your site or if taxonomy pages list posts with an "
|
208 |
"disallowing indexation of taxonomies."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: ../includes/admin.php:391
|
212 |
#, php-format
|
213 |
msgid ""
|
214 |
"You can do this by adding specific robots.txt rules in the %s field above."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: ../includes/admin.php:406
|
218 |
msgid "No taxonomies available for the currently included post types."
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: ../includes/admin.php:414 ../includes/admin.php:1037
|
222 |
msgid "Include custom XML Sitemaps"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: ../includes/admin.php:415
|
226 |
msgid "Additional XML Sitemaps to append to the main XML Sitemap Index:"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: ../includes/admin.php:417
|
230 |
msgid ""
|
231 |
"Add the full URL, including protocol (http/https) and domain, of any XML "
|
232 |
"Sitemap that you want to append to the Sitemap Index. Start each URL on a "
|
233 |
"new line."
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: ../includes/admin.php:417
|
237 |
msgid ""
|
238 |
"Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing "
|
239 |
"Webmaster Tools to verify!"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: ../includes/admin.php:434 ../includes/admin.php:1034
|
243 |
msgid "Include custom URLs"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: ../includes/admin.php:435
|
247 |
msgid "Additional URLs to append in an extra XML Sitemap:"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: ../includes/admin.php:437
|
251 |
msgid ""
|
252 |
"Add the full URL, including protocol (http/https) and domain, of any "
|
253 |
"(static) page that you want to append to the ones already included by "
|
255 |
"space after the URL. Start each URL on a new line."
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: ../includes/admin.php:447 ../includes/admin.php:1031
|
259 |
msgid "Allowed domains"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: ../includes/admin.php:448
|
263 |
msgid "Additional domains to allow in the XML Sitemaps:"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: ../includes/admin.php:449
|
267 |
#, php-format
|
268 |
msgid ""
|
269 |
"By default, only the domain %s as used in your WordPress site address is "
|
276 |
"will be filtered."
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: ../includes/admin.php:463
|
280 |
#, php-format
|
281 |
msgid ""
|
282 |
"These settings control the Google News Sitemap generated by the %s plugin."
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: ../includes/admin.php:464
|
286 |
msgid ""
|
287 |
"When you are done configuring and preparing your news content and you are "
|
288 |
"convinced your site adheres to the <a href=\"https://support.google.com/news/"
|
289 |
+
"publisher/answer/40787\" target=\"_blank\">Google News guidelines</a>, go "
|
290 |
+
"ahead and <a href=\"https://partnerdash.google.com/partnerdash/d/news\" "
|
291 |
+
"target=\"_blank\">submit your site for inclusion</a>!"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: ../includes/admin.php:465
|
295 |
+
msgid ""
|
296 |
+
"It is strongly recommended to submit your news sitemap to your Google "
|
297 |
+
"Webmasters Tools account to monitor for warnings or errors. Read more on how "
|
298 |
+
"to <a href=\"https://support.google.com/webmasters/answer/183669\" target="
|
299 |
+
"\"_blank\">Manage sitemaps with the Sitemaps page</a>."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: ../includes/admin.php:476 ../includes/admin.php:1011
|
303 |
msgid "Publication name"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: ../includes/admin.php:477
|
307 |
#, php-format
|
308 |
msgid "By default, the general %s setting will be used."
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: ../includes/admin.php:478
|
312 |
+
msgid ""
|
313 |
+
"The publication name should match the name submitted on the Google News "
|
314 |
+
"Publisher Center. If you wish to change it, please read <a href=\"https://"
|
315 |
+
"support.google.com/news/publisher/answer/40402\" target=\"_blank\">Updated "
|
316 |
+
"publication name</a>."
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: ../includes/admin.php:495
|
320 |
msgid ""
|
321 |
"Error: There where no valid post types found. Without at least one public "
|
322 |
"post type, a Google News Sitemap cannot be created by this plugin. Please "
|
324 |
"\">Enable XML sitemaps</a> and choose another method."
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: ../includes/admin.php:498 ../includes/admin.php:1012
|
328 |
+
#: ../includes/admin.php:1025
|
329 |
msgid "Include post types"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: ../includes/admin.php:524
|
333 |
#, php-format
|
334 |
msgid ""
|
335 |
"At least one post type must be selected. By default, the post type %s will "
|
336 |
"be used."
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: ../includes/admin.php:535
|
340 |
+
#, php-format
|
341 |
+
msgid ""
|
342 |
+
"Selection based on categories will be available when <strong>only</strong> "
|
343 |
+
"the post type %s is included above."
|
344 |
+
msgstr ""
|
345 |
+
|
346 |
+
#: ../includes/admin.php:553
|
347 |
msgid "Limit to posts in these post categories:"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: ../includes/admin.php:569
|
351 |
msgid ""
|
352 |
"If you wish to limit posts that will feature in your News Sitemap to certain "
|
353 |
+
"categories, select them here. If no categories are selected, posts of all "
|
|
|
354 |
"categories will be included in your News Sitemap."
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: ../includes/admin.php:569 ../includes/admin.php:649
|
358 |
+
msgid "Use the Ctrl/Cmd key plus click to select more than one or to deselect."
|
|
|
|
|
|
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: ../includes/admin.php:591
|
362 |
msgid ""
|
363 |
"Note: Google News prefers at most one image per article in the News Sitemap. "
|
364 |
"If multiple valid images are specified, the crawler will have to pick one "
|
365 |
"arbitrarily. Images in News Sitemaps should be in jpeg or png format."
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: ../includes/admin.php:591 ../includes/admin.php:598
|
369 |
+
msgid "More information…"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: ../includes/admin.php:597 ../includes/admin.php:1015
|
373 |
+
msgid "Source labels"
|
374 |
+
msgstr ""
|
375 |
+
|
376 |
+
#: ../includes/admin.php:598
|
377 |
#, php-format
|
378 |
msgid ""
|
379 |
+
"You can use the %1$s and %2$s tags to provide Google more information about "
|
380 |
+
"the content of your articles."
|
|
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: ../includes/admin.php:610
|
384 |
+
#, php-format
|
385 |
+
msgid ""
|
386 |
+
"The %4$s tag specifies whether an article is available to all readers "
|
387 |
+
"(%1$s), or only to those with a free (%2$s) or paid membership (%3$s) to "
|
388 |
+
"your site."
|
389 |
+
msgstr ""
|
390 |
+
|
391 |
+
#: ../includes/admin.php:610 ../includes/admin.php:930
|
392 |
msgid "Registration"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: ../includes/admin.php:610 ../includes/admin.php:931
|
|
|
396 |
msgid "Subscription"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: ../includes/admin.php:611
|
400 |
+
msgid "You can assign a different access level when writing a post."
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: ../includes/admin.php:615
|
404 |
msgid "Tag normal posts as"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: ../includes/admin.php:617 ../includes/admin.php:622
|
408 |
+
msgid "Free registration"
|
|
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: ../includes/admin.php:618 ../includes/admin.php:623
|
412 |
+
msgid "Paid subscription"
|
|
|
|
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: ../includes/admin.php:621
|
416 |
+
msgid "Tag Password Protected posts as"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: ../includes/admin.php:636
|
420 |
+
#, php-format
|
421 |
msgid ""
|
422 |
+
"The %s tag specifies one or more properties for an article, namely, whether "
|
423 |
+
"it is a press release, a blog post, an opinion, an op-ed piece, user-"
|
424 |
+
"generated content, or satire."
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: ../includes/admin.php:636
|
428 |
+
msgid "You can assign different genres when writing a post."
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: ../includes/admin.php:640
|
432 |
msgid "Default genre:"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: ../includes/admin.php:649
|
436 |
+
#, php-format
|
437 |
+
msgid "Read more about source labels on %s"
|
|
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../includes/admin.php:649
|
441 |
+
msgid "What does each source label mean?"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../includes/admin.php:658
|
445 |
+
#, php-format
|
446 |
msgid ""
|
447 |
+
"The %s tag is used to help classify the articles you submit to Google News "
|
448 |
+
"by <strong>topic</strong>."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: ../includes/admin.php:660
|
452 |
#, php-format
|
453 |
msgid "Use %s for topics."
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: ../includes/admin.php:667
|
457 |
msgid "Default topic(s):"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: ../includes/admin.php:669
|
461 |
msgid "Separate with a comma."
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: ../includes/admin.php:673
|
465 |
msgid ""
|
466 |
"Keywords may be drawn from, but are not limited to, the list of <a href="
|
467 |
+
"\"https://support.google.com/news/publisher/answer/116037\" target=\"_blank"
|
468 |
+
"\">existing Google News keywords</a>."
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: ../includes/admin.php:850 ../includes/admin.php:1022
|
472 |
+
msgid "XML Sitemap"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: ../includes/admin.php:885
|
476 |
+
#, php-format
|
477 |
+
msgid "Leave empty for automatic Priority as configured on %1$s > %2$s."
|
|
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: ../includes/admin.php:889
|
481 |
+
msgid "Exclude from XML Sitemap"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: ../includes/admin.php:901
|
485 |
+
msgid "Google News"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: ../includes/admin.php:926
|
489 |
+
msgid "Access"
|
|
|
|
|
|
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: ../includes/admin.php:935
|
493 |
+
msgid "Exclude from Google News Sitemap."
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: ../includes/admin.php:987
|
497 |
+
msgid "Enable XML sitemaps"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: ../includes/admin.php:1028
|
501 |
+
msgid "Include taxonomies"
|
|
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: ../includes/core.php:1297
|
505 |
+
msgid "Google News Genres"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: ../includes/core.php:1298
|
509 |
+
msgid "Google News Genre"
|
510 |
msgstr ""
|
languages/xml-sitemap-feed.pot
CHANGED
@@ -1,11 +1,12 @@
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: XML Sitemap and Google News feeds/4.4\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: 2015-01-05 04:05+0100\n"
|
7 |
"Last-Translator: RavanH <ravanhagen@gmail.com>\n"
|
8 |
-
"Language-Team:
|
9 |
"Language: en\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -13,191 +14,164 @@ msgstr ""
|
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: .\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Generator: Poedit 1.
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
"X-Poedit-SearchPath-0: ..\n"
|
19 |
|
20 |
-
#: ../includes/
|
21 |
-
msgid "Google News Genres"
|
22 |
-
msgstr ""
|
23 |
-
|
24 |
-
#: ../includes/core.php:1187
|
25 |
-
msgid "Google News Genre"
|
26 |
-
msgstr ""
|
27 |
-
|
28 |
-
#: ../includes/core.php:1205
|
29 |
-
msgid "Google News Country"
|
30 |
-
msgstr ""
|
31 |
-
|
32 |
-
#: ../includes/core.php:1207 ../includes/core.php:1226
|
33 |
-
#: ../includes/core.php:1245
|
34 |
-
msgid ""
|
35 |
-
"Only one allowed. Must be consistent with other Google News location "
|
36 |
-
"entities (if set)."
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#: ../includes/core.php:1224
|
40 |
-
msgid "Google News State/Province"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: ../includes/core.php:1243
|
44 |
-
msgid "Google News City"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: ../includes/admin.php:19
|
48 |
msgid "XML Sitemaps"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: ../includes/admin.php:
|
52 |
msgid "XML Sitemap Index"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: ../includes/admin.php:
|
56 |
msgid "Google News Sitemap"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: ../includes/admin.php:
|
60 |
msgid "Google"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../includes/admin.php:
|
64 |
msgid "Bing & Yahoo"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: ../includes/admin.php:
|
68 |
msgid "Yandex"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../includes/admin.php:
|
72 |
msgid "Baidu"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../includes/admin.php:
|
76 |
msgid "Ping-O-Matic"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../includes/admin.php:
|
80 |
#, php-format
|
81 |
msgid "Successfully sent %1$s on %2$s."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: ../includes/admin.php:
|
85 |
-
#: ../includes/admin.php:
|
86 |
msgid "Additional robots.txt rules"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: ../includes/admin.php:
|
90 |
#, php-format
|
91 |
msgid "Rules that will be appended to the %s generated by WordPress:"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: ../includes/admin.php:
|
95 |
msgid ""
|
96 |
"These rules will not have effect when you are using a static robots.txt file."
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../includes/admin.php:
|
100 |
msgid ""
|
101 |
"Only add rules here when you know what you are doing, otherwise you might "
|
102 |
"break search engine access to your site."
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: ../includes/admin.php:
|
106 |
msgid "Reset XML sitemaps"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: ../includes/admin.php:
|
110 |
msgid "Clear all XML Sitemap Feed settings from the database."
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: ../includes/admin.php:
|
114 |
msgid ""
|
115 |
"You can use this to start fresh with the default settings or to remove all "
|
116 |
"XML Sitemap and Google News settings and taxonomy terms before uninstalling."
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: ../includes/admin.php:
|
120 |
-
#: ../includes/admin.php:
|
121 |
#, php-format
|
122 |
msgid "Donate to keep the free %s plugin development & support going!"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: ../includes/admin.php:
|
126 |
-
#: ../includes/admin.php:
|
127 |
-
#: ../includes/admin.php:
|
128 |
msgid "XML Sitemap & Google News Feeds"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: ../includes/admin.php:
|
132 |
#, php-format
|
133 |
msgid "These settings control the XML Sitemaps generated by the %s plugin."
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../includes/admin.php:
|
137 |
#, php-format
|
138 |
msgid "For ping options, go to %s."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: ../includes/admin.php:
|
142 |
msgid "XML Sitemaps for post types"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: ../includes/admin.php:
|
146 |
msgid "Year"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: ../includes/admin.php:
|
150 |
msgid "Month"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: ../includes/admin.php:
|
154 |
msgid "Split by"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: ../includes/admin.php:
|
158 |
msgid ""
|
159 |
"Split by year if you experience errors or slow sitemaps. In very rare cases, "
|
160 |
"split by month is needed."
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: ../includes/admin.php:
|
164 |
msgid "Priority"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: ../includes/admin.php:
|
168 |
msgid "Priority can be overridden on individual posts."
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: ../includes/admin.php:
|
172 |
msgid ""
|
173 |
"Automatically adjusts Priority according to relative age and comment count."
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: ../includes/admin.php:
|
177 |
msgid ""
|
178 |
"Sticky posts will not be subject to reduction by age. Individual posts with "
|
179 |
"fixed Priority will always keep that value."
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: ../includes/admin.php:
|
183 |
msgid "Update Lastmod and Changefreq on comments."
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: ../includes/admin.php:
|
187 |
msgid ""
|
188 |
"Set this if discussion on your site warrants reindexation upon each new "
|
189 |
"comment."
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: ../includes/admin.php:
|
193 |
msgid "Add image tags for"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: ../includes/admin.php:
|
197 |
msgid "Attached images"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: ../includes/admin.php:
|
201 |
msgid ""
|
202 |
"Priority settings do not affect ranking in search results in any way. They "
|
203 |
"are only meant to suggest search engines which URLs to index first. Once a "
|
@@ -205,29 +179,29 @@ msgid ""
|
|
205 |
"updated."
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: ../includes/admin.php:
|
209 |
msgid ""
|
210 |
"Maximum Priority (1.0) is reserved for the front page, individual posts and, "
|
211 |
"when allowed, posts with high comment count."
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../includes/admin.php:
|
215 |
msgid ""
|
216 |
"Priority values are taken as relative values. Setting all to the same (high) "
|
217 |
"value is pointless."
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: ../includes/admin.php:
|
221 |
msgid "XML Sitemaps for taxonomies"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: ../includes/admin.php:
|
225 |
msgid ""
|
226 |
"It is generally not recommended to include taxonomy pages, unless their "
|
227 |
"content brings added value."
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: ../includes/admin.php:
|
231 |
msgid ""
|
232 |
"For example, when you use category descriptions with information that is not "
|
233 |
"present elsewhere on your site or if taxonomy pages list posts with an "
|
@@ -238,46 +212,46 @@ msgid ""
|
|
238 |
"disallowing indexation of taxonomies."
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: ../includes/admin.php:
|
242 |
#, php-format
|
243 |
msgid ""
|
244 |
"You can do this by adding specific robots.txt rules in the %s field above."
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: ../includes/admin.php:
|
248 |
msgid "No taxonomies available for the currently included post types."
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: ../includes/admin.php:
|
252 |
msgid "Include custom XML Sitemaps"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: ../includes/admin.php:
|
256 |
msgid "Additional XML Sitemaps to append to the main XML Sitemap Index:"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: ../includes/admin.php:
|
260 |
msgid ""
|
261 |
"Add the full URL, including protocol (http/https) and domain, of any XML "
|
262 |
"Sitemap that you want to append to the Sitemap Index. Start each URL on a "
|
263 |
"new line."
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: ../includes/admin.php:
|
267 |
msgid ""
|
268 |
"Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing "
|
269 |
"Webmaster Tools to verify!"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: ../includes/admin.php:
|
273 |
msgid "Include custom URLs"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: ../includes/admin.php:
|
277 |
msgid "Additional URLs to append in an extra XML Sitemap:"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: ../includes/admin.php:
|
281 |
msgid ""
|
282 |
"Add the full URL, including protocol (http/https) and domain, of any "
|
283 |
"(static) page that you want to append to the ones already included by "
|
@@ -285,15 +259,15 @@ msgid ""
|
|
285 |
"space after the URL. Start each URL on a new line."
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: ../includes/admin.php:
|
289 |
msgid "Allowed domains"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: ../includes/admin.php:
|
293 |
msgid "Additional domains to allow in the XML Sitemaps:"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: ../includes/admin.php:
|
297 |
#, php-format
|
298 |
msgid ""
|
299 |
"By default, only the domain %s as used in your WordPress site address is "
|
@@ -306,32 +280,47 @@ msgid ""
|
|
306 |
"will be filtered."
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: ../includes/admin.php:
|
310 |
#, php-format
|
311 |
msgid ""
|
312 |
"These settings control the Google News Sitemap generated by the %s plugin."
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: ../includes/admin.php:
|
316 |
msgid ""
|
317 |
"When you are done configuring and preparing your news content and you are "
|
318 |
"convinced your site adheres to the <a href=\"https://support.google.com/news/"
|
319 |
-
"publisher/answer/40787
|
320 |
-
"
|
321 |
-
"
|
322 |
-
"site for inclusion</a>!"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
msgid "Publication name"
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: ../includes/admin.php:
|
330 |
#, php-format
|
331 |
msgid "By default, the general %s setting will be used."
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
msgid ""
|
336 |
"Error: There where no valid post types found. Without at least one public "
|
337 |
"post type, a Google News Sitemap cannot be created by this plugin. Please "
|
@@ -339,178 +328,187 @@ msgid ""
|
|
339 |
"\">Enable XML sitemaps</a> and choose another method."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: ../includes/admin.php:
|
343 |
-
#: ../includes/admin.php:
|
344 |
msgid "Include post types"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: ../includes/admin.php:
|
348 |
#, php-format
|
349 |
msgid ""
|
350 |
"At least one post type must be selected. By default, the post type %s will "
|
351 |
"be used."
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
msgid "Limit to posts in these post categories:"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: ../includes/admin.php:
|
359 |
msgid ""
|
360 |
"If you wish to limit posts that will feature in your News Sitemap to certain "
|
361 |
-
"categories, select them here.
|
362 |
-
"than one or to deselect. If no categories are selected, posts of all "
|
363 |
"categories will be included in your News Sitemap."
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: ../includes/admin.php:
|
367 |
-
msgid ""
|
368 |
-
"Please be aware that limiting by post category will rule out all custom post "
|
369 |
-
"types that do not use post categories, even if you selected them to be "
|
370 |
-
"included (above)."
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: ../includes/admin.php:
|
374 |
msgid ""
|
375 |
"Note: Google News prefers at most one image per article in the News Sitemap. "
|
376 |
"If multiple valid images are specified, the crawler will have to pick one "
|
377 |
"arbitrarily. Images in News Sitemaps should be in jpeg or png format."
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: ../includes/admin.php:
|
381 |
-
msgid "
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
385 |
#, php-format
|
386 |
msgid ""
|
387 |
-
"
|
388 |
-
"
|
389 |
-
"(%3$s) to your site."
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: ../includes/admin.php:
|
393 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
msgid "Registration"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: ../includes/admin.php:
|
398 |
-
#: ../includes/admin.php:605
|
399 |
msgid "Subscription"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: ../includes/admin.php:
|
|
|
|
|
|
|
|
|
403 |
msgid "Tag normal posts as"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: ../includes/admin.php:
|
407 |
-
|
408 |
-
msgid "Tag %s posts as"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: ../includes/admin.php:
|
412 |
-
msgid ""
|
413 |
-
"Note: The <access> tag is required when applicable. Do not leave it to "
|
414 |
-
"Public when your content is not."
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: ../includes/admin.php:
|
418 |
-
msgid "
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: ../includes/admin.php:
|
|
|
422 |
msgid ""
|
423 |
-
"The
|
424 |
-
"
|
425 |
-
"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: ../includes/admin.php:
|
429 |
-
msgid "You can assign
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: ../includes/admin.php:
|
433 |
msgid "Default genre:"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: ../includes/admin.php:
|
437 |
-
|
438 |
-
"
|
439 |
-
"the list provided above."
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: ../includes/admin.php:
|
443 |
-
msgid "
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: ../includes/admin.php:
|
|
|
447 |
msgid ""
|
448 |
-
"The
|
449 |
-
"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: ../includes/admin.php:
|
453 |
#, php-format
|
454 |
msgid "Use %s for topics."
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: ../includes/admin.php:
|
458 |
msgid "Default topic(s):"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: ../includes/admin.php:
|
462 |
msgid "Separate with a comma."
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: ../includes/admin.php:
|
466 |
msgid ""
|
467 |
"Keywords may be drawn from, but are not limited to, the list of <a href="
|
468 |
-
"\"
|
469 |
-
"
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: ../includes/admin.php:
|
473 |
-
msgid "
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: ../includes/admin.php:
|
477 |
-
|
478 |
-
"
|
479 |
-
"your articles."
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: ../includes/admin.php:
|
483 |
-
msgid "
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: ../includes/admin.php:
|
487 |
-
msgid "
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: ../includes/admin.php:
|
491 |
-
msgid ""
|
492 |
-
"You should list location entities from smallest entity to largest. For "
|
493 |
-
"example: <code>Detroit, Michigan, USA</code> or <code>Rhône-Alpes, France</"
|
494 |
-
"code>."
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: ../includes/admin.php:
|
498 |
-
msgid "
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: ../includes/admin.php:
|
502 |
-
msgid "
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: ../includes/admin.php:
|
506 |
-
|
507 |
-
msgid "Leave empty for automatic Priority as configured on %1$s > %2$s."
|
508 |
msgstr ""
|
509 |
|
510 |
-
#: ../includes/
|
511 |
-
msgid "
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: ../includes/
|
515 |
-
msgid "
|
516 |
msgstr ""
|
1 |
+
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: XML Sitemap and Google News feeds/4.4\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2016-04-06 23:43+0200\n"
|
7 |
"PO-Revision-Date: 2015-01-05 04:05+0100\n"
|
8 |
"Last-Translator: RavanH <ravanhagen@gmail.com>\n"
|
9 |
+
"Language-Team: ravanhagen@gmail.com\n"
|
10 |
"Language: en\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"X-Poedit-KeywordsList: __;_e\n"
|
15 |
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Generator: Poedit 1.8.7.1\n"
|
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
"X-Poedit-SearchPath-0: ..\n"
|
20 |
|
21 |
+
#: ../includes/admin.php:23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
msgid "XML Sitemaps"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: ../includes/admin.php:24
|
26 |
msgid "XML Sitemap Index"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: ../includes/admin.php:29 ../includes/admin.php:1008
|
30 |
msgid "Google News Sitemap"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: ../includes/admin.php:73
|
34 |
msgid "Google"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: ../includes/admin.php:76
|
38 |
msgid "Bing & Yahoo"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: ../includes/admin.php:79
|
42 |
msgid "Yandex"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: ../includes/admin.php:82
|
46 |
msgid "Baidu"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: ../includes/admin.php:85
|
50 |
msgid "Ping-O-Matic"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: ../includes/admin.php:140
|
54 |
#, php-format
|
55 |
msgid "Successfully sent %1$s on %2$s."
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: ../includes/admin.php:201 ../includes/admin.php:391
|
59 |
+
#: ../includes/admin.php:993
|
60 |
msgid "Additional robots.txt rules"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../includes/admin.php:202
|
64 |
#, php-format
|
65 |
msgid "Rules that will be appended to the %s generated by WordPress:"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: ../includes/admin.php:203
|
69 |
msgid ""
|
70 |
"These rules will not have effect when you are using a static robots.txt file."
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: ../includes/admin.php:203
|
74 |
msgid ""
|
75 |
"Only add rules here when you know what you are doing, otherwise you might "
|
76 |
"break search engine access to your site."
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../includes/admin.php:209 ../includes/admin.php:1003
|
80 |
msgid "Reset XML sitemaps"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../includes/admin.php:211
|
84 |
msgid "Clear all XML Sitemap Feed settings from the database."
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../includes/admin.php:214
|
88 |
msgid ""
|
89 |
"You can use this to start fresh with the default settings or to remove all "
|
90 |
"XML Sitemap and Google News settings and taxonomy terms before uninstalling."
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../includes/admin.php:223 ../includes/admin.php:224
|
94 |
+
#: ../includes/admin.php:461 ../includes/admin.php:462
|
95 |
#, php-format
|
96 |
msgid "Donate to keep the free %s plugin development & support going!"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../includes/admin.php:223 ../includes/admin.php:224
|
100 |
+
#: ../includes/admin.php:225 ../includes/admin.php:461
|
101 |
+
#: ../includes/admin.php:462 ../includes/admin.php:463
|
102 |
msgid "XML Sitemap & Google News Feeds"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: ../includes/admin.php:225
|
106 |
#, php-format
|
107 |
msgid "These settings control the XML Sitemaps generated by the %s plugin."
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: ../includes/admin.php:226 ../includes/admin.php:466
|
111 |
#, php-format
|
112 |
msgid "For ping options, go to %s."
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: ../includes/admin.php:239
|
116 |
msgid "XML Sitemaps for post types"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: ../includes/admin.php:278
|
120 |
msgid "Year"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: ../includes/admin.php:279
|
124 |
msgid "Month"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../includes/admin.php:283
|
128 |
msgid "Split by"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../includes/admin.php:293
|
132 |
msgid ""
|
133 |
"Split by year if you experience errors or slow sitemaps. In very rare cases, "
|
134 |
"split by month is needed."
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: ../includes/admin.php:298 ../includes/admin.php:883
|
138 |
msgid "Priority"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: ../includes/admin.php:300
|
142 |
msgid "Priority can be overridden on individual posts."
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: ../includes/admin.php:305
|
146 |
msgid ""
|
147 |
"Automatically adjusts Priority according to relative age and comment count."
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: ../includes/admin.php:305
|
151 |
msgid ""
|
152 |
"Sticky posts will not be subject to reduction by age. Individual posts with "
|
153 |
"fixed Priority will always keep that value."
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: ../includes/admin.php:310
|
157 |
msgid "Update Lastmod and Changefreq on comments."
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: ../includes/admin.php:310
|
161 |
msgid ""
|
162 |
"Set this if discussion on your site warrants reindexation upon each new "
|
163 |
"comment."
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: ../includes/admin.php:314 ../includes/admin.php:581
|
167 |
msgid "Add image tags for"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: ../includes/admin.php:322 ../includes/admin.php:588
|
171 |
msgid "Attached images"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: ../includes/admin.php:332
|
175 |
msgid ""
|
176 |
"Priority settings do not affect ranking in search results in any way. They "
|
177 |
"are only meant to suggest search engines which URLs to index first. Once a "
|
179 |
"updated."
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: ../includes/admin.php:333
|
183 |
msgid ""
|
184 |
"Maximum Priority (1.0) is reserved for the front page, individual posts and, "
|
185 |
"when allowed, posts with high comment count."
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: ../includes/admin.php:333
|
189 |
msgid ""
|
190 |
"Priority values are taken as relative values. Setting all to the same (high) "
|
191 |
"value is pointless."
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: ../includes/admin.php:383
|
195 |
msgid "XML Sitemaps for taxonomies"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: ../includes/admin.php:389
|
199 |
msgid ""
|
200 |
"It is generally not recommended to include taxonomy pages, unless their "
|
201 |
"content brings added value."
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: ../includes/admin.php:390
|
205 |
msgid ""
|
206 |
"For example, when you use category descriptions with information that is not "
|
207 |
"present elsewhere on your site or if taxonomy pages list posts with an "
|
212 |
"disallowing indexation of taxonomies."
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: ../includes/admin.php:391
|
216 |
#, php-format
|
217 |
msgid ""
|
218 |
"You can do this by adding specific robots.txt rules in the %s field above."
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: ../includes/admin.php:406
|
222 |
msgid "No taxonomies available for the currently included post types."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: ../includes/admin.php:414 ../includes/admin.php:1037
|
226 |
msgid "Include custom XML Sitemaps"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: ../includes/admin.php:415
|
230 |
msgid "Additional XML Sitemaps to append to the main XML Sitemap Index:"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: ../includes/admin.php:417
|
234 |
msgid ""
|
235 |
"Add the full URL, including protocol (http/https) and domain, of any XML "
|
236 |
"Sitemap that you want to append to the Sitemap Index. Start each URL on a "
|
237 |
"new line."
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: ../includes/admin.php:417
|
241 |
msgid ""
|
242 |
"Only valid sitemaps are allowed in the Sitemap Index. Use your Google/Bing "
|
243 |
"Webmaster Tools to verify!"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: ../includes/admin.php:434 ../includes/admin.php:1034
|
247 |
msgid "Include custom URLs"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: ../includes/admin.php:435
|
251 |
msgid "Additional URLs to append in an extra XML Sitemap:"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: ../includes/admin.php:437
|
255 |
msgid ""
|
256 |
"Add the full URL, including protocol (http/https) and domain, of any "
|
257 |
"(static) page that you want to append to the ones already included by "
|
259 |
"space after the URL. Start each URL on a new line."
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: ../includes/admin.php:447 ../includes/admin.php:1031
|
263 |
msgid "Allowed domains"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: ../includes/admin.php:448
|
267 |
msgid "Additional domains to allow in the XML Sitemaps:"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: ../includes/admin.php:449
|
271 |
#, php-format
|
272 |
msgid ""
|
273 |
"By default, only the domain %s as used in your WordPress site address is "
|
280 |
"will be filtered."
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../includes/admin.php:463
|
284 |
#, php-format
|
285 |
msgid ""
|
286 |
"These settings control the Google News Sitemap generated by the %s plugin."
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: ../includes/admin.php:464
|
290 |
msgid ""
|
291 |
"When you are done configuring and preparing your news content and you are "
|
292 |
"convinced your site adheres to the <a href=\"https://support.google.com/news/"
|
293 |
+
"publisher/answer/40787\" target=\"_blank\">Google News guidelines</a>, go "
|
294 |
+
"ahead and <a href=\"https://partnerdash.google.com/partnerdash/d/news\" "
|
295 |
+
"target=\"_blank\">submit your site for inclusion</a>!"
|
|
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: ../includes/admin.php:465
|
299 |
+
msgid ""
|
300 |
+
"It is strongly recommended to submit your news sitemap to your Google "
|
301 |
+
"Webmasters Tools account to monitor for warnings or errors. Read more on how "
|
302 |
+
"to <a href=\"https://support.google.com/webmasters/answer/183669\" target="
|
303 |
+
"\"_blank\">Manage sitemaps with the Sitemaps page</a>."
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: ../includes/admin.php:476 ../includes/admin.php:1011
|
307 |
msgid "Publication name"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: ../includes/admin.php:477
|
311 |
#, php-format
|
312 |
msgid "By default, the general %s setting will be used."
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: ../includes/admin.php:478
|
316 |
+
msgid ""
|
317 |
+
"The publication name should match the name submitted on the Google News "
|
318 |
+
"Publisher Center. If you wish to change it, please read <a href=\"https://"
|
319 |
+
"support.google.com/news/publisher/answer/40402\" target=\"_blank\">Updated "
|
320 |
+
"publication name</a>."
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
+
#: ../includes/admin.php:495
|
324 |
msgid ""
|
325 |
"Error: There where no valid post types found. Without at least one public "
|
326 |
"post type, a Google News Sitemap cannot be created by this plugin. Please "
|
328 |
"\">Enable XML sitemaps</a> and choose another method."
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: ../includes/admin.php:498 ../includes/admin.php:1012
|
332 |
+
#: ../includes/admin.php:1025
|
333 |
msgid "Include post types"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: ../includes/admin.php:524
|
337 |
#, php-format
|
338 |
msgid ""
|
339 |
"At least one post type must be selected. By default, the post type %s will "
|
340 |
"be used."
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: ../includes/admin.php:535
|
344 |
+
#, php-format
|
345 |
+
msgid ""
|
346 |
+
"Selection based on categories will be available when <strong>only</strong> "
|
347 |
+
"the post type %s is included above."
|
348 |
+
msgstr ""
|
349 |
+
|
350 |
+
#: ../includes/admin.php:553
|
351 |
msgid "Limit to posts in these post categories:"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: ../includes/admin.php:569
|
355 |
msgid ""
|
356 |
"If you wish to limit posts that will feature in your News Sitemap to certain "
|
357 |
+
"categories, select them here. If no categories are selected, posts of all "
|
|
|
358 |
"categories will be included in your News Sitemap."
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: ../includes/admin.php:569 ../includes/admin.php:649
|
362 |
+
msgid "Use the Ctrl/Cmd key plus click to select more than one or to deselect."
|
|
|
|
|
|
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: ../includes/admin.php:591
|
366 |
msgid ""
|
367 |
"Note: Google News prefers at most one image per article in the News Sitemap. "
|
368 |
"If multiple valid images are specified, the crawler will have to pick one "
|
369 |
"arbitrarily. Images in News Sitemaps should be in jpeg or png format."
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: ../includes/admin.php:591 ../includes/admin.php:598
|
373 |
+
msgid "More information…"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: ../includes/admin.php:597 ../includes/admin.php:1015
|
377 |
+
msgid "Source labels"
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: ../includes/admin.php:598
|
381 |
#, php-format
|
382 |
msgid ""
|
383 |
+
"You can use the %1$s and %2$s tags to provide Google more information about "
|
384 |
+
"the content of your articles."
|
|
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: ../includes/admin.php:610
|
388 |
+
#, php-format
|
389 |
+
msgid ""
|
390 |
+
"The %4$s tag specifies whether an article is available to all readers "
|
391 |
+
"(%1$s), or only to those with a free (%2$s) or paid membership (%3$s) to "
|
392 |
+
"your site."
|
393 |
+
msgstr ""
|
394 |
+
|
395 |
+
#: ../includes/admin.php:610 ../includes/admin.php:930
|
396 |
msgid "Registration"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: ../includes/admin.php:610 ../includes/admin.php:931
|
|
|
400 |
msgid "Subscription"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: ../includes/admin.php:611
|
404 |
+
msgid "You can assign a different access level when writing a post."
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: ../includes/admin.php:615
|
408 |
msgid "Tag normal posts as"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: ../includes/admin.php:617 ../includes/admin.php:622
|
412 |
+
msgid "Free registration"
|
|
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: ../includes/admin.php:618 ../includes/admin.php:623
|
416 |
+
msgid "Paid subscription"
|
|
|
|
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: ../includes/admin.php:621
|
420 |
+
msgid "Tag Password Protected posts as"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: ../includes/admin.php:636
|
424 |
+
#, php-format
|
425 |
msgid ""
|
426 |
+
"The %s tag specifies one or more properties for an article, namely, whether "
|
427 |
+
"it is a press release, a blog post, an opinion, an op-ed piece, user-"
|
428 |
+
"generated content, or satire."
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: ../includes/admin.php:636
|
432 |
+
msgid "You can assign different genres when writing a post."
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: ../includes/admin.php:640
|
436 |
msgid "Default genre:"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: ../includes/admin.php:649
|
440 |
+
#, php-format
|
441 |
+
msgid "Read more about source labels on %s"
|
|
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../includes/admin.php:649
|
445 |
+
msgid "What does each source label mean?"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: ../includes/admin.php:658
|
449 |
+
#, php-format
|
450 |
msgid ""
|
451 |
+
"The %s tag is used to help classify the articles you submit to Google News "
|
452 |
+
"by <strong>topic</strong>."
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: ../includes/admin.php:660
|
456 |
#, php-format
|
457 |
msgid "Use %s for topics."
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: ../includes/admin.php:667
|
461 |
msgid "Default topic(s):"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: ../includes/admin.php:669
|
465 |
msgid "Separate with a comma."
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: ../includes/admin.php:673
|
469 |
msgid ""
|
470 |
"Keywords may be drawn from, but are not limited to, the list of <a href="
|
471 |
+
"\"https://support.google.com/news/publisher/answer/116037\" target=\"_blank"
|
472 |
+
"\">existing Google News keywords</a>."
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: ../includes/admin.php:850 ../includes/admin.php:1022
|
476 |
+
msgid "XML Sitemap"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: ../includes/admin.php:885
|
480 |
+
#, php-format
|
481 |
+
msgid "Leave empty for automatic Priority as configured on %1$s > %2$s."
|
|
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: ../includes/admin.php:889
|
485 |
+
msgid "Exclude from XML Sitemap"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: ../includes/admin.php:901
|
489 |
+
msgid "Google News"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: ../includes/admin.php:926
|
493 |
+
msgid "Access"
|
|
|
|
|
|
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: ../includes/admin.php:935
|
497 |
+
msgid "Exclude from Google News Sitemap."
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: ../includes/admin.php:987
|
501 |
+
msgid "Enable XML sitemaps"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: ../includes/admin.php:1028
|
505 |
+
msgid "Include taxonomies"
|
|
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: ../includes/core.php:1297
|
509 |
+
msgid "Google News Genres"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: ../includes/core.php:1298
|
513 |
+
msgid "Google News Genre"
|
514 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravan
|
|
4 |
Tags: sitemap, xml sitemap, news sitemap, sitemap.xml, robots.txt, Google, Google News, Yahoo, Bing, , Yandex, Baidu, seo, feed, polylang, image sitemap
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 4.5
|
7 |
-
Stable tag: 4.6
|
8 |
|
9 |
XML and Google News Sitemaps to feed the hungry spiders. Multisite, WP Super Cache and Polylang compatible.
|
10 |
|
@@ -293,11 +293,21 @@ Thanks for sharing your translation :)
|
|
293 |
|
294 |
== Upgrade Notice ==
|
295 |
|
296 |
-
= 4.6 =
|
297 |
-
New
|
298 |
|
299 |
== Changelog ==
|
300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
= 4.6 =
|
302 |
* NEW: xmlsf_news_tags_after action hook
|
303 |
* Attempt to remove static sitemap files left over by other sitemap plugins
|
4 |
Tags: sitemap, xml sitemap, news sitemap, sitemap.xml, robots.txt, Google, Google News, Yahoo, Bing, , Yandex, Baidu, seo, feed, polylang, image sitemap
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 4.6.2
|
8 |
|
9 |
XML and Google News Sitemaps to feed the hungry spiders. Multisite, WP Super Cache and Polylang compatible.
|
10 |
|
293 |
|
294 |
== Upgrade Notice ==
|
295 |
|
296 |
+
= 4.6.2 =
|
297 |
+
New filter xmlsf_get_urls, more code cleanup and Polylang compat bugfix.
|
298 |
|
299 |
== Changelog ==
|
300 |
|
301 |
+
= 4.6.2 =
|
302 |
+
* NEW: filter xmlsf_get_urls
|
303 |
+
* More cleanup
|
304 |
+
* FIX: broken Polylang compatibility reported by @zesseb
|
305 |
+
|
306 |
+
= 4.6.1 =
|
307 |
+
* Code cleanup
|
308 |
+
* POT file update
|
309 |
+
* Dutch translation update
|
310 |
+
|
311 |
= 4.6 =
|
312 |
* NEW: xmlsf_news_tags_after action hook
|
313 |
* Attempt to remove static sitemap files left over by other sitemap plugins
|
terms
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
** Terminology **
|
2 |
+
|
3 |
+
News Source (=site)
|
4 |
+
News Source Details (= all news sitemap tags)
|
5 |
+
Source labels (= Genres/access tags)
|
6 |
+
Site name = Publication name
|
7 |
+
|
xml-sitemap.php
CHANGED
@@ -4,12 +4,12 @@ Plugin Name: XML Sitemap & Google News feeds
|
|
4 |
Plugin URI: http://status301.net/wordpress-plugins/xml-sitemap-feed/
|
5 |
Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols. Happy with the results? Please leave me a <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed&item_number=4%2e0&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us">tip</a></strong> for continued development and support. Thanks :)
|
6 |
Text Domain: xml-sitemap-feed
|
7 |
-
Version: 4.6
|
8 |
Author: RavanH
|
9 |
Author URI: http://status301.net/
|
10 |
*/
|
11 |
|
12 |
-
/* Copyright
|
13 |
http://status301.net/
|
14 |
mailto: ravanhagen@gmail.com
|
15 |
|
@@ -32,8 +32,8 @@ Author URI: http://status301.net/
|
|
32 |
* xmlsf_allowed_domain -> Filters the response when checking the url against allowed domains.
|
33 |
* Can be true or false.
|
34 |
* the_title_xmlsitemap -> Filters the Google News publication name, title and keywords
|
35 |
-
|
36 |
-
|
37 |
* ACTIONS
|
38 |
* xmlsf_news_tags_after -> Fired inside the Google News Sitemap loop at the end of the news
|
39 |
* tags, just before each closing </news:news> is generated. Can be used to
|
@@ -42,15 +42,13 @@ Author URI: http://status301.net/
|
|
42 |
* feel free to request, suggest or submit more :)
|
43 |
*/
|
44 |
|
45 |
-
if(!
|
46 |
-
|
47 |
-
die('You may not access this file directly!');
|
48 |
|
49 |
/* --------------------
|
50 |
* CONSTANTS
|
51 |
* -------------------- */
|
52 |
|
53 |
-
define('XMLSF_VERSION', '4.6');
|
54 |
|
55 |
define('XMLSF_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
56 |
|
4 |
Plugin URI: http://status301.net/wordpress-plugins/xml-sitemap-feed/
|
5 |
Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols. Happy with the results? Please leave me a <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=XML%20Sitemap%20Feed&item_number=4%2e0&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us">tip</a></strong> for continued development and support. Thanks :)
|
6 |
Text Domain: xml-sitemap-feed
|
7 |
+
Version: 4.6.1
|
8 |
Author: RavanH
|
9 |
Author URI: http://status301.net/
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2016 RavanH
|
13 |
http://status301.net/
|
14 |
mailto: ravanhagen@gmail.com
|
15 |
|
32 |
* xmlsf_allowed_domain -> Filters the response when checking the url against allowed domains.
|
33 |
* Can be true or false.
|
34 |
* the_title_xmlsitemap -> Filters the Google News publication name, title and keywords
|
35 |
+
* and Image title and caption tags
|
36 |
+
*
|
37 |
* ACTIONS
|
38 |
* xmlsf_news_tags_after -> Fired inside the Google News Sitemap loop at the end of the news
|
39 |
* tags, just before each closing </news:news> is generated. Can be used to
|
42 |
* feel free to request, suggest or submit more :)
|
43 |
*/
|
44 |
|
45 |
+
if ( ! defined( 'WPINC' ) ) die;
|
|
|
|
|
46 |
|
47 |
/* --------------------
|
48 |
* CONSTANTS
|
49 |
* -------------------- */
|
50 |
|
51 |
+
define('XMLSF_VERSION', '4.6.1');
|
52 |
|
53 |
define('XMLSF_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
54 |
|