Version Description
- TinyMCE UI translation
- Better image fetching
- Space between items is calculated based on thumbs size
Download this release
Release Info
Developer | briKou |
Plugin | FEEDZY RSS Feeds Lite |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- css/feedzy-rss-feeds.css +0 -1
- feedzy-rss-feed.php +52 -8
- feedzy-rss-feeds-ui-lang.php +34 -0
- feedzy-rss-feeds-ui.php +18 -4
- feedzy-rss-style.css +0 -36
- js/feedzy-rss-feeds-ui.js +26 -26
- langs/feedzy_rss_translate-fr_FR.mo +0 -0
- langs/feedzy_rss_translate-fr_FR.po +102 -6
- readme.txt +7 -2
css/feedzy-rss-feeds.css
CHANGED
@@ -5,7 +5,6 @@
|
|
5 |
*/
|
6 |
.feedzy-rss .rss_item {
|
7 |
border-bottom: 1px solid #eee;
|
8 |
-
padding: 1em 0 2em;
|
9 |
}
|
10 |
.feedzy-rss .rss_item .title {
|
11 |
font-weight: bold;
|
5 |
*/
|
6 |
.feedzy-rss .rss_item {
|
7 |
border-bottom: 1px solid #eee;
|
|
|
8 |
}
|
9 |
.feedzy-rss .rss_item .title {
|
10 |
font-weight: bold;
|
feedzy-rss-feed.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: FEEDZY RSS Feeds is a small and lightweight plugin. Fast and easy to use, it aggregates RSS feeds into your WordPress site through simple shortcodes.
|
6 |
* Author: Brice CAPOBIANCO
|
7 |
* Author URI: http://b-website.com/
|
8 |
-
* Version: 1.5.
|
9 |
* Text Domain: feedzy_rss_translate
|
10 |
*/
|
11 |
|
@@ -223,18 +223,51 @@ if (!function_exists('feedzy_rss')) {
|
|
223 |
//Fetch image thumbnail
|
224 |
if($thumb == 'yes'){
|
225 |
$thethumbnail = "";
|
|
|
226 |
|
227 |
if ($enclosure = $item->get_enclosure()) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
foreach ((array) $enclosure->get_link() as $thumbnail){
|
229 |
|
230 |
$pattern= '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/iU';
|
231 |
$imgsrc = $thumbnail;
|
232 |
-
|
233 |
-
$thumbnail = $matches[0];
|
234 |
|
235 |
-
if (
|
236 |
|
237 |
-
$thethumbnail = $
|
238 |
break;
|
239 |
|
240 |
}
|
@@ -242,6 +275,7 @@ if (!function_exists('feedzy_rss')) {
|
|
242 |
}
|
243 |
}
|
244 |
|
|
|
245 |
if(empty($thethumbnail)) {
|
246 |
|
247 |
$feedDescription = $item->get_description();
|
@@ -250,6 +284,7 @@ if (!function_exists('feedzy_rss')) {
|
|
250 |
|
251 |
}
|
252 |
|
|
|
253 |
if(empty($thethumbnail)) {
|
254 |
|
255 |
$feedDescription = $item->get_content();
|
@@ -257,20 +292,29 @@ if (!function_exists('feedzy_rss')) {
|
|
257 |
$thethumbnail = feedzy_scrapeImage($image);
|
258 |
|
259 |
}
|
|
|
|
|
260 |
}
|
261 |
|
|
|
|
|
|
|
|
|
262 |
//Build element DOM
|
263 |
-
$content .= '<div class="rss_item">';
|
264 |
if($thumb == 'yes'){
|
|
|
265 |
if(!empty($thethumbnail)){
|
266 |
|
267 |
$content .= '<a href="'.$item->get_permalink().'" class="rss_image" target="'. $target .'" style="width:'. $size .'px; height:'. $size .'px;" title="'.$item->get_title().'" >';
|
268 |
-
$content .= '<span style="width:'. $size .'px; height:'. $size .'px; background-image: none, url('.$thethumbnail.'), url('.$default.');" alt="'.$item->get_title().'"></span
|
|
|
269 |
|
270 |
} else if(empty($thethumbnail)){
|
271 |
|
272 |
$content .= '<a href="'.$item->get_permalink().'" class="rss_image" target="'. $target .'" style="width:'. $size .'px; height:'. $size .'px;" title="'.$item->get_title().'" >';
|
273 |
-
$content .= '<span style="width:'. $size .'px; height:'. $size .'px; background-image:url('.$default.');" alt="'.$item->get_title().'"></span
|
|
|
274 |
|
275 |
}
|
276 |
}
|
5 |
* Description: FEEDZY RSS Feeds is a small and lightweight plugin. Fast and easy to use, it aggregates RSS feeds into your WordPress site through simple shortcodes.
|
6 |
* Author: Brice CAPOBIANCO
|
7 |
* Author URI: http://b-website.com/
|
8 |
+
* Version: 1.5.3
|
9 |
* Text Domain: feedzy_rss_translate
|
10 |
*/
|
11 |
|
223 |
//Fetch image thumbnail
|
224 |
if($thumb == 'yes'){
|
225 |
$thethumbnail = "";
|
226 |
+
|
227 |
|
228 |
if ($enclosure = $item->get_enclosure()) {
|
229 |
+
|
230 |
+
//item thumb
|
231 |
+
if ($thumbnail = $enclosure->get_thumbnail()){
|
232 |
+
|
233 |
+
$thethumbnail = $thumbnail;
|
234 |
+
|
235 |
+
}
|
236 |
+
|
237 |
+
//media:thumbnail
|
238 |
+
if(isset($enclosure->thumbnails)){
|
239 |
+
|
240 |
+
foreach ((array) $enclosure->thumbnails as $thumbnail){
|
241 |
+
|
242 |
+
$thethumbnail = $thumbnail;
|
243 |
+
|
244 |
+
}
|
245 |
+
|
246 |
+
}
|
247 |
+
|
248 |
+
//enclosure
|
249 |
+
if( $thumbnail = $enclosure->embed() ) {
|
250 |
+
|
251 |
+
$pattern= '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/iU';
|
252 |
+
|
253 |
+
if (preg_match($pattern, $thumbnail, $matches)){
|
254 |
+
|
255 |
+
$thethumbnail = $matches[0];
|
256 |
+
|
257 |
+
}
|
258 |
+
|
259 |
+
}
|
260 |
+
|
261 |
+
//media:content
|
262 |
foreach ((array) $enclosure->get_link() as $thumbnail){
|
263 |
|
264 |
$pattern= '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/iU';
|
265 |
$imgsrc = $thumbnail;
|
266 |
+
|
|
|
267 |
|
268 |
+
if ( preg_match($pattern, $imgsrc, $matches) ){
|
269 |
|
270 |
+
$thethumbnail = $matches[0];;
|
271 |
break;
|
272 |
|
273 |
}
|
275 |
}
|
276 |
}
|
277 |
|
278 |
+
//description image
|
279 |
if(empty($thethumbnail)) {
|
280 |
|
281 |
$feedDescription = $item->get_description();
|
284 |
|
285 |
}
|
286 |
|
287 |
+
//content image
|
288 |
if(empty($thethumbnail)) {
|
289 |
|
290 |
$feedDescription = $item->get_content();
|
292 |
$thethumbnail = feedzy_scrapeImage($image);
|
293 |
|
294 |
}
|
295 |
+
|
296 |
+
|
297 |
}
|
298 |
|
299 |
+
//Padding ratio based on image size
|
300 |
+
$paddinTop = number_format((15/150)*$size,0);
|
301 |
+
$paddinBottom = number_format((25/150)*$size,0);
|
302 |
+
|
303 |
//Build element DOM
|
304 |
+
$content .= '<div class="rss_item" style="padding: ' . $paddinTop . 'px 0 ' . $paddinBottom . 'px">';
|
305 |
if($thumb == 'yes'){
|
306 |
+
|
307 |
if(!empty($thethumbnail)){
|
308 |
|
309 |
$content .= '<a href="'.$item->get_permalink().'" class="rss_image" target="'. $target .'" style="width:'. $size .'px; height:'. $size .'px;" title="'.$item->get_title().'" >';
|
310 |
+
$content .= '<span style="width:'. $size .'px; height:'. $size .'px; background-image: none, url('.$thethumbnail.'), url('.$default.');" alt="'.$item->get_title().'"></span/>';
|
311 |
+
$content .= '</a>';
|
312 |
|
313 |
} else if(empty($thethumbnail)){
|
314 |
|
315 |
$content .= '<a href="'.$item->get_permalink().'" class="rss_image" target="'. $target .'" style="width:'. $size .'px; height:'. $size .'px;" title="'.$item->get_title().'" >';
|
316 |
+
$content .= '<span style="width:'. $size .'px; height:'. $size .'px; background-image:url('.$default.');" alt="'.$item->get_title().'"></span/>';
|
317 |
+
$content .= '</a>';
|
318 |
|
319 |
}
|
320 |
}
|
feedzy-rss-feeds-ui-lang.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/***************************************************************
|
3 |
+
* Translation for TinyMCE
|
4 |
+
***************************************************************/
|
5 |
+
|
6 |
+
if ( ! class_exists( '_WP_Editors' ) )
|
7 |
+
require( ABSPATH . WPINC . '/class-wp-editor.php' );
|
8 |
+
|
9 |
+
function feedzy_tinymce_translation() {
|
10 |
+
$strings = array(
|
11 |
+
'plugin_title' => __('Insert FEEDZY RSS Feeds Shortcode', 'feedzy_rss_translate'),
|
12 |
+
'feeds' => __('The feed(s) URL (comma-separated list).', 'feedzy_rss_translate'),
|
13 |
+
'maximum' => __('Number of items to display.', 'feedzy_rss_translate'),
|
14 |
+
'feed_title' => __('Should we display the RSS title?', 'feedzy_rss_translate'),
|
15 |
+
'target' => __('Links may be opened in the same window or a new tab.', 'feedzy_rss_translate'),
|
16 |
+
'title' => __('Trim the title of the item after X characters.', 'feedzy_rss_translate'),
|
17 |
+
'meta' => __('Should we display the date of publication and the author name?', 'feedzy_rss_translate'),
|
18 |
+
'summary' => __('Should we display a description (abstract) of the retrieved item?', 'feedzy_rss_translate'),
|
19 |
+
'summarylength' => __('Crop description (summary) of the element after X characters.', 'feedzy_rss_translate'),
|
20 |
+
'thumb' => __('Should we display the first image of the content if it is available?', 'feedzy_rss_translate'),
|
21 |
+
'defaultimg' => __('Default thumbnail URL if no image is found.', 'feedzy_rss_translate'),
|
22 |
+
'size' => __('Thumblails dimension. Do not include "px". Eg: 150', 'feedzy_rss_translate'),
|
23 |
+
'keywords_title'=> __('Only display item if title contains specific keyword(s) (comma-separated list/case sensitive).', 'feedzy_rss_translate'),
|
24 |
+
'text_default' => __('Do not specify', 'feedzy_rss_translate'),
|
25 |
+
'text_no' => __('No', 'feedzy_rss_translate'),
|
26 |
+
'text_yes' => __('Yes', 'feedzy_rss_translate'),
|
27 |
+
);
|
28 |
+
$locale = _WP_Editors::$mce_locale;
|
29 |
+
$translated = 'tinyMCE.addI18n("' . $locale . '.feedzy_tinymce_plugin", ' . json_encode( $strings ) . ");\n";
|
30 |
+
|
31 |
+
return $translated;
|
32 |
+
}
|
33 |
+
|
34 |
+
$strings = feedzy_tinymce_translation();
|
feedzy-rss-feeds-ui.php
CHANGED
@@ -9,22 +9,30 @@ function feedzy_add_mce_button() {
|
|
9 |
|
10 |
if ( 'true' == get_user_option( 'rich_editing' ) ) {
|
11 |
|
12 |
-
add_filter( 'mce_external_plugins', '
|
13 |
add_filter( 'mce_buttons', 'feedzy_register_mce_button' );
|
14 |
|
15 |
// Load stylesheet for tinyMCE button only
|
16 |
wp_enqueue_style( 'feedzy-rss-feeds', plugin_dir_url( __FILE__ ) . 'css/feedzy-rss-feeds.css', array(), NULL, NULL);
|
17 |
-
|
18 |
}
|
19 |
|
20 |
}
|
21 |
add_action('admin_head', 'feedzy_add_mce_button');
|
22 |
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
/***************************************************************
|
25 |
* Load custom js options - TinyMCE API
|
26 |
***************************************************************/
|
27 |
-
function
|
28 |
$plugin_array['feedzy_mce_button'] = plugin_dir_url( __FILE__ ) . '/js/feedzy-rss-feeds-ui.js';
|
29 |
return $plugin_array;
|
30 |
}
|
@@ -36,4 +44,10 @@ function feedzy_add_tinymce_plugin( $plugin_array ) {
|
|
36 |
function feedzy_register_mce_button( $buttons ) {
|
37 |
array_push( $buttons, 'feedzy_mce_button' );
|
38 |
return $buttons;
|
39 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
if ( 'true' == get_user_option( 'rich_editing' ) ) {
|
11 |
|
12 |
+
add_filter( 'mce_external_plugins', 'feedzy_tinymce_plugin' );
|
13 |
add_filter( 'mce_buttons', 'feedzy_register_mce_button' );
|
14 |
|
15 |
// Load stylesheet for tinyMCE button only
|
16 |
wp_enqueue_style( 'feedzy-rss-feeds', plugin_dir_url( __FILE__ ) . 'css/feedzy-rss-feeds.css', array(), NULL, NULL);
|
|
|
17 |
}
|
18 |
|
19 |
}
|
20 |
add_action('admin_head', 'feedzy_add_mce_button');
|
21 |
|
22 |
|
23 |
+
/***************************************************************
|
24 |
+
* Load plugin translation for - TinyMCE API
|
25 |
+
***************************************************************/
|
26 |
+
function feedzy_add_tinymce_lang( $arr ){
|
27 |
+
$arr[] = plugin_dir_path( __FILE__ ) . 'feedzy-rss-feeds-ui-lang.php';
|
28 |
+
return $arr;
|
29 |
+
}
|
30 |
+
add_filter( 'mce_external_languages', 'feedzy_add_tinymce_lang', 10, 1 );
|
31 |
+
|
32 |
/***************************************************************
|
33 |
* Load custom js options - TinyMCE API
|
34 |
***************************************************************/
|
35 |
+
function feedzy_tinymce_plugin( $plugin_array ) {
|
36 |
$plugin_array['feedzy_mce_button'] = plugin_dir_url( __FILE__ ) . '/js/feedzy-rss-feeds-ui.js';
|
37 |
return $plugin_array;
|
38 |
}
|
44 |
function feedzy_register_mce_button( $buttons ) {
|
45 |
array_push( $buttons, 'feedzy_mce_button' );
|
46 |
return $buttons;
|
47 |
+
}
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
|
feedzy-rss-style.css
DELETED
@@ -1,36 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* Plugin Name: FEEDZY RSS Feeds by b*web
|
3 |
-
* Plugin URI: http://b-website.com/
|
4 |
-
* Author: Brice CAPOBIANCO - b*web
|
5 |
-
*/
|
6 |
-
|
7 |
-
.feedzy-rss .rss_item {
|
8 |
-
border-bottom: 1px solid #eee;
|
9 |
-
padding: 1em 0 2em;
|
10 |
-
}
|
11 |
-
.feedzy-rss .rss_item .title {
|
12 |
-
font-weight: bold;
|
13 |
-
}
|
14 |
-
.feedzy-rss .rss_item:after{
|
15 |
-
content:'';
|
16 |
-
display:block;
|
17 |
-
clear: both;
|
18 |
-
}
|
19 |
-
.feedzy-rss .rss_item a.rss_image {
|
20 |
-
float: left;
|
21 |
-
text-decoration: none;
|
22 |
-
border: none;
|
23 |
-
}
|
24 |
-
.feedzy-rss .rss_item a.rss_image span{
|
25 |
-
display:inline-block;
|
26 |
-
background-size: cover;
|
27 |
-
background-position: 50%;
|
28 |
-
}
|
29 |
-
.feedzy-rss .rss_item .rss_image {
|
30 |
-
padding: 0.3em 1em 0 0;
|
31 |
-
}
|
32 |
-
.feedzy-rss .rss_item .rss_content small {
|
33 |
-
display: block;
|
34 |
-
font-size: 0.9em;
|
35 |
-
font-style:italic;
|
36 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/feedzy-rss-feeds-ui.js
CHANGED
@@ -9,36 +9,36 @@
|
|
9 |
icon: 'feedzy-icon',
|
10 |
onclick: function() {
|
11 |
editor.windowManager.open( {
|
12 |
-
title: '
|
13 |
body: [
|
14 |
{
|
15 |
type: 'textbox',
|
16 |
name: 'feeds',
|
17 |
-
label: '
|
18 |
value: ''
|
19 |
},
|
20 |
{
|
21 |
type: 'textbox',
|
22 |
name: 'maximum',
|
23 |
-
label: '
|
24 |
value: ''
|
25 |
},
|
26 |
{
|
27 |
type: 'listbox',
|
28 |
name: 'feed_title',
|
29 |
-
label: '
|
30 |
'values': [
|
31 |
-
{text: '
|
32 |
-
{text: '
|
33 |
-
{text: '
|
34 |
]
|
35 |
},
|
36 |
{
|
37 |
type: 'listbox',
|
38 |
name: 'target',
|
39 |
-
label: '
|
40 |
'values': [
|
41 |
-
{text: '
|
42 |
{text: '_blank', value: '_blank'},
|
43 |
{text: '_self', value: '_self'},
|
44 |
{text: '_parent', value: '_parent'},
|
@@ -49,61 +49,61 @@
|
|
49 |
{
|
50 |
type: 'textbox',
|
51 |
name: 'title',
|
52 |
-
label: '
|
53 |
value: ''
|
54 |
},
|
55 |
{
|
56 |
type: 'listbox',
|
57 |
name: 'meta',
|
58 |
-
label: '
|
59 |
'values': [
|
60 |
-
{text: '
|
61 |
-
{text: '
|
62 |
-
{text: '
|
63 |
]
|
64 |
},
|
65 |
{
|
66 |
type: 'listbox',
|
67 |
name: 'summary',
|
68 |
-
label: '
|
69 |
'values': [
|
70 |
-
{text: '
|
71 |
-
{text: '
|
72 |
-
{text: '
|
73 |
]
|
74 |
},
|
75 |
{
|
76 |
type: 'textbox',
|
77 |
name: 'summarylength',
|
78 |
-
label: '
|
79 |
value: ''
|
80 |
},
|
81 |
{
|
82 |
type: 'listbox',
|
83 |
name: 'thumb',
|
84 |
-
label: '
|
85 |
'values': [
|
86 |
-
{text: '
|
87 |
-
{text: '
|
88 |
-
{text: '
|
89 |
]
|
90 |
},
|
91 |
{
|
92 |
type: 'textbox',
|
93 |
name: 'defaultimg',
|
94 |
-
label: '
|
95 |
value: ''
|
96 |
},
|
97 |
{
|
98 |
type: 'textbox',
|
99 |
name: 'size',
|
100 |
-
label: '
|
101 |
value: ''
|
102 |
},
|
103 |
{
|
104 |
type: 'textbox',
|
105 |
name: 'keywords_title',
|
106 |
-
label: '
|
107 |
value: ''
|
108 |
}
|
109 |
],
|
9 |
icon: 'feedzy-icon',
|
10 |
onclick: function() {
|
11 |
editor.windowManager.open( {
|
12 |
+
title: editor.getLang('feedzy_tinymce_plugin.plugin_title'),
|
13 |
body: [
|
14 |
{
|
15 |
type: 'textbox',
|
16 |
name: 'feeds',
|
17 |
+
label: editor.getLang('feedzy_tinymce_plugin.feeds'),
|
18 |
value: ''
|
19 |
},
|
20 |
{
|
21 |
type: 'textbox',
|
22 |
name: 'maximum',
|
23 |
+
label: editor.getLang('feedzy_tinymce_plugin.maximum'),
|
24 |
value: ''
|
25 |
},
|
26 |
{
|
27 |
type: 'listbox',
|
28 |
name: 'feed_title',
|
29 |
+
label: editor.getLang('feedzy_tinymce_plugin.feed_title'),
|
30 |
'values': [
|
31 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_default'), value: ''},
|
32 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_no'), value: 'no'},
|
33 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_yes'), value: 'yes'},
|
34 |
]
|
35 |
},
|
36 |
{
|
37 |
type: 'listbox',
|
38 |
name: 'target',
|
39 |
+
label: editor.getLang('feedzy_tinymce_plugin.target'),
|
40 |
'values': [
|
41 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_default'), value: ''},
|
42 |
{text: '_blank', value: '_blank'},
|
43 |
{text: '_self', value: '_self'},
|
44 |
{text: '_parent', value: '_parent'},
|
49 |
{
|
50 |
type: 'textbox',
|
51 |
name: 'title',
|
52 |
+
label: editor.getLang('feedzy_tinymce_plugin.title'),
|
53 |
value: ''
|
54 |
},
|
55 |
{
|
56 |
type: 'listbox',
|
57 |
name: 'meta',
|
58 |
+
label: editor.getLang('feedzy_tinymce_plugin.meta'),
|
59 |
'values': [
|
60 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_default'), value: ''},
|
61 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_no'), value: 'no'},
|
62 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_yes'), value: 'yes'},
|
63 |
]
|
64 |
},
|
65 |
{
|
66 |
type: 'listbox',
|
67 |
name: 'summary',
|
68 |
+
label: editor.getLang('feedzy_tinymce_plugin.summary'),
|
69 |
'values': [
|
70 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_default'), value: ''},
|
71 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_no'), value: 'no'},
|
72 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_yes'), value: 'yes'},
|
73 |
]
|
74 |
},
|
75 |
{
|
76 |
type: 'textbox',
|
77 |
name: 'summarylength',
|
78 |
+
label: editor.getLang('feedzy_tinymce_plugin.summarylength'),
|
79 |
value: ''
|
80 |
},
|
81 |
{
|
82 |
type: 'listbox',
|
83 |
name: 'thumb',
|
84 |
+
label: editor.getLang('feedzy_tinymce_plugin.thumb'),
|
85 |
'values': [
|
86 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_default'), value: ''},
|
87 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_no'), value: 'no'},
|
88 |
+
{text: editor.getLang('feedzy_tinymce_plugin.text_yes'), value: 'yes'},
|
89 |
]
|
90 |
},
|
91 |
{
|
92 |
type: 'textbox',
|
93 |
name: 'defaultimg',
|
94 |
+
label: editor.getLang('feedzy_tinymce_plugin.defaultimg'),
|
95 |
value: ''
|
96 |
},
|
97 |
{
|
98 |
type: 'textbox',
|
99 |
name: 'size',
|
100 |
+
label: editor.getLang('feedzy_tinymce_plugin.size'),
|
101 |
value: ''
|
102 |
},
|
103 |
{
|
104 |
type: 'textbox',
|
105 |
name: 'keywords_title',
|
106 |
+
label: editor.getLang('feedzy_tinymce_plugin.keywords_title'),
|
107 |
value: ''
|
108 |
}
|
109 |
],
|
langs/feedzy_rss_translate-fr_FR.mo
CHANGED
Binary file
|
langs/feedzy_rss_translate-fr_FR.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: FEEDZY RSS Feeds v1.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2014-
|
7 |
"Last-Translator: superadminopl <brice.capobianco@openlog.fr>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -20,23 +20,119 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Textdomain-Support: yes"
|
22 |
|
23 |
-
#: feedzy-rss-feed.php:
|
24 |
#@ feedzy_rss_translate
|
25 |
msgid "Sorry, this feed is currently unavailable or does not exists anymore."
|
26 |
msgstr "Désolé, ce flux est actuellement indisponible ou n'existe plus."
|
27 |
|
28 |
-
#: feedzy-rss-feed.php:
|
29 |
#@ feedzy_rss_translate
|
30 |
msgid "Posted by"
|
31 |
msgstr "Publié par"
|
32 |
|
33 |
-
#: feedzy-rss-feed.php:
|
34 |
#@ feedzy_rss_translate
|
35 |
msgid "on"
|
36 |
msgstr "le"
|
37 |
|
38 |
-
#: feedzy-rss-feed.php:
|
39 |
#@ feedzy_rss_translate
|
40 |
msgid "at"
|
41 |
msgstr "à"
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: FEEDZY RSS Feeds by b*web v1.5.2\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2014-11-27 19:31:59+0000\n"
|
7 |
"Last-Translator: superadminopl <brice.capobianco@openlog.fr>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Textdomain-Support: yes"
|
22 |
|
23 |
+
#: feedzy-rss-feed.php:187
|
24 |
#@ feedzy_rss_translate
|
25 |
msgid "Sorry, this feed is currently unavailable or does not exists anymore."
|
26 |
msgstr "Désolé, ce flux est actuellement indisponible ou n'existe plus."
|
27 |
|
28 |
+
#: feedzy-rss-feed.php:331
|
29 |
#@ feedzy_rss_translate
|
30 |
msgid "Posted by"
|
31 |
msgstr "Publié par"
|
32 |
|
33 |
+
#: feedzy-rss-feed.php:340
|
34 |
#@ feedzy_rss_translate
|
35 |
msgid "on"
|
36 |
msgstr "le"
|
37 |
|
38 |
+
#: feedzy-rss-feed.php:340
|
39 |
#@ feedzy_rss_translate
|
40 |
msgid "at"
|
41 |
msgstr "à"
|
42 |
|
43 |
+
#: feedzy-rss-feed.php:46
|
44 |
+
#@ an-translate
|
45 |
+
msgid "Documentation and examples"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: feedzy-rss-feed.php:47
|
49 |
+
#@ an-translate
|
50 |
+
#@ feedzy_rss_translate
|
51 |
+
msgid "More b*web Plugins"
|
52 |
+
msgstr "Plus de plugins b*web"
|
53 |
+
|
54 |
+
#: feedzy-rss-feed.php:48
|
55 |
+
#@ an-translate
|
56 |
+
msgid "Donate"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: feedzy-rss-feeds-ui-lang.php:11
|
60 |
+
#@ feedzy_rss_translate
|
61 |
+
msgid "Insert FEEDZY RSS Feeds Shortcode"
|
62 |
+
msgstr "Insérer un shortcode FEEDZY RSS Feeds"
|
63 |
+
|
64 |
+
#: feedzy-rss-feeds-ui-lang.php:13
|
65 |
+
#@ feedzy_rss_translate
|
66 |
+
msgid "Number of items to display."
|
67 |
+
msgstr "Nombre d’éléments à remonter."
|
68 |
+
|
69 |
+
#: feedzy-rss-feeds-ui-lang.php:15
|
70 |
+
#@ feedzy_rss_translate
|
71 |
+
msgid "Links may be opened in the same window or a new tab."
|
72 |
+
msgstr "Les liens peuvent être ouverts dans la même fenêtre ou dans un nouvel onglet."
|
73 |
+
|
74 |
+
#: feedzy-rss-feeds-ui-lang.php:16
|
75 |
+
#@ feedzy_rss_translate
|
76 |
+
msgid "Trim the title of the item after X characters."
|
77 |
+
msgstr "Rogner le titre de l’élément après X caractères."
|
78 |
+
|
79 |
+
#: feedzy-rss-feeds-ui-lang.php:17
|
80 |
+
#@ feedzy_rss_translate
|
81 |
+
msgid "Should we display the date of publication and the author name?"
|
82 |
+
msgstr "Doit-on afficher la date de publication ainsi que le nom de l’auteur de l’élément ?"
|
83 |
+
|
84 |
+
#: feedzy-rss-feeds-ui-lang.php:18
|
85 |
+
#@ feedzy_rss_translate
|
86 |
+
msgid "Should we display a description (abstract) of the retrieved item?"
|
87 |
+
msgstr "Doit-on afficher la description (le résumé) de l’élément ?"
|
88 |
+
|
89 |
+
#: feedzy-rss-feeds-ui-lang.php:19
|
90 |
+
#@ feedzy_rss_translate
|
91 |
+
msgid "Crop description (summary) of the element after X characters."
|
92 |
+
msgstr "Rogner la description (le résumé) de l’élément après X caractères."
|
93 |
+
|
94 |
+
#: feedzy-rss-feeds-ui-lang.php:20
|
95 |
+
#@ feedzy_rss_translate
|
96 |
+
msgid "Should we display the first image of the content if it is available?"
|
97 |
+
msgstr "Doit-on afficher la première image du contenu si elle est disponible ?"
|
98 |
+
|
99 |
+
#: feedzy-rss-feeds-ui-lang.php:21
|
100 |
+
#@ feedzy_rss_translate
|
101 |
+
msgid "Default thumbnail URL if no image is found."
|
102 |
+
msgstr "URL de la miniature par défaut si aucune image n’est trouvée."
|
103 |
+
|
104 |
+
#: feedzy-rss-feeds-ui-lang.php:22
|
105 |
+
#@ feedzy_rss_translate
|
106 |
+
msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
|
107 |
+
msgstr "Dimensions de la miniature. Ne pas inclure “px”. Ex : 150"
|
108 |
+
|
109 |
+
#: feedzy-rss-feeds-ui-lang.php:23
|
110 |
+
#@ feedzy_rss_translate
|
111 |
+
msgid "Only display item if title contains specific keyword(s) (comma-separated list/case sensitive)."
|
112 |
+
msgstr "Afficher un élément seulement si son titre contient l’un des mots clés spécifiés (liste séparée par des virgules/sensible à la case)"
|
113 |
+
|
114 |
+
#: feedzy-rss-feeds-ui-lang.php:24
|
115 |
+
#@ feedzy_rss_translate
|
116 |
+
msgid "Do not specify"
|
117 |
+
msgstr "Ne pas préciser"
|
118 |
+
|
119 |
+
#: feedzy-rss-feeds-ui-lang.php:25
|
120 |
+
#@ feedzy_rss_translate
|
121 |
+
msgid "No"
|
122 |
+
msgstr "Non"
|
123 |
+
|
124 |
+
#: feedzy-rss-feeds-ui-lang.php:26
|
125 |
+
#@ feedzy_rss_translate
|
126 |
+
msgid "Yes"
|
127 |
+
msgstr "Oui"
|
128 |
+
|
129 |
+
#: feedzy-rss-feeds-ui-lang.php:12
|
130 |
+
#@ feedzy_rss_translate
|
131 |
+
msgid "The feed(s) URL (comma-separated list)."
|
132 |
+
msgstr "URL(s) du(des) flux RSS (liste séparée par des virgules)."
|
133 |
+
|
134 |
+
#: feedzy-rss-feeds-ui-lang.php:14
|
135 |
+
#@ feedzy_rss_translate
|
136 |
+
msgid "Should we display the RSS title?"
|
137 |
+
msgstr "Doit-on afficher le titre du flux RSS ?"
|
138 |
+
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== FEEDZY RSS Feeds ===
|
2 |
Contributors: briKou
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7Z6YVM63739Y8
|
4 |
-
Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -84,6 +84,11 @@ Yes it is.
|
|
84 |
== Changelog ==
|
85 |
|
86 |
|
|
|
|
|
|
|
|
|
|
|
87 |
= 1.5.2 =
|
88 |
* Plugin meta update
|
89 |
|
1 |
=== FEEDZY RSS Feeds ===
|
2 |
Contributors: briKou
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7Z6YVM63739Y8
|
4 |
+
Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
84 |
== Changelog ==
|
85 |
|
86 |
|
87 |
+
= 1.5.3 =
|
88 |
+
* TinyMCE UI translation
|
89 |
+
* Better image fetching
|
90 |
+
* Space between items is calculated based on thumbs size
|
91 |
+
|
92 |
= 1.5.2 =
|
93 |
* Plugin meta update
|
94 |
|