FEEDZY RSS Feeds Lite - Version 2.2.1

Version Description

  • Minor security improvements
  • Better WordPress coding standard respect
  • Minor fix if does not provide item's author
  • Translations update
Download this release

Release Info

Developer briKou
Plugin Icon 128x128 FEEDZY RSS Feeds Lite
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2 to 2.2.1

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: 2.2
9
  * Text Domain: feedzy_rss_translate
10
  * Domain Path: /langs
11
  */
@@ -14,8 +14,8 @@
14
  /***************************************************************
15
  * SECURITY : Exit if accessed directly
16
  ***************************************************************/
17
- if ( !defined('ABSPATH') ) {
18
- exit;
19
  }
20
 
21
 
@@ -26,7 +26,7 @@ function feedzy_rss_load_textdomain() {
26
  $path = dirname(plugin_basename( __FILE__ )) . '/langs/';
27
  load_plugin_textdomain( 'feedzy_rss_translate', false, $path);
28
  }
29
- add_action('init', 'feedzy_rss_load_textdomain');
30
 
31
 
32
  /***************************************************************
@@ -46,7 +46,7 @@ add_filter( 'plugin_row_meta', 'feedzy_meta_links', 10, 2 );
46
  /***************************************************************
47
  * Load plugin files
48
  ***************************************************************/
49
- $feedzyFiles = array( 'shortcode', 'widget','ui');
50
  foreach( $feedzyFiles as $feedzyFile ){
51
  require_once( plugin_dir_path( __FILE__ ) . 'feedzy-rss-feeds-' . $feedzyFile . '.php' );
52
  }
@@ -56,31 +56,31 @@ foreach( $feedzyFiles as $feedzyFile ){
56
  * Enqueue custom CSS
57
  ***************************************************************/
58
  function feedzy_register_custom_style() {
59
- wp_register_style( 'feedzy-style', plugins_url('css/feedzy-rss-feeds.css', __FILE__ ), NULL, NULL);
60
  }
61
  function feedzy_print_custom_style() {
62
  global $feedzyStyle;
63
- if ( ! $feedzyStyle )
64
  return;
65
 
66
- wp_print_styles('feedzy-style');
67
  }
68
- add_action('init', 'feedzy_register_custom_style');
69
- add_action('wp_footer', 'feedzy_print_custom_style');
70
 
71
 
72
  /***************************************************************
73
  * Insert cover picture to main rss feed content
74
  ***************************************************************/
75
- function feedzy_insert_thumbnail_RSS($content) {
76
  global $post;
77
  if ( has_post_thumbnail( $post->ID ) ){
78
  $content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail' ) . '' . $content;
79
  }
80
  return $content;
81
  }
82
- add_filter('the_excerpt_rss', 'feedzy_insert_thumbnail_RSS');
83
- add_filter('the_content_feed', 'feedzy_insert_thumbnail_RSS');
84
 
85
 
86
  /***************************************************************
@@ -94,7 +94,7 @@ function feedzy_include_thumbnail_RSS (){
94
 
95
  $postThumbnailId = get_post_thumbnail_id( $post->ID );
96
  $attachmentMeta = wp_get_attachment_metadata( $postThumbnailId );
97
- $imageUrl = wp_get_attachment_image_src( $postThumbnailId, 'medium');
98
 
99
  echo '<enclosure url="' . $imageUrl[0] . '" length="' . filesize( get_attached_file( $postThumbnailId ) ) . '" type="image/jpg" />';
100
  echo '<media:content url="' . $imageUrl[0] . '" width="' . $attachmentMeta['sizes']['medium']['width'] . '" height="' . $attachmentMeta['sizes']['medium']['height'] . '" medium="image" type="' . $attachmentMeta['sizes']['medium']['mime-type'] . '" />';
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: 2.2.1
9
  * Text Domain: feedzy_rss_translate
10
  * Domain Path: /langs
11
  */
14
  /***************************************************************
15
  * SECURITY : Exit if accessed directly
16
  ***************************************************************/
17
+ if ( !defined( 'ABSPATH' ) ) {
18
+ die( 'Direct acces not allowed!' );
19
  }
20
 
21
 
26
  $path = dirname(plugin_basename( __FILE__ )) . '/langs/';
27
  load_plugin_textdomain( 'feedzy_rss_translate', false, $path);
28
  }
29
+ add_action( 'init', 'feedzy_rss_load_textdomain' );
30
 
31
 
32
  /***************************************************************
46
  /***************************************************************
47
  * Load plugin files
48
  ***************************************************************/
49
+ $feedzyFiles = array( 'shortcode', 'widget','ui' );
50
  foreach( $feedzyFiles as $feedzyFile ){
51
  require_once( plugin_dir_path( __FILE__ ) . 'feedzy-rss-feeds-' . $feedzyFile . '.php' );
52
  }
56
  * Enqueue custom CSS
57
  ***************************************************************/
58
  function feedzy_register_custom_style() {
59
+ wp_register_style( 'feedzy-style', plugins_url('css/feedzy-rss-feeds.css', __FILE__ ), NULL, NULL );
60
  }
61
  function feedzy_print_custom_style() {
62
  global $feedzyStyle;
63
+ if ( !$feedzyStyle )
64
  return;
65
 
66
+ wp_print_styles( 'feedzy-style' );
67
  }
68
+ add_action( 'init', 'feedzy_register_custom_style' );
69
+ add_action( 'wp_footer', 'feedzy_print_custom_style' );
70
 
71
 
72
  /***************************************************************
73
  * Insert cover picture to main rss feed content
74
  ***************************************************************/
75
+ function feedzy_insert_thumbnail_RSS( $content ) {
76
  global $post;
77
  if ( has_post_thumbnail( $post->ID ) ){
78
  $content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail' ) . '' . $content;
79
  }
80
  return $content;
81
  }
82
+ add_filter( 'the_excerpt_rss', 'feedzy_insert_thumbnail_RSS' );
83
+ add_filter( 'the_content_feed', 'feedzy_insert_thumbnail_RSS' );
84
 
85
 
86
  /***************************************************************
94
 
95
  $postThumbnailId = get_post_thumbnail_id( $post->ID );
96
  $attachmentMeta = wp_get_attachment_metadata( $postThumbnailId );
97
+ $imageUrl = wp_get_attachment_image_src( $postThumbnailId, 'medium' );
98
 
99
  echo '<enclosure url="' . $imageUrl[0] . '" length="' . filesize( get_attached_file( $postThumbnailId ) ) . '" type="image/jpg" />';
100
  echo '<media:content url="' . $imageUrl[0] . '" width="' . $attachmentMeta['sizes']['medium']['width'] . '" height="' . $attachmentMeta['sizes']['medium']['height'] . '" medium="image" type="' . $attachmentMeta['sizes']['medium']['mime-type'] . '" />';
feedzy-rss-feeds-shortcode.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
  /***************************************************************
3
  * Get an image from the feed
4
  ***************************************************************/
@@ -48,42 +56,49 @@ function feedzy_rss($atts, $content = "") {
48
  "keywords_title" => '' //only display item if title contains specific keywords (comma-separated list/case sensitive)
49
  ), $atts));
50
 
51
- if ($max == '0') {
52
  $max = '999';
53
- } else if (empty($max) || !ctype_digit($max)) {
54
  $max = '5';
55
  }
56
 
57
- if (empty($size) || !ctype_digit($size))
58
  $size = '150';
 
59
 
60
- if (!empty($title) && !ctype_digit($title))
61
  $title = '';
 
62
 
63
- if (!empty($keywords_title))
64
- $keywords_title = array_map('trim', explode(',', $keywords_title));
 
65
 
66
- if (!empty($summarylength) && !ctype_digit($summarylength))
67
  $summarylength = '';
 
68
 
69
- if (!empty($default)) {
70
  $default = $default;
 
71
  } else {
72
  $default = plugins_url('img/feedzy-default.jpg', __FILE__);
73
  }
74
 
75
 
76
 
77
- if (!class_exists('SimplePie'))
78
  require_once(ABSPATH . WPINC . '/class-feed.php');
 
79
 
80
- if (!empty($feeds)) {
81
 
82
- $feedURL = explode(',', $feeds);
83
- $feedURL = array_splice($feedURL, 0, 3);
84
- if (count($feedURL) === 1) {
85
  $feedURL = $feedURL[0];
86
- };
 
87
  }
88
 
89
  //Load SimplePie Instance
@@ -103,6 +118,7 @@ function feedzy_rss($atts, $content = "") {
103
  if ($feed->error()) {
104
 
105
  $content .= '<div id="message" class="error"><p>' . __('Sorry, this feed is currently unavailable or does not exists anymore.', 'feedzy_rss_translate') . '</p></div>';
 
106
  }
107
 
108
  $content .= '<div class="feedzy-rss">';
@@ -112,81 +128,83 @@ function feedzy_rss($atts, $content = "") {
112
  $content .= '<div class="rss_header">';
113
  $content .= '<h2><a href="' . $feed->get_permalink() . '">' . $feed->get_title() . '</a> <span> ' . $feed->get_description() . '</span></h2>';
114
  $content .= '</div>';
 
115
  }
116
 
117
  //Loop through RSS feed
118
- foreach ($feed->get_items() as $item) {
119
 
120
  $continue = true;
121
  //Check if keywords are in title
122
- if (!empty($keywords_title)) {
123
  $continue = false;
124
- foreach ($keywords_title as $keyword) {
125
- if (strpos($item->get_title(), $keyword) !== false) {
126
  $continue = true;
127
  }
128
  }
129
  }
130
 
131
- if ($continue == true) {
132
 
133
  //Count items
134
- if ($count >= $max)
135
  break;
 
136
  $count++;
137
 
138
  //Fetch image thumbnail
139
- if ($thumb == 'yes') {
140
  $thethumbnail = "";
141
 
142
 
143
- if ($enclosures = $item->get_enclosures()) {
144
 
145
- foreach( (array) $enclosures as $enclosure){
146
 
147
  //item thumb
148
- if ($thumbnail = $enclosure->get_thumbnail()) {
149
-
150
  $thethumbnail = $thumbnail;
151
  }
152
 
153
  //media:thumbnail
154
- if (isset($enclosure->thumbnails)) {
155
-
156
- foreach ((array) $enclosure->thumbnails as $thumbnail) {
157
 
 
158
  $thethumbnail = $thumbnail;
159
  }
 
160
  }
161
 
162
  //enclosure
163
- if ($thumbnail = $enclosure->embed()) {
164
 
165
  $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/iU';
166
 
167
- if (preg_match($pattern, $thumbnail, $matches)) {
168
-
169
  $thethumbnail = $matches[0];
170
  }
 
171
  }
172
 
173
  //media:content
174
- foreach ( (array) $enclosure->get_link() as $thumbnail) {
175
 
176
  $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/iU';
177
  $imgsrc = $thumbnail;
178
 
179
 
180
- if (preg_match($pattern, $imgsrc, $matches)) {
181
-
182
  $thethumbnail = $matches[0];
183
  break;
184
  }
 
185
  }
186
 
187
  //break loop if thumbnail found
188
- if ( ! empty( $thethumbnail ) )
189
  break;
 
190
 
191
  }
192
 
@@ -194,11 +212,11 @@ function feedzy_rss($atts, $content = "") {
194
 
195
 
196
  //content image
197
- if (empty($thethumbnail)) {
198
 
199
  $feedDescription = $item->get_content();
200
- $image = feedzy_returnImage($feedDescription);
201
- $thethumbnail = feedzy_scrapeImage($image);
202
 
203
  }
204
 
@@ -206,29 +224,35 @@ function feedzy_rss($atts, $content = "") {
206
  if ( empty( $thethumbnail ) ) {
207
 
208
  $feedDescription = $item->get_description();
209
- $image = feedzy_returnImage($feedDescription);
210
- $thethumbnail = feedzy_scrapeImage($image);
 
211
  }
212
 
213
  }
214
 
215
  //Padding ratio based on image size
216
- $paddinTop = number_format((15 / 150) * $size, 0);
217
- $paddinBottom = number_format((25 / 150) * $size, 0);
218
 
219
  //Build element DOM
220
  $content .= '<div class="rss_item" style="padding: ' . $paddinTop . 'px 0 ' . $paddinBottom . 'px">';
221
- if ($thumb == 'yes') {
 
222
 
223
  $contentThumb = '';
224
 
225
  $contentThumb .= '<div class="rss_image" style="width:' . $size . 'px; height:' . $size . 'px;">';
226
  $contentThumb .= '<a href="' . $item->get_permalink() . '" target="' . $target . '" title="' . $item->get_title() . '" >';
227
 
228
- if (!empty($thethumbnail)) {
 
229
  $contentThumb .= '<span style="width:' . $size . 'px; height:' . $size . 'px; background-image: none, url(' . $thethumbnail . '), url(' . $default . ');" alt="' . $item->get_title() . '"></span/>';
230
- } else if (empty($thethumbnail)) {
 
 
231
  $contentThumb .= '<span style="width:' . $size . 'px; height:' . $size . 'px; background-image:url(' . $default . ');" alt="' . $item->get_title() . '"></span/>';
 
232
  }
233
 
234
  $contentThumb .= '</a>';
@@ -242,12 +266,14 @@ function feedzy_rss($atts, $content = "") {
242
  $contentTitle = '';
243
  $contentTitle .= '<span class="title"><a href="' . $item->get_permalink() . '" target="' . $target . '">';
244
 
245
- if (is_numeric($title) && strlen($item->get_title()) > $title) {
246
 
247
- $contentTitle .= preg_replace('/\s+?(\S+)?$/', '', substr($item->get_title(), 0, $title)) . '...';
 
248
  } else {
249
 
250
  $contentTitle .= $item->get_title();
 
251
  }
252
 
253
  $contentTitle .= '</a></span>';
@@ -257,37 +283,39 @@ function feedzy_rss($atts, $content = "") {
257
 
258
  $content .= '<div class="rss_content">';
259
 
260
- if ($meta == 'yes') {
261
 
262
  $contentMeta = '';
263
- $contentMeta .= '<small>' . __('Posted by', 'feedzy_rss_translate') . ' ';
 
 
264
 
265
- if ($author = $item->get_author()) {
 
266
 
267
- $domain = parse_url($item->get_permalink());
268
- $contentMeta .= '<a href="http://' . $domain["host"] . '" target="' . $target . '" title="' . $domain["host"] . '" >' . $author->get_name() . ' </a>';
269
  }
270
 
271
-
272
- $contentMeta .= __('on', 'feedzy_rss_translate') . ' ' . date_i18n( get_option( 'date_format' ), $item->get_date( 'U' ) ) . ' ' . __('at', 'feedzy_rss_translate') . ' ' . date_i18n( get_option( 'time_format' ), $item->get_date( 'U' ) );
273
  $contentMeta .= '</small>';
274
 
275
  //Filter: feedzy_meta_output
276
  $content .= apply_filters( 'feedzy_meta_output', $contentMeta, $feedURL );
277
 
278
  }
279
- if ($summary == 'yes') {
280
 
281
 
282
  $contentSummary = '';
283
  $contentSummary .= '<p>';
284
 
 
285
  $description = $item->get_description();
286
  $description = apply_filters( 'feedzy_summary_input', $description, $item->get_content(), $feedURL );
287
 
288
- if (is_numeric($summarylength) && strlen($description) > $summarylength) {
289
 
290
- $contentSummary .= preg_replace('/\s+?(\S+)?$/', '', substr($description, 0, $summarylength)) . ' […]';
 
291
  } else {
292
 
293
  $contentSummary .= $description . ' […]';
@@ -299,16 +327,19 @@ function feedzy_rss($atts, $content = "") {
299
  $content .= apply_filters( 'feedzy_summary_output', $contentSummary, $item->get_permalink(), $feedURL );
300
 
301
  }
 
302
  $content .= '</div>';
303
  $content .= '</div>';
 
304
  } //endContinue
 
305
  } //endforeach
306
 
307
  $content .= '</div>';
308
  return apply_filters( 'feedzy_global_output', $content, $feedURL );
309
 
310
  }//end of feedzy_rss
311
- add_shortcode('feedzy-rss', 'feedzy_rss');
312
 
313
 
314
  /***************************************************************
1
  <?php
2
+ /***************************************************************
3
+ * SECURITY : Exit if accessed directly
4
+ ***************************************************************/
5
+ if ( !defined( 'ABSPATH' ) ) {
6
+ die( 'Direct acces not allowed!' );
7
+ }
8
+
9
+
10
  /***************************************************************
11
  * Get an image from the feed
12
  ***************************************************************/
56
  "keywords_title" => '' //only display item if title contains specific keywords (comma-separated list/case sensitive)
57
  ), $atts));
58
 
59
+ if ( $max == '0' ) {
60
  $max = '999';
61
+ } else if ( empty( $max ) || !ctype_digit( $max ) ) {
62
  $max = '5';
63
  }
64
 
65
+ if ( empty( $size ) || !ctype_digit( $size ) ){
66
  $size = '150';
67
+ }
68
 
69
+ if ( !empty( $title ) && !ctype_digit( $title ) ){
70
  $title = '';
71
+ }
72
 
73
+ if ( !empty($keywords_title)){
74
+ $keywords_title = array_map( 'trim', explode( ',', $keywords_title ) );
75
+ }
76
 
77
+ if ( !empty( $summarylength ) && !ctype_digit( $summarylength ) ){
78
  $summarylength = '';
79
+ }
80
 
81
+ if ( !empty( $default ) ) {
82
  $default = $default;
83
+
84
  } else {
85
  $default = plugins_url('img/feedzy-default.jpg', __FILE__);
86
  }
87
 
88
 
89
 
90
+ if ( !class_exists( 'SimplePie' ) ){
91
  require_once(ABSPATH . WPINC . '/class-feed.php');
92
+ }
93
 
94
+ if ( !empty( $feeds ) ) {
95
 
96
+ $feedURL = explode( ',', $feeds );
97
+ $feedURL = array_splice( $feedURL, 0, 3 );
98
+ if ( count( $feedURL ) === 1 ) {
99
  $feedURL = $feedURL[0];
100
+ }
101
+
102
  }
103
 
104
  //Load SimplePie Instance
118
  if ($feed->error()) {
119
 
120
  $content .= '<div id="message" class="error"><p>' . __('Sorry, this feed is currently unavailable or does not exists anymore.', 'feedzy_rss_translate') . '</p></div>';
121
+
122
  }
123
 
124
  $content .= '<div class="feedzy-rss">';
128
  $content .= '<div class="rss_header">';
129
  $content .= '<h2><a href="' . $feed->get_permalink() . '">' . $feed->get_title() . '</a> <span> ' . $feed->get_description() . '</span></h2>';
130
  $content .= '</div>';
131
+
132
  }
133
 
134
  //Loop through RSS feed
135
+ foreach ( $feed->get_items() as $item ) {
136
 
137
  $continue = true;
138
  //Check if keywords are in title
139
+ if ( !empty( $keywords_title ) ) {
140
  $continue = false;
141
+ foreach ( $keywords_title as $keyword ) {
142
+ if ( strpos( $item->get_title(), $keyword ) !== false ) {
143
  $continue = true;
144
  }
145
  }
146
  }
147
 
148
+ if ( $continue == true ) {
149
 
150
  //Count items
151
+ if ( $count >= $max ){
152
  break;
153
+ }
154
  $count++;
155
 
156
  //Fetch image thumbnail
157
+ if ( $thumb == 'yes' ) {
158
  $thethumbnail = "";
159
 
160
 
161
+ if ( $enclosures = $item->get_enclosures() ) {
162
 
163
+ foreach( (array) $enclosures as $enclosure ){
164
 
165
  //item thumb
166
+ if ( $thumbnail = $enclosure->get_thumbnail() ) {
 
167
  $thethumbnail = $thumbnail;
168
  }
169
 
170
  //media:thumbnail
171
+ if ( isset( $enclosure->thumbnails ) ) {
 
 
172
 
173
+ foreach ( (array) $enclosure->thumbnails as $thumbnail ) {
174
  $thethumbnail = $thumbnail;
175
  }
176
+
177
  }
178
 
179
  //enclosure
180
+ if ( $thumbnail = $enclosure->embed() ) {
181
 
182
  $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/iU';
183
 
184
+ if ( preg_match( $pattern, $thumbnail, $matches ) ) {
 
185
  $thethumbnail = $matches[0];
186
  }
187
+
188
  }
189
 
190
  //media:content
191
+ foreach ( (array) $enclosure->get_link() as $thumbnail ) {
192
 
193
  $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/iU';
194
  $imgsrc = $thumbnail;
195
 
196
 
197
+ if ( preg_match( $pattern, $imgsrc, $matches ) ) {
 
198
  $thethumbnail = $matches[0];
199
  break;
200
  }
201
+
202
  }
203
 
204
  //break loop if thumbnail found
205
+ if ( ! empty( $thethumbnail ) ) {
206
  break;
207
+ }
208
 
209
  }
210
 
212
 
213
 
214
  //content image
215
+ if ( empty( $thethumbnail ) ) {
216
 
217
  $feedDescription = $item->get_content();
218
+ $image = feedzy_returnImage( $feedDescription );
219
+ $thethumbnail = feedzy_scrapeImage( $image );
220
 
221
  }
222
 
224
  if ( empty( $thethumbnail ) ) {
225
 
226
  $feedDescription = $item->get_description();
227
+ $image = feedzy_returnImage( $feedDescription );
228
+ $thethumbnail = feedzy_scrapeImage( $image );
229
+
230
  }
231
 
232
  }
233
 
234
  //Padding ratio based on image size
235
+ $paddinTop = number_format( (15 / 150) * $size, 0 );
236
+ $paddinBottom = number_format( (25 / 150) * $size, 0 );
237
 
238
  //Build element DOM
239
  $content .= '<div class="rss_item" style="padding: ' . $paddinTop . 'px 0 ' . $paddinBottom . 'px">';
240
+
241
+ if ( $thumb == 'yes' ) {
242
 
243
  $contentThumb = '';
244
 
245
  $contentThumb .= '<div class="rss_image" style="width:' . $size . 'px; height:' . $size . 'px;">';
246
  $contentThumb .= '<a href="' . $item->get_permalink() . '" target="' . $target . '" title="' . $item->get_title() . '" >';
247
 
248
+ if ( !empty( $thethumbnail )) {
249
+
250
  $contentThumb .= '<span style="width:' . $size . 'px; height:' . $size . 'px; background-image: none, url(' . $thethumbnail . '), url(' . $default . ');" alt="' . $item->get_title() . '"></span/>';
251
+
252
+ } else if ( empty( $thethumbnail ) ) {
253
+
254
  $contentThumb .= '<span style="width:' . $size . 'px; height:' . $size . 'px; background-image:url(' . $default . ');" alt="' . $item->get_title() . '"></span/>';
255
+
256
  }
257
 
258
  $contentThumb .= '</a>';
266
  $contentTitle = '';
267
  $contentTitle .= '<span class="title"><a href="' . $item->get_permalink() . '" target="' . $target . '">';
268
 
269
+ if ( is_numeric( $title ) && strlen( $item->get_title() ) > $title ) {
270
 
271
+ $contentTitle .= preg_replace( '/\s+?(\S+)?$/', '', substr( $item->get_title(), 0, $title ) ) . '...';
272
+
273
  } else {
274
 
275
  $contentTitle .= $item->get_title();
276
+
277
  }
278
 
279
  $contentTitle .= '</a></span>';
283
 
284
  $content .= '<div class="rss_content">';
285
 
286
+ if ( $meta == 'yes' ) {
287
 
288
  $contentMeta = '';
289
+ $contentMeta .= '<small>' . __( 'Posted', 'feedzy_rss_translate' ) . ' ';
290
+
291
+ if ( $author = $item->get_author() ) {
292
 
293
+ $domain = parse_url( $item->get_permalink() );
294
+ $contentMeta .= __( 'by', 'feedzy_rss_translate' ) . ' <a href="http://' . $domain['host'] . '" target="' . $target . '" title="' . $domain['host'] . '" >' . $author->get_name() . '</a> ';
295
 
 
 
296
  }
297
 
298
+ $contentMeta .= __( 'on', 'feedzy_rss_translate') . ' ' . date_i18n( get_option( 'date_format' ), $item->get_date( 'U' ) ) . ' ' . __( 'at', 'feedzy_rss_translate' ) . ' ' . date_i18n( get_option( 'time_format' ), $item->get_date( 'U' ) );
 
299
  $contentMeta .= '</small>';
300
 
301
  //Filter: feedzy_meta_output
302
  $content .= apply_filters( 'feedzy_meta_output', $contentMeta, $feedURL );
303
 
304
  }
305
+ if ( $summary == 'yes' ) {
306
 
307
 
308
  $contentSummary = '';
309
  $contentSummary .= '<p>';
310
 
311
+ //Filter: feedzy_summary_input
312
  $description = $item->get_description();
313
  $description = apply_filters( 'feedzy_summary_input', $description, $item->get_content(), $feedURL );
314
 
315
+ if ( is_numeric( $summarylength ) && strlen( $description ) > $summarylength ) {
316
 
317
+ $contentSummary .= preg_replace( '/\s+?(\S+)?$/', '', substr( $description, 0, $summarylength ) ) . ' […]';
318
+
319
  } else {
320
 
321
  $contentSummary .= $description . ' […]';
327
  $content .= apply_filters( 'feedzy_summary_output', $contentSummary, $item->get_permalink(), $feedURL );
328
 
329
  }
330
+
331
  $content .= '</div>';
332
  $content .= '</div>';
333
+
334
  } //endContinue
335
+
336
  } //endforeach
337
 
338
  $content .= '</div>';
339
  return apply_filters( 'feedzy_global_output', $content, $feedURL );
340
 
341
  }//end of feedzy_rss
342
+ add_shortcode( 'feedzy-rss', 'feedzy_rss' );
343
 
344
 
345
  /***************************************************************
feedzy-rss-feeds-ui-lang.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
  /***************************************************************
3
  * Translation for TinyMCE
4
  ***************************************************************/
1
  <?php
2
+ /***************************************************************
3
+ * SECURITY : Exit if accessed directly
4
+ ***************************************************************/
5
+ if ( !defined( 'ABSPATH' ) ) {
6
+ die( 'Direct acces not allowed!' );
7
+ }
8
+
9
+
10
  /***************************************************************
11
  * Translation for TinyMCE
12
  ***************************************************************/
feedzy-rss-feeds-ui.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
  /***************************************************************
3
  * Hooks custom TinyMCE button function
4
  ***************************************************************/
1
  <?php
2
+ /***************************************************************
3
+ * SECURITY : Exit if accessed directly
4
+ ***************************************************************/
5
+ if ( !defined( 'ABSPATH' ) ) {
6
+ die( 'Direct acces not allowed!' );
7
+ }
8
+
9
+
10
  /***************************************************************
11
  * Hooks custom TinyMCE button function
12
  ***************************************************************/
feedzy-rss-feeds-widget.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
  /***************************************************************
3
  * Load the Widget options
4
  ***************************************************************/
1
  <?php
2
+ /***************************************************************
3
+ * SECURITY : Exit if accessed directly
4
+ ***************************************************************/
5
+ if ( !defined( 'ABSPATH' ) ) {
6
+ die( 'Direct acces not allowed!' );
7
+ }
8
+
9
+
10
  /***************************************************************
11
  * Load the Widget options
12
  ***************************************************************/
img/icon-bweb.svg DELETED
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
- <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
- width="850.39px" height="850.39px" viewBox="0 0 850.39 850.39" enable-background="new 0 0 850.39 850.39" xml:space="preserve">
6
- <path fill="#DC363B" d="M424.78,0.589C190.447,0.589,0.482,190.554,0.482,424.887c0,234.333,189.965,424.298,424.298,424.298
7
- c234.333,0,424.297-189.965,424.297-424.298C849.078,190.554,659.113,0.589,424.78,0.589z M702.785,318.275
8
- c-11.24,9.729-34.131,21.508-68.65,35.322c-23.918,9.533-38.666,17.224-44.242,23.076c-5.574,5.841-8.277,16.263-8.104,31.271
9
- c0.99,21.921,8.318,51.36,22.006,88.31c13.688,36.934,22.533,64.604,26.541,82.984c1.656,8.002,0.635,15.938-3.068,23.807
10
- c-3.699,7.857-9.555,14.082-17.596,18.67c-10.541,6.564-23.846,6.854-39.902,0.885c-16.061-5.977-42.666-21.096-79.832-45.355
11
- c-2.139-1.24-5.014-3.037-8.635-5.418c-11.445-7.875-19.645-13.486-24.619-16.84c-4.977-3.365-11.771-7.178-20.375-11.447
12
- c-8.607-4.279-14.279-7.232-17.02-8.855c-2.731-1.635-7.56-2.771-14.483-3.426c-6.92-0.66-11.457-0.877-13.599-0.633
13
- c-2.141,0.223-6.675,2.051-13.59,5.469c-6.92,3.406-11.759,6.494-14.527,9.262c-2.768,2.756-8.338,7.881-16.714,15.357
14
- c-8.372,7.467-14.986,13.838-19.849,19.129c-4.858,5.277-12.864,13.77-24.02,25.479c-3.745,4.109-6.552,7.197-8.423,9.258
15
- c-10.437,11.129-18.385,19.137-23.846,24.025c-5.462,4.879-10.796,9.383-16.003,13.488c-5.203,4.096-10.063,5.877-14.553,5.354
16
- c-4.492-0.537-8.934-1.555-13.313-3.043c-4.375-1.504-10.734-4.201-19.06-8.121c-16.212-8.762-26.084-16.115-29.613-22.063
17
- c-3.521-5.959-3.563-15.244-0.115-27.852c1.917-7.92,8.024-18.262,18.329-31.031c10.305-12.787,21.383-23.834,33.231-33.174
18
- c34.839-27.451,52.71-47.795,53.629-61.029c0.913-13.248-14.33-24.658-45.751-34.238c-20.731-6.363-35.218-12.56-43.455-18.579
19
- c-8.241-6.031-12.895-14.148-13.958-24.364c-2.42-20.795,3.207-36.006,16.884-45.607c13.675-9.618,32.229-11.729,55.684-6.34
20
- c12.335,3.081,24.446,4.6,36.332,4.553c11.887-0.065,19.903-1.716,24.027-4.966c4.132-3.255,12.937-16.455,26.424-39.594
21
- c13.49-23.153,27.66-49.299,42.511-78.464c20.869-41.483,36.889-69.531,48.067-84.153c11.172-14.63,21.615-21.7,31.32-21.19
22
- c13.639,0.305,26.379,6.134,38.219,17.472c11.84,11.321,17.072,22.778,15.705,34.336c-1.428,9.269,3.594,30.046,15.07,62.337
23
- c10.363,27.92,22.086,43.713,35.16,47.386c13.076,3.664,35.197-2.42,66.377-18.257c21.139-10.845,38.715-14.216,52.715-10.107
24
- c14.006,4.093,23.828,15.277,29.479,33.529C717.632,297.406,714.033,308.539,702.785,318.275z"/>
25
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 by b*web v2.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2015-01-12 20:00:07+0000\n"
7
  "Last-Translator: superadminopl <brice.capobianco@openlog.fr>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -20,22 +20,17 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
- #: feedzy-rss-feeds-shortcode.php:105
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-feeds-shortcode.php:263
29
- #@ feedzy_rss_translate
30
- msgid "Posted by"
31
- msgstr "Publié par"
32
-
33
- #: feedzy-rss-feeds-shortcode.php:272
34
  #@ feedzy_rss_translate
35
  msgid "on"
36
  msgstr "le"
37
 
38
- #: feedzy-rss-feeds-shortcode.php:272
39
  #@ feedzy_rss_translate
40
  msgid "at"
41
  msgstr "à"
@@ -50,93 +45,93 @@ msgstr "Documentation et exemples"
50
  msgid "More b*web Plugins"
51
  msgstr "Plus de plugins b*web"
52
 
53
- #: feedzy-rss-feeds-ui-lang.php:11
54
  #@ feedzy_rss_translate
55
  msgid "Insert FEEDZY RSS Feeds Shortcode"
56
  msgstr "Insérer un shortcode FEEDZY RSS Feeds"
57
 
58
- #: feedzy-rss-feeds-ui-lang.php:13
59
- #: feedzy-rss-feeds-widget.php:61
60
  #@ feedzy_rss_translate
61
  msgid "Number of items to display."
62
  msgstr "Nombre d’éléments à remonter."
63
 
64
- #: feedzy-rss-feeds-ui-lang.php:15
65
- #: feedzy-rss-feeds-widget.php:65
66
  #@ feedzy_rss_translate
67
  msgid "Links may be opened in the same window or a new tab."
68
  msgstr "Les liens peuvent être ouverts dans la même fenêtre ou dans un nouvel onglet."
69
 
70
- #: feedzy-rss-feeds-ui-lang.php:16
71
- #: feedzy-rss-feeds-widget.php:76
72
  #@ feedzy_rss_translate
73
  msgid "Trim the title of the item after X characters."
74
  msgstr "Rogner le titre de l’élément après X caractères."
75
 
76
- #: feedzy-rss-feeds-ui-lang.php:17
77
- #: feedzy-rss-feeds-widget.php:81
78
  #@ feedzy_rss_translate
79
  msgid "Should we display the date of publication and the author name?"
80
  msgstr "Doit-on afficher la date de publication ainsi que le nom de l’auteur de l’élément ?"
81
 
82
- #: feedzy-rss-feeds-ui-lang.php:18
83
- #: feedzy-rss-feeds-widget.php:85
84
  #@ feedzy_rss_translate
85
  msgid "Should we display a description (abstract) of the retrieved item?"
86
  msgstr "Doit-on afficher la description (le résumé) de l’élément ?"
87
 
88
- #: feedzy-rss-feeds-ui-lang.php:19
89
- #: feedzy-rss-feeds-widget.php:88
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-feeds-widget.php:93
96
  #@ feedzy_rss_translate
97
  msgid "Should we display the first image of the content if it is available?"
98
  msgstr "Doit-on afficher la première image du contenu si elle est disponible ?"
99
 
100
- #: feedzy-rss-feeds-ui-lang.php:21
101
- #: feedzy-rss-feeds-widget.php:96
102
  #@ feedzy_rss_translate
103
  msgid "Default thumbnail URL if no image is found."
104
  msgstr "URL de la miniature par défaut si aucune image n’est trouvée."
105
 
106
- #: feedzy-rss-feeds-ui-lang.php:22
107
- #: feedzy-rss-feeds-widget.php:100
108
  #@ feedzy_rss_translate
109
  msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
110
  msgstr "Dimensions de la miniature. Ne pas inclure “px”. Ex : 150"
111
 
112
- #: feedzy-rss-feeds-ui-lang.php:23
113
- #: feedzy-rss-feeds-widget.php:104
114
  #@ feedzy_rss_translate
115
  msgid "Only display item if title contains specific keyword(s) (comma-separated list/case sensitive)."
116
  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)"
117
 
118
- #: feedzy-rss-feeds-ui-lang.php:24
119
  #@ feedzy_rss_translate
120
  msgid "Do not specify"
121
  msgstr "Ne pas préciser"
122
 
123
- #: feedzy-rss-feeds-ui-lang.php:25
124
  #@ feedzy_rss_translate
125
  msgid "No"
126
  msgstr "Non"
127
 
128
- #: feedzy-rss-feeds-ui-lang.php:26
129
  #@ feedzy_rss_translate
130
  msgid "Yes"
131
  msgstr "Oui"
132
 
133
- #: feedzy-rss-feeds-ui-lang.php:12
134
- #: feedzy-rss-feeds-widget.php:57
135
  #@ feedzy_rss_translate
136
  msgid "The feed(s) URL (comma-separated list)."
137
  msgstr "URL(s) du(des) flux RSS (liste séparée par des virgules)."
138
 
139
- #: feedzy-rss-feeds-ui-lang.php:14
140
  #@ feedzy_rss_translate
141
  msgid "Should we display the RSS title?"
142
  msgstr "Doit-on afficher le titre du flux RSS ?"
@@ -171,29 +166,39 @@ msgstr ""
171
  msgid "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
172
  msgstr "http://b-website.com/feedzy-rss-feeds-plugin-wordpress-gratuit-utilisant-simplepie"
173
 
174
- #: feedzy-rss-feeds-widget.php:10
175
  #@ feedzy_wp_widget
176
  msgid "Feedzy RSS Feeds"
177
  msgstr ""
178
 
179
- #: feedzy-rss-feeds-widget.php:49
180
  #@ feedzy_rss_translate
181
  msgid "Widget Title"
182
  msgstr "Titre du Widget"
183
 
184
- #: feedzy-rss-feeds-widget.php:53
185
  #@ feedzy_rss_translate
186
  msgid "Intro text"
187
  msgstr "Texte d'intro"
188
 
 
 
 
 
 
189
  #. translators: plugin header field 'Version'
190
  #: feedzy-rss-feed.php:0
191
  #@ feedzy_rss_translate
192
- msgid "2.1"
193
  msgstr ""
194
 
195
- #: feedzy-rss-feed.php:39
196
- #@ default
197
- msgid "Donate to this plugin &#187;"
198
- msgstr ""
 
 
 
 
 
199
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: FEEDZY RSS Feeds by b*web v2.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2015-01-13 19:51:14+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-feeds-shortcode.php:120
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-feeds-shortcode.php:298
 
 
 
 
 
29
  #@ feedzy_rss_translate
30
  msgid "on"
31
  msgstr "le"
32
 
33
+ #: feedzy-rss-feeds-shortcode.php:298
34
  #@ feedzy_rss_translate
35
  msgid "at"
36
  msgstr "à"
45
  msgid "More b*web Plugins"
46
  msgstr "Plus de plugins b*web"
47
 
48
+ #: feedzy-rss-feeds-ui-lang.php:19
49
  #@ feedzy_rss_translate
50
  msgid "Insert FEEDZY RSS Feeds Shortcode"
51
  msgstr "Insérer un shortcode FEEDZY RSS Feeds"
52
 
53
+ #: feedzy-rss-feeds-ui-lang.php:21
54
+ #: feedzy-rss-feeds-widget.php:69
55
  #@ feedzy_rss_translate
56
  msgid "Number of items to display."
57
  msgstr "Nombre d’éléments à remonter."
58
 
59
+ #: feedzy-rss-feeds-ui-lang.php:23
60
+ #: feedzy-rss-feeds-widget.php:73
61
  #@ feedzy_rss_translate
62
  msgid "Links may be opened in the same window or a new tab."
63
  msgstr "Les liens peuvent être ouverts dans la même fenêtre ou dans un nouvel onglet."
64
 
65
+ #: feedzy-rss-feeds-ui-lang.php:24
66
+ #: feedzy-rss-feeds-widget.php:84
67
  #@ feedzy_rss_translate
68
  msgid "Trim the title of the item after X characters."
69
  msgstr "Rogner le titre de l’élément après X caractères."
70
 
71
+ #: feedzy-rss-feeds-ui-lang.php:25
72
+ #: feedzy-rss-feeds-widget.php:89
73
  #@ feedzy_rss_translate
74
  msgid "Should we display the date of publication and the author name?"
75
  msgstr "Doit-on afficher la date de publication ainsi que le nom de l’auteur de l’élément ?"
76
 
77
+ #: feedzy-rss-feeds-ui-lang.php:26
78
+ #: feedzy-rss-feeds-widget.php:93
79
  #@ feedzy_rss_translate
80
  msgid "Should we display a description (abstract) of the retrieved item?"
81
  msgstr "Doit-on afficher la description (le résumé) de l’élément ?"
82
 
83
+ #: feedzy-rss-feeds-ui-lang.php:27
84
+ #: feedzy-rss-feeds-widget.php:96
85
  #@ feedzy_rss_translate
86
  msgid "Crop description (summary) of the element after X characters."
87
  msgstr "Rogner la description (le résumé) de l’élément après X caractères."
88
 
89
+ #: feedzy-rss-feeds-ui-lang.php:28
90
+ #: feedzy-rss-feeds-widget.php:101
91
  #@ feedzy_rss_translate
92
  msgid "Should we display the first image of the content if it is available?"
93
  msgstr "Doit-on afficher la première image du contenu si elle est disponible ?"
94
 
95
+ #: feedzy-rss-feeds-ui-lang.php:29
96
+ #: feedzy-rss-feeds-widget.php:104
97
  #@ feedzy_rss_translate
98
  msgid "Default thumbnail URL if no image is found."
99
  msgstr "URL de la miniature par défaut si aucune image n’est trouvée."
100
 
101
+ #: feedzy-rss-feeds-ui-lang.php:30
102
+ #: feedzy-rss-feeds-widget.php:108
103
  #@ feedzy_rss_translate
104
  msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
105
  msgstr "Dimensions de la miniature. Ne pas inclure “px”. Ex : 150"
106
 
107
+ #: feedzy-rss-feeds-ui-lang.php:31
108
+ #: feedzy-rss-feeds-widget.php:112
109
  #@ feedzy_rss_translate
110
  msgid "Only display item if title contains specific keyword(s) (comma-separated list/case sensitive)."
111
  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)"
112
 
113
+ #: feedzy-rss-feeds-ui-lang.php:32
114
  #@ feedzy_rss_translate
115
  msgid "Do not specify"
116
  msgstr "Ne pas préciser"
117
 
118
+ #: feedzy-rss-feeds-ui-lang.php:33
119
  #@ feedzy_rss_translate
120
  msgid "No"
121
  msgstr "Non"
122
 
123
+ #: feedzy-rss-feeds-ui-lang.php:34
124
  #@ feedzy_rss_translate
125
  msgid "Yes"
126
  msgstr "Oui"
127
 
128
+ #: feedzy-rss-feeds-ui-lang.php:20
129
+ #: feedzy-rss-feeds-widget.php:65
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:22
135
  #@ feedzy_rss_translate
136
  msgid "Should we display the RSS title?"
137
  msgstr "Doit-on afficher le titre du flux RSS ?"
166
  msgid "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
167
  msgstr "http://b-website.com/feedzy-rss-feeds-plugin-wordpress-gratuit-utilisant-simplepie"
168
 
169
+ #: feedzy-rss-feeds-widget.php:18
170
  #@ feedzy_wp_widget
171
  msgid "Feedzy RSS Feeds"
172
  msgstr ""
173
 
174
+ #: feedzy-rss-feeds-widget.php:57
175
  #@ feedzy_rss_translate
176
  msgid "Widget Title"
177
  msgstr "Titre du Widget"
178
 
179
+ #: feedzy-rss-feeds-widget.php:61
180
  #@ feedzy_rss_translate
181
  msgid "Intro text"
182
  msgstr "Texte d'intro"
183
 
184
+ #: feedzy-rss-feed.php:39
185
+ #@ default
186
+ msgid "Donate to this plugin &#187;"
187
+ msgstr ""
188
+
189
  #. translators: plugin header field 'Version'
190
  #: feedzy-rss-feed.php:0
191
  #@ feedzy_rss_translate
192
+ msgid "2.2"
193
  msgstr ""
194
 
195
+ #: feedzy-rss-feeds-shortcode.php:289
196
+ #@ feedzy_rss_translate
197
+ msgid "Posted"
198
+ msgstr "Posté"
199
+
200
+ #: feedzy-rss-feeds-shortcode.php:294
201
+ #@ feedzy_rss_translate
202
+ msgid "by"
203
+ msgstr "par"
204
 
langs/feedzy_rss_translate-sr_RS.mo CHANGED
Binary file
langs/feedzy_rss_translate-sr_RS.po CHANGED
@@ -1,179 +1,204 @@
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-12-01 20:36+0100\n"
7
- "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n>1;\n"
13
- "X-Generator: Poedit 1.5.4\n"
14
- "X-Poedit-SourceCharset: utf-8\n"
15
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
- "_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"
17
- "X-Textdomain-Support: yes\n"
18
- "Language: fr_FR\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- # @ feedzy_rss_translate
22
- #: feedzy-rss-feed.php:188
23
- msgid "Sorry, this feed is currently unavailable or does not exists anymore."
24
- msgstr "Žao nam je, ovo polje trenutno nije dostupno ili više ne postoji."
25
-
26
- # @ feedzy_rss_translate
27
- #: feedzy-rss-feed.php:336
28
- msgid "Posted by"
29
- msgstr "Objavio"
30
-
31
- # @ feedzy_rss_translate
32
- #: feedzy-rss-feed.php:345
33
- msgid "on"
34
- msgstr "na"
35
-
36
- # @ feedzy_rss_translate
37
- #: feedzy-rss-feed.php:345
38
- msgid "at"
39
- msgstr "u"
40
-
41
- # @ feedzy_rss_translate
42
- #: feedzy-rss-feed.php:47
43
- msgid "Documentation and examples"
44
- msgstr "Dokumentacija i primeri"
45
-
46
- # @ feedzy_rss_translate
47
- #: feedzy-rss-feed.php:48
48
- msgid "More b*web Plugins"
49
- msgstr "Više b*web Plugin-ova"
50
-
51
- # @ feedzy_rss_translate
52
- #: feedzy-rss-feed.php:49
53
- msgid "Donate"
54
- msgstr "Donirajte"
55
-
56
- # @ feedzy_rss_translate
57
- #: feedzy-rss-feeds-ui-lang.php:11
58
- msgid "Insert FEEDZY RSS Feeds Shortcode"
59
- msgstr "Unesite FEEDZY RSS Feeds Shortcode"
60
-
61
- # @ feedzy_rss_translate
62
- #: feedzy-rss-feeds-ui-lang.php:13
63
- msgid "Number of items to display."
64
- msgstr "Broj stavki za prikazivanje"
65
-
66
- # @ feedzy_rss_translate
67
- #: feedzy-rss-feeds-ui-lang.php:15
68
- msgid "Links may be opened in the same window or a new tab."
69
- msgstr "Linkovi mogu biti otvoreni u istom prozoru ili u novom tabulatoru."
70
-
71
- # @ feedzy_rss_translate
72
- #: feedzy-rss-feeds-ui-lang.php:16
73
- msgid "Trim the title of the item after X characters."
74
- msgstr "Skratite naslov stavke posle X karaktera."
75
-
76
- # @ feedzy_rss_translate
77
- #: feedzy-rss-feeds-ui-lang.php:17
78
- msgid "Should we display the date of publication and the author name?"
79
- msgstr "Treba li da prikažemo datum publikacije i ime autora?"
80
-
81
- # @ feedzy_rss_translate
82
- #: feedzy-rss-feeds-ui-lang.php:18
83
- msgid "Should we display a description (abstract) of the retrieved item?"
84
- msgstr "Treba li da prikažemo opis (siže) dobavljene stavke?"
85
-
86
- # @ feedzy_rss_translate
87
- #: feedzy-rss-feeds-ui-lang.php:19
88
- msgid "Crop description (summary) of the element after X characters."
89
- msgstr "Kropuj opis (siže) elementa posle X karaktera."
90
-
91
- # @ feedzy_rss_translate
92
- #: feedzy-rss-feeds-ui-lang.php:20
93
- msgid "Should we display the first image of the content if it is available?"
94
- msgstr "Treba li da prikažemo prvu sliku sadržaja ako je raspoloživa?"
95
-
96
- # @ feedzy_rss_translate
97
- #: feedzy-rss-feeds-ui-lang.php:21
98
- msgid "Default thumbnail URL if no image is found."
99
- msgstr "URL podrazumevane sličice ako nije pronađena nijedna slika."
100
-
101
- # @ feedzy_rss_translate
102
- #: feedzy-rss-feeds-ui-lang.php:22
103
- msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
104
- msgstr "Dimenzije sličice. Nemojte unositi \"px\". Npr. 150"
105
-
106
- # @ feedzy_rss_translate
107
- #: feedzy-rss-feeds-ui-lang.php:23
108
- msgid ""
109
- "Only display item if title contains specific keyword(s) (comma-separated "
110
- "list/case sensitive)."
111
- msgstr ""
112
- "Prikaži stavku samo ako naslov sadrži specifične ključne reči (odvojene "
113
- "zarezima/osetljive na velika i mala slova)."
114
-
115
- # @ feedzy_rss_translate
116
- #: feedzy-rss-feeds-ui-lang.php:24
117
- msgid "Do not specify"
118
- msgstr "Nemoj određivati"
119
-
120
- # @ feedzy_rss_translate
121
- #: feedzy-rss-feeds-ui-lang.php:25
122
- msgid "No"
123
- msgstr "Ne"
124
-
125
- # @ feedzy_rss_translate
126
- #: feedzy-rss-feeds-ui-lang.php:26
127
- msgid "Yes"
128
- msgstr "Da"
129
-
130
- # @ feedzy_rss_translate
131
- #: feedzy-rss-feeds-ui-lang.php:12
132
- msgid "The feed(s) URL (comma-separated list)."
133
- msgstr "URL feed-ova (odvojenih zarezima ako je lista)."
134
-
135
- # @ feedzy_rss_translate
136
- #: feedzy-rss-feeds-ui-lang.php:14
137
- msgid "Should we display the RSS title?"
138
- msgstr "Treba li da prikažemo RSS naslov?"
139
-
140
- # @ feedzy_rss_translate
141
- #. translators: plugin header field 'Name'
142
- #: feedzy-rss-feed.php:0
143
- msgid "FEEDZY RSS Feeds by b*web"
144
- msgstr "FEEDZY RSS Feeds, autor b*web"
145
-
146
- # @ feedzy_rss_translate
147
- #. translators: plugin header field 'Description'
148
- #: feedzy-rss-feed.php:0
149
- msgid ""
150
- "FEEDZY RSS Feeds is a small and lightweight plugin. Fast and easy to use, it "
151
- "aggregates RSS feeds into your WordPress site through simple shortcodes."
152
- msgstr ""
153
- "FEEDZY RSS Feeds je mali i lagan plugin. Brz i jednostavan za upotrebu, "
154
- "sakuplja RSS feed-ove na vaš WordPress site uz pomoć jednostavnih shortcode-"
155
- "ova."
156
-
157
- # @ feedzy_rss_translate
158
- #. translators: plugin header field 'Author'
159
- #: feedzy-rss-feed.php:0
160
- msgid "Brice CAPOBIANCO"
161
- msgstr "Brice CAPOBIANCO"
162
-
163
- # @ feedzy_rss_translate
164
- #. translators: plugin header field 'AuthorURI'
165
- #: feedzy-rss-feed.php:0
166
- msgid "http://b-website.com/"
167
- msgstr "http://b-website.com/"
168
-
169
- # @ feedzy_rss_translate
170
- #. translators: plugin header field 'Version'
171
- #: feedzy-rss-feed.php:0
172
- msgid "1.5.2"
173
- msgstr "1.5.2"
174
-
175
- # @ feedzy_rss_translate
176
- #. translators: plugin header field 'PluginURI'
177
- #: feedzy-rss-feed.php:0
178
- msgid "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
179
- msgstr "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: FEEDZY RSS Feeds by b*web v2.2.1\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2015-01-13 19:54:39+0000\n"
7
+ "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Generator: Poedit 1.5.4\n"
14
+ "X-Poedit-Language: \n"
15
+ "X-Poedit-Country: \n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "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"
18
+ "X-Poedit-Basepath: \n"
19
+ "X-Poedit-Bookmarks: \n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Textdomain-Support: yes"
22
+
23
+ #: feedzy-rss-feeds-shortcode.php:120
24
+ #@ feedzy_rss_translate
25
+ msgid "Sorry, this feed is currently unavailable or does not exists anymore."
26
+ msgstr "Žao nam je, ovo polje trenutno nije dostupno ili više ne postoji."
27
+
28
+ #: feedzy-rss-feeds-shortcode.php:298
29
+ #@ feedzy_rss_translate
30
+ msgid "on"
31
+ msgstr "na"
32
+
33
+ #: feedzy-rss-feeds-shortcode.php:298
34
+ #@ feedzy_rss_translate
35
+ msgid "at"
36
+ msgstr "u"
37
+
38
+ #: feedzy-rss-feed.php:37
39
+ #@ feedzy_rss_translate
40
+ msgid "Documentation and examples"
41
+ msgstr "Dokumentacija i primeri"
42
+
43
+ #: feedzy-rss-feed.php:38
44
+ #@ feedzy_rss_translate
45
+ msgid "More b*web Plugins"
46
+ msgstr "Više b*web Plugin-ova"
47
+
48
+ #: feedzy-rss-feeds-ui-lang.php:19
49
+ #@ feedzy_rss_translate
50
+ msgid "Insert FEEDZY RSS Feeds Shortcode"
51
+ msgstr "Unesite FEEDZY RSS Feeds Shortcode"
52
+
53
+ #: feedzy-rss-feeds-ui-lang.php:21
54
+ #: feedzy-rss-feeds-widget.php:69
55
+ #@ feedzy_rss_translate
56
+ msgid "Number of items to display."
57
+ msgstr "Broj stavki za prikazivanje"
58
+
59
+ #: feedzy-rss-feeds-ui-lang.php:23
60
+ #: feedzy-rss-feeds-widget.php:73
61
+ #@ feedzy_rss_translate
62
+ msgid "Links may be opened in the same window or a new tab."
63
+ msgstr "Linkovi mogu biti otvoreni u istom prozoru ili u novom tabulatoru."
64
+
65
+ #: feedzy-rss-feeds-ui-lang.php:24
66
+ #: feedzy-rss-feeds-widget.php:84
67
+ #@ feedzy_rss_translate
68
+ msgid "Trim the title of the item after X characters."
69
+ msgstr "Skratite naslov stavke posle X karaktera."
70
+
71
+ #: feedzy-rss-feeds-ui-lang.php:25
72
+ #: feedzy-rss-feeds-widget.php:89
73
+ #@ feedzy_rss_translate
74
+ msgid "Should we display the date of publication and the author name?"
75
+ msgstr "Treba li da prikažemo datum publikacije i ime autora?"
76
+
77
+ #: feedzy-rss-feeds-ui-lang.php:26
78
+ #: feedzy-rss-feeds-widget.php:93
79
+ #@ feedzy_rss_translate
80
+ msgid "Should we display a description (abstract) of the retrieved item?"
81
+ msgstr "Treba li da prikažemo opis (siže) dobavljene stavke?"
82
+
83
+ #: feedzy-rss-feeds-ui-lang.php:27
84
+ #: feedzy-rss-feeds-widget.php:96
85
+ #@ feedzy_rss_translate
86
+ msgid "Crop description (summary) of the element after X characters."
87
+ msgstr "Kropuj opis (siže) elementa posle X karaktera."
88
+
89
+ #: feedzy-rss-feeds-ui-lang.php:28
90
+ #: feedzy-rss-feeds-widget.php:101
91
+ #@ feedzy_rss_translate
92
+ msgid "Should we display the first image of the content if it is available?"
93
+ msgstr "Treba li da prikažemo prvu sliku sadržaja ako je raspoloživa?"
94
+
95
+ #: feedzy-rss-feeds-ui-lang.php:29
96
+ #: feedzy-rss-feeds-widget.php:104
97
+ #@ feedzy_rss_translate
98
+ msgid "Default thumbnail URL if no image is found."
99
+ msgstr "URL podrazumevane sličice ako nije pronađena nijedna slika."
100
+
101
+ #: feedzy-rss-feeds-ui-lang.php:30
102
+ #: feedzy-rss-feeds-widget.php:108
103
+ #@ feedzy_rss_translate
104
+ msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
105
+ msgstr "Dimenzije sličice. Nemojte unositi \"px\". Npr. 150"
106
+
107
+ #: feedzy-rss-feeds-ui-lang.php:31
108
+ #: feedzy-rss-feeds-widget.php:112
109
+ #@ feedzy_rss_translate
110
+ msgid "Only display item if title contains specific keyword(s) (comma-separated list/case sensitive)."
111
+ msgstr "Prikaži stavku samo ako naslov sadrži specifične ključne reči (odvojene zarezima/osetljive na velika i mala slova)."
112
+
113
+ #: feedzy-rss-feeds-ui-lang.php:32
114
+ #@ feedzy_rss_translate
115
+ msgid "Do not specify"
116
+ msgstr "Nemoj određivati"
117
+
118
+ #: feedzy-rss-feeds-ui-lang.php:33
119
+ #@ feedzy_rss_translate
120
+ msgid "No"
121
+ msgstr "Ne"
122
+
123
+ #: feedzy-rss-feeds-ui-lang.php:34
124
+ #@ feedzy_rss_translate
125
+ msgid "Yes"
126
+ msgstr "Da"
127
+
128
+ #: feedzy-rss-feeds-ui-lang.php:20
129
+ #: feedzy-rss-feeds-widget.php:65
130
+ #@ feedzy_rss_translate
131
+ msgid "The feed(s) URL (comma-separated list)."
132
+ msgstr "URL feed-ova (odvojenih zarezima ako je lista)."
133
+
134
+ #: feedzy-rss-feeds-ui-lang.php:22
135
+ #@ feedzy_rss_translate
136
+ msgid "Should we display the RSS title?"
137
+ msgstr "Treba li da prikažemo RSS naslov?"
138
+
139
+ #. translators: plugin header field 'Name'
140
+ #: feedzy-rss-feed.php:0
141
+ #@ feedzy_rss_translate
142
+ msgid "FEEDZY RSS Feeds by b*web"
143
+ msgstr "FEEDZY RSS Feeds, autor b*web"
144
+
145
+ #. translators: plugin header field 'Description'
146
+ #: feedzy-rss-feed.php:0
147
+ #@ feedzy_rss_translate
148
+ msgid "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."
149
+ msgstr "FEEDZY RSS Feeds je mali i lagan plugin. Brz i jednostavan za upotrebu, sakuplja RSS feed-ove na vaš WordPress site uz pomoć jednostavnih shortcode-ova."
150
+
151
+ #. translators: plugin header field 'Author'
152
+ #: feedzy-rss-feed.php:0
153
+ #@ feedzy_rss_translate
154
+ msgid "Brice CAPOBIANCO"
155
+ msgstr "Brice CAPOBIANCO"
156
+
157
+ #. translators: plugin header field 'AuthorURI'
158
+ #: feedzy-rss-feed.php:0
159
+ #@ feedzy_rss_translate
160
+ msgid "http://b-website.com/"
161
+ msgstr "http://b-website.com/"
162
+
163
+ #. translators: plugin header field 'PluginURI'
164
+ #: feedzy-rss-feed.php:0
165
+ #@ feedzy_rss_translate
166
+ msgid "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
167
+ msgstr "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
168
+
169
+ #. translators: plugin header field 'Version'
170
+ #: feedzy-rss-feed.php:0
171
+ #@ feedzy_rss_translate
172
+ msgid "2.2.1"
173
+ msgstr ""
174
+
175
+ #: feedzy-rss-feed.php:39
176
+ #@ default
177
+ msgid "Donate to this plugin &#187;"
178
+ msgstr ""
179
+
180
+ #: feedzy-rss-feeds-shortcode.php:289
181
+ #@ feedzy_rss_translate
182
+ msgid "Posted"
183
+ msgstr "Objavljeno"
184
+
185
+ #: feedzy-rss-feeds-shortcode.php:294
186
+ #@ feedzy_rss_translate
187
+ msgid "by"
188
+ msgstr "po"
189
+
190
+ #: feedzy-rss-feeds-widget.php:18
191
+ #@ feedzy_wp_widget
192
+ msgid "Feedzy RSS Feeds"
193
+ msgstr ""
194
+
195
+ #: feedzy-rss-feeds-widget.php:57
196
+ #@ feedzy_rss_translate
197
+ msgid "Widget Title"
198
+ msgstr "dodatak Naslov"
199
+
200
+ #: feedzy-rss-feeds-widget.php:61
201
+ #@ feedzy_rss_translate
202
+ msgid "Intro text"
203
+ msgstr "Uvodni tekst"
204
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
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.1
7
- Stable tag: 2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -101,6 +101,12 @@ Yes it is.
101
 
102
  == Changelog ==
103
 
 
 
 
 
 
 
104
  = 2.2 =
105
  * Minor PHP improvements
106
  * Remove logo from plugin meta
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.1
7
+ Stable tag: 2.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
101
 
102
  == Changelog ==
103
 
104
+ = 2.2.1 =
105
+ * Minor security improvements
106
+ * Better WordPress coding standard respect
107
+ * Minor fix if does not provide item's author
108
+ * Translations update
109
+
110
  = 2.2 =
111
  * Minor PHP improvements
112
  * Remove logo from plugin meta