Platinum SEO Pack - Version 1.0

Version Description

Download this release

Release Info

Developer Rajesh Babu
Plugin Icon 128x128 Platinum SEO Pack
Version 1.0
Comparing to
See all releases

Version 1.0

platinum-seo-pack.po ADDED
@@ -0,0 +1,546 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: platinum-seo-pack\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-06-28 13:30+0530\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Rajesh <rrajeshbab@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"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: E:\\wordpress-2.5\\platinum-seo-pack(2)\\wp-server\\trunk\n"
15
+
16
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:876
17
+ #, php-format
18
+ msgid "Could not download distribution (%s)"
19
+ msgstr ""
20
+
21
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:879
22
+ #, php-format
23
+ msgid "Could not download distribution (%s): %s"
24
+ msgstr ""
25
+
26
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:886
27
+ #, php-format
28
+ msgid "Could not open %s for writing"
29
+ msgstr ""
30
+
31
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:888
32
+ #, php-format
33
+ msgid "Please make sure %s is writable"
34
+ msgstr ""
35
+
36
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:894
37
+ #, php-format
38
+ msgid "Could not write to %s"
39
+ msgstr ""
40
+
41
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1042
42
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1049
43
+ msgid "Platinum SEO Pack"
44
+ msgstr ""
45
+
46
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1055
47
+ msgid "Click here for Support"
48
+ msgstr ""
49
+
50
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1063
51
+ msgid "Title:"
52
+ msgstr ""
53
+
54
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1067
55
+ msgid "Description:"
56
+ msgstr ""
57
+
58
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1072
59
+ msgid " characters. Most search engines use a maximum of 160 chars for the description."
60
+ msgstr ""
61
+
62
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1076
63
+ msgid "Keywords (comma separated):"
64
+ msgstr ""
65
+
66
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1082
67
+ msgid "PSP Meta Index and Nofollow Tags:"
68
+ msgstr ""
69
+
70
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1093
71
+ msgid "NOARCHIVE this page/post:"
72
+ msgstr ""
73
+
74
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1101
75
+ msgid "NOSNIPPET of this page/post:"
76
+ msgstr ""
77
+
78
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1109
79
+ msgid "Disable on this page/post:"
80
+ msgstr ""
81
+
82
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1138
83
+ msgid "Platinum SEO"
84
+ msgstr ""
85
+
86
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1171
87
+ msgid "Platinum SEO Options Updated."
88
+ msgstr ""
89
+
90
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1216
91
+ msgid "Upgraded to newest version. Please revisit the options page to ensure you see the newest version."
92
+ msgstr ""
93
+
94
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1219
95
+ msgid "Upgrade failed"
96
+ msgstr ""
97
+
98
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1234
99
+ msgid "Platinum SEO Plugin Options"
100
+ msgstr ""
101
+
102
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1236
103
+ msgid "This is version "
104
+ msgstr ""
105
+
106
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1238
107
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1239
108
+ msgid "FAQ"
109
+ msgstr ""
110
+
111
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1240
112
+ msgid "Platinum SEO Plugin Feedback"
113
+ msgstr ""
114
+
115
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1241
116
+ msgid "Feedback"
117
+ msgstr ""
118
+
119
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1242
120
+ msgid "Donations for Platinum SEO Plugin"
121
+ msgstr ""
122
+
123
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1243
124
+ msgid "Please Donate"
125
+ msgstr ""
126
+
127
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1252
128
+ msgid "One Click Upgrade"
129
+ msgstr ""
130
+
131
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1253
132
+ msgid "(Remember: Backup early, backup often!)"
133
+ msgstr ""
134
+
135
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1259
136
+ #, php-format
137
+ msgid "Please make sure that %s is writable."
138
+ msgstr ""
139
+
140
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1275
141
+ msgid "Click on option titles to get help!"
142
+ msgstr ""
143
+
144
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1282
145
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1298
146
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1314
147
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1330
148
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1346
149
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1373
150
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1398
151
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1420
152
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1441
153
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1462
154
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1483
155
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1505
156
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1527
157
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1547
158
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1562
159
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1578
160
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1594
161
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1610
162
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1626
163
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1642
164
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1658
165
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1674
166
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1690
167
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1706
168
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1722
169
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1738
170
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1754
171
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1770
172
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1786
173
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1802
174
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1818
175
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1834
176
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1850
177
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1866
178
+ msgid "Click for Help!"
179
+ msgstr ""
180
+
181
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1283
182
+ msgid "Home Title:"
183
+ msgstr ""
184
+
185
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1290
186
+ msgid "As the name implies, this will be the title of your homepage. This is independent of any other option. If not set, the default blog title will get used."
187
+ msgstr ""
188
+
189
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1299
190
+ msgid "Home Description:"
191
+ msgstr ""
192
+
193
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1306
194
+ msgid "The META description for your homepage. The default is no META description, if this is not set."
195
+ msgstr ""
196
+
197
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1315
198
+ msgid "Home Keywords (comma separated):"
199
+ msgstr ""
200
+
201
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1322
202
+ msgid "A comma separated list of the most important keywords for your site homepage. Use optimal number of keywords."
203
+ msgstr ""
204
+
205
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1331
206
+ msgid "Rewrite Titles:"
207
+ msgstr ""
208
+
209
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1338
210
+ msgid "Note that this is all about the title tag. This is what you see in your browser's window title bar. This is NOT visible on a page, only in the window title bar and of course in the source. If set, all page, post, category, search and archive page titles get rewritten. You can specify the format for most of them. For example: The default templates puts the title tag of posts like this: Blog Archive >> Blog Name >> Post Title. But this is far from optimal. With the default post title format, Rewrite Title rewrites this to Post Title | Blog Name. If you have manually defined a title (in one of the text fields for Platinum SEO Plugin input) this will become the title of your post in the format string."
211
+ msgstr ""
212
+
213
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1347
214
+ msgid "Post Title Format:"
215
+ msgstr ""
216
+
217
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1354
218
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1381
219
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1406
220
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1428
221
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1449
222
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1470
223
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1491
224
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1513
225
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1536
226
+ msgid "The following macros are supported:"
227
+ msgstr ""
228
+
229
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1356
230
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1383
231
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1408
232
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1430
233
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1451
234
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1472
235
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1493
236
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1515
237
+ msgid "%blog_title% - Your blog title"
238
+ msgstr ""
239
+
240
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1357
241
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1384
242
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1409
243
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1431
244
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1452
245
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1473
246
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1494
247
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1516
248
+ msgid "%blog_description% - Your blog description"
249
+ msgstr ""
250
+
251
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1358
252
+ msgid "%post_title% - The original title of the post"
253
+ msgstr ""
254
+
255
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1359
256
+ msgid "%category_title% - The (main) category of the post"
257
+ msgstr ""
258
+
259
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1360
260
+ msgid "%category% - Alias for %category_title%"
261
+ msgstr ""
262
+
263
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1361
264
+ msgid "%post_author_login% - This post author's login"
265
+ msgstr ""
266
+
267
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1362
268
+ msgid "%post_author_nicename% - This post author's nicename"
269
+ msgstr ""
270
+
271
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1363
272
+ msgid "%post_author_firstname% - This post author's first name (capitalized)"
273
+ msgstr ""
274
+
275
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1364
276
+ msgid "%post_author_lastname% - This post author's last name (capitalized)"
277
+ msgstr ""
278
+
279
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1374
280
+ msgid "Page Title Format:"
281
+ msgstr ""
282
+
283
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1385
284
+ msgid "%page_title% - The original title of the page"
285
+ msgstr ""
286
+
287
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1386
288
+ msgid "%page_author_login% - This page author's login"
289
+ msgstr ""
290
+
291
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1387
292
+ msgid "%page_author_nicename% - This page author's nicename"
293
+ msgstr ""
294
+
295
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1388
296
+ msgid "%page_author_firstname% - This page author's first name (capitalized)"
297
+ msgstr ""
298
+
299
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1389
300
+ msgid "%page_author_lastname% - This page author's last name (capitalized)"
301
+ msgstr ""
302
+
303
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1399
304
+ msgid "Category Title Format:"
305
+ msgstr ""
306
+
307
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1410
308
+ msgid "%category_title% - The original title of the category"
309
+ msgstr ""
310
+
311
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1411
312
+ msgid "%category_description% - The description of the category"
313
+ msgstr ""
314
+
315
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1421
316
+ msgid "Archive Title Format:"
317
+ msgstr ""
318
+
319
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1432
320
+ msgid "%date% - The original archive title given by wordpress, e.g. \"2007\" or \"2007 August\""
321
+ msgstr ""
322
+
323
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1442
324
+ msgid "Tag Title Format:"
325
+ msgstr ""
326
+
327
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1453
328
+ msgid "%tag% - The name of the tag"
329
+ msgstr ""
330
+
331
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1463
332
+ msgid "Search Title Format:"
333
+ msgstr ""
334
+
335
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1474
336
+ msgid "%search% - What was searched for"
337
+ msgstr ""
338
+
339
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1484
340
+ msgid "Description Format:"
341
+ msgstr ""
342
+
343
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1495
344
+ msgid "%description% - The original description as determined by the plugin, for e.g. the excerpt if one is set or an auto-generated one, if that option is set"
345
+ msgstr ""
346
+
347
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1496
348
+ msgid "%wp_title% - The original wordpress title, for e.g. post title for posts"
349
+ msgstr ""
350
+
351
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1506
352
+ msgid "404 Title Format:"
353
+ msgstr ""
354
+
355
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1517
356
+ msgid "%request_url% - The original URL path, like \"/url-that-does-not-exist/\""
357
+ msgstr ""
358
+
359
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1518
360
+ msgid "%request_words% - The URL path in human readable form, like \"Url That Does Not Exist\""
361
+ msgstr ""
362
+
363
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1528
364
+ msgid "Paged Format:"
365
+ msgstr ""
366
+
367
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1535
368
+ msgid "This string gets appended/prepended to titles when they are for paged index pages (like home or archive pages)."
369
+ msgstr ""
370
+
371
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1538
372
+ msgid "%page% - The page number"
373
+ msgstr ""
374
+
375
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1548
376
+ msgid "Use Categories for META keywords:"
377
+ msgstr ""
378
+
379
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1554
380
+ msgid "Check this if you want your categories for a given post used as the META keywords for this post (in addition to any keywords and tags you specify on the post edit page)."
381
+ msgstr ""
382
+
383
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1563
384
+ msgid "Use noindex for Categories:"
385
+ msgstr ""
386
+
387
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1570
388
+ msgid "Check this for excluding category pages from being crawled. Might help to avoid duplicate content."
389
+ msgstr ""
390
+
391
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1579
392
+ msgid "Use noindex for Date based Archives:"
393
+ msgstr ""
394
+
395
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1586
396
+ msgid "Check this for excluding date based archive pages from being crawled. Useful for avoiding duplicate content."
397
+ msgstr ""
398
+
399
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1595
400
+ msgid "Use noindex for Tag Archives:"
401
+ msgstr ""
402
+
403
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1602
404
+ msgid "Check this for excluding tag pages from being crawled. Might help to avoid duplicate content."
405
+ msgstr ""
406
+
407
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1611
408
+ msgid "Use noindex for comments RSS feeds:"
409
+ msgstr ""
410
+
411
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1618
412
+ msgid "Check this for excluding comments RSS feeds from being indexed."
413
+ msgstr ""
414
+
415
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1627
416
+ msgid "Use noindex for all RSS feeds:"
417
+ msgstr ""
418
+
419
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1634
420
+ msgid "Check this for excluding all RSS feeds from being indexed."
421
+ msgstr ""
422
+
423
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1643
424
+ msgid "Use noindex for Search result pages on the site:"
425
+ msgstr ""
426
+
427
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1650
428
+ msgid "Check this for excluding all search result pages from being indexed."
429
+ msgstr ""
430
+
431
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1659
432
+ msgid "Use noindex for sub pages of home:"
433
+ msgstr ""
434
+
435
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1666
436
+ msgid "Check this for excluding all sub pages of home from being indexed."
437
+ msgstr ""
438
+
439
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1675
440
+ msgid "Use noindex for author archives:"
441
+ msgstr ""
442
+
443
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1682
444
+ msgid "Check this for excluding author archives from being indexed."
445
+ msgstr ""
446
+
447
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1691
448
+ msgid "Add noodp meta tag:"
449
+ msgstr ""
450
+
451
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1698
452
+ msgid "Check this for adding noopd meta tag."
453
+ msgstr ""
454
+
455
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1707
456
+ msgid "Add noydir meta tag:"
457
+ msgstr ""
458
+
459
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1714
460
+ msgid "Check this for adding noydir meta tag."
461
+ msgstr ""
462
+
463
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1723
464
+ msgid "nofollow category listings on pages:"
465
+ msgstr ""
466
+
467
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1730
468
+ msgid "Check this to nofollow category listings on pages."
469
+ msgstr ""
470
+
471
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1739
472
+ msgid "nofollow category listings on posts:"
473
+ msgstr ""
474
+
475
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1746
476
+ msgid "Check this to nofollow category listings on posts (Not recommended)"
477
+ msgstr ""
478
+
479
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1755
480
+ msgid "nofollow external links on front page:"
481
+ msgstr ""
482
+
483
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1762
484
+ msgid "Check this to nofollow external links on front page including home,category,author,tag and search pages."
485
+ msgstr ""
486
+
487
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1771
488
+ msgid "nofollow login and registration links:"
489
+ msgstr ""
490
+
491
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1778
492
+ msgid "Check this to nofollow login and registration links"
493
+ msgstr ""
494
+
495
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1787
496
+ msgid "nofollow links to tag pages:"
497
+ msgstr ""
498
+
499
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1794
500
+ msgid "Check this to nofollow links to tag pages"
501
+ msgstr ""
502
+
503
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1803
504
+ msgid "Autogenerate Descriptions:"
505
+ msgstr ""
506
+
507
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1810
508
+ msgid "Check this and your META descriptions will get autogenerated, if there's no excerpt."
509
+ msgstr ""
510
+
511
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1819
512
+ msgid "Additional Post Headers:"
513
+ msgstr ""
514
+
515
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1826
516
+ msgid "What you enter here will be copied verbatim to your header on post pages. You can enter whatever additional headers you want here, even references to stylesheets or google, yahoo, msn verification links."
517
+ msgstr ""
518
+
519
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1835
520
+ msgid "Additional Page Headers:"
521
+ msgstr ""
522
+
523
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1842
524
+ msgid "What you enter here will be copied verbatim to your header on pages. You can enter whatever additional headers you want here, even references to stylesheets or google, yahoo, msn verification links"
525
+ msgstr ""
526
+
527
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1851
528
+ msgid "Additional Home Headers:"
529
+ msgstr ""
530
+
531
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1858
532
+ msgid "What you enter here will be copied verbatim to your header on the home page. You can enter whatever additional headers you want here, even references to stylesheets or google, yahoo, msn verification links"
533
+ msgstr ""
534
+
535
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1867
536
+ msgid "Log important events:"
537
+ msgstr ""
538
+
539
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1874
540
+ msgid "Check this and Platinum SEO pack will create a log of important events (platinum_seo_pack.log) in its plugin directory which might help debugging it. Make sure this directory is writable."
541
+ msgstr ""
542
+
543
+ #: E:\wordpress-2.5\platinum-seo-pack(2)\wp-server\trunk/platinum_seo_pack.php:1883
544
+ msgid "Update Options"
545
+ msgstr ""
546
+
platinum_seo_pack-ru_RU.mo ADDED
Binary file
platinum_seo_pack.php ADDED
@@ -0,0 +1,1975 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Plugin Name: Platinum SEO Pack
5
+ Plugin URI: http://techblissonline.com/platinum-seo-pack/
6
+ Description: Complete SEO solution for your Wordpress blog.
7
+ Version: 1.0
8
+ Author: Techblissonline Dot Com (previous authors:Uberdose, joost de valk)
9
+ Author URI: http://techblissonline.com/
10
+ */
11
+
12
+ /*
13
+ Copyright (C) 2008 techblissonline.com (platinumseopack AT techblissonline DOT com)
14
+
15
+ This program is free software; you can redistribute it and/or modify
16
+ it under the terms of the GNU General Public License as published by
17
+ the Free Software Foundation; either version 3 of the License, or
18
+ (at your option) any later version.
19
+
20
+ This program is distributed in the hope that it will be useful,
21
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
22
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
+ GNU General Public License for more details.
24
+
25
+ You should have received a copy of the GNU General Public License
26
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
27
+ */
28
+
29
+ class Platinum_SEO_Pack {
30
+
31
+ var $version = "1.0";
32
+
33
+ /** Max numbers of chars in auto-generated description */
34
+ var $max_description_length = 160;
35
+
36
+ /** Minimum number of chars an excerpt should be so that it can be used
37
+ * as description. Touch only if you know what you're doing
38
+ */
39
+ var $min_description_length = 1;
40
+
41
+ //var $ob_start_detected = false;
42
+
43
+ var $title_start = -1;
44
+
45
+ var $title_end = -1;
46
+
47
+ /** The title before rewriting */
48
+ var $orig_title = '';
49
+
50
+ /** Temp filename for the latest version. */
51
+ var $upgrade_filename = 'psptemp.zip';
52
+
53
+ /** Where to extract the downloaded newest version. */
54
+ var $upgrade_folder;
55
+
56
+ /** Any error in upgrading. */
57
+ var $upgrade_error;
58
+
59
+ /** Which zip to download in order to upgrade .*/
60
+ var $upgrade_url = 'http://downloads.wordpress.org/plugin/platinum-seo-pack.zip';
61
+
62
+ /** Filename of log file. */
63
+ var $log_file;
64
+
65
+ /** Flag whether there should be logging. */
66
+ var $do_log;
67
+
68
+ var $wp_version;
69
+
70
+ function Platinum_SEO_Pack() {
71
+ global $wp_version;
72
+ $this->wp_version = $wp_version;
73
+
74
+ $this->log_file = dirname(__FILE__) . '/platinum_seo_pack.log';
75
+ if (get_option('aiosp_do_log')) {
76
+ $this->do_log = true;
77
+ } else {
78
+ $this->do_log = false;
79
+ }
80
+
81
+ $this->upgrade_filename = dirname(__FILE__) . '/' . $this->upgrade_filename;
82
+ $this->upgrade_folder = dirname(__FILE__);
83
+ }
84
+
85
+ // Check if a given slug belongs to a post in the database
86
+ function does_post_exist( $slug ) {
87
+
88
+ global $wpdb;
89
+
90
+ if( $ID = $wpdb->get_var( 'SELECT ID FROM '.$wpdb->posts.' WHERE post_name = "'.$slug.'" AND post_status = "publish" ' ) ) {
91
+ return $ID;
92
+ }
93
+ else {
94
+ return false;
95
+ }
96
+
97
+ }
98
+
99
+ //301 redirect to new permalink
100
+ function redirect_to_new_location( $post_new_location ) {
101
+
102
+ //301 redirect to new location
103
+ header( "HTTP/1.1 301 Moved Permanently" );
104
+ header( "Location: $post_new_location" );
105
+ }
106
+
107
+
108
+ // When the post is not found, and is_404() == true, verify if the requested slug belongs to a post in the database.
109
+
110
+ function has_permalink_changed() {
111
+
112
+ if( is_404() ) {
113
+
114
+ $slug = basename( $_SERVER['REQUEST_URI'] );
115
+
116
+ if( $ID = $this->does_post_exist( $slug )) {
117
+
118
+ $this->redirect_to_new_location( get_permalink( $ID ));
119
+
120
+ }
121
+ }
122
+ }
123
+
124
+ function apply_seo_title() {
125
+ global $wp_query;
126
+ $post = $wp_query->get_queried_object();
127
+
128
+ if (is_feed()) {
129
+ return;
130
+ }
131
+
132
+ if (is_single() || is_page()) {
133
+ $psp_disable = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'psp_disable', true)));
134
+ if ($psp_disable) {
135
+ return;
136
+ }
137
+ }
138
+
139
+ if (get_option('aiosp_rewrite_titles')) {
140
+ ob_start(array($this, 'callback_for_title_rewrite'));
141
+ }
142
+ }
143
+
144
+ function callback_for_title_rewrite($content) {
145
+
146
+ $content = $this->rewrite_title($content);
147
+ if (get_option('psp_nofollow_ext_links')){
148
+ $content = $this->nofollow_home_category($content);
149
+ }
150
+
151
+ return $content;
152
+ }
153
+
154
+ function init() {
155
+ if (function_exists('load_plugin_textdomain')) {
156
+ load_plugin_textdomain('platinum_seo_pack', 'wp-content/plugins/platinum-seo-pack');
157
+ }
158
+ }
159
+
160
+ function is_static_front_page() {
161
+ global $wp_query;
162
+ $post = $wp_query->get_queried_object();
163
+ return get_option('show_on_front') == 'page' && is_page() && $post->ID == get_option('page_on_front');
164
+ }
165
+
166
+ function is_static_posts_page() {
167
+ global $wp_query;
168
+ $post = $wp_query->get_queried_object();
169
+ return get_option('show_on_front') == 'page' && is_home() && $post->ID == get_option('page_for_posts');
170
+ }
171
+
172
+ function add_nofollow($matches) {
173
+ $origin = get_bloginfo('wpurl');
174
+ if ((strpos($matches[2],$origin)) === false && ( strpos($matches[1],'rel="nofollow"') === false ) && ( strpos($matches[3],'rel="nofollow"') === false ) ) {
175
+ $nofollow = ' rel="nofollow" ';
176
+ } else {
177
+ $nofollow = '';
178
+ }
179
+ return '<a href="' . $matches[2] . '"' . $nofollow . $matches[1] . $matches[3] . '>' . $matches[4] . '</a>';
180
+ }
181
+
182
+ function nofollow_home_category($output) {
183
+ // Loop through the content of each post and add a nofollow to links on home page or a category page.
184
+ if (is_home() || is_category() ||is_search() || (function_exists(is_tag) && is_tag()) || is_author()) {
185
+ $anchorPattern = '/<a (.*?)href="(.*?)"(.*?)>(.*?)<\/a>/i';
186
+ $output = preg_replace_callback($anchorPattern,array(get_class($this),'add_nofollow'),$output);
187
+ }
188
+ return $output;
189
+ }
190
+
191
+ function noindex_feed() {
192
+
193
+ echo '<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />'."\n";
194
+ }
195
+
196
+ function nofollow_link($output) {
197
+
198
+ return str_replace('<a ','<a rel="nofollow" ',$output);
199
+
200
+ }
201
+
202
+
203
+ function nofollow_category_listing($output) {
204
+
205
+ if ( (get_option('psp_nofollow_cat_posts') && (is_single() || is_search()) ) || (get_option('psp_nofollow_cat_pages') && (is_home() || is_page() || is_category() || is_tag()) ) ) {
206
+
207
+ $output = $this->nofollow_link($output);
208
+ return $output;
209
+
210
+ } else {
211
+
212
+ return $output;
213
+ }
214
+ }
215
+
216
+ function nofollow_taglinks($output) {
217
+
218
+ $output = str_replace('rel="tag"','rel="nofollow tag"',$output);
219
+ return $output;
220
+ }
221
+
222
+ function echo_to_blog_header() {
223
+ if (is_feed()) {
224
+ return;
225
+ }
226
+
227
+ global $wp_query;
228
+ $post = $wp_query->get_queried_object();
229
+ $meta_string = null;
230
+ $meta = null;
231
+
232
+ //echo("wp_head() " . wp_title('', false) . " is_home() => " . is_home() . ", is_page() => " . is_page() . ", is_single() => " . is_single() . ", is_static_front_page() => " . $this->is_static_front_page() . ", is_static_posts_page() => " . $this->is_static_posts_page());
233
+
234
+ if (is_single() || is_page()) {
235
+ $psp_disable = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'psp_disable', true)));
236
+
237
+ if ($psp_disable) {
238
+ return;
239
+ }
240
+
241
+ //$pspmeta = $_POST["psp_robotsmeta"];
242
+ $pspmeta = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'robotsmeta', true)));
243
+
244
+ if (isset($pspmeta) && !empty($pspmeta)) {
245
+
246
+ $meta = $pspmeta;
247
+
248
+ } else {
249
+
250
+ $meta .= "index,follow";
251
+
252
+ }
253
+ $psp_noarchive = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'psp_noarchive', true)));
254
+ if ($psp_noarchive) {
255
+ if ($meta != "") {
256
+ $meta .= ",";
257
+ }
258
+
259
+ $meta .= "noarchive";
260
+
261
+ }
262
+
263
+ $psp_nosnippet = htmlspecialchars(stripcslashes(get_post_meta($post->ID, 'psp_nosnippet', true)));
264
+ if ($psp_nosnippet) {
265
+ if ($meta != "") {
266
+ $meta .= ",";
267
+ }
268
+
269
+ $meta .= "nosnippet";
270
+
271
+ }
272
+
273
+ } else if ( (is_author() && get_option('psp_author_archives_noindex')) || (is_category() && get_option('psp_category_noindex')) || (is_date() && get_option('psp_archive_noindex')) || (is_search() && get_option('psp_search_results_noindex')) || (function_exists(is_tag) && is_tag() && get_option('psp_tags_noindex')) ) {
274
+ $meta .= "noindex,follow";
275
+
276
+ } else if (is_home()) {
277
+ if (get_option('psp_sub_pages_home_noindex') && get_query_var('paged') > 1) {
278
+ $meta .= "noindex,follow";
279
+ } else {
280
+ $meta .= "index,follow";
281
+ }
282
+ }else if ((function_exists(is_tag) && is_tag() && !get_option('psp_tags_noindex'))|| (is_category() && !get_option('psp_category_noindex')) || (is_author() && !get_option('psp_author_archives_noindex')) || (is_date() && !get_option('psp_archive_noindex')) || (is_search() && !get_option('psp_search_results_noindex')) || (is_author() && !get_option('psp_author_archives_noindex')) ) {
283
+ if (get_option('psp_sub_pages_home_noindex') && get_query_var('paged') > 1) {
284
+ $meta .= "noindex,follow";
285
+ } else {
286
+ $meta .= "index,follow";
287
+ }
288
+ }
289
+ if (get_option('psp_noodp_metatag')) {
290
+
291
+ if ($meta != "") {
292
+ $meta .= ",";
293
+ }
294
+
295
+ $meta .= "noodp";
296
+ }
297
+
298
+ if (get_option('psp_noydir_metatag')) {
299
+
300
+ if ($meta != "") {
301
+ $meta .= ",";
302
+ }
303
+
304
+ $meta .= "noydir";
305
+
306
+ }
307
+
308
+ if ($meta != "" || isset($meta)) {
309
+
310
+ if ($$meta_string != "" || isset($meta_string)) {
311
+
312
+ $$meta_string .= "\n";
313
+ }
314
+
315
+ $meta_string .= '<meta name="robots" content="'.$meta.'" />';
316
+
317
+ }
318
+
319
+ echo "\n<!-- platinum seo pack $this->version ";
320
+ if ($this->ob_start_detected) {
321
+ echo "ob_start_detected ";
322
+ }
323
+ echo "[$this->title_start,$this->title_end] ";
324
+ echo "-->\n";
325
+
326
+ if ((is_home() && get_option('aiosp_home_keywords')) || $this->is_static_front_page()) {
327
+ $keywords = trim($this->internationalize(get_option('aiosp_home_keywords')));
328
+ } else {
329
+ $keywords = $this->get_all_keywords();
330
+ }
331
+ if (is_single() || is_page()) {
332
+ if ($this->is_static_front_page()) {
333
+ $description = trim(stripcslashes($this->internationalize(get_option('aiosp_home_description'))));
334
+ } else {
335
+ $description = $this->get_post_description($post);
336
+ }
337
+ } else if (is_home()) {
338
+ $description = trim(stripcslashes($this->internationalize(get_option('aiosp_home_description'))));
339
+ } else if (is_category()) {
340
+ $description = $this->internationalize(category_description());
341
+ }
342
+
343
+ if (isset($description) && (strlen($description) > $this->min_description_length) && !(is_home() && is_paged())) {
344
+ $description = trim(strip_tags($description));
345
+ $description = str_replace('"', '', $description);
346
+
347
+ // replace newlines on mac / windows?
348
+ $description = str_replace("\r\n", ' ', $description);
349
+
350
+ // maybe linux uses this alone
351
+ $description = str_replace("\n", ' ', $description);
352
+
353
+ if (isset($meta_string)) {
354
+ $meta_string .= "\n";
355
+ } else {
356
+ $meta_string = '';
357
+ }
358
+
359
+ // description format
360
+ $description_format = get_option('aiosp_description_format');
361
+ if (!isset($description_format) || empty($description_format)) {
362
+ $description_format = "%description%";
363
+ }
364
+ $description = str_replace('%description%', $description, $description_format);
365
+ $description = str_replace('%blog_title%', get_bloginfo('name'), $description);
366
+ $description = str_replace('%blog_description%', get_bloginfo('description'), $description);
367
+ $description = str_replace('%wp_title%', $this->get_original_title(), $description);
368
+
369
+ $meta_string .= sprintf("<meta name=\"description\" content=\"%s\" />", $description);
370
+ }
371
+
372
+ if (isset ($keywords) && !empty($keywords) && !(is_home() && is_paged())) {
373
+ if (isset($meta_string)) {
374
+ $meta_string .= "\n";
375
+ }
376
+ $meta_string .= sprintf("<meta name=\"keywords\" content=\"%s\" />", $keywords);
377
+ }
378
+
379
+ $page_meta = stripcslashes(get_option('aiosp_page_meta_tags'));
380
+ $post_meta = stripcslashes(get_option('aiosp_post_meta_tags'));
381
+ $home_meta = stripcslashes(get_option('aiosp_home_meta_tags'));
382
+ if (is_page() && isset($page_meta) && !empty($page_meta)) {
383
+ if (isset($meta_string)) {
384
+ $meta_string .= "\n";
385
+ }
386
+ echo "\n$page_meta";
387
+ }
388
+
389
+ if (is_single() && isset($post_meta) && !empty($post_meta)) {
390
+ if (isset($meta_string)) {
391
+ $meta_string .= "\n";
392
+ }
393
+ $meta_string .= "$post_meta";
394
+ }
395
+
396
+ if (is_home() && !empty($home_meta)) {
397
+ if (isset($meta_string)) {
398
+ $meta_string .= "\n";
399
+ }
400
+ $meta_string .= "$home_meta";
401
+ }
402
+
403
+ if ($meta_string != null) {
404
+ echo "$meta_string\n";
405
+ }
406
+
407
+ echo "<!-- /platinum one seo pack -->\n";
408
+ }
409
+
410
+ function get_post_description($post) {
411
+ $description = trim(stripcslashes($this->internationalize(get_post_meta($post->ID, "description", true))));
412
+ if (!$description) {
413
+ $description = $this->trim_excerpt_without_filters_full_length($this->internationalize($post->post_excerpt));
414
+ if (!$description && get_option("aiosp_generate_descriptions")) {
415
+ $description = $this->trim_excerpt_without_filters($this->internationalize($post->post_content));
416
+ }
417
+ }
418
+
419
+ // "internal whitespace trim"
420
+ $description = preg_replace("/\s\s+/", " ", $description);
421
+
422
+ return $description;
423
+ }
424
+
425
+ function replace_title($content, $title) {
426
+ $title = trim(strip_tags($title));
427
+
428
+ $title_tag_start = "<title>";
429
+ $title_tag_end = "</title>";
430
+ $len_start = strlen($title_tag_start);
431
+ $len_end = strlen($title_tag_end);
432
+ $title = stripcslashes(trim($title));
433
+ $start = strpos($content, $title_tag_start);
434
+ $end = strpos($content, $title_tag_end);
435
+
436
+ $this->title_start = $start;
437
+ $this->title_end = $end;
438
+ $this->orig_title = $title;
439
+
440
+ if ($start && $end) {
441
+ $header = substr($content, 0, $start + $len_start) . $title . substr($content, $end);
442
+ } else {
443
+ // this breaks some sitemap plugins (like wpg2)
444
+ //$header = $content . "<title>$title</title>";
445
+
446
+ $header = $content;
447
+ }
448
+
449
+ return $header;
450
+ }
451
+
452
+ function internationalize($in) {
453
+ if (function_exists('langswitch_filter_langs_with_message')) {
454
+ $in = langswitch_filter_langs_with_message($in);
455
+ }
456
+ if (function_exists('polyglot_filter')) {
457
+ $in = polyglot_filter($in);
458
+ }
459
+ if (function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) {
460
+ $in = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($in);
461
+ }
462
+ $in = apply_filters('localization', $in);
463
+ return $in;
464
+ }
465
+
466
+ /** @return The original title as delivered by WP (well, in most cases) */
467
+ function get_original_title() {
468
+ global $wp_query;
469
+ if (!$wp_query) {
470
+ return null;
471
+ }
472
+
473
+ $post = $wp_query->get_queried_object();
474
+
475
+ // the_search_query() is not suitable, it cannot just return
476
+ global $s;
477
+
478
+ $title = null;
479
+
480
+ if (is_home()) {
481
+ $title = get_option('blogname');
482
+ } else if (is_single()) {
483
+ $title = $this->internationalize(wp_title('', false));
484
+ } else if (is_search() && isset($s) && !empty($s)) {
485
+ if (function_exists('attribute_escape')) {
486
+ $search = attribute_escape(stripcslashes($s));
487
+ } else {
488
+ $search = wp_specialchars(stripcslashes($s), true);
489
+ }
490
+ $search = $this->capitalize($search);
491
+ $title = $search;
492
+ } else if (is_category() && !is_feed()) {
493
+ //$category_description = $this->internationalize(category_description());
494
+ $category_name = ucwords($this->internationalize(single_cat_title('', false)));
495
+ $title = $category_name;
496
+ } else if (is_page()) {
497
+ $title = $this->internationalize(wp_title('', false));
498
+ } else if (function_exists('is_tag') && is_tag()) {
499
+ global $utw;
500
+ if ($utw) {
501
+ $tags = $utw->GetCurrentTagSet();
502
+ $tag = $tags[0]->tag;
503
+ $tag = str_replace('-', ' ', $tag);
504
+ } else {
505
+ // wordpress > 2.3
506
+ $tag = $this->internationalize(wp_title('', false));
507
+ }
508
+ if ($tag) {
509
+ $title = $tag;
510
+ }
511
+ } else if (is_archive()) {
512
+ $title = $this->internationalize(wp_title('', false));
513
+ } else if (is_404()) {
514
+ $title_format = get_option('aiosp_404_title_format');
515
+ $new_title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
516
+ $new_title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $new_title);
517
+ $new_title = str_replace('%request_url%', $_SERVER['REQUEST_URI'], $new_title);
518
+ $new_title = str_replace('%request_words%', $this->request_as_words($_SERVER['REQUEST_URI']), $new_title);
519
+ $title = $new_title;
520
+ }
521
+
522
+ return trim($title);
523
+ }
524
+
525
+ function paged_title($title) {
526
+ // the page number if paged
527
+ global $paged;
528
+
529
+ // simple tagging support
530
+ global $STagging;
531
+
532
+ if (is_paged() || (isset($STagging) && $STagging->is_tag_view() && $paged)) {
533
+ $part = $this->internationalize(get_option('aiosp_paged_format'));
534
+ if (isset($part) || !empty($part)) {
535
+ $part = " " . trim($part);
536
+ $part = str_replace('%page%', $paged, $part);
537
+ $this->log("paged_title() [$title] [$part]");
538
+ $title .= $part;
539
+ }
540
+ }
541
+ return $title;
542
+ }
543
+
544
+ function rewrite_title($header) {
545
+ global $wp_query;
546
+ if (!$wp_query) {
547
+ $header .= "<!-- no wp_query found! -->\n";
548
+ return $header;
549
+ }
550
+
551
+ $post = $wp_query->get_queried_object();
552
+
553
+ // the_search_query() is not suitable, it cannot just return
554
+ global $s;
555
+
556
+ // simple tagging support
557
+ global $STagging;
558
+
559
+ if (is_home()) {
560
+ $title = $this->internationalize(get_option('aiosp_home_title'));
561
+ if (empty($title)) {
562
+ $title = $this->internationalize(get_option('blogname'));
563
+ }
564
+ $title = $this->paged_title($title);
565
+ $header = $this->replace_title($header, $title);
566
+ } else if (is_single()) {
567
+ // we're not in the loop :(
568
+ $authordata = get_userdata($post->post_author);
569
+ $categories = get_the_category($post->ID);
570
+ $category = '';
571
+ if (count($categories) > 0) {
572
+ $category = $categories[0]->cat_name;
573
+ }
574
+ $title = $this->internationalize(get_post_meta($post->ID, "title", true));
575
+ if (!$title) {
576
+ $title = $this->internationalize(get_post_meta($post->ID, "title_tag", true));
577
+ if (!$title) {
578
+ $title = $this->internationalize(wp_title('', false));
579
+ }
580
+ }
581
+ $title_format = get_option('aiosp_post_title_format');
582
+ $new_title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
583
+ $new_title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $new_title);
584
+ $new_title = str_replace('%post_title%', $title, $new_title);
585
+ $new_title = str_replace('%category%', $category, $new_title);
586
+ $new_title = str_replace('%category_title%', $category, $new_title);
587
+ $new_title = str_replace('%post_author_login%', $authordata->user_login, $new_title);
588
+ $new_title = str_replace('%post_author_nicename%', $authordata->user_nicename, $new_title);
589
+ $new_title = str_replace('%post_author_firstname%', ucwords($authordata->first_name), $new_title);
590
+ $new_title = str_replace('%post_author_lastname%', ucwords($authordata->last_name), $new_title);
591
+ $title = $new_title;
592
+ $title = trim($title);
593
+ $header = $this->replace_title($header, $title);
594
+ } else if (is_search() && isset($s) && !empty($s)) {
595
+ if (function_exists('attribute_escape')) {
596
+ $search = attribute_escape(stripcslashes($s));
597
+ } else {
598
+ $search = wp_specialchars(stripcslashes($s), true);
599
+ }
600
+ $search = $this->capitalize($search);
601
+ $title_format = get_option('aiosp_search_title_format');
602
+ $title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
603
+ $title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $title);
604
+ $title = str_replace('%search%', $search, $title);
605
+ $header = $this->replace_title($header, $title);
606
+ } else if (is_category() && !is_feed()) {
607
+ $category_description = $this->internationalize(category_description());
608
+ $category_name = ucwords($this->internationalize(single_cat_title('', false)));
609
+ $title_format = get_option('aiosp_category_title_format');
610
+ $title = str_replace('%category_title%', $category_name, $title_format);
611
+ $title = str_replace('%category_description%', $category_description, $title);
612
+ $title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title);
613
+ $title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $title);
614
+ $title = $this->paged_title($title);
615
+ $header = $this->replace_title($header, $title);
616
+ } else if (is_page()) {
617
+ // we're not in the loop :(
618
+ $authordata = get_userdata($post->post_author);
619
+ if ($this->is_static_front_page()) {
620
+ if ($this->internationalize(get_option('aiosp_home_title'))) {
621
+ $header = $this->replace_title($header, $this->internationalize(get_option('aiosp_home_title')));
622
+ }
623
+ } else {
624
+ $title = $this->internationalize(get_post_meta($post->ID, "title", true));
625
+ if (!$title) {
626
+ $title = $this->internationalize(wp_title('', false));
627
+ }
628
+ $title_format = get_option('aiosp_page_title_format');
629
+ $new_title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
630
+ $new_title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $new_title);
631
+ $new_title = str_replace('%page_title%', $title, $new_title);
632
+ $new_title = str_replace('%page_author_login%', $authordata->user_login, $new_title);
633
+ $new_title = str_replace('%page_author_nicename%', $authordata->user_nicename, $new_title);
634
+ $new_title = str_replace('%page_author_firstname%', ucwords($authordata->first_name), $new_title);
635
+ $new_title = str_replace('%page_author_lastname%', ucwords($authordata->last_name), $new_title);
636
+ $title = trim($new_title);
637
+ $header = $this->replace_title($header, $title);
638
+ }
639
+ } else if (function_exists('is_tag') && is_tag()) {
640
+ global $utw;
641
+ if ($utw) {
642
+ $tags = $utw->GetCurrentTagSet();
643
+ $tag = $tags[0]->tag;
644
+ $tag = str_replace('-', ' ', $tag);
645
+ } else {
646
+ // wordpress > 2.3
647
+ $tag = $this->internationalize(wp_title('', false));
648
+ }
649
+ if ($tag) {
650
+ $tag = $this->capitalize($tag);
651
+ $title_format = get_option('aiosp_tag_title_format');
652
+ $title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
653
+ $title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $title);
654
+ $title = str_replace('%tag%', $tag, $title);
655
+ $title = $this->paged_title($title);
656
+ $header = $this->replace_title($header, $title);
657
+ }
658
+ } else if (isset($STagging) && $STagging->is_tag_view()) { // simple tagging support
659
+ $tag = $STagging->search_tag;
660
+ if ($tag) {
661
+ $tag = $this->capitalize($tag);
662
+ $title_format = get_option('aiosp_tag_title_format');
663
+ $title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
664
+ $title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $title);
665
+ $title = str_replace('%tag%', $tag, $title);
666
+ $title = $this->paged_title($title);
667
+ $header = $this->replace_title($header, $title);
668
+ }
669
+ } else if (is_archive()) {
670
+ $date = $this->internationalize(wp_title('', false));
671
+ $title_format = get_option('aiosp_archive_title_format');
672
+ $new_title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
673
+ $new_title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $new_title);
674
+ $new_title = str_replace('%date%', $date, $new_title);
675
+ $title = trim($new_title);
676
+ $title = $this->paged_title($title);
677
+ $header = $this->replace_title($header, $title);
678
+ } else if (is_404()) {
679
+ $title_format = get_option('aiosp_404_title_format');
680
+ $new_title = str_replace('%blog_title%', $this->internationalize(get_bloginfo('name')), $title_format);
681
+ $new_title = str_replace('%blog_description%', $this->internationalize(get_bloginfo('description')), $new_title);
682
+ $new_title = str_replace('%request_url%', $_SERVER['REQUEST_URI'], $new_title);
683
+ $new_title = str_replace('%request_words%', $this->request_as_words($_SERVER['REQUEST_URI']), $new_title);
684
+ $header = $this->replace_title($header, $new_title);
685
+ }
686
+
687
+ return $header;
688
+
689
+ }
690
+
691
+ /**
692
+ * @return User-readable nice words for a given request.
693
+ */
694
+ function request_as_words($request) {
695
+ $request = htmlspecialchars($request);
696
+ $request = str_replace('.html', ' ', $request);
697
+ $request = str_replace('.htm', ' ', $request);
698
+ $request = str_replace('.', ' ', $request);
699
+ $request = str_replace('/', ' ', $request);
700
+ $request_a = explode(' ', $request);
701
+ $request_new = array();
702
+ foreach ($request_a as $token) {
703
+ $request_new[] = ucwords(trim($token));
704
+ }
705
+ $request = implode(' ', $request_new);
706
+ return $request;
707
+ }
708
+
709
+ function capitalize($s) {
710
+ $s = trim($s);
711
+ $tokens = explode(' ', $s);
712
+ while (list($key, $val) = each($tokens)) {
713
+ $tokens[$key] = trim($tokens[$key]);
714
+ $tokens[$key] = strtoupper(substr($tokens[$key], 0, 1)) . substr($tokens[$key], 1);
715
+ }
716
+ $s = implode(' ', $tokens);
717
+ return $s;
718
+ }
719
+
720
+ function trim_excerpt_without_filters($text) {
721
+ $text = str_replace(']]>', ']]&gt;', $text);
722
+ $text = strip_tags($text);
723
+ $max = $this->max_description_length;
724
+
725
+ if ($max < strlen($text)) {
726
+ while($text[$max] != ' ' && $max > $this->min_description_length) {
727
+ $max--;
728
+ }
729
+ }
730
+ $text = substr($text, 0, $max);
731
+ return trim(stripcslashes($text));
732
+ }
733
+
734
+ function trim_excerpt_without_filters_full_length($text) {
735
+ $text = str_replace(']]>', ']]&gt;', $text);
736
+ $text = strip_tags($text);
737
+ return trim(stripcslashes($text));
738
+ }
739
+
740
+ /**
741
+ * @return comma-separated list of unique keywords
742
+ */
743
+ function get_all_keywords() {
744
+ global $posts;
745
+
746
+ if (is_404()) {
747
+ return null;
748
+ }
749
+
750
+ // if we are on synthetic pages
751
+ if (!is_home() && !is_page() && !is_single() &&!$this->is_static_front_page() && !$this->is_static_posts_page()) {
752
+ return null;
753
+ }
754
+
755
+ $keywords = array();
756
+ if (is_array($posts)) {
757
+ foreach ($posts as $post) {
758
+ if ($post) {
759
+
760
+ // custom field keywords
761
+ $keywords_a = $keywords_i = null;
762
+ $description_a = $description_i = null;
763
+ $id = $post->ID;
764
+ $keywords_i = stripcslashes($this->internationalize(get_post_meta($post->ID, "keywords", true)));
765
+ $keywords_i = str_replace('"', '', $keywords_i);
766
+ if (isset($keywords_i) && !empty($keywords_i)) {
767
+ $traverse = explode(',', $keywords_i);
768
+ foreach ($traverse as $keyword) {
769
+ $keywords[] = $keyword;
770
+ }
771
+ }
772
+
773
+ // WP 2.3 tags
774
+ if (function_exists('get_the_tags')) {
775
+ $tags = get_the_tags($post->ID);
776
+ if ($tags && is_array($tags)) {
777
+ foreach ($tags as $tag) {
778
+ $keywords[] = $this->internationalize($tag->name);
779
+ }
780
+ }
781
+ }
782
+
783
+ // Ultimate Tag Warrior integration
784
+ global $utw;
785
+ if ($utw) {
786
+ $tags = $utw->GetTagsForPost($post);
787
+ if (is_array($tags)) {
788
+ foreach ($tags as $tag) {
789
+ $tag = $tag->tag;
790
+ $tag = str_replace('_',' ', $tag);
791
+ $tag = str_replace('-',' ',$tag);
792
+ $tag = stripcslashes($tag);
793
+ $keywords[] = $tag;
794
+ }
795
+ }
796
+ }
797
+
798
+ // autometa
799
+ $autometa = stripcslashes(get_post_meta($post->ID, "autometa", true));
800
+ if (isset($autometa) && !empty($autometa)) {
801
+ $autometa_array = explode(' ', $autometa);
802
+ foreach ($autometa_array as $e) {
803
+ $keywords[] = $e;
804
+ }
805
+ }
806
+
807
+ if (get_option('aiosp_use_categories') && !is_page()) {
808
+ $categories = get_the_category($post->ID);
809
+ foreach ($categories as $category) {
810
+ $keywords[] = $this->internationalize($category->cat_name);
811
+ }
812
+ }
813
+
814
+ }
815
+ }
816
+ }
817
+
818
+ return $this->get_unique_keywords($keywords);
819
+ }
820
+
821
+ function get_meta_keywords() {
822
+ global $posts;
823
+
824
+ $keywords = array();
825
+ if (is_array($posts)) {
826
+ foreach ($posts as $post) {
827
+ if ($post) {
828
+ // custom field keywords
829
+ $keywords_a = $keywords_i = null;
830
+ $description_a = $description_i = null;
831
+ $id = $post->ID;
832
+ $keywords_i = stripcslashes(get_post_meta($post->ID, "keywords", true));
833
+ $keywords_i = str_replace('"', '', $keywords_i);
834
+ if (isset($keywords_i) && !empty($keywords_i)) {
835
+ $keywords[] = $keywords_i;
836
+ }
837
+ }
838
+ }
839
+ }
840
+
841
+ return $this->get_unique_keywords($keywords);
842
+ }
843
+
844
+ function get_unique_keywords($keywords) {
845
+ $small_keywords = array();
846
+ foreach ($keywords as $word) {
847
+ $small_keywords[] = strtolower($word);
848
+ }
849
+ $keywords_ar = array_unique($small_keywords);
850
+ return implode(',', $keywords_ar);
851
+ }
852
+
853
+ function get_url($url) {
854
+ if (function_exists('file_get_contents')) {
855
+ $file = file_get_contents($url);
856
+ } else {
857
+ $curl = curl_init($url);
858
+ curl_setopt($curl, CURLOPT_HEADER, 0);
859
+ curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
860
+ $file = curl_exec($curl);
861
+ curl_close($curl);
862
+ }
863
+ return $file;
864
+ }
865
+
866
+ function log($message) {
867
+ if ($this->do_log) {
868
+ error_log(date('Y-m-d H:i:s') . " " . $message . "\n", 3, $this->log_file);
869
+ }
870
+ }
871
+
872
+ function download_newest_version() {
873
+ $success = true;
874
+ $file_content = $this->get_url($this->upgrade_url);
875
+ if ($file_content === false) {
876
+ $this->upgrade_error = sprintf(__("Could not download distribution (%s)"), $this->upgrade_url);
877
+ $success = false;
878
+ } else if (strlen($file_content) < 100) {
879
+ $this->upgrade_error = sprintf(__("Could not download distribution (%s): %s"), $this->upgrade_url, $file_content);
880
+ $success = false;
881
+ } else {
882
+ $this->log(sprintf("filesize of download ZIP: %d", strlen($file_content)));
883
+ $fh = @fopen($this->upgrade_filename, 'w');
884
+ $this->log("fh is $fh");
885
+ if (!$fh) {
886
+ $this->upgrade_error = sprintf(__("Could not open %s for writing"), $this->upgrade_filename);
887
+ $this->upgrade_error .= "<br />";
888
+ $this->upgrade_error .= sprintf(__("Please make sure %s is writable"), $this->upgrade_folder);
889
+ $success = false;
890
+ } else {
891
+ $bytes_written = @fwrite($fh, $file_content);
892
+ $this->log("wrote $bytes_written bytes");
893
+ if (!$bytes_written) {
894
+ $this->upgrade_error = sprintf(__("Could not write to %s"), $this->upgrade_filename);
895
+ $success = false;
896
+ }
897
+ }
898
+ if ($success) {
899
+ fclose($fh);
900
+ }
901
+ }
902
+ return $success;
903
+ }
904
+
905
+ function install_newest_version() {
906
+ $success = $this->download_newest_version();
907
+ if ($success) {
908
+ $success = $this->extract_plugin();
909
+ unlink($this->upgrade_filename);
910
+ }
911
+ return $success;
912
+ }
913
+
914
+ function extract_plugin() {
915
+ if (!class_exists('PclZip')) {
916
+ require_once ('pclzip.lib.php');
917
+ }
918
+ $archive = new PclZip($this->upgrade_filename);
919
+ $files = $archive->extract(PCLZIP_OPT_STOP_ON_ERROR, PCLZIP_OPT_REPLACE_NEWER, PCLZIP_OPT_REMOVE_ALL_PATH, PCLZIP_OPT_PATH, $this->upgrade_folder);
920
+ $this->log("files is $files");
921
+ if (is_array($files)) {
922
+ $num_extracted = sizeof($files);
923
+ $this->log("extracted $num_extracted files to $this->upgrade_folder");
924
+ $this->log(print_r($files, true));
925
+ return true;
926
+ } else {
927
+ $this->upgrade_error = $archive->errorInfo();
928
+ return false;
929
+ }
930
+ }
931
+
932
+ /** crude approximization of whether current user is an admin */
933
+ function is_admin() {
934
+ return current_user_can('level_8');
935
+ }
936
+
937
+ function is_directory_writable($directory) {
938
+ $filename = $directory . '/' . 'tmp_file_' . time();
939
+ $fh = @fopen($filename, 'w');
940
+ if (!$fh) {
941
+ return false;
942
+ }
943
+
944
+ $written = fwrite($fh, "test");
945
+ fclose($fh);
946
+ unlink($filename);
947
+ if ($written) {
948
+ return true;
949
+ } else {
950
+ return false;
951
+ }
952
+ }
953
+
954
+ function is_upgrade_directory_writable() {
955
+ //return $this->is_directory_writable($this->upgrade_folder);
956
+ // let's assume it is
957
+ return true;
958
+ }
959
+
960
+ function add_meta_index_tags($id) {
961
+ $awmp_edit = $_POST["psp_edit"];
962
+ if (isset($awmp_edit) && !empty($awmp_edit)) {
963
+ $keywords = $_POST["psp_keywords"];
964
+ $description = $_POST["psp_description"];
965
+ $title = $_POST["psp_title"];
966
+ $pspmeta = $_POST["psp_robotsmeta"];
967
+ $psp_disable = $_POST["psp_disable"];
968
+ $psp_noarchive = $_POST["psp_noarchive"];
969
+ $psp_nosnippet = $_POST["psp_nosnippet"];
970
+
971
+ delete_post_meta($id, 'keywords');
972
+ delete_post_meta($id, 'description');
973
+ delete_post_meta($id, 'title');
974
+ if ($this->is_admin()) {
975
+ delete_post_meta($id, 'psp_disable');
976
+ delete_post_meta($id, 'robotsmeta');
977
+ delete_post_meta($id, 'psp_noarchive');
978
+ delete_post_meta($id, 'psp_nosnippet');
979
+ }
980
+
981
+ if (isset($keywords) && !empty($keywords)) {
982
+ add_post_meta($id, 'keywords', $keywords);
983
+ }
984
+ if (isset($description) && !empty($description)) {
985
+ add_post_meta($id, 'description', $description);
986
+ }
987
+ if (isset($title) && !empty($title)) {
988
+ add_post_meta($id, 'title', $title);
989
+ }
990
+ if ($this->is_admin()) {
991
+
992
+ if (isset($psp_disable) && !empty($psp_disable)) {
993
+
994
+ add_post_meta($id, 'psp_disable', $psp_disable);
995
+ }
996
+ if (isset($pspmeta) && !empty($pspmeta)) {
997
+
998
+ add_post_meta($id, 'robotsmeta', $pspmeta);
999
+ }
1000
+ if (isset($psp_noarchive) && !empty($psp_noarchive)) {
1001
+
1002
+ add_post_meta($id, 'psp_noarchive', $psp_noarchive);
1003
+ }
1004
+ if (isset($psp_nosnippet) && !empty($psp_nosnippet)) {
1005
+
1006
+ add_post_meta($id, 'psp_nosnippet', $psp_nosnippet);
1007
+ }
1008
+ }
1009
+ }
1010
+ }
1011
+
1012
+ function psp_form_to_add_metatags() {
1013
+ global $post;
1014
+ $post_id = $post;
1015
+ if (is_object($post_id)) {
1016
+ $post_id = $post_id->ID;
1017
+ }
1018
+
1019
+ $robotsmeta = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'robotsmeta', true)));
1020
+ if (isset($robotsmeta) && empty($robotsmeta)) {
1021
+ $robotsmeta = "index,follow";
1022
+ }
1023
+
1024
+ $keywords = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'keywords', true)));
1025
+ $title = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'title', true)));
1026
+ $description = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'description', true)));
1027
+ $psp_meta = $robotsmeta;
1028
+ $psp_disable = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'psp_disable', true)));
1029
+ $psp_noarchive = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'psp_noarchive', true)));
1030
+ $psp_nosnippet = htmlspecialchars(stripcslashes(get_post_meta($post_id, 'psp_nosnippet', true)));
1031
+ ?>
1032
+ <SCRIPT LANGUAGE="JavaScript">
1033
+ <!-- Begin
1034
+ function countChars(field,cntfield) {
1035
+ cntfield.value = field.value.length;
1036
+ }
1037
+ // End -->
1038
+ </script>
1039
+
1040
+ <?php if (substr($this->wp_version, 0, 3) == '2.5') { ?>
1041
+ <div id="postpsp" class="postbox closed">
1042
+ <h3><?php _e('Platinum SEO Pack', 'platinum_seo_pack') ?></h3>
1043
+ <div class="inside">
1044
+ <div id="postpsp">
1045
+ <?php } else { ?>
1046
+ <div class="dbx-b-ox-wrapper">
1047
+ <fieldset id="seodiv" class="dbx-box">
1048
+ <div class="dbx-h-andle-wrapper">
1049
+ <h3 class="dbx-handle"><?php _e('Platinum SEO Pack', 'platinum_seo_pack') ?></h3>
1050
+ </div>
1051
+ <div class="dbx-c-ontent-wrapper">
1052
+ <div class="dbx-content">
1053
+ <?php } ?>
1054
+
1055
+ <a target="__blank" href="http://techblissonline.com/platinum-seo-pack/"><?php _e('Click here for Support', 'platinum_seo_pack') ?></a>
1056
+ <input value="psp_edit" type="hidden" name="psp_edit" />
1057
+ <table style="margin-bottom:40px">
1058
+ <tr>
1059
+ <th style="text-align:left;" colspan="2">
1060
+ </th>
1061
+ </tr>
1062
+ <tr>
1063
+ <th scope="row" style="text-align:right;"><?php _e('Title:', 'platinum_seo_pack') ?></th>
1064
+ <td><input value="<?php echo $title ?>" type="text" name="psp_title" size="62"/></td>
1065
+ </tr>
1066
+ <tr>
1067
+ <th scope="row" style="text-align:right;"><?php _e('Description:', 'platinum_seo_pack') ?></th>
1068
+ <td><textarea name="psp_description" rows="1" cols="60"
1069
+ onKeyDown="countChars(document.post.psp_description,document.post.length1)"
1070
+ onKeyUp="countChars(document.post.psp_description,document.post.length1)"><?php echo $description ?></textarea><br />
1071
+ <input readonly type="text" name="length1" size="3" maxlength="3" value="<?php echo strlen($description);?>" />
1072
+ <?php _e(' characters. Most search engines use a maximum of 160 chars for the description.', 'platinum_seo_pack') ?>
1073
+ </td>
1074
+ </tr>
1075
+ <tr>
1076
+ <th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'platinum_seo_pack') ?></th>
1077
+ <td><input value="<?php echo $keywords ?>" type="text" name="psp_keywords" size="62"/></td>
1078
+ </tr>
1079
+
1080
+ <?php if ( current_user_can('edit_posts') ) { ?>
1081
+ <tr>
1082
+ <th scope="row" style="text-align:right;"><?php _e('PSP Meta Index and Nofollow Tags:', 'platinum_seo_pack') ?></th>
1083
+ <td><label for="meta_robots_index_follow" class="selectit"><input id="meta_robots_index_follow" name="psp_robotsmeta" type="radio" value="index,follow" <?php if ($psp_meta == "index,follow") echo 'checked="1"'?>/>index, follow</label>&nbsp;&nbsp;
1084
+ <label for="meta_robots_index_nofollow" class="selectit"><input id="meta_robots_index_nofollow" name="psp_robotsmeta" type="radio" value="index,nofollow" <?php if ($psp_meta == "index,nofollow") echo 'checked="1"'?>/>index, nofollow</label>&nbsp;&nbsp;
1085
+ <label for="meta_robots_noindex_follow" class="selectit"><input id="meta_robots_noindex_follow" name="psp_robotsmeta" type="radio" value="noindex,follow" <?php if ($psp_meta == "noindex,follow") echo 'checked="1"'?>/>noindex, follow</label>&nbsp;&nbsp;
1086
+ <label for="meta_robots_noindex_nofollow" class="selectit"><input id="meta_robots_noindex_nofollow" name="psp_robotsmeta" type="radio" value="noindex,nofollow" <?php if ($psp_meta == "noindex,nofollow") echo 'checked="1"'?>/>noindex, nofollow</label></td>
1087
+ </tr>
1088
+ <?php } ?>
1089
+
1090
+ <?php if ($this->is_admin()) { ?>
1091
+ <tr>
1092
+ <th scope="row" style="text-align:right; vertical-align:top;">
1093
+ <?php _e('NOARCHIVE this page/post:', 'platinum_seo_pack')?>
1094
+ </th>
1095
+ <td>
1096
+ <input type="checkbox" name="psp_noarchive" <?php if ($psp_noarchive) echo "checked=\"1\""; ?>/>
1097
+ </td>
1098
+ </tr>
1099
+ <tr>
1100
+ <th scope="row" style="text-align:right; vertical-align:top;">
1101
+ <?php _e('NOSNIPPET of this page/post:', 'platinum_seo_pack')?>
1102
+ </th>
1103
+ <td>
1104
+ <input type="checkbox" name="psp_nosnippet" <?php if ($psp_nosnippet) echo "checked=\"1\""; ?>/>
1105
+ </td>
1106
+ </tr>
1107
+ <tr>
1108
+ <th scope="row" style="text-align:right; vertical-align:top;">
1109
+ <?php _e('Disable on this page/post:', 'platinum_seo_pack')?>
1110
+ </th>
1111
+ <td>
1112
+ <input type="checkbox" name="psp_disable" <?php if ($psp_disable) echo "checked=\"1\""; ?>/>
1113
+ </td>
1114
+ </tr>
1115
+ <?php } ?>
1116
+
1117
+ </table>
1118
+
1119
+ <?php if (substr($this->wp_version, 0, 3) == '2.5') { ?>
1120
+ </div></div></div>
1121
+ <?php } else { ?>
1122
+ </div>
1123
+ </fieldset>
1124
+ </div>
1125
+ <?php } ?>
1126
+
1127
+ <?php
1128
+ }
1129
+
1130
+ function admin_menu() {
1131
+ $file = __FILE__;
1132
+
1133
+ // hack for 1.5
1134
+ if (substr($this->wp_version, 0, 3) == '1.5') {
1135
+ $file = 'platinum-seo-pack/platinum_seo_pack.php';
1136
+ }
1137
+ //add_management_page(__('Platinum SEO Title', 'platinum_seo_pack'), __('Platinum SEO', 'platinum_seo_pack'), 10, $file, array($this, 'management_panel'));
1138
+ add_submenu_page('options-general.php', __('Platinum SEO', 'platinum_seo_pack'), __('Platinum SEO', 'platinum_seo_pack'), 10, $file, array($this, 'options_panel'));
1139
+ }
1140
+
1141
+ function management_panel() {
1142
+ $message = null;
1143
+ $base_url = "edit.php?page=" . __FILE__;
1144
+ //echo($base_url);
1145
+ $type = $_REQUEST['type'];
1146
+ if (!isset($type)) {
1147
+ $type = "posts";
1148
+ }
1149
+
1150
+ ?>
1151
+
1152
+ <ul class="psp_menu">
1153
+ <li><a href="<?php echo $base_url ?>&type=posts">Posts</a>
1154
+ </li>
1155
+ <li><a href="<?php echo $base_url ?>&type=pages">Pages</a>
1156
+ </li>
1157
+ </ul>
1158
+
1159
+ <?php
1160
+
1161
+ if ($type == "posts") {
1162
+ echo("posts");
1163
+ } elseif ($type == "pages") {
1164
+ echo("pages");
1165
+ }
1166
+
1167
+ }
1168
+
1169
+ function options_panel() {
1170
+ $message = null;
1171
+ $message_updated = __("Platinum SEO Options Updated.", 'platinum_seo_pack');
1172
+
1173
+ // update options
1174
+ if ($_POST['action'] && $_POST['action'] == 'psp_update') {
1175
+ $message = $message_updated;
1176
+ update_option('aiosp_home_title', $_POST['psp_home_title']);
1177
+ update_option('aiosp_home_description', $_POST['psp_home_description']);
1178
+ update_option('aiosp_home_keywords', $_POST['psp_home_keywords']);
1179
+ update_option('psp_max_words_excerpt', $_POST['psp_max_words_excerpt']);
1180
+ update_option('aiosp_rewrite_titles', $_POST['psp_rewrite_titles']);
1181
+ update_option('aiosp_post_title_format', $_POST['psp_post_title_format']);
1182
+ update_option('aiosp_page_title_format', $_POST['psp_page_title_format']);
1183
+ update_option('aiosp_category_title_format', $_POST['psp_category_title_format']);
1184
+ update_option('aiosp_archive_title_format', $_POST['psp_archive_title_format']);
1185
+ update_option('aiosp_tag_title_format', $_POST['psp_tag_title_format']);
1186
+ update_option('aiosp_search_title_format', $_POST['psp_search_title_format']);
1187
+ update_option('aiosp_description_format', $_POST['psp_description_format']);
1188
+ update_option('aiosp_404_title_format', $_POST['psp_404_title_format']);
1189
+ update_option('aiosp_paged_format', $_POST['psp_paged_format']);
1190
+ update_option('aiosp_use_categories', $_POST['psp_use_categories']);
1191
+ update_option('psp_category_noindex', $_POST['psp_category_noindex']);
1192
+ update_option('psp_archive_noindex', $_POST['psp_archive_noindex']);
1193
+ update_option('psp_tags_noindex', $_POST['psp_tags_noindex']);
1194
+ update_option('psp_comnts_feeds_noindex', $_POST['psp_comnts_feeds_noindex']);
1195
+ update_option('psp_rss_feeds_noindex', $_POST['psp_rss_feeds_noindex']);
1196
+ update_option('psp_search_results_noindex', $_POST['psp_search_results_noindex']);
1197
+ update_option('psp_sub_pages_home_noindex', $_POST['psp_sub_pages_home_noindex']);
1198
+ update_option('psp_author_archives_noindex', $_POST['psp_author_archives_noindex']);
1199
+ update_option('psp_noodp_metatag', $_POST['psp_noodp_metatag']);
1200
+ update_option('psp_noydir_metatag', $_POST['psp_noydir_metatag']);
1201
+ update_option('psp_nofollow_cat_pages', $_POST['psp_nofollow_cat_pages']);
1202
+ update_option('psp_nofollow_cat_posts', $_POST['psp_nofollow_cat_posts']);
1203
+ update_option('psp_nofollow_ext_links', $_POST['psp_nofollow_ext_links']);
1204
+ update_option('psp_nofollow_login_reg', $_POST['psp_nofollow_login_reg']);
1205
+ update_option('psp_nofollow_tag_pages', $_POST['psp_nofollow_tag_pages']);
1206
+ update_option('aiosp_generate_descriptions', $_POST['psp_generate_descriptions']);
1207
+ update_option('psp_debug_info', $_POST['psp_debug_info']);
1208
+ update_option('aiosp_post_meta_tags', $_POST['psp_post_meta_tags']);
1209
+ update_option('aiosp_page_meta_tags', $_POST['psp_page_meta_tags']);
1210
+ update_option('aiosp_home_meta_tags', $_POST['psp_home_meta_tags']);
1211
+ update_option('aiosp_do_log', $_POST['psp_do_log']);
1212
+ if (function_exists('wp_cache_flush')) {
1213
+ wp_cache_flush();
1214
+ }
1215
+ } elseif ($_POST['psp_upgrade']) {
1216
+ $message = __("Upgraded to newest version. Please revisit the options page to ensure you see the newest version.", 'platinum_seo_pack');
1217
+ $success = $this->install_newest_version();
1218
+ if (!$success) {
1219
+ $message = __("Upgrade failed", 'platinum_seo_pack');
1220
+ if (isset($this->upgrade_error) && !empty($this->upgrade_error)) {
1221
+ $message .= ": " . $this->upgrade_error;
1222
+ } else {
1223
+ $message .= ".";
1224
+ }
1225
+ }
1226
+ }
1227
+
1228
+ ?>
1229
+ <?php if ($message) : ?>
1230
+ <div id="message" class="updated fade"><p><?php echo $message; ?></p></div>
1231
+ <?php endif; ?>
1232
+ <div id="dropmessage" class="updated" style="display:none;"></div>
1233
+ <div class="wrap">
1234
+ <h2><?php _e('Platinum SEO Plugin Options', 'platinum_seo_pack'); ?></h2>
1235
+ <p>
1236
+ <?php _e("This is version ", 'platinum_seo_pack') ?><?php _e("$this->version ", 'platinum_seo_pack') ?>
1237
+ &nbsp;
1238
+ | <a target="_blank" title="<?php _e('FAQ', 'platinum_seo_pack') ?>"
1239
+ href="http://techblissonline.com/platinum-seo-pack-faq/"><?php _e('FAQ', 'platinum_seo_pack') ?></a>
1240
+ | <a target="_blank" title="<?php _e('Platinum SEO Plugin Feedback', 'platinum_seo_pack') ?>"
1241
+ href="http://techblissonline.com/platinum-seo-pack/"><?php _e('Feedback', 'platinum_seo_pack') ?></a>
1242
+ | <a target="_blank" title="<?php _e('Donations for Platinum SEO Plugin', 'platinum_seo_pack') ?>"
1243
+ href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rrajeshbab%40gmail%2ecom&item_name=Platinum%20SEO%20plugin%20development%20and%20support%20expenses&item_number=1&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=IN&bn=PP%2dDonationsBF&charset=UTF%2d8"><?php _e('Please Donate', 'platinum_seo_pack') ?></a>
1244
+ </p>
1245
+ <p>
1246
+ <?php
1247
+ $canwrite = $this->is_upgrade_directory_writable();
1248
+ //$canwrite = false;
1249
+ ?>
1250
+ <form class="form-table" name="dofollow" action="" method="post">
1251
+ <p class="submit">
1252
+ <input type="submit" <?php if (!$canwrite) echo(' disabled="disabled" ');?> name="psp_upgrade" value="<?php _e('One Click Upgrade', 'platinum_seo_pack')?> &raquo;" />
1253
+ <strong><?php _e("(Remember: Backup early, backup often!)", 'platinum_seo_pack') ?></strong>
1254
+ </form>
1255
+ </p>
1256
+ <p></p>
1257
+
1258
+ <?php if (!$canwrite) {
1259
+ echo("<p><strong>"); echo(sprintf(__("Please make sure that %s is writable.", 'platinum_seo_pack'), $this->upgrade_folder)); echo("</p></strong>");
1260
+ } ?>
1261
+ </p>
1262
+
1263
+ <script type="text/javascript">
1264
+ <!--
1265
+ function toggleVisibility(id) {
1266
+ var e = document.getElementById(id);
1267
+ if(e.style.display == 'block')
1268
+ e.style.display = 'none';
1269
+ else
1270
+ e.style.display = 'block';
1271
+ }
1272
+ //-->
1273
+ </script>
1274
+
1275
+ <h3><?php _e('Click on option titles to get help!', 'platinum_seo_pack') ?></h3>
1276
+
1277
+ <form name="dofollow" action="" method="post">
1278
+ <table class="form-table">
1279
+
1280
+ <tr>
1281
+ <th scope="row" style="text-align:right; vertical-align:top;">
1282
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_home_title_tip');">
1283
+ <?php _e('Home Title:', 'platinum_seo_pack')?>
1284
+ </a>
1285
+ </td>
1286
+ <td>
1287
+ <textarea cols="57" rows="2" name="psp_home_title"><?php echo stripcslashes(get_option('aiosp_home_title')); ?></textarea>
1288
+ <div style="max-width:500px; text-align:left; display:none" id="psp_home_title_tip">
1289
+ <?php
1290
+ _e('As the name implies, this will be the title of your homepage. This is independent of any other option. If not set, the default blog title will get used.', 'platinum_seo_pack');
1291
+ ?>
1292
+ </div>
1293
+ </td>
1294
+ </tr>
1295
+
1296
+ <tr>
1297
+ <th scope="row" style="text-align:right; vertical-align:top;">
1298
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_home_description_tip');">
1299
+ <?php _e('Home Description:', 'platinum_seo_pack')?>
1300
+ </a>
1301
+ </td>
1302
+ <td>
1303
+ <textarea cols="57" rows="2" name="psp_home_description"><?php echo stripcslashes(get_option('aiosp_home_description')); ?></textarea>
1304
+ <div style="max-width:500px; text-align:left; display:none" id="psp_home_description_tip">
1305
+ <?php
1306
+ _e('The META description for your homepage. The default is no META description, if this is not set.', 'platinum_seo_pack');
1307
+ ?>
1308
+ </div>
1309
+ </td>
1310
+ </tr>
1311
+
1312
+ <tr>
1313
+ <th scope="row" style="text-align:right; vertical-align:top;">
1314
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_home_keywords_tip');">
1315
+ <?php _e('Home Keywords (comma separated):', 'platinum_seo_pack')?>
1316
+ </a>
1317
+ </td>
1318
+ <td>
1319
+ <textarea cols="57" rows="2" name="psp_home_keywords"><?php echo stripcslashes(get_option('aiosp_home_keywords')); ?></textarea>
1320
+ <div style="max-width:500px; text-align:left; display:none" id="psp_home_keywords_tip">
1321
+ <?php
1322
+ _e("A comma separated list of the most important keywords for your site homepage. Use optimal number of keywords.", 'platinum_seo_pack');
1323
+ ?>
1324
+ </div>
1325
+ </td>
1326
+ </tr>
1327
+
1328
+ <tr>
1329
+ <th scope="row" style="text-align:right; vertical-align:top;">
1330
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_rewrite_titles_tip');">
1331
+ <?php _e('Rewrite Titles:', 'platinum_seo_pack')?>
1332
+ </a>
1333
+ </td>
1334
+ <td>
1335
+ <input type="checkbox" name="psp_rewrite_titles" <?php if (get_option('aiosp_rewrite_titles')) echo "checked=\"1\""; ?>/>
1336
+ <div style="max-width:500px; text-align:left; display:none" id="psp_rewrite_titles_tip">
1337
+ <?php
1338
+ _e("Note that this is all about the title tag. This is what you see in your browser's window title bar. This is NOT visible on a page, only in the window title bar and of course in the source. If set, all page, post, category, search and archive page titles get rewritten. You can specify the format for most of them. For example: The default templates puts the title tag of posts like this: Blog Archive >> Blog Name >> Post Title. But this is far from optimal. With the default post title format, Rewrite Title rewrites this to Post Title | Blog Name. If you have manually defined a title (in one of the text fields for Platinum SEO Plugin input) this will become the title of your post in the format string.", 'platinum_seo_pack');
1339
+ ?>
1340
+ </div>
1341
+ </td>
1342
+ </tr>
1343
+
1344
+ <tr>
1345
+ <th scope="row" style="text-align:right; vertical-align:top;">
1346
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_post_title_format_tip');">
1347
+ <?php _e('Post Title Format:', 'platinum_seo_pack')?>
1348
+ </a>
1349
+ </td>
1350
+ <td>
1351
+ <input size="59" name="psp_post_title_format" value="<?php echo stripcslashes(get_option('aiosp_post_title_format')); ?>"/>
1352
+ <div style="max-width:500px; text-align:left; display:none" id="psp_post_title_format_tip">
1353
+ <?php
1354
+ _e('The following macros are supported:', 'platinum_seo_pack');
1355
+ echo('<ul>');
1356
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1357
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1358
+ echo('<li>'); _e('%post_title% - The original title of the post', 'platinum_seo_pack'); echo('</li>');
1359
+ echo('<li>'); _e('%category_title% - The (main) category of the post', 'platinum_seo_pack'); echo('</li>');
1360
+ echo('<li>'); _e('%category% - Alias for %category_title%', 'platinum_seo_pack'); echo('</li>');
1361
+ echo('<li>'); _e("%post_author_login% - This post author's login", 'platinum_seo_pack'); echo('</li>');
1362
+ echo('<li>'); _e("%post_author_nicename% - This post author's nicename", 'platinum_seo_pack'); echo('</li>');
1363
+ echo('<li>'); _e("%post_author_firstname% - This post author's first name (capitalized)", 'platinum_seo_pack'); echo('</li>');
1364
+ echo('<li>'); _e("%post_author_lastname% - This post author's last name (capitalized)", 'platinum_seo_pack'); echo('</li>');
1365
+ echo('</ul>');
1366
+ ?>
1367
+ </div>
1368
+ </td>
1369
+ </tr>
1370
+
1371
+ <tr>
1372
+ <th scope="row" style="text-align:right; vertical-align:top;">
1373
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_page_title_format_tip');">
1374
+ <?php _e('Page Title Format:', 'platinum_seo_pack')?>
1375
+ </a>
1376
+ </td>
1377
+ <td>
1378
+ <input size="59" name="psp_page_title_format" value="<?php echo stripcslashes(get_option('aiosp_page_title_format')); ?>"/>
1379
+ <div style="max-width:500px; text-align:left; display:none" id="psp_page_title_format_tip">
1380
+ <?php
1381
+ _e('The following macros are supported:', 'platinum_seo_pack');
1382
+ echo('<ul>');
1383
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1384
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1385
+ echo('<li>'); _e('%page_title% - The original title of the page', 'platinum_seo_pack'); echo('</li>');
1386
+ echo('<li>'); _e("%page_author_login% - This page author's login", 'platinum_seo_pack'); echo('</li>');
1387
+ echo('<li>'); _e("%page_author_nicename% - This page author's nicename", 'platinum_seo_pack'); echo('</li>');
1388
+ echo('<li>'); _e("%page_author_firstname% - This page author's first name (capitalized)", 'platinum_seo_pack'); echo('</li>');
1389
+ echo('<li>'); _e("%page_author_lastname% - This page author's last name (capitalized)", 'platinum_seo_pack'); echo('</li>');
1390
+ echo('</ul>');
1391
+ ?>
1392
+ </div>
1393
+ </td>
1394
+ </tr>
1395
+
1396
+ <tr>
1397
+ <th scope="row" style="text-align:right; vertical-align:top;">
1398
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_category_title_format_tip');">
1399
+ <?php _e('Category Title Format:', 'platinum_seo_pack')?>
1400
+ </a>
1401
+ </td>
1402
+ <td>
1403
+ <input size="59" name="psp_category_title_format" value="<?php echo stripcslashes(get_option('aiosp_category_title_format')); ?>"/>
1404
+ <div style="max-width:500px; text-align:left; display:none" id="psp_category_title_format_tip">
1405
+ <?php
1406
+ _e('The following macros are supported:', 'platinum_seo_pack');
1407
+ echo('<ul>');
1408
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1409
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1410
+ echo('<li>'); _e('%category_title% - The original title of the category', 'platinum_seo_pack'); echo('</li>');
1411
+ echo('<li>'); _e('%category_description% - The description of the category', 'platinum_seo_pack'); echo('</li>');
1412
+ echo('</ul>');
1413
+ ?>
1414
+ </div>
1415
+ </td>
1416
+ </tr>
1417
+
1418
+ <tr>
1419
+ <th scope="row" style="text-align:right; vertical-align:top;">
1420
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_archive_title_format_tip');">
1421
+ <?php _e('Archive Title Format:', 'platinum_seo_pack')?>
1422
+ </a>
1423
+ </td>
1424
+ <td>
1425
+ <input size="59" name="psp_archive_title_format" value="<?php echo stripcslashes(get_option('aiosp_archive_title_format')); ?>"/>
1426
+ <div style="max-width:500px; text-align:left; display:none" id="psp_archive_title_format_tip">
1427
+ <?php
1428
+ _e('The following macros are supported:', 'platinum_seo_pack');
1429
+ echo('<ul>');
1430
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1431
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1432
+ echo('<li>'); _e('%date% - The original archive title given by wordpress, e.g. "2007" or "2007 August"', 'platinum_seo_pack'); echo('</li>');
1433
+ echo('</ul>');
1434
+ ?>
1435
+ </div>
1436
+ </td>
1437
+ </tr>
1438
+
1439
+ <tr>
1440
+ <th scope="row" style="text-align:right; vertical-align:top;">
1441
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_tag_title_format_tip');">
1442
+ <?php _e('Tag Title Format:', 'platinum_seo_pack')?>
1443
+ </a>
1444
+ </td>
1445
+ <td>
1446
+ <input size="59" name="psp_tag_title_format" value="<?php echo stripcslashes(get_option('aiosp_tag_title_format')); ?>"/>
1447
+ <div style="max-width:500px; text-align:left; display:none" id="psp_tag_title_format_tip">
1448
+ <?php
1449
+ _e('The following macros are supported:', 'platinum_seo_pack');
1450
+ echo('<ul>');
1451
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1452
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1453
+ echo('<li>'); _e('%tag% - The name of the tag', 'platinum_seo_pack'); echo('</li>');
1454
+ echo('</ul>');
1455
+ ?>
1456
+ </div>
1457
+ </td>
1458
+ </tr>
1459
+
1460
+ <tr>
1461
+ <th scope="row" style="text-align:right; vertical-align:top;">
1462
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_search_title_format_tip');">
1463
+ <?php _e('Search Title Format:', 'platinum_seo_pack')?>
1464
+ </a>
1465
+ </td>
1466
+ <td>
1467
+ <input size="59" name="psp_search_title_format" value="<?php echo stripcslashes(get_option('aiosp_search_title_format')); ?>"/>
1468
+ <div style="max-width:500px; text-align:left; display:none" id="psp_search_title_format_tip">
1469
+ <?php
1470
+ _e('The following macros are supported:', 'platinum_seo_pack');
1471
+ echo('<ul>');
1472
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1473
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1474
+ echo('<li>'); _e('%search% - What was searched for', 'platinum_seo_pack'); echo('</li>');
1475
+ echo('</ul>');
1476
+ ?>
1477
+ </div>
1478
+ </td>
1479
+ </tr>
1480
+
1481
+ <tr>
1482
+ <th scope="row" style="text-align:right; vertical-align:top;">
1483
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_description_format_tip');">
1484
+ <?php _e('Description Format:', 'platinum_seo_pack')?>
1485
+ </a>
1486
+ </td>
1487
+ <td>
1488
+ <input size="59" name="psp_description_format" value="<?php echo stripcslashes(get_option('aiosp_description_format')); ?>"/>
1489
+ <div style="max-width:500px; text-align:left; display:none" id="psp_description_format_tip">
1490
+ <?php
1491
+ _e('The following macros are supported:', 'platinum_seo_pack');
1492
+ echo('<ul>');
1493
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1494
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1495
+ echo('<li>'); _e('%description% - The original description as determined by the plugin, for e.g. the excerpt if one is set or an auto-generated one, if that option is set', 'platinum_seo_pack'); echo('</li>');
1496
+ echo('<li>'); _e('%wp_title% - The original wordpress title, for e.g. post title for posts', 'platinum_seo_pack'); echo('</li>');
1497
+ echo('</ul>');
1498
+ ?>
1499
+ </div>
1500
+ </td>
1501
+ </tr>
1502
+
1503
+ <tr>
1504
+ <th scope="row" style="text-align:right; vertical-align:top;">
1505
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_404_title_format_tip');">
1506
+ <?php _e('404 Title Format:', 'platinum_seo_pack')?>
1507
+ </a>
1508
+ </td>
1509
+ <td>
1510
+ <input size="59" name="psp_404_title_format" value="<?php echo stripcslashes(get_option('aiosp_404_title_format')); ?>"/>
1511
+ <div style="max-width:500px; text-align:left; display:none" id="psp_404_title_format_tip">
1512
+ <?php
1513
+ _e('The following macros are supported:', 'platinum_seo_pack');
1514
+ echo('<ul>');
1515
+ echo('<li>'); _e('%blog_title% - Your blog title', 'platinum_seo_pack'); echo('</li>');
1516
+ echo('<li>'); _e('%blog_description% - Your blog description', 'platinum_seo_pack'); echo('</li>');
1517
+ echo('<li>'); _e('%request_url% - The original URL path, like "/url-that-does-not-exist/"', 'platinum_seo_pack'); echo('</li>');
1518
+ echo('<li>'); _e('%request_words% - The URL path in human readable form, like "Url That Does Not Exist"', 'platinum_seo_pack'); echo('</li>');
1519
+ echo('</ul>');
1520
+ ?>
1521
+ </div>
1522
+ </td>
1523
+ </tr>
1524
+
1525
+ <tr>
1526
+ <th scope="row" style="text-align:right; vertical-align:top;">
1527
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_paged_format_tip');">
1528
+ <?php _e('Paged Format:', 'platinum_seo_pack')?>
1529
+ </a>
1530
+ </td>
1531
+ <td>
1532
+ <input size="59" name="psp_paged_format" value="<?php echo stripcslashes(get_option('aiosp_paged_format')); ?>"/>
1533
+ <div style="max-width:500px; text-align:left; display:none" id="psp_paged_format_tip">
1534
+ <?php
1535
+ _e('This string gets appended/prepended to titles when they are for paged index pages (like home or archive pages).', 'platinum_seo_pack');
1536
+ _e('The following macros are supported:', 'platinum_seo_pack');
1537
+ echo('<ul>');
1538
+ echo('<li>'); _e('%page% - The page number', 'platinum_seo_pack'); echo('</li>');
1539
+ echo('</ul>');
1540
+ ?>
1541
+ </div>
1542
+ </td>
1543
+ </tr>
1544
+
1545
+ <tr>
1546
+ <th scope="row" style="text-align:right; vertical-align:top;">
1547
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_use_categories_tip');">
1548
+ <?php _e('Use Categories for META keywords:', 'platinum_seo_pack')?>
1549
+ </td>
1550
+ <td>
1551
+ <input type="checkbox" name="psp_use_categories" <?php if (get_option('aiosp_use_categories')) echo "checked=\"1\""; ?>/>
1552
+ <div style="max-width:500px; text-align:left; display:none" id="psp_use_categories_tip">
1553
+ <?php
1554
+ _e('Check this if you want your categories for a given post used as the META keywords for this post (in addition to any keywords and tags you specify on the post edit page).', 'platinum_seo_pack');
1555
+ ?>
1556
+ </div>
1557
+ </td>
1558
+ </tr>
1559
+
1560
+ <tr>
1561
+ <th scope="row" style="text-align:right; vertical-align:top;">
1562
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_category_noindex_tip');">
1563
+ <?php _e('Use noindex for Categories:', 'platinum_seo_pack')?>
1564
+ </a>
1565
+ </td>
1566
+ <td>
1567
+ <input type="checkbox" name="psp_category_noindex" <?php if (get_option('psp_category_noindex')) echo "checked=\"1\""; ?>/>
1568
+ <div style="max-width:500px; text-align:left; display:none" id="psp_category_noindex_tip">
1569
+ <?php
1570
+ _e('Check this for excluding category pages from being crawled. Might help to avoid duplicate content.', 'platinum_seo_pack');
1571
+ ?>
1572
+ </div>
1573
+ </td>
1574
+ </tr>
1575
+
1576
+ <tr>
1577
+ <th scope="row" style="text-align:right; vertical-align:top;">
1578
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_archive_noindex_tip');">
1579
+ <?php _e('Use noindex for Date based Archives:', 'platinum_seo_pack')?>
1580
+ </a>
1581
+ </td>
1582
+ <td>
1583
+ <input type="checkbox" name="psp_archive_noindex" <?php if (get_option('psp_archive_noindex')) echo "checked=\"1\""; ?>/>
1584
+ <div style="max-width:500px; text-align:left; display:none" id="psp_archive_noindex_tip">
1585
+ <?php
1586
+ _e('Check this for excluding date based archive pages from being crawled. Useful for avoiding duplicate content.', 'platinum_seo_pack');
1587
+ ?>
1588
+ </div>
1589
+ </td>
1590
+ </tr>
1591
+
1592
+ <tr>
1593
+ <th scope="row" style="text-align:right; vertical-align:top;">
1594
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_tags_noindex_tip');">
1595
+ <?php _e('Use noindex for Tag Archives:', 'platinum_seo_pack')?>
1596
+ </a>
1597
+ </td>
1598
+ <td>
1599
+ <input type="checkbox" name="psp_tags_noindex" <?php if (get_option('psp_tags_noindex')) echo "checked=\"1\""; ?>/>
1600
+ <div style="max-width:500px; text-align:left; display:none" id="psp_tags_noindex_tip">
1601
+ <?php
1602
+ _e('Check this for excluding tag pages from being crawled. Might help to avoid duplicate content.', 'platinum_seo_pack');
1603
+ ?>
1604
+ </div>
1605
+ </td>
1606
+ </tr>
1607
+
1608
+ <tr>
1609
+ <th scope="row" style="text-align:right; vertical-align:top;">
1610
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_comnts_feeds_noindex_tip');">
1611
+ <?php _e('Use noindex for comments RSS feeds:', 'platinum_seo_pack')?>
1612
+ </a>
1613
+ </td>
1614
+ <td>
1615
+ <input type="checkbox" name="psp_comnts_feeds_noindex" <?php if (get_option('psp_comnts_feeds_noindex')) echo "checked=\"1\""; ?>/>
1616
+ <div style="max-width:500px; text-align:left; display:none" id="psp_comnts_feeds_noindex_tip">
1617
+ <?php
1618
+ _e('Check this for excluding comments RSS feeds from being indexed.', 'platinum_seo_pack');
1619
+ ?>
1620
+ </div>
1621
+ </td>
1622
+ </tr>
1623
+
1624
+ <tr>
1625
+ <th scope="row" style="text-align:right; vertical-align:top;">
1626
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_rss_feeds_noindex_tip');">
1627
+ <?php _e('Use noindex for all RSS feeds:', 'platinum_seo_pack')?>
1628
+ </a>
1629
+ </td>
1630
+ <td>
1631
+ <input type="checkbox" name="psp_rss_feeds_noindex" <?php if (get_option('psp_rss_feeds_noindex')) echo "checked=\"1\""; ?>/>
1632
+ <div style="max-width:500px; text-align:left; display:none" id="psp_rss_feeds_noindex_tip">
1633
+ <?php
1634
+ _e('Check this for excluding all RSS feeds from being indexed.', 'platinum_seo_pack');
1635
+ ?>
1636
+ </div>
1637
+ </td>
1638
+ </tr>
1639
+
1640
+ <tr>
1641
+ <th scope="row" style="text-align:right; vertical-align:top;">
1642
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_search_results_noindex_tip');">
1643
+ <?php _e('Use noindex for Search result pages on the site:', 'platinum_seo_pack')?>
1644
+ </a>
1645
+ </td>
1646
+ <td>
1647
+ <input type="checkbox" name="psp_search_results_noindex" <?php if (get_option('psp_search_results_noindex')) echo "checked=\"1\""; ?>/>
1648
+ <div style="max-width:500px; text-align:left; display:none" id="psp_search_results_noindex_tip">
1649
+ <?php
1650
+ _e('Check this for excluding all search result pages from being indexed.', 'platinum_seo_pack');
1651
+ ?>
1652
+ </div>
1653
+ </td>
1654
+ </tr>
1655
+
1656
+ <tr>
1657
+ <th scope="row" style="text-align:right; vertical-align:top;">
1658
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_sub_pages_home_noindex_tip');">
1659
+ <?php _e('Use noindex for sub pages of home:', 'platinum_seo_pack')?>
1660
+ </a>
1661
+ </td>
1662
+ <td>
1663
+ <input type="checkbox" name="psp_sub_pages_home_noindex" <?php if (get_option('psp_sub_pages_home_noindex')) echo "checked=\"1\""; ?>/>
1664
+ <div style="max-width:500px; text-align:left; display:none" id="psp_sub_pages_home_noindex_tip">
1665
+ <?php
1666
+ _e('Check this for excluding all sub pages of home from being indexed.', 'platinum_seo_pack');
1667
+ ?>
1668
+ </div>
1669
+ </td>
1670
+ </tr>
1671
+
1672
+ <tr>
1673
+ <th scope="row" style="text-align:right; vertical-align:top;">
1674
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_author_archives_noindex_tip');">
1675
+ <?php _e('Use noindex for author archives:', 'platinum_seo_pack')?>
1676
+ </a>
1677
+ </td>
1678
+ <td>
1679
+ <input type="checkbox" name="psp_author_archives_noindex" <?php if (get_option('psp_author_archives_noindex')) echo "checked=\"1\""; ?>/>
1680
+ <div style="max-width:500px; text-align:left; display:none" id="psp_author_archives_noindex_tip">
1681
+ <?php
1682
+ _e('Check this for excluding author archives from being indexed.', 'platinum_seo_pack');
1683
+ ?>
1684
+ </div>
1685
+ </td>
1686
+ </tr>
1687
+
1688
+ <tr>
1689
+ <th scope="row" style="text-align:right; vertical-align:top;">
1690
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_noodp_metatag_tip');">
1691
+ <?php _e('Add noodp meta tag:', 'platinum_seo_pack')?>
1692
+ </a>
1693
+ </td>
1694
+ <td>
1695
+ <input type="checkbox" name="psp_noodp_metatag" <?php if (get_option('psp_noodp_metatag')) echo "checked=\"1\""; ?>/>
1696
+ <div style="max-width:500px; text-align:left; display:none" id="psp_noodp_metatag_tip">
1697
+ <?php
1698
+ _e('Check this for adding noopd meta tag.', 'platinum_seo_pack');
1699
+ ?>
1700
+ </div>
1701
+ </td>
1702
+ </tr>
1703
+
1704
+ <tr>
1705
+ <th scope="row" style="text-align:right; vertical-align:top;">
1706
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_noydir_metatag_tip');">
1707
+ <?php _e('Add noydir meta tag:', 'platinum_seo_pack')?>
1708
+ </a>
1709
+ </td>
1710
+ <td>
1711
+ <input type="checkbox" name="psp_noydir_metatag" <?php if (get_option('psp_noydir_metatag')) echo "checked=\"1\""; ?>/>
1712
+ <div style="max-width:500px; text-align:left; display:none" id="psp_noydir_metatag_tip">
1713
+ <?php
1714
+ _e('Check this for adding noydir meta tag.', 'platinum_seo_pack');
1715
+ ?>
1716
+ </div>
1717
+ </td>
1718
+ </tr>
1719
+
1720
+ <tr>
1721
+ <th scope="row" style="text-align:right; vertical-align:top;">
1722
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_nofollow_cat_pages_tip');">
1723
+ <?php _e('nofollow category listings on pages:', 'platinum_seo_pack')?>
1724
+ </a>
1725
+ </td>
1726
+ <td>
1727
+ <input type="checkbox" name="psp_nofollow_cat_pages" <?php if (get_option('psp_nofollow_cat_pages')) echo "checked=\"1\""; ?>/>
1728
+ <div style="max-width:500px; text-align:left; display:none" id="psp_nofollow_cat_pages_tip">
1729
+ <?php
1730
+ _e('Check this to nofollow category listings on pages.', 'platinum_seo_pack');
1731
+ ?>
1732
+ </div>
1733
+ </td>
1734
+ </tr>
1735
+
1736
+ <tr>
1737
+ <th scope="row" style="text-align:right; vertical-align:top;">
1738
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_nofollow_cat_posts_tip');">
1739
+ <?php _e('nofollow category listings on posts:', 'platinum_seo_pack')?>
1740
+ </a>
1741
+ </td>
1742
+ <td>
1743
+ <input type="checkbox" name="psp_nofollow_cat_posts" <?php if (get_option('psp_nofollow_cat_posts')) echo "checked=\"1\""; ?>/>
1744
+ <div style="max-width:500px; text-align:left; display:none" id="psp_nofollow_cat_posts_tip">
1745
+ <?php
1746
+ _e('Check this to nofollow category listings on posts (Not recommended)', 'platinum_seo_pack');
1747
+ ?>
1748
+ </div>
1749
+ </td>
1750
+ </tr>
1751
+
1752
+ <tr>
1753
+ <th scope="row" style="text-align:right; vertical-align:top;">
1754
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_nofollow_ext_links_tip');">
1755
+ <?php _e('nofollow external links on front page:', 'platinum_seo_pack')?>
1756
+ </a>
1757
+ </td>
1758
+ <td>
1759
+ <input type="checkbox" name="psp_nofollow_ext_links" <?php if (get_option('psp_nofollow_ext_links')) echo "checked=\"1\""; ?>/>
1760
+ <div style="max-width:500px; text-align:left; display:none" id="psp_nofollow_ext_links_tip">
1761
+ <?php
1762
+ _e('Check this to nofollow external links on front page including home,category,author,tag and search pages.', 'platinum_seo_pack');
1763
+ ?>
1764
+ </div>
1765
+ </td>
1766
+ </tr>
1767
+
1768
+ <tr>
1769
+ <th scope="row" style="text-align:right; vertical-align:top;">
1770
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_nofollow_login_reg_tip');">
1771
+ <?php _e('nofollow login and registration links:', 'platinum_seo_pack')?>
1772
+ </a>
1773
+ </td>
1774
+ <td>
1775
+ <input type="checkbox" name="psp_nofollow_login_reg" <?php if (get_option('psp_nofollow_login_reg')) echo "checked=\"1\""; ?>/>
1776
+ <div style="max-width:500px; text-align:left; display:none" id="psp_nofollow_login_reg_tip">
1777
+ <?php
1778
+ _e('Check this to nofollow login and registration links', 'platinum_seo_pack');
1779
+ ?>
1780
+ </div>
1781
+ </td>
1782
+ </tr>
1783
+
1784
+ <tr>
1785
+ <th scope="row" style="text-align:right; vertical-align:top;">
1786
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_nofollow_tag_pages_tip');">
1787
+ <?php _e('nofollow links to tag pages:', 'platinum_seo_pack')?>
1788
+ </a>
1789
+ </td>
1790
+ <td>
1791
+ <input type="checkbox" name="psp_nofollow_tag_pages" <?php if (get_option('psp_nofollow_tag_pages')) echo "checked=\"1\""; ?>/>
1792
+ <div style="max-width:500px; text-align:left; display:none" id="psp_nofollow_tag_pages_tip">
1793
+ <?php
1794
+ _e('Check this to nofollow links to tag pages', 'platinum_seo_pack');
1795
+ ?>
1796
+ </div>
1797
+ </td>
1798
+ </tr>
1799
+
1800
+ <tr>
1801
+ <th scope="row" style="text-align:right; vertical-align:top;">
1802
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_generate_descriptions_tip');">
1803
+ <?php _e('Autogenerate Descriptions:', 'platinum_seo_pack')?>
1804
+ </a>
1805
+ </td>
1806
+ <td>
1807
+ <input type="checkbox" name="psp_generate_descriptions" <?php if (get_option('aiosp_generate_descriptions')) echo "checked=\"1\""; ?>/>
1808
+ <div style="max-width:500px; text-align:left; display:none" id="psp_generate_descriptions_tip">
1809
+ <?php
1810
+ _e("Check this and your META descriptions will get autogenerated, if there's no excerpt.", 'platinum_seo_pack');
1811
+ ?>
1812
+ </div>
1813
+ </td>
1814
+ </tr>
1815
+
1816
+ <tr>
1817
+ <th scope="row" style="text-align:right; vertical-align:top;">
1818
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_post_meta_tags_tip');">
1819
+ <?php _e('Additional Post Headers:', 'platinum_seo_pack')?>
1820
+ </a>
1821
+ </td>
1822
+ <td>
1823
+ <textarea cols="57" rows="2" name="psp_post_meta_tags"><?php echo stripcslashes(get_option('aiosp_post_meta_tags')); ?></textarea>
1824
+ <div style="max-width:500px; text-align:left; display:none" id="psp_post_meta_tags_tip">
1825
+ <?php
1826
+ _e('What you enter here will be copied verbatim to your header on post pages. You can enter whatever additional headers you want here, even references to stylesheets or google, yahoo, msn verification links.', 'platinum_seo_pack');
1827
+ ?>
1828
+ </div>
1829
+ </td>
1830
+ </tr>
1831
+
1832
+ <tr>
1833
+ <th scope="row" style="text-align:right; vertical-align:top;">
1834
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_page_meta_tags_tip');">
1835
+ <?php _e('Additional Page Headers:', 'platinum_seo_pack')?>
1836
+ </a>
1837
+ </td>
1838
+ <td>
1839
+ <textarea cols="57" rows="2" name="psp_page_meta_tags"><?php echo stripcslashes(get_option('aiosp_page_meta_tags')); ?></textarea>
1840
+ <div style="max-width:500px; text-align:left; display:none" id="psp_page_meta_tags_tip">
1841
+ <?php
1842
+ _e('What you enter here will be copied verbatim to your header on pages. You can enter whatever additional headers you want here, even references to stylesheets or google, yahoo, msn verification links', 'platinum_seo_pack');
1843
+ ?>
1844
+ </div>
1845
+ </td>
1846
+ </tr>
1847
+
1848
+ <tr>
1849
+ <th scope="row" style="text-align:right; vertical-align:top;">
1850
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'platinum_seo_pack')?>" onclick="toggleVisibility('psp_home_meta_tags_tip');">
1851
+ <?php _e('Additional Home Headers:', 'platinum_seo_pack')?>
1852
+ </a>
1853
+ </td>
1854
+ <td>
1855
+ <textarea cols="57" rows="2" name="psp_home_meta_tags"><?php echo stripcslashes(get_option('aiosp_home_meta_tags')); ?></textarea>
1856
+ <div style="max-width:500px; text-align:left; display:none" id="psp_home_meta_tags_tip">
1857
+ <?php
1858
+ _e('What you enter here will be copied verbatim to your header on the home page. You can enter whatever additional headers you want here, even references to stylesheets or google, yahoo, msn verification links', 'platinum_seo_pack');
1859
+ ?>
1860
+ </div>
1861
+ </td>
1862
+ </tr>
1863
+
1864
+ <tr>
1865
+ <th scope="row" style="text-align:right; vertical-align:top;">
1866
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'auto_social')?>" onclick="toggleVisibility('psp_do_log_tip');">
1867
+ <?php _e('Log important events:', 'platinum_seo_pack')?>
1868
+ </a>
1869
+ </td>
1870
+ <td>
1871
+ <input type="checkbox" name="psp_do_log" <?php if (get_option('aiosp_do_log')) echo "checked=\"1\""; ?>/>
1872
+ <div style="max-width:500px; text-align:left; display:none" id="psp_do_log_tip">
1873
+ <?php
1874
+ _e('Check this and Platinum SEO pack will create a log of important events (platinum_seo_pack.log) in its plugin directory which might help debugging it. Make sure this directory is writable.', 'platinum_seo_pack');
1875
+ ?>
1876
+ </div>
1877
+ </td>
1878
+ </tr>
1879
+
1880
+ </table>
1881
+ <p class="submit">
1882
+ <input type="hidden" name="action" value="psp_update" />
1883
+ <input type="submit" name="Submit" value="<?php _e('Update Options', 'platinum_seo_pack')?> &raquo;" />
1884
+ </p>
1885
+ </form>
1886
+ </div>
1887
+ <?php
1888
+
1889
+ } // options_panel
1890
+
1891
+ }
1892
+
1893
+ add_option("aiosp_home_description", null, 'Platinum SEO Plugin Home Description', 'yes');
1894
+ add_option("aiosp_home_title", null, 'Platinum SEO Plugin Home Title', 'yes');
1895
+ add_option("aiosp_home_keywords", null, 'Platinum SEO Plugin Home Title', 'yes');
1896
+ add_option("aiosp_rewrite_titles", 1, 'Platinum SEO Plugin Rewrite Titles', 'yes');
1897
+ add_option("aiosp_use_categories", 0, 'Platinum SEO Plugin Use Categories', 'yes');
1898
+ add_option("psp_category_noindex", 0, 'Platinum SEO Plugin Noindex for Categories', 'yes');
1899
+ add_option("psp_archive_noindex", 1, 'Platinum SEO Plugin Noindex for date based archives', 'yes');
1900
+ add_option("psp_tags_noindex", 0, 'Platinum SEO Plugin Noindex for Tag Archives', 'yes');
1901
+ add_option("psp_comnts_feeds_noindex", 1, 'Platinum SEO Plugin Noindex for Comments Archives', 'yes');
1902
+ add_option("psp_rss_feeds_noindex", 1, 'Platinum SEO Plugin Noindex for all RSS Archives', 'yes');
1903
+ add_option("psp_search_results_noindex", 1, 'Platinum SEO Plugin Noindex for search results', 'yes');
1904
+ add_option("psp_sub_pages_home_noindex", 1, 'Platinum SEO Plugin Noindex for sub pages of home', 'yes');
1905
+ add_option("psp_author_archives_noindex", 1, 'Platinum SEO Plugin Noindex for author archives', 'yes');
1906
+ add_option("psp_noodp_metatag", 1, 'Platinum SEO Plugin noodp metatag', 'yes');
1907
+ add_option("psp_noydir_metatag", 1, 'Platinum SEO Plugin noydir metatag', 'yes');
1908
+ add_option("psp_nofollow_cat_pages", 0, 'Platinum SEO Plugin Nofollow categories on pages', 'yes');
1909
+ add_option("psp_nofollow_cat_posts", 0, 'Platinum SEO Plugin Nofollow categories on single posts', 'yes');
1910
+ add_option("psp_nofollow_ext_links", 0, 'Platinum SEO Plugin Nofollow external links on front page', 'yes');
1911
+ add_option("psp_nofollow_login_reg", 1, 'Platinum SEO Plugin Nofollow login and register links', 'yes');
1912
+ add_option("psp_nofollow_tag_pages", 0, 'Platinum SEO Plugin Nofollow links to tag pages', 'yes');
1913
+ add_option("aiosp_generate_descriptions", 1, 'Platinum SEO Plugin Autogenerate Descriptions', 'yes');
1914
+ add_option("aiosp_post_title_format", '%post_title% | %blog_title%', 'Platinum SEO Plugin Post Title Format', 'yes');
1915
+ add_option("aiosp_page_title_format", '%page_title% | %blog_title%', 'Platinum SEO Plugin Page Title Format', 'yes');
1916
+ add_option("aiosp_category_title_format", '%category_title% | %blog_title%', 'Platinum SEO Plugin Category Title Format', 'yes');
1917
+ add_option("aiosp_archive_title_format", '%date% | %blog_title%', 'Platinum SEO Plugin Archive Title Format', 'yes');
1918
+ add_option("aiosp_tag_title_format", '%tag% | %blog_title%', 'Platinum SEO Plugin Tag Title Format', 'yes');
1919
+ add_option("aiosp_search_title_format", '%search% | %blog_title%', 'Platinum SEO Plugin Search Title Format', 'yes');
1920
+ add_option("aiosp_description_format", '%description%', 'Platinum SEO Plugin Description Format', 'yes');
1921
+ add_option("aiosp_paged_format", ' - Part %page%', 'Platinum SEO Plugin Paged Format', 'yes');
1922
+ add_option("aiosp_404_title_format", 'Nothing found for %request_words%', 'Platinum SEO Plugin 404 Title Format', 'yes');
1923
+ add_option("aiosp_post_meta_tags", '', 'Platinum SEO Plugin Additional Post Meta Tags', 'yes');
1924
+ add_option("aiosp_page_meta_tags", '', 'Platinum SEO Plugin Additional Post Meta Tags', 'yes');
1925
+ add_option("aiosp_home_meta_tags", '', 'Platinum SEO Plugin Additional Home Meta Tags', 'yes');
1926
+ add_option("aiosp_do_log", null, 'Platinum SEO Plugin write log file', 'yes');
1927
+
1928
+ $psp = new Platinum_SEO_Pack();
1929
+ add_action('wp_head', array($psp, 'echo_to_blog_header'));
1930
+ add_action( 'template_redirect', array($psp, 'has_permalink_changed') );
1931
+ add_action('get_header', array($psp, 'apply_seo_title'));
1932
+
1933
+ add_action('init', array($psp, 'init'));
1934
+
1935
+ if (substr($psp->wp_version, 0, 3) == '2.5') {
1936
+ add_action('edit_form_advanced', array($psp, 'psp_form_to_add_metatags'));
1937
+ add_action('edit_page_form', array($psp, 'psp_form_to_add_metatags'));
1938
+ } else {
1939
+ add_action('dbx_post_advanced', array($psp, 'psp_form_to_add_metatags'));
1940
+ add_action('dbx_page_advanced', array($psp, 'psp_form_to_add_metatags'));
1941
+ }
1942
+
1943
+ add_action('edit_post', array($psp, 'add_meta_index_tags'));
1944
+ add_action('publish_post', array($psp, 'add_meta_index_tags'));
1945
+ add_action('save_post', array($psp, 'add_meta_index_tags'));
1946
+ add_action('edit_page_form', array($psp, 'add_meta_index_tags'));
1947
+
1948
+ add_action('admin_menu', array($psp, 'admin_menu'));
1949
+
1950
+ if ((substr($psp->wp_version, 0, 3) == '2.3') || (substr($psp->wp_version, 0, 3) == '2.5')) {
1951
+ if (get_option('psp_comnts_feeds_noindex') || get_option('psp_rss_feeds_noindex')) {
1952
+ add_action('commentsrss2_head', array($psp,'noindex_feed'));
1953
+ }
1954
+ }
1955
+ if (get_option('psp_rss_feeds_noindex')) {
1956
+ add_action('rss_head', array($psp,'noindex_feed'));
1957
+ add_action('rss2_head', array($psp,'noindex_feed'));
1958
+ }
1959
+
1960
+ if (get_option('psp_nofollow_cat_pages') || get_option('psp_nofollow_cat_posts')) {
1961
+ add_filter('wp_list_categories',array($psp,'nofollow_category_listing'));
1962
+ }
1963
+ if (get_option('psp_nofollow_login_reg')) {
1964
+ add_filter('loginout',array($psp,'nofollow_link'));
1965
+ add_filter('register',array($psp,'nofollow_link'));
1966
+ }
1967
+ if (get_option('psp_nofollow_tag_pages')) {
1968
+ add_filter('the_tags',array($psp,'nofollow_taglinks'));
1969
+ }
1970
+
1971
+ /** if (get_option('psp_nofollow_ext_links')) {
1972
+ add_filter('the_content',array($psp,'nofollow_home_category'));
1973
+ } **/
1974
+
1975
+ ?>
readme.txt ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Platinum SEO Pack ===
2
+ Contributors: Techblissonline Dot Com (Rajesh), Uberdose
3
+ Donate link: http://techblissonline.com/platinum-seo-pack/
4
+ Tags: seo, plugin, wordpress, posts, google, meta index,meta keywords,meta description,title,post
5
+ Requires at least: 1.5
6
+ Tested up to: 2.5
7
+ Stable tag: trunk
8
+
9
+ Platinum SEO Plugin offers Complete onsite SEO solution for your Wordpress blog.Platinum SEO Plugin offers all the functionalities of All In One SEO plus more cooler onsite SEO options. It is automatic and also imports all your current settings in All in one SEO Plugin.But you need to disable All In One SEO before enabling Platinum SEO.
10
+
11
+ == Description ==
12
+
13
+ **Optimizes** your Wordpress blog for Search Engines (**Search Engine Optimization**).
14
+
15
+ **[Download now!](http://downloads.wordpress.org/plugin/platinum-seo-pack.zip)**
16
+
17
+ [FAQ](http://techblissonline.com/platinum-seo-pack-faq/)
18
+
19
+ Some features:
20
+
21
+ * Optimized Post and Page Titles for search engines
22
+ * Generates all SEO relevant META tags automatically
23
+ * Helps you avoid duplicate content
24
+ * Lets you override any title and set any META description and META keywords, for any post or page
25
+ * Compatible with most other plugins, like Auto Meta, Ultimate Tag Warrior and others.However you may have to disable All in One SEO pack
26
+ * You don�t have to fear changing permalinks. If you are not satisfied with the current permalink, change it through Settings�>Permalinks in your admin panel, without worrying about loss of Page rank or google penalty.Platinum SEO plugin will take care of issuing a 301 redirect to the new location.This is a new essential feature, not present in All in one SEO
27
+ * Add index, noindex, follow or nofollow, noodp, noydir, noarchive, nosnippet meta tags to any post/page.These options are not available in All in one SEO Pack.Find out why this option to set post/page level Meta Robots Tag useful?
28
+
29
+
30
+ == Installation ==
31
+
32
+ 1. Unzip into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload
33
+ the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`.
34
+ 2. Activate the plugin through the 'Plugins' menu in WordPress
35
+ 3. Visit your SEO options (*Options - Platinum SEO*) for Wordpress 2.3.x, (*Settings - Platinum SEO*) for Wordpress 2.5.x
36
+ That's all folks!
37
+
38
+ If you have to upgrade manually simply repeat the installation steps.
39
+
40
+ == Frequently Asked Questions ==
41
+
42
+ Please read these **[FAQs](http://techblissonline.com/platinum-seo-pack-faq/)** before requesting
43
+ **[Support](http://techblissonline.com/platinum-seo-pack/)**
44
+
45
+ == Screenshots ==
46
+
47
+ 1. Post/Page level meta tag options
48
+ 2. General options in Platinum SEO Plugin
screenshot-1.gif ADDED
Binary file
screenshot-2.gif ADDED
Binary file