Yet Another Related Posts Plugin (YARPP) - Version 3.2

Version Description

  • Better caching performance:
    • Previously, the cache would never actually build up properly. This is now fixed. Thanks to Artefact for pointing this out.
    • The appropriate caches are cleared after posts are deleted (#1245).
    • Caching is no longer performed while batch-importing posts.
  • A new object-based abstraction for the caching system. YARPP by default uses custom database tables (same behavior as 3.1.x), but you now have an option to use the postmeta table instead. To use postmeta caching, add define('YARPP_CACHE_TYPE', 'postmeta'); to your wp-config.php file.<!--YARPP no longer uses custom tables! Both custom tables (yarpp_related_cache and yarpp_keywords_cache) are automatically removed if you have them. WordPress Post Meta is used instead for caching.-->
  • Localizations:
    • added Bulgarian (bg_BG) by Flash Gallery;
    • added Farsi/Persian (fa_IR) by Moshen Derakhshan;
    • added Bahasa Indonesia (id_ID) by Hendry Lee of Kelayang
    • added Norwegian (nb_NO) by Tom Arne Sundtjnn;
    • added Portuguese (pt_PT) by Stefan Mueller.
    • updated Lithuanian (lt_LT) by Mantas Malcius
  • Added WordPress HelpCenter widget for quick access to professional support.
  • Some code cleanup (bug #1246)
  • No longer supporting WordPress versions before 3.0, not because I suddenly started using something that requires 3.0, but in order to simplify testing.
Download this release

Release Info

Developer mitchoyoshitaka
Plugin Icon 128x128 Yet Another Related Posts Plugin (YARPP)
Version 3.2
Comparing to
See all releases

Code changes from version 3.2b4 to 3.2

cache-postmeta.php CHANGED
@@ -128,7 +128,6 @@ class YARPP_Cache_Postmeta {
128
}
129
130
function is_cached($reference_ID) {
131
- // error_log('hit:' . print_r(debug_backtrace(), true));
132
return get_post_meta($reference_ID, YARPP_POSTMETA_RELATED_KEY, true) != false;
133
}
134
@@ -148,30 +147,23 @@ class YARPP_Cache_Postmeta {
148
global $wpdb, $yarpp_debug;
149
150
$original_related = $this->related($reference_ID);
151
- // error_log('original:' . implode(':', $original_related));
152
-
153
$related = $wpdb->get_results(yarpp_sql($types,array(),true,$reference_ID), ARRAY_A);
154
- // error_log('debug:' . print_r($related, true));
155
$new_related = array_map(create_function('$x','return $x["ID"];'), $related);
156
157
if (count($new_related)) {
158
- // error_log('new:' . implode(':', $new_related));
159
update_post_meta($reference_ID, YARPP_POSTMETA_RELATED_KEY, $related);
160
if ($yarpp_debug) echo "<!--YARPP just set the cache for post $reference_ID-->";
161
162
// Clear the caches of any items which are no longer related or are newly related.
163
if (count($original_related)) {
164
$this->clear(array_diff($original_related, $new_related));
165
- // error_log('clear:' . implode(':', array_diff($original_related, $new_related)));
166
$this->clear(array_diff($new_related, $original_related));
167
- // error_log('clear:' . implode(':', array_diff($new_related, $original_related)));
168
}
169
} else {
170
update_post_meta($reference_ID, YARPP_POSTMETA_RELATED_KEY, YARPP_NO_RELATED);
171
// Clear the caches of those which are no longer related.
172
if (count($original_related)) {
173
$this->clear($original_related);
174
- // error_log('clear:' . implode(':', $original_related));
175
}
176
}
177
}
@@ -195,7 +187,6 @@ class YARPP_Cache_Postmeta {
195
// return a list of ID's of "related" entries
196
if (!is_null($reference_ID)) {
197
$results = get_post_meta($reference_ID,YARPP_POSTMETA_RELATED_KEY,true);
198
- // error_log('debug:' . print_r($results, true));
199
if (!$results || $results == YARPP_NO_RELATED)
200
return array();
201
return array_map(create_function('$x','return $x["ID"];'), $results);
128
}
129
130
function is_cached($reference_ID) {
131
return get_post_meta($reference_ID, YARPP_POSTMETA_RELATED_KEY, true) != false;
132
}
133
147
global $wpdb, $yarpp_debug;
148
149
$original_related = $this->related($reference_ID);
150
$related = $wpdb->get_results(yarpp_sql($types,array(),true,$reference_ID), ARRAY_A);
151
$new_related = array_map(create_function('$x','return $x["ID"];'), $related);
152
153
if (count($new_related)) {
154
update_post_meta($reference_ID, YARPP_POSTMETA_RELATED_KEY, $related);
155
if ($yarpp_debug) echo "<!--YARPP just set the cache for post $reference_ID-->";
156
157
// Clear the caches of any items which are no longer related or are newly related.
158
if (count($original_related)) {
159
$this->clear(array_diff($original_related, $new_related));
160
$this->clear(array_diff($new_related, $original_related));
161
}
162
} else {
163
update_post_meta($reference_ID, YARPP_POSTMETA_RELATED_KEY, YARPP_NO_RELATED);
164
// Clear the caches of those which are no longer related.
165
if (count($original_related)) {
166
$this->clear($original_related);
167
}
168
}
169
}
187
// return a list of ID's of "related" entries
188
if (!is_null($reference_ID)) {
189
$results = get_post_meta($reference_ID,YARPP_POSTMETA_RELATED_KEY,true);
190
if (!$results || $results == YARPP_NO_RELATED)
191
return array();
192
return array_map(create_function('$x','return $x["ID"];'), $results);
cache-tables.php CHANGED
@@ -37,11 +37,11 @@ class YARPP_Cache_Tables {
37
global $wpdb;
38
if (!$wpdb->query("CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . "` (
39
`ID` bigint(20) unsigned NOT NULL default '0',
40
- `body` text collate utf8_unicode_ci NOT NULL,
41
- `title` text collate utf8_unicode_ci NOT NULL,
42
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
43
PRIMARY KEY (`ID`)
44
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='YARPP''s keyword cache table';")) {
45
echo "<!--MySQL error on creating " . YARPP_TABLES_KEYWORDS_TABLE . " table: ";
46
$wpdb->print_error();
47
echo "-->";
@@ -52,7 +52,7 @@ class YARPP_Cache_Tables {
52
`score` float unsigned NOT NULL default '0',
53
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
54
PRIMARY KEY ( `score` , `date` , `reference_ID` , `ID` )
55
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;")) {
56
echo "<!--MySQL error on creating " . YARPP_TABLES_RELATED_TABLE . " table: ";
57
$wpdb->print_error();
58
echo "-->";
@@ -93,10 +93,8 @@ class YARPP_Cache_Tables {
93
94
$arg = str_replace("$wpdb->posts.ID = ","yarpp.score >= $threshold and yarpp.reference_ID = ",$arg);
95
96
-
97
if (yarpp_get_option("recent_only"))
98
$arg .= " and post_date > date_sub(now(), interval ".yarpp_get_option("recent_number")." ".yarpp_get_option("recent_units").") ";
99
- //echo "<!--YARPP TEST: $arg-->";
100
}
101
return $arg;
102
}
@@ -179,9 +177,7 @@ class YARPP_Cache_Tables {
179
// Clear the caches of any items which are no longer related or are newly related.
180
if (count($original_related)) {
181
$this->clear(array_diff($original_related, $new_related));
182
- //error_log('clear:' . implode(':', array_diff($original_related, $new_related)));
183
$this->clear(array_diff($new_related, $original_related));
184
- //error_log('clear:' . implode(':', array_diff($new_related, $original_related)));
185
}
186
} else {
187
$wpdb->query("insert into {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " (reference_ID,ID,score) values ($reference_ID,0,0) on duplicate key update date = now()");
@@ -190,7 +186,6 @@ class YARPP_Cache_Tables {
190
// Clear the caches of those which are no longer related.
191
if (count($original_related)) {
192
$this->clear($original_related);
193
- //error_log('clear:' . implode(':', $original_related));
194
}
195
}
196
}
37
global $wpdb;
38
if (!$wpdb->query("CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}" . YARPP_TABLES_KEYWORDS_TABLE . "` (
39
`ID` bigint(20) unsigned NOT NULL default '0',
40
+ `body` text NOT NULL,
41
+ `title` text NOT NULL,
42
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
43
PRIMARY KEY (`ID`)
44
+ ) ENGINE=MyISAM COMMENT='YARPP''s keyword cache table';")) {
45
echo "<!--MySQL error on creating " . YARPP_TABLES_KEYWORDS_TABLE . " table: ";
46
$wpdb->print_error();
47
echo "-->";
52
`score` float unsigned NOT NULL default '0',
53
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
54
PRIMARY KEY ( `score` , `date` , `reference_ID` , `ID` )
55
+ ) ENGINE=MyISAM;")) {
56
echo "<!--MySQL error on creating " . YARPP_TABLES_RELATED_TABLE . " table: ";
57
$wpdb->print_error();
58
echo "-->";
93
94
$arg = str_replace("$wpdb->posts.ID = ","yarpp.score >= $threshold and yarpp.reference_ID = ",$arg);
95
96
if (yarpp_get_option("recent_only"))
97
$arg .= " and post_date > date_sub(now(), interval ".yarpp_get_option("recent_number")." ".yarpp_get_option("recent_units").") ";
98
}
99
return $arg;
100
}
177
// Clear the caches of any items which are no longer related or are newly related.
178
if (count($original_related)) {
179
$this->clear(array_diff($original_related, $new_related));
180
$this->clear(array_diff($new_related, $original_related));
181
}
182
} else {
183
$wpdb->query("insert into {$wpdb->prefix}" . YARPP_TABLES_RELATED_TABLE . " (reference_ID,ID,score) values ($reference_ID,0,0) on duplicate key update date = now()");
186
// Clear the caches of those which are no longer related.
187
if (count($original_related)) {
188
$this->clear($original_related);
189
}
190
}
191
}
lang/yarpp-id_ID.mo ADDED
Binary file
lang/yarpp-id_ID.po ADDED
@@ -0,0 +1,590 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Yet Another Related Posts Plugin in Indonesian\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2011-01-25 09:50+0700\n"
7
+ "Last-Translator: Kelayang <k@kelayang.com>\n"
8
+ "Language-Team: Kelayang <k@kelayang.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
15
+ "X-Textdomain-Support: yes\n"
16
+ "X-Poedit-Language: Indonesian\n"
17
+ "X-Poedit-Country: INDONESIA\n"
18
+ "X-Poedit-Basepath: .\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #@ yarpp
22
+ #: includes.php:96
23
+ msgid "MySQL error on adding yarpp_title"
24
+ msgstr "Galat MySQL saat menambah yarpp_title"
25
+
26
+ #@ yarpp
27
+ #: includes.php:101
28
+ msgid "MySQL error on adding yarpp_content"
29
+ msgstr "Galat MySQL saat menambah yarpp_content"
30
+
31
+ #@ yarpp
32
+ #: includes.php:489
33
+ msgid "Related Posts"
34
+ msgstr "Tulisan Terkait"
35
+
36
+ #@ yarpp
37
+ #: options.php:35
38
+ #, php-format
39
+ msgid "YARPP's \"consider titles\" and \"consider bodies\" relatedness criteria require your <code>%s</code> table to use the <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>MyISAM storage engine</a>, but the table seems to be using the <code>%s</code> engine. These two options have been disabled."
40
+ msgstr "Kriteria kaitan \"pertimbangkan judul\" dan \"pertimbangkan batang tubuh\" YARPP mengharuskan tabel <code>%s</code> Anda mempergunakan <a href='http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html'>mesin penyimpan MyISAM</a>, tapi tabel kelihatannya menggunakan mesin <code>%s</code>. Dua opsi ini telah dinonaktifkan."
41
+
42
+ #@ yarpp
43
+ #: options.php:37
44
+ #, php-format
45
+ msgid "To restore these features, please update your <code>%s</code> table by executing the following SQL directive: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code> . No data will be erased by altering the table's engine, although there are performance implications."
46
+ msgstr "Untuk memulihkan fitur ini, mohon perbarui tabel <code>%s</code> Anda dengan mengeksekusi direktif SQL berikut: <code>ALTER TABLE `%s` ENGINE = MyISAM;</code>. Tidak ada data yang akan dihapus dengan mengubah mesin tabel, walaupun ada implikasi performa."
47
+
48
+ #@ yarpp
49
+ #: options.php:39
50
+ #, php-format
51
+ msgid "If, despite this check, you are sure that <code>%s</code> is using the MyISAM engine, press this magic button:"
52
+ msgstr "Jika, setelah pengecekan ini, Anda yakin <code>%s</code> menggunakan mesin MyISAM, tekan tombol ajaib ini:"
53
+
54
+ #@ yarpp
55
+ #: options.php:42
56
+ msgid "Trust me. Let me use MyISAM features."
57
+ msgstr "Percaya pada saya. Izinkan saya memakai fitur MyISAM."
58
+
59
+ #@ yarpp
60
+ #: options.php:65
61
+ msgid "The YARPP database had an error but has been fixed."
62
+ msgstr "Database YARPP memilik galat tapi telah diperbaiki."
63
+
64
+ #@ yarpp
65
+ #: options.php:67
66
+ msgid "The YARPP database has an error which could not be fixed."
67
+ msgstr "Database YARPP mempunyai galat yang tidak dapat diperbaiki."
68
+
69
+ #@ yarpp
70
+ #: options.php:135
71
+ msgid "word"
72
+ msgstr "kata"
73
+
74
+ #@ yarpp
75
+ #: options.php:136
76
+ msgid "tag"
77
+ msgstr "tag"
78
+
79
+ #@ yarpp
80
+ #: options.php:137
81
+ msgid "category"
82
+ msgstr "kategori"
83
+
84
+ #@ yarpp
85
+ #: options.php:141
86
+ #: options.php:158
87
+ #: options.php:170
88
+ msgid "do not consider"
89
+ msgstr "jangan pertimbangkan"
90
+
91
+ #@ yarpp
92
+ #: options.php:142
93
+ #: options.php:159
94
+ #: options.php:172
95
+ msgid "consider"
96
+ msgstr "pertimbangkan"
97
+
98
+ #@ yarpp
99
+ #: options.php:144
100
+ #: options.php:174
101
+ #, php-format
102
+ msgid "require at least one %s in common"
103
+ msgstr "mengharuskan setidaknya satu persamaan dalam %s"
104
+
105
+ #@ yarpp
106
+ #: options.php:146
107
+ #: options.php:176
108
+ #, php-format
109
+ msgid "require more than one %s in common"
110
+ msgstr "mengharuskan lebih dari satu persamaan dalam %s"
111
+
112
+ #@ yarpp
113
+ #: options.php:160
114
+ msgid "consider with extra weight"
115
+ msgstr "pertimbangkan dengan berat ekstra"
116
+
117
+ #@ yarpp
118
+ #: options.php:188
119
+ msgid "Yet Another Related Posts Plugin version history (RSS 2.0)"
120
+ msgstr "Sejarah versi Yet Another Related Posts Plugin (RSS 2.0)"
121
+
122
+ #@ default
123
+ #@ yarpp
124
+ #: options.php:253
125
+ msgid "Donate to mitcho (Michael Yoshitaka Erlewine) for this plugin via PayPal"
126
+ msgstr "Donasi ke mitcho (Michael Yoshitaka Erlewine) untuk plugin ini melalui PayPal"
127
+
128
+ #@ yarpp
129
+ #: options.php:242
130
+ msgid "Yet Another Related Posts Plugin Options"
131
+ msgstr "Opsi Yet Another Related Posts Plugin"
132
+
133
+ #@ yarpp
134
+ #: options.php:274
135
+ msgid "\"The Pool\""
136
+ msgstr "\"Kumpulan\""
137
+
138
+ #@ yarpp
139
+ #: options.php:276
140
+ msgid "\"The Pool\" refers to the pool of posts and pages that are candidates for display as related to the current entry."
141
+ msgstr "\"Kumpulan\" merujuk pada kumpulan tulisan atau halaman yang merupakan kanditat untuk ditampilkan sebagai terkait pada entri terkini."
142
+
143
+ #@ yarpp
144
+ #: options.php:281
145
+ msgid "Disallow by category:"
146
+ msgstr "Jangan izinkan berdasarkan kategori:"
147
+
148
+ #@ yarpp
149
+ #: options.php:283
150
+ msgid "Disallow by tag:"
151
+ msgstr "Jangan izinkan berdasarkan tag:"
152
+
153
+ #@ yarpp
154
+ #: options.php:286
155
+ msgid "Show password protected posts?"
156
+ msgstr "Tampilkan tulisan yang terproteksi kata sandi?"
157
+
158
+ #@ yarpp
159
+ #: options.php:326
160
+ msgid "Show only previous posts?"
161
+ msgstr "Tampilkan hanya tulisan terdahulu?"
162
+
163
+ #@ yarpp
164
+ #: options.php:307
165
+ msgid "\"Relatedness\" options"
166
+ msgstr "Opsi \"Keterkaitan\""
167
+
168
+ #@ yarpp
169
+ #: options.php:310
170
+ #, php-format
171
+ msgid "YARPP is different than the <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">previous plugins it is based on</a> as it limits the related posts list by (1) a maximum number and (2) a <em>match threshold</em>."
172
+ msgstr "YARPP berbeda dari <a href=\"http://wasabi.pbwiki.com/Related%20Entries\">plugin terdahulu yang menjadi dasarnya</a> karena ia membatasi daftar tulisan terkait berdasarkan (1) angka maksimal dan (2) <em>ambang kecocokan</em>."
173
+
174
+ #@ yarpp
175
+ #: options.php:316
176
+ msgid "Match threshold:"
177
+ msgstr "Ambang kecocokan:"
178
+
179
+ #@ yarpp
180
+ #: options.php:317
181
+ msgid "Titles: "
182
+ msgstr "Judul: "
183
+
184
+ #@ yarpp
185
+ #: options.php:319
186
+ msgid "Bodies: "
187
+ msgstr "Batang tubuh: "
188
+
189
+ #@ yarpp
190
+ #: options.php:321
191
+ msgid "Tags: "
192
+ msgstr "Tag: "
193
+
194
+ #@ yarpp
195
+ #: options.php:323
196
+ msgid "Categories: "
197
+ msgstr "Kategori: "
198
+
199
+ #@ yarpp
200
+ #: options.php:325
201
+ msgid "Cross-relate posts and pages?"
202
+ msgstr "Hubungkan tulisan dan halaman?"
203
+
204
+ #@ yarpp
205
+ #: options.php:325
206
+ msgid "When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts."
207
+ msgstr "Ketika opsi \"Hubungkan tulisan dan halaman\" terpilih, <code>related_posts</code>, <code>related_pages()</code>, dan <code>related_entries()</code> semuanya akan memberi keluaran yang sama, mengembalikan baik halaman maupun tulisan."
208
+
209
+ #@ yarpp
210
+ #: options.php:404
211
+ msgid "Display options <small>for your website</small>"
212
+ msgstr "Tampilkan opsi <small>untuk situs web Anda</small>"
213
+
214
+ #@ yarpp
215
+ #: magic.php:351
216
+ #: options.php:462
217
+ #: options.php:530
218
+ msgid "Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
219
+ msgstr "Tulisan terkait dibawakan kepada Anda oleh <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>."
220
+
221
+ #@ yarpp
222
+ #: options.php:409
223
+ msgid "Automatically display related posts?"
224
+ msgstr "Secara otomatis menampilkan tulisan terkait?"
225
+
226
+ #@ yarpp
227
+ #: options.php:409
228
+ msgid "This option automatically displays related posts right after the content on single entry pages. If this option is off, you will need to manually insert <code>related_posts()</code> or variants (<code>related_pages()</code> and <code>related_entries()</code>) into your theme files."
229
+ msgstr "Opsi ini secara otomatis menampilkan tulisan terkait setelah konten pada halaman entri tersendiri. Jika opsi ini mati, Anda perlu menyisipkan secara manual <code>related_posts()</code> atau variasinya (<code>related_pages()</code> dan <code>related_entries()</code>> ke berkas tema Anda."
230
+
231
+ #@ yarpp
232
+ #: options.php:410
233
+ msgid "Website display code example"
234
+ msgstr "Situs web menampilkan contoh kode"
235
+
236
+ #@ yarpp
237
+ #: options.php:410
238
+ #: options.php:480
239
+ msgid "(Update options to reload.)"
240
+ msgstr "(Perbarui opsi untuk memuat ulang.)"
241
+
242
+ #@ yarpp
243
+ #: options.php:413
244
+ #: options.php:482
245
+ msgid "Maximum number of related posts:"
246
+ msgstr "Jumlah maksimum tulisan terkait:"
247
+
248
+ #@ yarpp
249
+ #: options.php:426
250
+ msgid "Before / after related entries:"
251
+ msgstr "Sebelum / sesudah entri terkait:"
252
+
253
+ #@ yarpp
254
+ #: options.php:427
255
+ #: options.php:432
256
+ #: options.php:441
257
+ #: options.php:496
258
+ #: options.php:501
259
+ #: options.php:510
260
+ msgid "For example:"
261
+ msgstr "Sebagai contoh:"
262
+
263
+ #@ yarpp
264
+ #: options.php:431
265
+ #: options.php:500
266
+ msgid "Before / after each related entry:"
267
+ msgstr "Sebelum / sesudah setiap entri terkait:"
268
+
269
+ #@ yarpp
270
+ #: options.php:435
271
+ #: options.php:504
272
+ msgid "Show excerpt?"
273
+ msgstr "Tampilkan cuplikan?"
274
+
275
+ #@ yarpp
276
+ #: options.php:436
277
+ #: options.php:505
278
+ msgid "Excerpt length (No. of words):"
279
+ msgstr "Panjang cuplikan (Jumlah kata):"
280
+
281
+ #@ yarpp
282
+ #: options.php:440
283
+ msgid "Before / after (Excerpt):"
284
+ msgstr "Sebelum / sesudah (Cuplikan):"
285
+
286
+ #@ yarpp
287
+ #: options.php:446
288
+ #: options.php:515
289
+ msgid "Order results:"
290
+ msgstr "Hasil urutan:"
291
+
292
+ #@ yarpp
293
+ #: options.php:448
294
+ #: options.php:517
295
+ msgid "score (high relevance to low)"
296
+ msgstr "skor (kaitan tinggi ke rendah)"
297
+
298
+ #@ yarpp
299
+ #: options.php:449
300
+ #: options.php:518
301
+ msgid "score (low relevance to high)"
302
+ msgstr "skor (kaitan rendah ke tinggi)"
303
+
304
+ #@ yarpp
305
+ #: options.php:450
306
+ #: options.php:519
307
+ msgid "date (new to old)"
308
+ msgstr "tanggal (baru ke lama)"
309
+
310
+ #@ yarpp
311
+ #: options.php:451
312
+ #: options.php:520
313
+ msgid "date (old to new)"
314
+ msgstr "tanggal (lama ke baru)"
315
+
316
+ #@ yarpp
317
+ #: options.php:452
318
+ #: options.php:521
319
+ msgid "title (alphabetical)"
320
+ msgstr "judul (secara alfabet)"
321
+
322
+ #@ yarpp
323
+ #: options.php:453
324
+ #: options.php:522
325
+ msgid "title (reverse alphabetical)"
326
+ msgstr "judul (secara alfabel terbalik)"
327
+
328
+ #@ yarpp
329
+ #: options.php:458
330
+ #: options.php:527
331
+ msgid "Default display if no results:"
332
+ msgstr "Tampilan bawaan jika tidak ada hasil:"
333
+
334
+ #@ yarpp
335
+ #: includes.php:279
336
+ #: options.php:460
337
+ #: options.php:529
338
+ msgid "Help promote Yet Another Related Posts Plugin?"
339
+ msgstr "Bantu promosi Yet Another Related Posts Plugin?"
340
+
341
+ #@ yarpp
342
+ #: options.php:462
343
+ #: options.php:530
344
+ #, php-format
345
+ msgid "This option will add the code %s. Try turning it on, updating your options, and see the code in the code example to the right. These links and donations are greatly appreciated."
346
+ msgstr "Opsi ini akan menambah kode %s. Coba diaktifkan, perbarui opsi Anda, dan lihat kode pada contoh kode pada bagian kanan. Tautan ini dan donasi sangat dihargai."
347
+
348
+ #@ yarpp
349
+ #: options.php:472
350
+ msgid "Display options <small>for RSS</small>"
351
+ msgstr "Opsi penampilan <small>untuk RSS</small>"
352
+
353
+ #@ yarpp
354
+ #: options.php:478
355
+ msgid "Display related posts in feeds?"
356
+ msgstr "Tampilkan tulisan terkait pada feed?"
357
+
358
+ #@ yarpp
359
+ #: options.php:479
360
+ msgid "Display related posts in the descriptions?"
361
+ msgstr "Tampilkan tulisan terkait pada deskripsi?"
362
+
363
+ #@ yarpp
364
+ #: options.php:479
365
+ msgid "This option displays the related posts in the RSS description fields, not just the content. If your feeds are set up to only display excerpts, however, only the description field is used, so this option is required for any display at all."
366
+ msgstr "Opsi ini menampilkan tulisan terkait pada ruas deskripsi RSS, bukan hanya konten. Jika feed Anda ditata hanya menampilkan cuplikan, hanya ruas deskripsi yang terpakai, jadi opsi ini dibutuhkan agar ditampilkan."
367
+
368
+ #@ yarpp
369
+ #: options.php:480
370
+ msgid "RSS display code example"
371
+ msgstr "Contoh kode tampilan RSS"
372
+
373
+ #@ yarpp
374
+ #: options.php:495
375
+ msgid "Before / after related entries display:"
376
+ msgstr "Sebelum / sesudah tampilan entri terkait:"
377
+
378
+ #@ yarpp
379
+ #: options.php:509
380
+ msgid "Before / after (excerpt):"
381
+ msgstr "Sebelum / sesudah (cuplikan):"
382
+
383
+ #@ yarpp
384
+ #: template-builtin.php:35
385
+ #, php-format
386
+ msgid "%f is the YARPP match score between the current entry and this related entry. You are seeing this value because you are logged in to WordPress as an administrator. It is not shown to regular visitors."
387
+ msgstr "%f adalah skor kecocokan YARPP antara entri terkini dan entri terkait ini. Anda melihat nilai ini karena Anda masuk log sebagai administrator Wordpress. Ia tidak akan ditampilkan untuk pengunjung biasa."
388
+
389
+ #@ yarpp
390
+ #: includes.php:182
391
+ #: includes.php:215
392
+ #: includes.php:236
393
+ msgid "Related Posts (YARPP)"
394
+ msgstr "Tulisan Terkait (YARPP)"
395
+
396
+ #@ yarpp
397
+ #: options.php:26
398
+ msgid "The MyISAM check has been overridden. You may now use the \"consider titles\" and \"consider bodies\" relatedness criteria."
399
+ msgstr "Pengecekan MyISAM dikesampingkan. Anda boleh mempergunakan kriteria keterkaitan \"pertimbangkan judul\" dan \"pertimbangkan batang tubuh\"."
400
+
401
+ #@ yarpp
402
+ #: options.php:310
403
+ #: options.php:325
404
+ #: options.php:409
405
+ #: options.php:414
406
+ #: options.php:461
407
+ #: options.php:478
408
+ #: options.php:479
409
+ #: options.php:483
410
+ #: options.php:529
411
+ msgid "more&gt;"
412
+ msgstr "lanjut&gt;"
413
+
414
+ #@ yarpp
415
+ #: options.php:99
416
+ msgid "Options saved!"
417
+ msgstr "Opsi tersimpan!"
418
+
419
+ #@ yarpp
420
+ #: options.php:539
421
+ msgid "Do you really want to reset your configuration?"
422
+ msgstr "Apakah Anda benar-benar ingin mereset konfigurasi Anda?"
423
+
424
+ #@ yarpp
425
+ #: options.php:538
426
+ msgid "Update options"
427
+ msgstr "Perbarui Opsi"
428
+
429
+ #@ yarpp
430
+ #: options.php:310
431
+ msgid "The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post's related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site."
432
+ msgstr "Semakin tinggi ambang kecocokan, semakin ketat, dan Anda mendapat tulisan terkait yang semakin sedikit secara keseluruhan. Ambang kecocokan bawaan adalah 5. Jika Anda ingin menemukan ambang kecocokan yang pas, lihat pada tampilan tulisan terkait untuk beberapa tulisan dan skornya. Anda dapat melihat jenis tulisan terkait yang terpilih dan dengan jenis kecocokan yang mana, dan menentukan ambang yang cocok untuk situs Anda."
433
+
434
+ #@ yarpp
435
+ #: options.php:539
436
+ msgid "Reset options"
437
+ msgstr "Reset opsi"
438
+
439
+ #@ yarpp
440
+ #: magic.php:71
441
+ msgid "Example post "
442
+ msgstr "Contoh tulisan "
443
+
444
+ #@ yarpp
445
+ #: template-metabox.php:12
446
+ msgid "These are the related entries for this entry. Updating this post may change these related posts."
447
+ msgstr "Berikut ini entri-entri terkait untuk entri ini. Memperbarui tulisan ini mungkin mengubah tulisan terkait ini."
448
+
449
+ #@ yarpp
450
+ #: template-metabox.php:26
451
+ msgid "Whether all of these related entries are actually displayed and how they are displayed depends on your YARPP display options."
452
+ msgstr "Apakah semua entri terkait ini ditampilkan atau bagaimana mereka ditampilkan tergantung dari opsi tampilan YARPP Anda."
453
+
454
+ #@ yarpp
455
+ #: includes.php:29
456
+ #: includes.php:40
457
+ #: template-metabox.php:28
458
+ #: template-widget.php:13
459
+ msgid "No related posts."
460
+ msgstr "Tidak ada tulisan terkait."
461
+
462
+ #@ yarpp
463
+ #: options.php:255
464
+ msgid "by <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
465
+ msgstr "oleh <a href=\"http://mitcho.com/code/\">mitcho (Michael 芳貴 Erlewine)</a>"
466
+
467
+ #@ yarpp
468
+ #: options.php:255
469
+ msgid "Follow <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin on Twitter</a>"
470
+ msgstr "Ikuti <a href=\"http://twitter.com/yarpp/\">Yet Another Related Posts Plugin di Twitter</a>"
471
+
472
+ #@ yarpp
473
+ #: options.php:290
474
+ msgid "day(s)"
475
+ msgstr "hari"
476
+
477
+ #@ yarpp
478
+ #: options.php:291
479
+ msgid "week(s)"
480
+ msgstr "minggu"
481
+
482
+ #@ yarpp
483
+ #: options.php:292
484
+ msgid "month(s)"
485
+ msgstr "bulan"
486
+
487
+ #@ yarpp
488
+ #: options.php:294
489
+ msgid "Show only posts from the past NUMBER UNITS"
490
+ msgstr "Tampilkan tulisan dari JUMLAH UNIT terdahulu saja"
491
+
492
+ #@ yarpp
493
+ #: options.php:388
494
+ msgid "There is a new beta (VERSION) of Yet Another Related Posts Plugin. You can <A>download it here</a> at your own risk."
495
+ msgstr "Ada beta baru (VERSI) dari Plugin Yet Another Related Posts. Anda dapat <A>mengunduhnya di sini</a> dengan risiko Anda sendiri."
496
+
497
+ #@ yarpp
498
+ #: options.php:390
499
+ msgid "There is a new version (VERSION) of Yet Another Related Posts Plugin available! You can <A>download it here</a>."
500
+ msgstr "Ada versi baru (VERSI) dari Plugin Yet Another Related Posts Plugin! Anda dapat <A>mengunduhnya di sini</a>."
501
+
502
+ #@ yarpp
503
+ #: includes.php:270
504
+ #: options.php:414
505
+ #: options.php:483
506
+ msgid "Display using a custom template file"
507
+ msgstr "Tampilkan dengan menggunakan berkas templat tersuai"
508
+
509
+ #@ yarpp
510
+ #: includes.php:271
511
+ #: options.php:416
512
+ #: options.php:485
513
+ msgid "Template file:"
514
+ msgstr "Berkas templat:"
515
+
516
+ #@ yarpp
517
+ #: options.php:478
518
+ msgid "This option displays related posts at the end of each item in your RSS and Atom feeds. No template changes are needed."
519
+ msgstr "Opsi ini menampilkan tulisan terkait pada akhir dari setiap item pada feed RSS dan atom Anda. Tidak ada perubahan templat yang dibutuhkan."
520
+
521
+ #@ yarpp
522
+ #: includes.php:112
523
+ msgid "MySQL error on creating yarpp_keyword_cache table"
524
+ msgstr "Galat MySQL ketika menciptakan tabel yarpp_keyword_cache"
525
+
526
+ #@ yarpp
527
+ #: includes.php:123
528
+ msgid "MySQL error on creating yarpp_related_cache table"
529
+ msgstr "Galat MySQL ketika menciptakan tabel yarpp_related_cache"
530
+
531
+ #@ yarpp
532
+ #: options.php:10
533
+ msgid "Please move the YARPP template files into your theme to complete installation. Simply move the sample template files (currently in <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) to the <code>TEMPLATEPATH</code> directory."
534
+ msgstr "Mohon pindahkan berkas templat YARPP ke tema Anda untuk menyelesaikan instalasi. Cukup pindahkan berkas templat contoh (sekarang di <code>wp-content/plugins/yet-another-related-posts-plugin/yarpp-templates/</code>) ke direktori <code>TEMPLATEPATH</code>."
535
+
536
+ #@ yarpp
537
+ #: options.php:15
538
+ msgid "No YARPP template files were found in your theme (<code>TEMPLATEPATH</code>) so the templating feature has been turned off."
539
+ msgstr "Tidak ada berkas templat YARPP yang ditemukan pada tema Anda (<code>TEMPLATEPATH</code>) jadi fitur templat telah dinonaktifkan."
540
+
541
+ #@ yarpp
542
+ #: options.php:483
543
+ msgid "NEW!"
544
+ msgstr "BARU!"
545
+
546
+ #@ yarpp
547
+ #: options.php:414
548
+ #: options.php:483
549
+ msgid "This advanced option gives you full power to customize how your related posts are displayed. Templates (stored in your theme folder) are written in PHP."
550
+ msgstr "Opsi lanjutan ini memberikan Anda kemampuan penuh untuk menyesuaikan bagaimana tulisan terkait Anda ditampilkan. Templat-templat (yang tersimpan di folder tema) tertulis dalam PHP."
551
+
552
+ #@ yarpp
553
+ #: includes.php:27
554
+ #: includes.php:38
555
+ msgid "Related posts:"
556
+ msgstr "Tulisan terkait:"
557
+
558
+ #@ yarpp
559
+ #: options.php:68
560
+ msgid "Please try <A>manual SQL setup</a>."
561
+ msgstr "Mohon coba <A>penataan SQL manual</a>."
562
+
563
+ #@ yarpp
564
+ #: options.php:427
565
+ #: options.php:432
566
+ #: options.php:441
567
+ #: options.php:496
568
+ #: options.php:501
569
+ #: options.php:510
570
+ msgid " or "
571
+ msgstr " atau "
572
+
573
+ #@ yarpp
574
+ #: includes.php:191
575
+ msgid "Settings"
576
+ msgstr "Pengaturan"
577
+
578
+ #@ default
579
+ #: includes.php:265
580
+ msgid "Title:"
581
+ msgstr "Judul:"
582
+
583
+ #@ default
584
+ #: options.php:271
585
+ #: options.php:304
586
+ #: options.php:401
587
+ #: options.php:469
588
+ msgid "Click to toggle"
589
+ msgstr "Klik untuk menukar balik"
590
+
magic.php CHANGED
@@ -7,7 +7,7 @@ function yarpp_set_score_override_flag($q) {
7
if ($yarpp_cache->yarpp_time) {
8
$yarpp_score_override = ($q->query_vars['orderby'] == 'score');
9
10
- if ($q->query_vars['showposts'] != '') {
11
$yarpp_online_limit = $q->query_vars['showposts'];
12
} else {
13
$yarpp_online_limit = false;
7
if ($yarpp_cache->yarpp_time) {
8
$yarpp_score_override = ($q->query_vars['orderby'] == 'score');
9
10
+ if (!empty($q->query_vars['showposts'])) {
11
$yarpp_online_limit = $q->query_vars['showposts'];
12
} else {
13
$yarpp_online_limit = false;
options.php CHANGED
@@ -2,6 +2,11 @@
2
3
global $wpdb, $yarpp_value_options, $yarpp_binary_options, $wp_version, $yarpp_cache;
4
5
// check to see that templates are in the right place
6
$yarpp_templateable = (count(glob(STYLESHEETPATH . '/yarpp-template-*.php')) > 0);
7
if (!$yarpp_templateable) {
2
3
global $wpdb, $yarpp_value_options, $yarpp_binary_options, $wp_version, $yarpp_cache;
4
5
+ // if action=flush, reset the cache
6
+ if (isset($_GET['action']) && $_GET['action'] == 'flush') {
7
+ $yarpp_cache->flush();
8
+ }
9
+
10
// check to see that templates are in the right place
11
$yarpp_templateable = (count(glob(STYLESHEETPATH . '/yarpp-template-*.php')) > 0);
12
if (!$yarpp_templateable) {
readme.txt CHANGED
@@ -7,9 +7,9 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4D
7
Tags: related, posts, post, pages, page, RSS, feed, feeds
8
Requires at least: 3.0
9
Tested up to: 3.1
10
- Stable tag: 3.1.9
11
12
- Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
13
14
== Description ==
15
@@ -34,9 +34,7 @@ I try to respond to inquiries on the forums on a regular basis and hope to build
34
35
= Testimonials =
36
37
- "One of my favorite [plugin]s I just activated on my blog is called Yet Another Related Posts Plugin... I've been blogging seven or eight years now so I have a lot of archives, and it actually surprises me sometimes when I blog about something and I visit the permalink to see I've written about it before... and it also increases the traffic on your blog because when they come in just to one entry, they'll see this other stuff going on." - Matt Mullenweg, WordPress creator
38
-
39
- "As most [sports betting](http://www.betus.com/) fans use our portal, [BetUS.com Sportsbook](http://www.betus.com/sportsbook/) works hard to maintain a high level of quality on their site. Mitcho and his amazing plugins help keep us moving our technology forward. Thank you Mitcho, and the [Wordpress](http://wordpress.org) team for your service and creativity!" - [BetUS.com](http://BetUS.com/)
40
41
== Installation ==
42
@@ -135,6 +133,10 @@ However, YARPP does have difficulty with languages that don't place spaces betwe
135
136
I highly recommend you disactivate YARPP, replace it with the new one, and then reactivate it.
137
138
== Localizations ==
139
140
YARPP is currently localized in the following languages:
@@ -153,6 +155,7 @@ YARPP is currently localized in the following languages:
153
* Hebrew (`he_IL`) by Mickey Zelansky (yarpp-he at mitcho dot com) of [simpleidea.us](http://simpleidea.us)
154
* Hindi (`hi_IN`) by [Outshine Solutions](http://outshinesolutions.com/) (yarpp-hi at mitcho dot com)
155
* Italian (`it_IT`) by Gianni Diurno (yarpp-it at mitcho dot com) of [gidibao.net](http://gidibao.net)
156
* Japanese (`ja`) by myself (yarpp at mitcho dot com)
157
* Korean (`ko_KR`) by [Jong-In Kim](http://incommunity.codex.kr) (yarpp-ko at mitcho dot com)
158
* Latvian (`lv_LV`) by [Mike](http://antsar.info) (yarpp-lv at mitcho dot com)
@@ -191,6 +194,7 @@ If you are a bilingual speaker of English and another language and an avid user
191
* Localizations:
192
* added Bulgarian (`bg_BG`) by [Flash Gallery](www.flashgallery.org);
193
* added Farsi/Persian (`fa_IR`) by [Moshen Derakhshan](http://webdesigner.downloadkar.com/);
194
* added Norwegian (`nb_NO`) by [Tom Arne Sundtjønn](www.datanerden.no);
195
* added Portuguese (`pt_PT`) by [Stefan Mueller](www.fernstudium-net.de).
196
* updated Lithuanian (`lt_LT`) by [Mantas Malcius](http://mantas.malcius.lt/)
7
Tags: related, posts, post, pages, page, RSS, feed, feeds
8
Requires at least: 3.0
9
Tested up to: 3.1
10
+ Stable tag: 3.2
11
12
+ Display a list of related entries on your site and feeds based on a unique algorithm. Templating allows customization of the display.
13
14
== Description ==
15
34
35
= Testimonials =
36
37
+ "One of my favorite [plugin]s I just activated on my blog is called Yet Another Related Posts Plugin... I've been blogging seven or eight years now so I have a lot of archives, and it actually surprises me sometimes when I blog about something and I visit the permalink to see I've written about it before... and it also increases the traffic on your blog because when they come in just to one entry, they'll see this other stuff going on." - [Matt Mullenweg](http://ma.tt), WordPress creator
38
39
== Installation ==
40
133
134
I highly recommend you disactivate YARPP, replace it with the new one, and then reactivate it.
135
136
+ = Can I clear my cache? =
137
+
138
+ Yes, you can clear the cache by going to your YARPP settings page ("Related Posts (YARPP)") in your admin interface, and adding `&action=flush` to the URL and reloading the page. YARPP will begin the process of organically rebuilding your cache.
139
+
140
== Localizations ==
141
142
YARPP is currently localized in the following languages:
155
* Hebrew (`he_IL`) by Mickey Zelansky (yarpp-he at mitcho dot com) of [simpleidea.us](http://simpleidea.us)
156
* Hindi (`hi_IN`) by [Outshine Solutions](http://outshinesolutions.com/) (yarpp-hi at mitcho dot com)
157
* Italian (`it_IT`) by Gianni Diurno (yarpp-it at mitcho dot com) of [gidibao.net](http://gidibao.net)
158
+ * Bahasa Indonesia (`id_ID`) by [Hendry Lee](http://hendrylee.com/) (yarpp-id at mitcho dot com) of [Kelayang](http://kelayang.com/)
159
* Japanese (`ja`) by myself (yarpp at mitcho dot com)
160
* Korean (`ko_KR`) by [Jong-In Kim](http://incommunity.codex.kr) (yarpp-ko at mitcho dot com)
161
* Latvian (`lv_LV`) by [Mike](http://antsar.info) (yarpp-lv at mitcho dot com)
194
* Localizations:
195
* added Bulgarian (`bg_BG`) by [Flash Gallery](www.flashgallery.org);
196
* added Farsi/Persian (`fa_IR`) by [Moshen Derakhshan](http://webdesigner.downloadkar.com/);
197
+ * added Bahasa Indonesia (`id_ID`) by [Hendry Lee](http://hendrylee.com/) of [Kelayang](http://kelayang.com/)
198
* added Norwegian (`nb_NO`) by [Tom Arne Sundtjønn](www.datanerden.no);
199
* added Portuguese (`pt_PT`) by [Stefan Mueller](www.fernstudium-net.de).
200
* updated Lithuanian (`lt_LT`) by [Mantas Malcius](http://mantas.malcius.lt/)
template-metabox.php CHANGED
@@ -1,12 +1,11 @@
1
<?php
2
3
yarpp_save_cache($reference_ID,false); // enforce the cache, but don't force it
4
5
$body_terms = $yarpp_cache->get_keywords($reference_ID,'body');
6
$title_terms = $yarpp_cache->get_keywords($reference_ID,'title');
7
8
- // Disabled "last updated keywords" as it doesn't support postmeta storage
9
- // if ($yarpp_debug) $output .= "<p>last updated keywords: ".$wpdb->get_var("select date from {$wpdb->prefix}yarpp_keyword_cache where ID = '$reference_ID'")."</p>";
10
if ($yarpp_debug) $output .= "<p>body keywords: $body_terms</p>";
11
if ($yarpp_debug) $output .= "<p>title keywords: $title_terms</p>";
12
@@ -19,7 +18,6 @@ if ($related_query->have_posts()) {
19
while ($related_query->have_posts()) {
20
$related_query->the_post();
21
$output .= "<li><a href='post.php?action=edit&post=$id'>".get_the_title()."</a>";
22
- // TODO: what if it's a page?
23
$output .= ' ('.round(get_the_score(),3).')';
24
$output .= '</li>';
25
}
1
<?php
2
+ global $yarpp_debug;
3
4
yarpp_save_cache($reference_ID,false); // enforce the cache, but don't force it
5
6
$body_terms = $yarpp_cache->get_keywords($reference_ID,'body');
7
$title_terms = $yarpp_cache->get_keywords($reference_ID,'title');
8
9
if ($yarpp_debug) $output .= "<p>body keywords: $body_terms</p>";
10
if ($yarpp_debug) $output .= "<p>title keywords: $title_terms</p>";
11
18
while ($related_query->have_posts()) {
19
$related_query->the_post();
20
$output .= "<li><a href='post.php?action=edit&post=$id'>".get_the_title()."</a>";
21
$output .= ' ('.round(get_the_score(),3).')';
22
$output .= '</li>';
23
}
yarpp.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Yet Another Related Posts Plugin
4
Plugin URI: http://mitcho.com/code/yarpp/
5
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
- Version: 3.2b4
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
@@ -13,7 +13,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4D
13
if (isset($_REQUEST['yarpp_debug']))
14
$yarpp_debug = true;
15
16
- define('YARPP_VERSION','3.2b4');
17
define('YARPP_DIR',dirname(__FILE__));
18
19
require_once(YARPP_DIR.'/includes.php');
3
Plugin Name: Yet Another Related Posts Plugin
4
Plugin URI: http://mitcho.com/code/yarpp/
5
Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. A templating feature allows customization of the display.
6
+ Version: 3.2
7
Author: mitcho (Michael Yoshitaka Erlewine)
8
Author URI: http://mitcho.com/
9
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=66G4DATK4999L&item_name=mitcho%2ecom%2fcode%3a%20donate%20to%20Michael%20Yoshitaka%20Erlewine&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&charset=UTF%2d8
13
if (isset($_REQUEST['yarpp_debug']))
14
$yarpp_debug = true;
15
16
+ define('YARPP_VERSION','3.2');
17
define('YARPP_DIR',dirname(__FILE__));
18
19
require_once(YARPP_DIR.'/includes.php');