Open Graph for Facebook, Google+ and Twitter Card Tags - Version 1.1

Version Description

  • WordPress SEO by Yoast integration: title, url (canonical) and description can now be fetched from this very popular SEO plugin
  • Fix: small fix on javascript
Download this release

Release Info

Developer webdados
Plugin Icon Open Graph for Facebook, Google+ and Twitter Card Tags
Version 1.1
Comparing to
See all releases

Code changes from version 1.0.1 to 1.1

includes/settings-page.php CHANGED
@@ -8,6 +8,8 @@
8
  *
9
  *
10
  */
 
 
11
 
12
  //First we save!
13
  if ( isset($_POST['action']) ) {
@@ -42,6 +44,7 @@
42
  $usersettings['fb_image_use_content']= intval(wonderm00n_open_graph_post('fb_image_use_content'));
43
  $usersettings['fb_image_use_media']= intval(wonderm00n_open_graph_post('fb_image_use_media'));
44
  $usersettings['fb_image_use_default']= intval(wonderm00n_open_graph_post('fb_image_use_default'));
 
45
  $usersettings['fb_show_subheading']= intval(wonderm00n_open_graph_post('fb_show_subheading'));
46
  $usersettings['fb_show_businessdirectoryplugin']= intval(wonderm00n_open_graph_post('fb_show_businessdirectoryplugin'));
47
  //Update
@@ -372,6 +375,24 @@
372
  <div class="inside">
373
  <?php
374
  $thirdparty=false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
  if(is_plugin_active('subheading/index.php')) {
376
  $thirdparty=true;
377
  ?>
@@ -386,6 +407,7 @@
386
  </table>
387
  <?php
388
  }
 
389
  if(is_plugin_active('business-directory-plugin/wpbusdirman.php')) {
390
  $thirdparty=true;
391
  ?>
@@ -407,6 +429,7 @@
407
  <p><?php _e('You don\'t have any compatible 3rd Party plugin installed/active.', 'wd-fb-og');?></p>
408
  <p><?php _e('This plugin is currently compatible with:', 'wd-fb-og');?></p>
409
  <ul>
 
410
  <li><a href="http://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></li>
411
  <li><a href="http://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></li>
412
  </ul>
@@ -434,10 +457,10 @@
434
  $links[20]['url']='http://ogp.me/';
435
 
436
  $links[30]['text']=__('Plugin official URL', 'wd-fb-og');
437
- $links[30]['url']='http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/';
438
 
439
  $links[40]['text']=__('Author\'s website: Webdados', 'wd-fb-og');
440
- $links[40]['url']='http://www.webdados.pt';
441
 
442
  $links[50]['text']=__('Author\'s Facebook page: Webdados', 'wd-fb-og');
443
  $links[50]['url']='http://www.facebook.com/Webdados';
@@ -492,7 +515,7 @@
492
  </div>
493
 
494
  <div class="clear">
495
- <p><br/>&copy 2011<?php if(date('Y')>2011) echo '-'.date('Y'); ?> <a href="http://www.webdados.pt" target="_blank">Webdados</a> &amp; <a href="http://wonderm00n.com" target="_blank">Marco Almeida (Wonderm00n)</a></p>
496
  </div>
497
 
498
  </div>
8
  *
9
  *
10
  */
11
+
12
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
13
 
14
  //First we save!
15
  if ( isset($_POST['action']) ) {
44
  $usersettings['fb_image_use_content']= intval(wonderm00n_open_graph_post('fb_image_use_content'));
45
  $usersettings['fb_image_use_media']= intval(wonderm00n_open_graph_post('fb_image_use_media'));
46
  $usersettings['fb_image_use_default']= intval(wonderm00n_open_graph_post('fb_image_use_default'));
47
+ $usersettings['fb_show_wpseoyoast']= intval(wonderm00n_open_graph_post('fb_show_wpseoyoast'));
48
  $usersettings['fb_show_subheading']= intval(wonderm00n_open_graph_post('fb_show_subheading'));
49
  $usersettings['fb_show_businessdirectoryplugin']= intval(wonderm00n_open_graph_post('fb_show_businessdirectoryplugin'));
50
  //Update
375
  <div class="inside">
376
  <?php
377
  $thirdparty=false;
378
+ //WordPress SEO by Yoast
379
+ if ( defined('WPSEO_VERSION') ) {
380
+ $thirdparty=true;
381
+ ?>
382
+ <h4><a href="http://wordpress.org/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></h4>
383
+ <table width="100%" class="form-table">
384
+ <tr>
385
+ <th scope="row" nowrap="nowrap"><?php _e('Use title, url (canonical) and description from WPSEO?', 'wd-fb-og');?></th>
386
+ <td>
387
+ <input type="checkbox" name="fb_show_wpseoyoast" id="fb_show_wpseoyoast" value="1" <?php echo (intval($fb_show_wpseoyoast)==1 ? ' checked="checked"' : ''); ?>/>
388
+ <br/>
389
+ <?php _e('It\'s HIGHLY recommended to go to <a href="admin.php?page=wpseo_social">SEO &gt; Social</a> and disable "Add Open Graph meta data"', 'wd-fb-og'); ?>
390
+ </td>
391
+ </tr>
392
+ </table>
393
+ <?php
394
+ }
395
+ //SubHeading
396
  if(is_plugin_active('subheading/index.php')) {
397
  $thirdparty=true;
398
  ?>
407
  </table>
408
  <?php
409
  }
410
+ //Business Directory Plugin
411
  if(is_plugin_active('business-directory-plugin/wpbusdirman.php')) {
412
  $thirdparty=true;
413
  ?>
429
  <p><?php _e('You don\'t have any compatible 3rd Party plugin installed/active.', 'wd-fb-og');?></p>
430
  <p><?php _e('This plugin is currently compatible with:', 'wd-fb-og');?></p>
431
  <ul>
432
+ <li><a href="http://wordpress.org/extend/plugins/wordpress-seo/" target="_blank">WordPress SEO by Yoast</a></li>
433
  <li><a href="http://wordpress.org/extend/plugins/subheading/" target="_blank">SubHeading</a></li>
434
  <li><a href="http://wordpress.org/extend/plugins/business-directory-plugin/" target="_blank">Business Directory Plugin</a></li>
435
  </ul>
457
  $links[20]['url']='http://ogp.me/';
458
 
459
  $links[30]['text']=__('Plugin official URL', 'wd-fb-og');
460
+ $links[30]['url']='http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin';
461
 
462
  $links[40]['text']=__('Author\'s website: Webdados', 'wd-fb-og');
463
+ $links[40]['url']='http://www.webdados.pt/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin';
464
 
465
  $links[50]['text']=__('Author\'s Facebook page: Webdados', 'wd-fb-og');
466
  $links[50]['url']='http://www.facebook.com/Webdados';
515
  </div>
516
 
517
  <div class="clear">
518
+ <p><br/>&copy 2011<?php if(date('Y')>2011) echo '-'.date('Y'); ?> <a href="http://www.webdados.pt/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin" target="_blank">Webdados</a> &amp; <a href="http://wonderm00n.com/?utm_source=fb_og_wp_plugin_settings&amp;utm_medium=link&amp;utm_campaign=fb_og_wp_plugin" target="_blank">Marco Almeida (Wonderm00n)</a></p>
519
  </div>
520
 
521
  </div>
lang/wd-fb-og-pt_PT.mo CHANGED
Binary file
lang/wd-fb-og-pt_PT.po CHANGED
@@ -1,12 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-11-18 10:33-0000\n"
7
  "Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
8
  "Language-Team: Webdados <info@webdados.pt>\n"
9
- "Language: pt_PT\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
@@ -20,7 +19,7 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  # @ wd-fb-og
23
- #: includes/settings-page.php:61
24
  msgid ""
25
  "Please set some default values and which tags should, or should not, be "
26
  "included. It may be necessary to exclude some tags if other plugins are "
@@ -31,89 +30,89 @@ msgstr ""
31
  "estão a incluir."
32
 
33
  # @ wd-fb-og
34
- #: includes/settings-page.php:75
35
  msgid "Include Facebook Platform App ID (fb:app_id) tag?"
36
  msgstr "Incluir tag \"Facebook Platform App ID\" (fb:app_id)?"
37
 
38
  # @ wd-fb-og
39
- #: includes/settings-page.php:81
40
  msgid "Facebook Platform App ID"
41
  msgstr "Facebook Platform App ID"
42
 
43
  # @ wd-fb-og
44
- #: includes/settings-page.php:90
45
  msgid "Include Facebook Admin(s) ID (fb:admins) tag?"
46
  msgstr "Inluir tag com ID dos admin de Facebook (fb:admins)?"
47
 
48
  # @ wd-fb-og
49
- #: includes/settings-page.php:96
50
  msgid "Facebook Admin(s) ID"
51
  msgstr "ID do(s) Admin(s) no Facebook"
52
 
53
  # @ wd-fb-og
54
- #: includes/settings-page.php:100
55
  msgid "Comma separated if more than one"
56
  msgstr "Separados por vírgulas se mais do que um"
57
 
58
  # @ wd-fb-og
59
- #: includes/settings-page.php:107
60
  msgid "Include locale (fb:locale) tag?"
61
  msgstr "Incluir tag \"Locale\" (fb:locale)?"
62
 
63
  # @ wd-fb-og
64
- #: includes/settings-page.php:113
65
  msgid "Locale"
66
  msgstr "Locale"
67
 
68
  # @ wd-fb-og
69
- #: includes/settings-page.php:116
70
  msgid "WordPress current locale/language"
71
  msgstr "O \"locale\"/idíoma actual do WordPress"
72
 
73
  # @ wd-fb-og
74
- #: includes/settings-page.php:167
75
  msgid "List loaded from Facebook (online)"
76
  msgstr "Lista carregada do Facebook (online)"
77
 
78
  # @ wd-fb-og
79
- #: includes/settings-page.php:170
80
  msgid "List loaded from local cache (offline)"
81
  msgstr "Lista carregada da cache local (offline)"
82
 
83
  # @ wd-fb-og
84
- #: includes/settings-page.php:170
85
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
86
  msgstr ""
87
  "Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
88
 
89
  # @ wd-fb-og
90
- #: includes/settings-page.php:170
91
  msgid "Reload from Facebook"
92
  msgstr "(Re)carregar a partir do Facebook"
93
 
94
  # @ wd-fb-og
95
- #: includes/settings-page.php:172
96
  msgid "List not loaded"
97
  msgstr "Lista não carregada"
98
 
99
  # @ wd-fb-og
100
- #: includes/settings-page.php:182
101
  msgid "Include Site Name (og:site_name) tag?"
102
  msgstr "Incluir tag Nome do site (og:site_name)?"
103
 
104
  # @ wd-fb-og
105
- #: includes/settings-page.php:191
106
  msgid "Include Post/Page title (og:title) tag?"
107
  msgstr "Incluir tag Título do artigo/página (og:title)?"
108
 
109
  # @ wd-fb-og
110
- #: includes/settings-page.php:197
111
  msgid "Also include Schema.org \"itemprop\" Name tag?"
112
  msgstr "Incluir também a tag \"itemprop Name\" do Schema.org?"
113
 
114
  # @ wd-fb-og
115
- #: includes/settings-page.php:203 includes/settings-page.php:278
116
- #: includes/settings-page.php:320
117
  msgid ""
118
  "Recommended for Google+ sharing purposes if no other plugin is setting it "
119
  "already"
@@ -122,32 +121,32 @@ msgstr ""
122
  "está a definir"
123
 
124
  # @ wd-fb-og
125
- #: includes/settings-page.php:210
126
  msgid "Include URL (og:url) tag?"
127
  msgstr "Incluir tag URL (og:url)?"
128
 
129
  # @ wd-fb-og
130
- #: includes/settings-page.php:216
131
  msgid "Also set Canonical URL"
132
  msgstr "Incluir também a tag URL Canónico"
133
 
134
  # @ wd-fb-og
135
- #: includes/settings-page.php:224
136
  msgid "Add trailing slash at the end"
137
  msgstr "Adicionar barra invertida no final"
138
 
139
  # @ wd-fb-og
140
- #: includes/settings-page.php:228
141
  msgid "On the homepage will be"
142
  msgstr "Na página inicial será"
143
 
144
  # @ wd-fb-og
145
- #: includes/settings-page.php:235
146
  msgid "Include Type (og:type) tag?"
147
  msgstr "Incluir tag Tipo (og:type)?"
148
 
149
  # @ wd-fb-og
150
- #: includes/settings-page.php:239
151
  #, php-format
152
  msgid ""
153
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
@@ -157,69 +156,69 @@ msgstr ""
157
  "inicial"
158
 
159
  # @ wd-fb-og
160
- #: includes/settings-page.php:243
161
  msgid "Homepage type"
162
  msgstr "Tipo para a página inicial"
163
 
164
  # @ wd-fb-og
165
- #: includes/settings-page.php:245 includes/settings-page.php:292
166
  msgid "Use"
167
  msgstr "Utilizar"
168
 
169
  # @ wd-fb-og
170
- #: includes/settings-page.php:256
171
  msgid "Include Description (og:description) tag?"
172
  msgstr "Incluir tag Descrição (og:description)?"
173
 
174
  # @ wd-fb-og
175
- #: includes/settings-page.php:262
176
  msgid "Also include Meta Description tag?"
177
  msgstr "Incluir também a tag \"Meta Description\"?"
178
 
179
  # @ wd-fb-og
180
- #: includes/settings-page.php:268
181
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
182
  msgstr ""
183
  "Recomendado para efeitos de Optimização para Motores de Busca, se outro "
184
  "plugin ainda não a está a definir"
185
 
186
  # @ wd-fb-og
187
- #: includes/settings-page.php:272
188
  msgid "Also include Schema.org \"itemprop\" Description tag?"
189
  msgstr "Incluir também a tag \"itemprop Description\" do Schema.org?"
190
 
191
  # @ wd-fb-og
192
- #: includes/settings-page.php:282
193
  msgid "Description maximum length"
194
  msgstr "Comprimento máximo da descrição"
195
 
196
  # @ wd-fb-og
197
- #: includes/settings-page.php:286
198
  msgid "0 or blank for no maximum length"
199
  msgstr "0 ou em branco para não definir máximo"
200
 
201
  # @ wd-fb-og
202
- #: includes/settings-page.php:290
203
  msgid "Homepage description"
204
  msgstr "Descrição da página inicial"
205
 
206
  # @ wd-fb-og
207
- #: includes/settings-page.php:294
208
  msgid "Website tagline"
209
  msgstr "Descrição do site"
210
 
211
  # @ wd-fb-og
212
- #: includes/settings-page.php:295
213
  msgid "Custom text"
214
  msgstr "Texto personalizado"
215
 
216
  # @ wd-fb-og
217
- #: includes/settings-page.php:306
218
  msgid "Include Image (og:image) tag?"
219
  msgstr "Incluir tag Imagem (og:image)?"
220
 
221
  # @ wd-fb-og
222
- #: includes/settings-page.php:310
223
  msgid ""
224
  "All images MUST have at least 200px on both dimensions in order to Facebook "
225
  "to load them at all. Minimum of 600x315px is recommended."
@@ -228,43 +227,43 @@ msgstr ""
228
  "o Facebook as carregue. Um mínimo de 600x315px é recomendado."
229
 
230
  # @ wd-fb-og
231
- #: includes/settings-page.php:314
232
  msgid "Also include Schema.org \"itemprop\" Image tag?"
233
  msgstr "Incluir também a tag \"itemprop Image\" do Schema.org?"
234
 
235
  # @ wd-fb-og
236
- #: includes/settings-page.php:324
237
  msgid "Default image"
238
  msgstr "Imagem por omissão"
239
 
240
  # @ wd-fb-og
241
- #: includes/settings-page.php:329
242
  msgid "Full URL with http://"
243
  msgstr "URL completo com http://"
244
 
245
  # @ wd-fb-og
246
- #: includes/settings-page.php:331
247
  msgid "Recommended size: 1200x630px"
248
  msgstr "Tamanho recomendado: 1200x630px"
249
 
250
  # @ wd-fb-og
251
- #: includes/settings-page.php:335
252
  msgid "Also add image to RSS/RSS2 feeds?"
253
  msgstr "Incluir também a imagem aos feeds RSS/RSS2?"
254
 
255
  # @ wd-fb-og
256
- #: includes/settings-page.php:339
257
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
258
  msgstr ""
259
  "Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
260
 
261
  # @ wd-fb-og
262
- #: includes/settings-page.php:343
263
  msgid "On posts/pages"
264
  msgstr "Nos artigos/páginas"
265
 
266
  # @ wd-fb-og
267
- #: includes/settings-page.php:347
268
  msgid ""
269
  "Image will be fetched from the specific \"Open Graph Image\" custom field on "
270
  "the post"
@@ -273,7 +272,7 @@ msgstr ""
273
  "no artigo"
274
 
275
  # @ wd-fb-og
276
- #: includes/settings-page.php:351
277
  msgid ""
278
  "If it's not set, image will be fetched from post/page featured/thumbnail "
279
  "picture"
@@ -282,40 +281,40 @@ msgstr ""
282
  "página"
283
 
284
  # @ wd-fb-og
285
- #: includes/settings-page.php:355
286
  msgid "If it doesn't exist, use the first image from the post/page content"
287
  msgstr ""
288
  "Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
289
 
290
  # @ wd-fb-og
291
- #: includes/settings-page.php:359
292
  msgid "If it doesn't exist, use first image from the post/page media gallery"
293
  msgstr ""
294
  "Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
295
  "página"
296
 
297
  # @ wd-fb-og
298
- #: includes/settings-page.php:363
299
  msgid "If it doesn't exist, use the default image above"
300
  msgstr "Se não existir, utilizar a imagem por omissão em cima"
301
 
302
  # @ wd-fb-og
303
- #: includes/settings-page.php:371
304
  msgid "3rd Party Integration"
305
  msgstr "Integração com outros plugins"
306
 
307
  # @ wd-fb-og
308
- #: includes/settings-page.php:381
309
  msgid "Add SubHeading to Post/Page title?"
310
  msgstr "Adicionar \"SubHeading\" ao título do artigo/página?"
311
 
312
  # @ wd-fb-og
313
- #: includes/settings-page.php:395
314
  msgid "Use BDP listing contents as OG tags?"
315
  msgstr "Utilizar o conteúdo dos anúncios BDP como tags OG?"
316
 
317
  # @ wd-fb-og
318
- #: includes/settings-page.php:399
319
  msgid ""
320
  "Setting \"Include URL\", \"Also set Canonical URL\", \"Include Description\" "
321
  "and \"Include Image\" options above is HIGHLY recommended"
@@ -325,77 +324,77 @@ msgstr ""
325
  "Imagem (og:image)\" é ALTAMENTE recomendado"
326
 
327
  # @ wd-fb-og
328
- #: includes/settings-page.php:407
329
  msgid "You don't have any compatible 3rd Party plugin installed/active."
330
  msgstr "Não tem nenhum plugin compatível instalado/activo."
331
 
332
  # @ wd-fb-og
333
- #: includes/settings-page.php:408
334
  msgid "This plugin is currently compatible with:"
335
  msgstr "Este plugin é actualmente compatível com:"
336
 
337
  # @ wd-fb-og
338
- #: includes/settings-page.php:427
339
  msgid "Test your URLs at Facebook URL Linter / Debugger"
340
  msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
341
 
342
  # @ wd-fb-og
343
- #: includes/settings-page.php:430
344
  msgid "About the Open Graph Protocol (on Facebook)"
345
  msgstr "Sobre o Protocolo Open Graph (no Facebook)"
346
 
347
  # @ wd-fb-og
348
- #: includes/settings-page.php:433
349
  msgid "The Open Graph Protocol (official website)"
350
  msgstr "O Protocolo Open Graph (website oficial)"
351
 
352
  # @ wd-fb-og
353
- #: includes/settings-page.php:436
354
  msgid "Plugin official URL"
355
  msgstr "URL oficial do plugin"
356
 
357
  # @ wd-fb-og
358
- #: includes/settings-page.php:439
359
  msgid "Author's website: Webdados"
360
  msgstr "Website do autor: Webdados"
361
 
362
  # @ wd-fb-og
363
- #: includes/settings-page.php:442
364
  msgid "Author's Facebook page: Webdados"
365
  msgstr "Página Facebook do autor: Webdados"
366
 
367
  # @ wd-fb-og
368
- #: includes/settings-page.php:445
369
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
370
  msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
371
 
372
  # @ wd-fb-og
373
- #: includes/settings-page.php:452
374
  msgid "Rate this plugin"
375
  msgstr "Avalie este plugin"
376
 
377
  # @ wd-fb-og
378
- #: includes/settings-page.php:454
379
  msgid "If you like this plugin,"
380
  msgstr "Se gosta deste plugin,"
381
 
382
  # @ wd-fb-og
383
- #: includes/settings-page.php:454
384
  msgid "please give it a high Rating"
385
  msgstr "dê-lhe uma nota elevada"
386
 
387
  # @ wd-fb-og
388
- #: includes/settings-page.php:461
389
  msgid "Useful links"
390
  msgstr "Links úteis"
391
 
392
  # @ wd-fb-og
393
- #: includes/settings-page.php:474
394
  msgid "Donate"
395
  msgstr "Doar"
396
 
397
  # @ wd-fb-og
398
- #: includes/settings-page.php:476
399
  msgid ""
400
  "If you find this plugin useful and want to make a contribution towards "
401
  "future development please consider making a small, or big ;-), donation."
@@ -405,16 +404,30 @@ msgstr ""
405
  "doação."
406
 
407
  # @ wd-fb-og
408
- #: wonderm00n-open-graph.php:500
409
  msgid "Use this image:"
410
  msgstr "Utilizar esta imagem:"
411
 
412
  # @ wd-fb-og
413
- #: wonderm00n-open-graph.php:503 wonderm00n-open-graph.php:508
414
  msgid "Upload/Choose Open Graph Image"
415
  msgstr "Carregar/Escolher Imagem Open Graph"
416
 
417
  # @ wd-fb-og
418
- #: wonderm00n-open-graph.php:589
419
  msgid "Use as Image Open Graph Tag"
420
  msgstr "Utilizar como Imagem Open Graph"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-11-27 10:29-0000\n"
7
  "Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
8
  "Language-Team: Webdados <info@webdados.pt>\n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
  # @ wd-fb-og
22
+ #: includes/settings-page.php:64
23
  msgid ""
24
  "Please set some default values and which tags should, or should not, be "
25
  "included. It may be necessary to exclude some tags if other plugins are "
30
  "estão a incluir."
31
 
32
  # @ wd-fb-og
33
+ #: includes/settings-page.php:78
34
  msgid "Include Facebook Platform App ID (fb:app_id) tag?"
35
  msgstr "Incluir tag \"Facebook Platform App ID\" (fb:app_id)?"
36
 
37
  # @ wd-fb-og
38
+ #: includes/settings-page.php:84
39
  msgid "Facebook Platform App ID"
40
  msgstr "Facebook Platform App ID"
41
 
42
  # @ wd-fb-og
43
+ #: includes/settings-page.php:93
44
  msgid "Include Facebook Admin(s) ID (fb:admins) tag?"
45
  msgstr "Inluir tag com ID dos admin de Facebook (fb:admins)?"
46
 
47
  # @ wd-fb-og
48
+ #: includes/settings-page.php:99
49
  msgid "Facebook Admin(s) ID"
50
  msgstr "ID do(s) Admin(s) no Facebook"
51
 
52
  # @ wd-fb-og
53
+ #: includes/settings-page.php:103
54
  msgid "Comma separated if more than one"
55
  msgstr "Separados por vírgulas se mais do que um"
56
 
57
  # @ wd-fb-og
58
+ #: includes/settings-page.php:110
59
  msgid "Include locale (fb:locale) tag?"
60
  msgstr "Incluir tag \"Locale\" (fb:locale)?"
61
 
62
  # @ wd-fb-og
63
+ #: includes/settings-page.php:116
64
  msgid "Locale"
65
  msgstr "Locale"
66
 
67
  # @ wd-fb-og
68
+ #: includes/settings-page.php:119
69
  msgid "WordPress current locale/language"
70
  msgstr "O \"locale\"/idíoma actual do WordPress"
71
 
72
  # @ wd-fb-og
73
+ #: includes/settings-page.php:170
74
  msgid "List loaded from Facebook (online)"
75
  msgstr "Lista carregada do Facebook (online)"
76
 
77
  # @ wd-fb-og
78
+ #: includes/settings-page.php:173
79
  msgid "List loaded from local cache (offline)"
80
  msgstr "Lista carregada da cache local (offline)"
81
 
82
  # @ wd-fb-og
83
+ #: includes/settings-page.php:173
84
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
85
  msgstr ""
86
  "Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
87
 
88
  # @ wd-fb-og
89
+ #: includes/settings-page.php:173
90
  msgid "Reload from Facebook"
91
  msgstr "(Re)carregar a partir do Facebook"
92
 
93
  # @ wd-fb-og
94
+ #: includes/settings-page.php:175
95
  msgid "List not loaded"
96
  msgstr "Lista não carregada"
97
 
98
  # @ wd-fb-og
99
+ #: includes/settings-page.php:185
100
  msgid "Include Site Name (og:site_name) tag?"
101
  msgstr "Incluir tag Nome do site (og:site_name)?"
102
 
103
  # @ wd-fb-og
104
+ #: includes/settings-page.php:194
105
  msgid "Include Post/Page title (og:title) tag?"
106
  msgstr "Incluir tag Título do artigo/página (og:title)?"
107
 
108
  # @ wd-fb-og
109
+ #: includes/settings-page.php:200
110
  msgid "Also include Schema.org \"itemprop\" Name tag?"
111
  msgstr "Incluir também a tag \"itemprop Name\" do Schema.org?"
112
 
113
  # @ wd-fb-og
114
+ #: includes/settings-page.php:206 includes/settings-page.php:281
115
+ #: includes/settings-page.php:323
116
  msgid ""
117
  "Recommended for Google+ sharing purposes if no other plugin is setting it "
118
  "already"
121
  "está a definir"
122
 
123
  # @ wd-fb-og
124
+ #: includes/settings-page.php:213
125
  msgid "Include URL (og:url) tag?"
126
  msgstr "Incluir tag URL (og:url)?"
127
 
128
  # @ wd-fb-og
129
+ #: includes/settings-page.php:219
130
  msgid "Also set Canonical URL"
131
  msgstr "Incluir também a tag URL Canónico"
132
 
133
  # @ wd-fb-og
134
+ #: includes/settings-page.php:227
135
  msgid "Add trailing slash at the end"
136
  msgstr "Adicionar barra invertida no final"
137
 
138
  # @ wd-fb-og
139
+ #: includes/settings-page.php:231
140
  msgid "On the homepage will be"
141
  msgstr "Na página inicial será"
142
 
143
  # @ wd-fb-og
144
+ #: includes/settings-page.php:238
145
  msgid "Include Type (og:type) tag?"
146
  msgstr "Incluir tag Tipo (og:type)?"
147
 
148
  # @ wd-fb-og
149
+ #: includes/settings-page.php:242
150
  #, php-format
151
  msgid ""
152
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
156
  "inicial"
157
 
158
  # @ wd-fb-og
159
+ #: includes/settings-page.php:246
160
  msgid "Homepage type"
161
  msgstr "Tipo para a página inicial"
162
 
163
  # @ wd-fb-og
164
+ #: includes/settings-page.php:248 includes/settings-page.php:295
165
  msgid "Use"
166
  msgstr "Utilizar"
167
 
168
  # @ wd-fb-og
169
+ #: includes/settings-page.php:259
170
  msgid "Include Description (og:description) tag?"
171
  msgstr "Incluir tag Descrição (og:description)?"
172
 
173
  # @ wd-fb-og
174
+ #: includes/settings-page.php:265
175
  msgid "Also include Meta Description tag?"
176
  msgstr "Incluir também a tag \"Meta Description\"?"
177
 
178
  # @ wd-fb-og
179
+ #: includes/settings-page.php:271
180
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
181
  msgstr ""
182
  "Recomendado para efeitos de Optimização para Motores de Busca, se outro "
183
  "plugin ainda não a está a definir"
184
 
185
  # @ wd-fb-og
186
+ #: includes/settings-page.php:275
187
  msgid "Also include Schema.org \"itemprop\" Description tag?"
188
  msgstr "Incluir também a tag \"itemprop Description\" do Schema.org?"
189
 
190
  # @ wd-fb-og
191
+ #: includes/settings-page.php:285
192
  msgid "Description maximum length"
193
  msgstr "Comprimento máximo da descrição"
194
 
195
  # @ wd-fb-og
196
+ #: includes/settings-page.php:289
197
  msgid "0 or blank for no maximum length"
198
  msgstr "0 ou em branco para não definir máximo"
199
 
200
  # @ wd-fb-og
201
+ #: includes/settings-page.php:293
202
  msgid "Homepage description"
203
  msgstr "Descrição da página inicial"
204
 
205
  # @ wd-fb-og
206
+ #: includes/settings-page.php:297
207
  msgid "Website tagline"
208
  msgstr "Descrição do site"
209
 
210
  # @ wd-fb-og
211
+ #: includes/settings-page.php:298
212
  msgid "Custom text"
213
  msgstr "Texto personalizado"
214
 
215
  # @ wd-fb-og
216
+ #: includes/settings-page.php:309
217
  msgid "Include Image (og:image) tag?"
218
  msgstr "Incluir tag Imagem (og:image)?"
219
 
220
  # @ wd-fb-og
221
+ #: includes/settings-page.php:313
222
  msgid ""
223
  "All images MUST have at least 200px on both dimensions in order to Facebook "
224
  "to load them at all. Minimum of 600x315px is recommended."
227
  "o Facebook as carregue. Um mínimo de 600x315px é recomendado."
228
 
229
  # @ wd-fb-og
230
+ #: includes/settings-page.php:317
231
  msgid "Also include Schema.org \"itemprop\" Image tag?"
232
  msgstr "Incluir também a tag \"itemprop Image\" do Schema.org?"
233
 
234
  # @ wd-fb-og
235
+ #: includes/settings-page.php:327
236
  msgid "Default image"
237
  msgstr "Imagem por omissão"
238
 
239
  # @ wd-fb-og
240
+ #: includes/settings-page.php:332
241
  msgid "Full URL with http://"
242
  msgstr "URL completo com http://"
243
 
244
  # @ wd-fb-og
245
+ #: includes/settings-page.php:334 wonderm00n-open-graph.php:520
246
  msgid "Recommended size: 1200x630px"
247
  msgstr "Tamanho recomendado: 1200x630px"
248
 
249
  # @ wd-fb-og
250
+ #: includes/settings-page.php:338
251
  msgid "Also add image to RSS/RSS2 feeds?"
252
  msgstr "Incluir também a imagem aos feeds RSS/RSS2?"
253
 
254
  # @ wd-fb-og
255
+ #: includes/settings-page.php:342
256
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
257
  msgstr ""
258
  "Para aplicação de posts automáticos como o RSS Graffitti, twitterfeed, etc..."
259
 
260
  # @ wd-fb-og
261
+ #: includes/settings-page.php:346
262
  msgid "On posts/pages"
263
  msgstr "Nos artigos/páginas"
264
 
265
  # @ wd-fb-og
266
+ #: includes/settings-page.php:350
267
  msgid ""
268
  "Image will be fetched from the specific \"Open Graph Image\" custom field on "
269
  "the post"
272
  "no artigo"
273
 
274
  # @ wd-fb-og
275
+ #: includes/settings-page.php:354
276
  msgid ""
277
  "If it's not set, image will be fetched from post/page featured/thumbnail "
278
  "picture"
281
  "página"
282
 
283
  # @ wd-fb-og
284
+ #: includes/settings-page.php:358
285
  msgid "If it doesn't exist, use the first image from the post/page content"
286
  msgstr ""
287
  "Se não existir, será utilizada a primeira imagem no conteúdo do artigo/página"
288
 
289
  # @ wd-fb-og
290
+ #: includes/settings-page.php:362
291
  msgid "If it doesn't exist, use first image from the post/page media gallery"
292
  msgstr ""
293
  "Se não existir, será usada a primeira imagem na galeria multimédia do artigo/"
294
  "página"
295
 
296
  # @ wd-fb-og
297
+ #: includes/settings-page.php:366
298
  msgid "If it doesn't exist, use the default image above"
299
  msgstr "Se não existir, utilizar a imagem por omissão em cima"
300
 
301
  # @ wd-fb-og
302
+ #: includes/settings-page.php:374
303
  msgid "3rd Party Integration"
304
  msgstr "Integração com outros plugins"
305
 
306
  # @ wd-fb-og
307
+ #: includes/settings-page.php:402
308
  msgid "Add SubHeading to Post/Page title?"
309
  msgstr "Adicionar \"SubHeading\" ao título do artigo/página?"
310
 
311
  # @ wd-fb-og
312
+ #: includes/settings-page.php:417
313
  msgid "Use BDP listing contents as OG tags?"
314
  msgstr "Utilizar o conteúdo dos anúncios BDP como tags OG?"
315
 
316
  # @ wd-fb-og
317
+ #: includes/settings-page.php:421
318
  msgid ""
319
  "Setting \"Include URL\", \"Also set Canonical URL\", \"Include Description\" "
320
  "and \"Include Image\" options above is HIGHLY recommended"
324
  "Imagem (og:image)\" é ALTAMENTE recomendado"
325
 
326
  # @ wd-fb-og
327
+ #: includes/settings-page.php:429
328
  msgid "You don't have any compatible 3rd Party plugin installed/active."
329
  msgstr "Não tem nenhum plugin compatível instalado/activo."
330
 
331
  # @ wd-fb-og
332
+ #: includes/settings-page.php:430
333
  msgid "This plugin is currently compatible with:"
334
  msgstr "Este plugin é actualmente compatível com:"
335
 
336
  # @ wd-fb-og
337
+ #: includes/settings-page.php:450
338
  msgid "Test your URLs at Facebook URL Linter / Debugger"
339
  msgstr "Teste os seus URLs no \"Facebook URL Linter / Debugger\""
340
 
341
  # @ wd-fb-og
342
+ #: includes/settings-page.php:453
343
  msgid "About the Open Graph Protocol (on Facebook)"
344
  msgstr "Sobre o Protocolo Open Graph (no Facebook)"
345
 
346
  # @ wd-fb-og
347
+ #: includes/settings-page.php:456
348
  msgid "The Open Graph Protocol (official website)"
349
  msgstr "O Protocolo Open Graph (website oficial)"
350
 
351
  # @ wd-fb-og
352
+ #: includes/settings-page.php:459
353
  msgid "Plugin official URL"
354
  msgstr "URL oficial do plugin"
355
 
356
  # @ wd-fb-og
357
+ #: includes/settings-page.php:462
358
  msgid "Author's website: Webdados"
359
  msgstr "Website do autor: Webdados"
360
 
361
  # @ wd-fb-og
362
+ #: includes/settings-page.php:465
363
  msgid "Author's Facebook page: Webdados"
364
  msgstr "Página Facebook do autor: Webdados"
365
 
366
  # @ wd-fb-og
367
+ #: includes/settings-page.php:468
368
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
369
  msgstr "Conta Twitter do autor: @Wonderm00n<br/>(fundador da Webdados)"
370
 
371
  # @ wd-fb-og
372
+ #: includes/settings-page.php:475
373
  msgid "Rate this plugin"
374
  msgstr "Avalie este plugin"
375
 
376
  # @ wd-fb-og
377
+ #: includes/settings-page.php:477
378
  msgid "If you like this plugin,"
379
  msgstr "Se gosta deste plugin,"
380
 
381
  # @ wd-fb-og
382
+ #: includes/settings-page.php:477
383
  msgid "please give it a high Rating"
384
  msgstr "dê-lhe uma nota elevada"
385
 
386
  # @ wd-fb-og
387
+ #: includes/settings-page.php:484
388
  msgid "Useful links"
389
  msgstr "Links úteis"
390
 
391
  # @ wd-fb-og
392
+ #: includes/settings-page.php:497
393
  msgid "Donate"
394
  msgstr "Doar"
395
 
396
  # @ wd-fb-og
397
+ #: includes/settings-page.php:499
398
  msgid ""
399
  "If you find this plugin useful and want to make a contribution towards "
400
  "future development please consider making a small, or big ;-), donation."
404
  "doação."
405
 
406
  # @ wd-fb-og
407
+ #: wonderm00n-open-graph.php:516
408
  msgid "Use this image:"
409
  msgstr "Utilizar esta imagem:"
410
 
411
  # @ wd-fb-og
412
+ #: wonderm00n-open-graph.php:519
413
  msgid "Upload/Choose Open Graph Image"
414
  msgstr "Carregar/Escolher Imagem Open Graph"
415
 
416
  # @ wd-fb-og
417
+ #: wonderm00n-open-graph.php:599
418
  msgid "Use as Image Open Graph Tag"
419
  msgstr "Utilizar como Imagem Open Graph"
420
+
421
+ # @ wd-fb-og
422
+ #: includes/settings-page.php:385
423
+ msgid "Use title, url (canonical) and description from WPSEO?"
424
+ msgstr "Utilizar título, url (canónico) e descrição do WPSEO?"
425
+
426
+ # @ wd-fb-og
427
+ #: includes/settings-page.php:389
428
+ msgid ""
429
+ "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\">SEO "
430
+ "&gt; Social</a> and disable \"Add Open Graph meta data\""
431
+ msgstr ""
432
+ "É ALTAMENTE recomendado ir a <a href=\"admin.php?page=wpseo_social\">SEO "
433
+ "&gt; Social</a> e desactivar \"Adiciona meta dados Open Graph \""
lang/wd-fb-og.pot CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2013-11-15 13:25-0000\n"
7
  "Last-Translator: Webdados <info@webdados.pt>\n"
8
  "Language-Team: Webdados <info@webdados.pt>\n"
9
  "MIME-Version: 1.0\n"
@@ -20,7 +20,7 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  # @ wd-fb-og
23
- #: includes/settings-page.php:61
24
  msgid ""
25
  "Please set some default values and which tags should, or should not, be "
26
  "included. It may be necessary to exclude some tags if other plugins are "
@@ -28,120 +28,120 @@ msgid ""
28
  msgstr ""
29
 
30
  # @ wd-fb-og
31
- #: includes/settings-page.php:75
32
  msgid "Include Facebook Platform App ID (fb:app_id) tag?"
33
  msgstr ""
34
 
35
  # @ wd-fb-og
36
- #: includes/settings-page.php:81
37
  msgid "Facebook Platform App ID"
38
  msgstr ""
39
 
40
  # @ wd-fb-og
41
- #: includes/settings-page.php:90
42
  msgid "Include Facebook Admin(s) ID (fb:admins) tag?"
43
  msgstr ""
44
 
45
  # @ wd-fb-og
46
- #: includes/settings-page.php:96
47
  msgid "Facebook Admin(s) ID"
48
  msgstr ""
49
 
50
  # @ wd-fb-og
51
- #: includes/settings-page.php:100
52
  msgid "Comma separated if more than one"
53
  msgstr ""
54
 
55
  # @ wd-fb-og
56
- #: includes/settings-page.php:107
57
  msgid "Include locale (fb:locale) tag?"
58
  msgstr ""
59
 
60
  # @ wd-fb-og
61
- #: includes/settings-page.php:113
62
  msgid "Locale"
63
  msgstr ""
64
 
65
  # @ wd-fb-og
66
- #: includes/settings-page.php:116
67
  msgid "WordPress current locale/language"
68
  msgstr ""
69
 
70
  # @ wd-fb-og
71
- #: includes/settings-page.php:167
72
  msgid "List loaded from Facebook (online)"
73
  msgstr ""
74
 
75
  # @ wd-fb-og
76
- #: includes/settings-page.php:170
77
  msgid "List loaded from local cache (offline)"
78
  msgstr ""
79
 
80
  # @ wd-fb-og
81
- #: includes/settings-page.php:170
82
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
83
  msgstr ""
84
 
85
  # @ wd-fb-og
86
- #: includes/settings-page.php:170
87
  msgid "Reload from Facebook"
88
  msgstr ""
89
 
90
  # @ wd-fb-og
91
- #: includes/settings-page.php:172
92
  msgid "List not loaded"
93
  msgstr ""
94
 
95
  # @ wd-fb-og
96
- #: includes/settings-page.php:182
97
  msgid "Include Site Name (og:site_name) tag?"
98
  msgstr ""
99
 
100
  # @ wd-fb-og
101
- #: includes/settings-page.php:191
102
  msgid "Include Post/Page title (og:title) tag?"
103
  msgstr ""
104
 
105
  # @ wd-fb-og
106
- #: includes/settings-page.php:197
107
  msgid "Also include Schema.org \"itemprop\" Name tag?"
108
  msgstr ""
109
 
110
  # @ wd-fb-og
111
- #: includes/settings-page.php:203 includes/settings-page.php:278
112
- #: includes/settings-page.php:320
113
  msgid ""
114
  "Recommended for Google+ sharing purposes if no other plugin is setting it "
115
  "already"
116
  msgstr ""
117
 
118
  # @ wd-fb-og
119
- #: includes/settings-page.php:210
120
  msgid "Include URL (og:url) tag?"
121
  msgstr ""
122
 
123
  # @ wd-fb-og
124
- #: includes/settings-page.php:216
125
  msgid "Also set Canonical URL"
126
  msgstr ""
127
 
128
  # @ wd-fb-og
129
- #: includes/settings-page.php:224
130
  msgid "Add trailing slash at the end"
131
  msgstr ""
132
 
133
  # @ wd-fb-og
134
- #: includes/settings-page.php:228
135
  msgid "On the homepage will be"
136
  msgstr ""
137
 
138
  # @ wd-fb-og
139
- #: includes/settings-page.php:235
140
  msgid "Include Type (og:type) tag?"
141
  msgstr ""
142
 
143
  # @ wd-fb-og
144
- #: includes/settings-page.php:239
145
  #, php-format
146
  msgid ""
147
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
@@ -149,246 +149,258 @@ msgid ""
149
  msgstr ""
150
 
151
  # @ wd-fb-og
152
- #: includes/settings-page.php:243
153
  msgid "Homepage type"
154
  msgstr ""
155
 
156
  # @ wd-fb-og
157
- #: includes/settings-page.php:245 includes/settings-page.php:292
158
  msgid "Use"
159
  msgstr ""
160
 
161
  # @ wd-fb-og
162
- #: includes/settings-page.php:256
163
  msgid "Include Description (og:description) tag?"
164
  msgstr ""
165
 
166
  # @ wd-fb-og
167
- #: includes/settings-page.php:262
168
  msgid "Also include Meta Description tag?"
169
  msgstr ""
170
 
171
  # @ wd-fb-og
172
- #: includes/settings-page.php:268
173
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
174
  msgstr ""
175
 
176
  # @ wd-fb-og
177
- #: includes/settings-page.php:272
178
  msgid "Also include Schema.org \"itemprop\" Description tag?"
179
  msgstr ""
180
 
181
  # @ wd-fb-og
182
- #: includes/settings-page.php:282
183
  msgid "Description maximum length"
184
  msgstr ""
185
 
186
  # @ wd-fb-og
187
- #: includes/settings-page.php:286
188
  msgid "0 or blank for no maximum length"
189
  msgstr ""
190
 
191
  # @ wd-fb-og
192
- #: includes/settings-page.php:290
193
  msgid "Homepage description"
194
  msgstr ""
195
 
196
  # @ wd-fb-og
197
- #: includes/settings-page.php:294
198
  msgid "Website tagline"
199
  msgstr ""
200
 
201
  # @ wd-fb-og
202
- #: includes/settings-page.php:295
203
  msgid "Custom text"
204
  msgstr ""
205
 
206
  # @ wd-fb-og
207
- #: includes/settings-page.php:306
208
  msgid "Include Image (og:image) tag?"
209
  msgstr ""
210
 
211
  # @ wd-fb-og
212
- #: includes/settings-page.php:310
213
  msgid ""
214
  "All images MUST have at least 200px on both dimensions in order to Facebook "
215
  "to load them at all. Minimum of 600x315px is recommended."
216
  msgstr ""
217
 
218
  # @ wd-fb-og
219
- #: includes/settings-page.php:314
220
  msgid "Also include Schema.org \"itemprop\" Image tag?"
221
  msgstr ""
222
 
223
  # @ wd-fb-og
224
- #: includes/settings-page.php:324
225
  msgid "Default image"
226
  msgstr ""
227
 
228
  # @ wd-fb-og
229
- #: includes/settings-page.php:329
230
  msgid "Full URL with http://"
231
  msgstr ""
232
 
233
  # @ wd-fb-og
234
- #: includes/settings-page.php:331
235
  msgid "Recommended size: 1200x630px"
236
  msgstr ""
237
 
238
  # @ wd-fb-og
239
- #: includes/settings-page.php:335
240
  msgid "Also add image to RSS/RSS2 feeds?"
241
  msgstr ""
242
 
243
  # @ wd-fb-og
244
- #: includes/settings-page.php:339
245
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
246
  msgstr ""
247
 
248
  # @ wd-fb-og
249
- #: includes/settings-page.php:343
250
  msgid "On posts/pages"
251
  msgstr ""
252
 
253
  # @ wd-fb-og
254
- #: includes/settings-page.php:347
255
  msgid ""
256
  "Image will be fetched from the specific \"Open Graph Image\" custom field on "
257
  "the post"
258
  msgstr ""
259
 
260
  # @ wd-fb-og
261
- #: includes/settings-page.php:351
262
  msgid ""
263
  "If it's not set, image will be fetched from post/page featured/thumbnail "
264
  "picture"
265
  msgstr ""
266
 
267
  # @ wd-fb-og
268
- #: includes/settings-page.php:355
269
  msgid "If it doesn't exist, use the first image from the post/page content"
270
  msgstr ""
271
 
272
  # @ wd-fb-og
273
- #: includes/settings-page.php:359
274
  msgid "If it doesn't exist, use first image from the post/page media gallery"
275
  msgstr ""
276
 
277
  # @ wd-fb-og
278
- #: includes/settings-page.php:363
279
  msgid "If it doesn't exist, use the default image above"
280
  msgstr ""
281
 
282
  # @ wd-fb-og
283
- #: includes/settings-page.php:371
284
  msgid "3rd Party Integration"
285
  msgstr ""
286
 
287
  # @ wd-fb-og
288
- #: includes/settings-page.php:381
289
  msgid "Add SubHeading to Post/Page title?"
290
  msgstr ""
291
 
292
  # @ wd-fb-og
293
- #: includes/settings-page.php:395
294
  msgid "Use BDP listing contents as OG tags?"
295
  msgstr ""
296
 
297
  # @ wd-fb-og
298
- #: includes/settings-page.php:399
299
  msgid ""
300
  "Setting \"Include URL\", \"Also set Canonical URL\", \"Include Description\" "
301
  "and \"Include Image\" options above is HIGHLY recommended"
302
  msgstr ""
303
 
304
  # @ wd-fb-og
305
- #: includes/settings-page.php:407
306
  msgid "You don't have any compatible 3rd Party plugin installed/active."
307
  msgstr ""
308
 
309
  # @ wd-fb-og
310
- #: includes/settings-page.php:408
311
  msgid "This plugin is currently compatible with:"
312
  msgstr ""
313
 
314
  # @ wd-fb-og
315
- #: includes/settings-page.php:427
316
  msgid "Test your URLs at Facebook URL Linter / Debugger"
317
  msgstr ""
318
 
319
  # @ wd-fb-og
320
- #: includes/settings-page.php:430
321
  msgid "About the Open Graph Protocol (on Facebook)"
322
  msgstr ""
323
 
324
  # @ wd-fb-og
325
- #: includes/settings-page.php:433
326
  msgid "The Open Graph Protocol (official website)"
327
  msgstr ""
328
 
329
  # @ wd-fb-og
330
- #: includes/settings-page.php:436
331
  msgid "Plugin official URL"
332
  msgstr ""
333
 
334
  # @ wd-fb-og
335
- #: includes/settings-page.php:439
336
  msgid "Author's website: Webdados"
337
  msgstr ""
338
 
339
  # @ wd-fb-og
340
- #: includes/settings-page.php:442
341
  msgid "Author's Facebook page: Webdados"
342
  msgstr ""
343
 
344
  # @ wd-fb-og
345
- #: includes/settings-page.php:445
346
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
347
  msgstr ""
348
 
349
  # @ wd-fb-og
350
- #: includes/settings-page.php:452
351
  msgid "Rate this plugin"
352
  msgstr ""
353
 
354
  # @ wd-fb-og
355
- #: includes/settings-page.php:454
356
  msgid "If you like this plugin,"
357
  msgstr ""
358
 
359
  # @ wd-fb-og
360
- #: includes/settings-page.php:454
361
  msgid "please give it a high Rating"
362
  msgstr ""
363
 
364
  # @ wd-fb-og
365
- #: includes/settings-page.php:461
366
  msgid "Useful links"
367
  msgstr ""
368
 
369
  # @ wd-fb-og
370
- #: includes/settings-page.php:474
371
  msgid "Donate"
372
  msgstr ""
373
 
374
  # @ wd-fb-og
375
- #: includes/settings-page.php:476
376
  msgid ""
377
  "If you find this plugin useful and want to make a contribution towards "
378
  "future development please consider making a small, or big ;-), donation."
379
  msgstr ""
380
 
381
  # @ wd-fb-og
382
- #: wonderm00n-open-graph.php:500
383
  msgid "Use this image:"
384
  msgstr ""
385
 
386
  # @ wd-fb-og
387
- #: wonderm00n-open-graph.php:503 wonderm00n-open-graph.php:508
388
  msgid "Upload/Choose Open Graph Image"
389
  msgstr ""
390
 
391
- #@ wd-fb-og
392
- #: wonderm00n-open-graph.php:589
393
  msgid "Use as Image Open Graph Tag"
394
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v1.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2013-11-27 10:18-0000\n"
7
  "Last-Translator: Webdados <info@webdados.pt>\n"
8
  "Language-Team: Webdados <info@webdados.pt>\n"
9
  "MIME-Version: 1.0\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
  # @ wd-fb-og
23
+ #: includes/settings-page.php:64
24
  msgid ""
25
  "Please set some default values and which tags should, or should not, be "
26
  "included. It may be necessary to exclude some tags if other plugins are "
28
  msgstr ""
29
 
30
  # @ wd-fb-og
31
+ #: includes/settings-page.php:78
32
  msgid "Include Facebook Platform App ID (fb:app_id) tag?"
33
  msgstr ""
34
 
35
  # @ wd-fb-og
36
+ #: includes/settings-page.php:84
37
  msgid "Facebook Platform App ID"
38
  msgstr ""
39
 
40
  # @ wd-fb-og
41
+ #: includes/settings-page.php:93
42
  msgid "Include Facebook Admin(s) ID (fb:admins) tag?"
43
  msgstr ""
44
 
45
  # @ wd-fb-og
46
+ #: includes/settings-page.php:99
47
  msgid "Facebook Admin(s) ID"
48
  msgstr ""
49
 
50
  # @ wd-fb-og
51
+ #: includes/settings-page.php:103
52
  msgid "Comma separated if more than one"
53
  msgstr ""
54
 
55
  # @ wd-fb-og
56
+ #: includes/settings-page.php:110
57
  msgid "Include locale (fb:locale) tag?"
58
  msgstr ""
59
 
60
  # @ wd-fb-og
61
+ #: includes/settings-page.php:116
62
  msgid "Locale"
63
  msgstr ""
64
 
65
  # @ wd-fb-og
66
+ #: includes/settings-page.php:119
67
  msgid "WordPress current locale/language"
68
  msgstr ""
69
 
70
  # @ wd-fb-og
71
+ #: includes/settings-page.php:170
72
  msgid "List loaded from Facebook (online)"
73
  msgstr ""
74
 
75
  # @ wd-fb-og
76
+ #: includes/settings-page.php:173
77
  msgid "List loaded from local cache (offline)"
78
  msgstr ""
79
 
80
  # @ wd-fb-og
81
+ #: includes/settings-page.php:173
82
  msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
83
  msgstr ""
84
 
85
  # @ wd-fb-og
86
+ #: includes/settings-page.php:173
87
  msgid "Reload from Facebook"
88
  msgstr ""
89
 
90
  # @ wd-fb-og
91
+ #: includes/settings-page.php:175
92
  msgid "List not loaded"
93
  msgstr ""
94
 
95
  # @ wd-fb-og
96
+ #: includes/settings-page.php:185
97
  msgid "Include Site Name (og:site_name) tag?"
98
  msgstr ""
99
 
100
  # @ wd-fb-og
101
+ #: includes/settings-page.php:194
102
  msgid "Include Post/Page title (og:title) tag?"
103
  msgstr ""
104
 
105
  # @ wd-fb-og
106
+ #: includes/settings-page.php:200
107
  msgid "Also include Schema.org \"itemprop\" Name tag?"
108
  msgstr ""
109
 
110
  # @ wd-fb-og
111
+ #: includes/settings-page.php:206 includes/settings-page.php:281
112
+ #: includes/settings-page.php:323
113
  msgid ""
114
  "Recommended for Google+ sharing purposes if no other plugin is setting it "
115
  "already"
116
  msgstr ""
117
 
118
  # @ wd-fb-og
119
+ #: includes/settings-page.php:213
120
  msgid "Include URL (og:url) tag?"
121
  msgstr ""
122
 
123
  # @ wd-fb-og
124
+ #: includes/settings-page.php:219
125
  msgid "Also set Canonical URL"
126
  msgstr ""
127
 
128
  # @ wd-fb-og
129
+ #: includes/settings-page.php:227
130
  msgid "Add trailing slash at the end"
131
  msgstr ""
132
 
133
  # @ wd-fb-og
134
+ #: includes/settings-page.php:231
135
  msgid "On the homepage will be"
136
  msgstr ""
137
 
138
  # @ wd-fb-og
139
+ #: includes/settings-page.php:238
140
  msgid "Include Type (og:type) tag?"
141
  msgstr ""
142
 
143
  # @ wd-fb-og
144
+ #: includes/settings-page.php:242
145
  #, php-format
146
  msgid ""
147
  "Will be \"%1$s\" for posts and pages and \"%2$s\" or \"%3$s\"; for the "
149
  msgstr ""
150
 
151
  # @ wd-fb-og
152
+ #: includes/settings-page.php:246
153
  msgid "Homepage type"
154
  msgstr ""
155
 
156
  # @ wd-fb-og
157
+ #: includes/settings-page.php:248 includes/settings-page.php:295
158
  msgid "Use"
159
  msgstr ""
160
 
161
  # @ wd-fb-og
162
+ #: includes/settings-page.php:259
163
  msgid "Include Description (og:description) tag?"
164
  msgstr ""
165
 
166
  # @ wd-fb-og
167
+ #: includes/settings-page.php:265
168
  msgid "Also include Meta Description tag?"
169
  msgstr ""
170
 
171
  # @ wd-fb-og
172
+ #: includes/settings-page.php:271
173
  msgid "Recommended for SEO purposes if no other plugin is setting it already"
174
  msgstr ""
175
 
176
  # @ wd-fb-og
177
+ #: includes/settings-page.php:275
178
  msgid "Also include Schema.org \"itemprop\" Description tag?"
179
  msgstr ""
180
 
181
  # @ wd-fb-og
182
+ #: includes/settings-page.php:285
183
  msgid "Description maximum length"
184
  msgstr ""
185
 
186
  # @ wd-fb-og
187
+ #: includes/settings-page.php:289
188
  msgid "0 or blank for no maximum length"
189
  msgstr ""
190
 
191
  # @ wd-fb-og
192
+ #: includes/settings-page.php:293
193
  msgid "Homepage description"
194
  msgstr ""
195
 
196
  # @ wd-fb-og
197
+ #: includes/settings-page.php:297
198
  msgid "Website tagline"
199
  msgstr ""
200
 
201
  # @ wd-fb-og
202
+ #: includes/settings-page.php:298
203
  msgid "Custom text"
204
  msgstr ""
205
 
206
  # @ wd-fb-og
207
+ #: includes/settings-page.php:309
208
  msgid "Include Image (og:image) tag?"
209
  msgstr ""
210
 
211
  # @ wd-fb-og
212
+ #: includes/settings-page.php:313
213
  msgid ""
214
  "All images MUST have at least 200px on both dimensions in order to Facebook "
215
  "to load them at all. Minimum of 600x315px is recommended."
216
  msgstr ""
217
 
218
  # @ wd-fb-og
219
+ #: includes/settings-page.php:317
220
  msgid "Also include Schema.org \"itemprop\" Image tag?"
221
  msgstr ""
222
 
223
  # @ wd-fb-og
224
+ #: includes/settings-page.php:327
225
  msgid "Default image"
226
  msgstr ""
227
 
228
  # @ wd-fb-og
229
+ #: includes/settings-page.php:332
230
  msgid "Full URL with http://"
231
  msgstr ""
232
 
233
  # @ wd-fb-og
234
+ #: includes/settings-page.php:334 wonderm00n-open-graph.php:520
235
  msgid "Recommended size: 1200x630px"
236
  msgstr ""
237
 
238
  # @ wd-fb-og
239
+ #: includes/settings-page.php:338
240
  msgid "Also add image to RSS/RSS2 feeds?"
241
  msgstr ""
242
 
243
  # @ wd-fb-og
244
+ #: includes/settings-page.php:342
245
  msgid "For auto-posting apps like RSS Graffiti, twitterfeed, ..."
246
  msgstr ""
247
 
248
  # @ wd-fb-og
249
+ #: includes/settings-page.php:346
250
  msgid "On posts/pages"
251
  msgstr ""
252
 
253
  # @ wd-fb-og
254
+ #: includes/settings-page.php:350
255
  msgid ""
256
  "Image will be fetched from the specific \"Open Graph Image\" custom field on "
257
  "the post"
258
  msgstr ""
259
 
260
  # @ wd-fb-og
261
+ #: includes/settings-page.php:354
262
  msgid ""
263
  "If it's not set, image will be fetched from post/page featured/thumbnail "
264
  "picture"
265
  msgstr ""
266
 
267
  # @ wd-fb-og
268
+ #: includes/settings-page.php:358
269
  msgid "If it doesn't exist, use the first image from the post/page content"
270
  msgstr ""
271
 
272
  # @ wd-fb-og
273
+ #: includes/settings-page.php:362
274
  msgid "If it doesn't exist, use first image from the post/page media gallery"
275
  msgstr ""
276
 
277
  # @ wd-fb-og
278
+ #: includes/settings-page.php:366
279
  msgid "If it doesn't exist, use the default image above"
280
  msgstr ""
281
 
282
  # @ wd-fb-og
283
+ #: includes/settings-page.php:374
284
  msgid "3rd Party Integration"
285
  msgstr ""
286
 
287
  # @ wd-fb-og
288
+ #: includes/settings-page.php:402
289
  msgid "Add SubHeading to Post/Page title?"
290
  msgstr ""
291
 
292
  # @ wd-fb-og
293
+ #: includes/settings-page.php:417
294
  msgid "Use BDP listing contents as OG tags?"
295
  msgstr ""
296
 
297
  # @ wd-fb-og
298
+ #: includes/settings-page.php:421
299
  msgid ""
300
  "Setting \"Include URL\", \"Also set Canonical URL\", \"Include Description\" "
301
  "and \"Include Image\" options above is HIGHLY recommended"
302
  msgstr ""
303
 
304
  # @ wd-fb-og
305
+ #: includes/settings-page.php:429
306
  msgid "You don't have any compatible 3rd Party plugin installed/active."
307
  msgstr ""
308
 
309
  # @ wd-fb-og
310
+ #: includes/settings-page.php:430
311
  msgid "This plugin is currently compatible with:"
312
  msgstr ""
313
 
314
  # @ wd-fb-og
315
+ #: includes/settings-page.php:450
316
  msgid "Test your URLs at Facebook URL Linter / Debugger"
317
  msgstr ""
318
 
319
  # @ wd-fb-og
320
+ #: includes/settings-page.php:453
321
  msgid "About the Open Graph Protocol (on Facebook)"
322
  msgstr ""
323
 
324
  # @ wd-fb-og
325
+ #: includes/settings-page.php:456
326
  msgid "The Open Graph Protocol (official website)"
327
  msgstr ""
328
 
329
  # @ wd-fb-og
330
+ #: includes/settings-page.php:459
331
  msgid "Plugin official URL"
332
  msgstr ""
333
 
334
  # @ wd-fb-og
335
+ #: includes/settings-page.php:462
336
  msgid "Author's website: Webdados"
337
  msgstr ""
338
 
339
  # @ wd-fb-og
340
+ #: includes/settings-page.php:465
341
  msgid "Author's Facebook page: Webdados"
342
  msgstr ""
343
 
344
  # @ wd-fb-og
345
+ #: includes/settings-page.php:468
346
  msgid "Author's Twitter account: @Wonderm00n<br/>(Webdados founder)"
347
  msgstr ""
348
 
349
  # @ wd-fb-og
350
+ #: includes/settings-page.php:475
351
  msgid "Rate this plugin"
352
  msgstr ""
353
 
354
  # @ wd-fb-og
355
+ #: includes/settings-page.php:477
356
  msgid "If you like this plugin,"
357
  msgstr ""
358
 
359
  # @ wd-fb-og
360
+ #: includes/settings-page.php:477
361
  msgid "please give it a high Rating"
362
  msgstr ""
363
 
364
  # @ wd-fb-og
365
+ #: includes/settings-page.php:484
366
  msgid "Useful links"
367
  msgstr ""
368
 
369
  # @ wd-fb-og
370
+ #: includes/settings-page.php:497
371
  msgid "Donate"
372
  msgstr ""
373
 
374
  # @ wd-fb-og
375
+ #: includes/settings-page.php:499
376
  msgid ""
377
  "If you find this plugin useful and want to make a contribution towards "
378
  "future development please consider making a small, or big ;-), donation."
379
  msgstr ""
380
 
381
  # @ wd-fb-og
382
+ #: wonderm00n-open-graph.php:516
383
  msgid "Use this image:"
384
  msgstr ""
385
 
386
  # @ wd-fb-og
387
+ #: wonderm00n-open-graph.php:519
388
  msgid "Upload/Choose Open Graph Image"
389
  msgstr ""
390
 
391
+ # @ wd-fb-og
392
+ #: wonderm00n-open-graph.php:599
393
  msgid "Use as Image Open Graph Tag"
394
+ msgstr ""
395
+
396
+ # @ wd-fb-og
397
+ #: includes/settings-page.php:385
398
+ msgid "Use title, url (canonical) and description from WPSEO?"
399
+ msgstr ""
400
+
401
+ # @ wd-fb-og
402
+ #: includes/settings-page.php:389
403
+ msgid ""
404
+ "It's HIGHLY recommended to go to <a href=\"admin.php?page=wpseo_social\">SEO "
405
+ "&gt; Social</a> and disable \"Add Open Graph meta data\""
406
+ msgstr ""
readme.txt CHANGED
@@ -3,16 +3,17 @@ Contributors: webdados, wonderm00n
3
  Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
4
  Tags: facebook, open graph, open graph protocol, seo, share, social, meta, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
5
  Requires at least: 3.5
6
- Tested up to: 3.5.1
7
- Stable tag: 1.0.1
8
 
9
- This plugin inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective and efficient Facebook sharing results.
10
- It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results.
11
 
12
  == Description ==
13
 
14
  This plugin inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective and efficient Facebook sharing results.
15
- It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficien Google+ sharing results.
 
 
16
  You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
17
 
18
  It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
@@ -50,6 +51,11 @@ Other Tags:
50
 
51
  == Changelog ==
52
 
 
 
 
 
 
53
  = 1.0.1 =
54
 
55
  * Corrected a nasty bug which would break the "Add Media" option. Thanks to @flynsarmy (yet again)
3
  Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
4
  Tags: facebook, open graph, open graph protocol, seo, share, social, meta, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
5
  Requires at least: 3.5
6
+ Tested up to: 3.7.1
7
+ Stable tag: 1.1
8
 
9
+ This plugin inserts Facebook Open Graph, Google+/Schema.org and other Meta Tags into your WordPress Website for more efficient sharing results.
 
10
 
11
  == Description ==
12
 
13
  This plugin inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective and efficient Facebook sharing results.
14
+
15
+ It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results.
16
+
17
  You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
18
 
19
  It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
51
 
52
  == Changelog ==
53
 
54
+ = 1.1 =
55
+
56
+ * WordPress SEO by Yoast integration: title, url (canonical) and description can now be fetched from this very popular SEO plugin
57
+ * Fix: small fix on javascript
58
+
59
  = 1.0.1 =
60
 
61
  * Corrected a nasty bug which would break the "Add Media" option. Thanks to @flynsarmy (yet again)
wonderm00n-open-graph.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * @package Facebook Open Graph Meta Tags for WordPress
4
- * @version 1.0.1
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph Meta Tags for WordPress
8
  Plugin URI: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
9
  Description: This plugin (formerly known as "Wonderm00n's Simple Facebook Open Graph Meta Tags") inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective and efficient Facebook sharing results. It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
10
- Version: 1.0.1
11
  Author: Webdados
12
  Author URI: http://www.webdados.pt
13
  Text Domain: wd-fb-og
@@ -16,7 +16,7 @@ Domain Path: /lang
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
- $wonderm00n_open_graph_plugin_version='1.0.1';
20
  $wonderm00n_open_graph_plugin_settings=array(
21
  'fb_app_id_show',
22
  'fb_app_id',
@@ -47,6 +47,7 @@ $wonderm00n_open_graph_plugin_settings=array(
47
  'fb_image_use_content',
48
  'fb_image_use_media',
49
  'fb_image_use_default',
 
50
  'fb_show_subheading',
51
  'fb_show_businessdirectoryplugin'
52
  );
@@ -86,20 +87,6 @@ function wonderm00n_open_graph() {
86
  //It's a Post or a Page or an attachment page - It can also be the homepage if it's set as a page
87
  global $post;
88
  $fb_title=esc_attr(strip_tags(stripslashes($post->post_title)));
89
- //All In One SEO - To Do
90
- /*if ($fb_show_allinoneseo==1) {
91
- @include_once(ABSPATH . 'wp-admin/includes/plugin.php');
92
- if (is_plugin_active('all-in-one-seo-pack/all_in_one_seo_pack.php')) {
93
- //Code still missing here
94
- }
95
- }*/
96
- //Platinum SEO - To Do
97
- /*if ($fb_show_platinumseo==1) {
98
- @include_once(ABSPATH . 'wp-admin/includes/plugin.php');
99
- if (is_plugin_active('platinum-seo-pack/platinum_seo_pack.php')) {
100
- //Code still missing here
101
- }
102
- }*/
103
  //SubHeading
104
  if ($fb_show_subheading==1) {
105
  @include_once(ABSPATH . 'wp-admin/includes/plugin.php');
@@ -261,6 +248,35 @@ function wonderm00n_open_graph() {
261
  }
262
  //If no description let's just add the title
263
  if (trim($fb_desc)=='') $fb_desc=$fb_title;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
 
265
  $html='
266
  <!-- START - Facebook Open Graph Meta Tags for WordPress '.$wonderm00n_open_graph_plugin_version.' -->
@@ -503,18 +519,12 @@ if ( is_admin() ) {
503
  <input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="'.__('Upload/Choose Open Graph Image','wd-fb-og').'" />';
504
  echo '<br/>'.__('Recommended size: 1200x630px', 'wd-fb-og');
505
  echo '<script type="text/javascript">
506
- jQuery(document).ready(function() {
507
- jQuery(document).ready(function(){
508
- jQuery(\'#webdados_fb_open_graph_specific_image_button\').live(\'click\', function() {
509
- tb_show(\'Upload image\', \'media-upload.php?post_id='.$post->ID.'&type=image&context=webdados_fb_open_graph_specific_image_button&TB_iframe=true\');
510
- });
511
  });
512
- //function webdados_fb_open_graph_media_insert(url) {
513
- // jQuery(\'#webdados_fb_open_graph_specific_image\').val(url);
514
- // tb_remove();
515
- //}
516
  });
517
- </script>';
518
  }
519
  add_action('add_meta_boxes', 'wonderm00n_open_graph_add_posts_options');
520
  function wonderm00n_open_graph_add_posts_options_box_save( $post_id ) {
1
  <?php
2
  /**
3
  * @package Facebook Open Graph Meta Tags for WordPress
4
+ * @version 1.1
5
  */
6
  /*
7
  Plugin Name: Facebook Open Graph Meta Tags for WordPress
8
  Plugin URI: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
9
  Description: This plugin (formerly known as "Wonderm00n's Simple Facebook Open Graph Meta Tags") inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective and efficient Facebook sharing results. It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
10
+ Version: 1.1
11
  Author: Webdados
12
  Author URI: http://www.webdados.pt
13
  Text Domain: wd-fb-og
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
+ $wonderm00n_open_graph_plugin_version='1.1';
20
  $wonderm00n_open_graph_plugin_settings=array(
21
  'fb_app_id_show',
22
  'fb_app_id',
47
  'fb_image_use_content',
48
  'fb_image_use_media',
49
  'fb_image_use_default',
50
+ 'fb_show_wpseoyoast',
51
  'fb_show_subheading',
52
  'fb_show_businessdirectoryplugin'
53
  );
87
  //It's a Post or a Page or an attachment page - It can also be the homepage if it's set as a page
88
  global $post;
89
  $fb_title=esc_attr(strip_tags(stripslashes($post->post_title)));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  //SubHeading
91
  if ($fb_show_subheading==1) {
92
  @include_once(ABSPATH . 'wp-admin/includes/plugin.php');
248
  }
249
  //If no description let's just add the title
250
  if (trim($fb_desc)=='') $fb_desc=$fb_title;
251
+
252
+ //YOAST?
253
+ var_dump($fb_show_wpseoyoast);
254
+ if ($fb_show_wpseoyoast==1) {
255
+ if ( defined('WPSEO_VERSION') ) {
256
+ $wpseo = new WPSEO_Frontend();
257
+ //App ID - From our plugin
258
+ //Admin ID - From our plugin
259
+ //Locale - From our plugin
260
+ //Sitename - From our plugin
261
+ //Title - From WPSEO
262
+ $fb_title=$wpseo->title(false);
263
+ //Title - SubHeading plugin
264
+ if ($fb_show_subheading==1) {
265
+ @include_once(ABSPATH . 'wp-admin/includes/plugin.php');
266
+ if (is_plugin_active('subheading/index.php')) {
267
+ if (function_exists('get_the_subheading')) {
268
+ $fb_title.=' - '.get_the_subheading();
269
+ }
270
+ }
271
+ }
272
+ //URL - From WPSEO
273
+ $fb_url=$wpseo->canonical(false);
274
+ //Description - From WPSEO or our pligun
275
+ $fb_desc_temp=$wpseo->metadesc(false);
276
+ $fb_desc=(trim($fb_desc_temp)!='' ? trim($fb_desc_temp) : $fb_desc);
277
+ //Image - From our plugin
278
+ }
279
+ }
280
 
281
  $html='
282
  <!-- START - Facebook Open Graph Meta Tags for WordPress '.$wonderm00n_open_graph_plugin_version.' -->
519
  <input id="webdados_fb_open_graph_specific_image_button" class="button" type="button" value="'.__('Upload/Choose Open Graph Image','wd-fb-og').'" />';
520
  echo '<br/>'.__('Recommended size: 1200x630px', 'wd-fb-og');
521
  echo '<script type="text/javascript">
522
+ jQuery(document).ready(function(){
523
+ jQuery(\'#webdados_fb_open_graph_specific_image_button\').live(\'click\', function() {
524
+ tb_show(\'Upload image\', \'media-upload.php?post_id='.$post->ID.'&type=image&context=webdados_fb_open_graph_specific_image_button&TB_iframe=true\');
 
 
525
  });
 
 
 
 
526
  });
527
+ </script>';
528
  }
529
  add_action('add_meta_boxes', 'wonderm00n_open_graph_add_posts_options');
530
  function wonderm00n_open_graph_add_posts_options_box_save( $post_id ) {