FEEDZY RSS Feeds Lite - Version 3.0.3

Version Description

  • 06/01/2017 =
  • Fixed blog feed feature image filter
  • Improved documentation and examples
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 FEEDZY RSS Feeds Lite
Version 3.0.3
Comparing to
See all releases

Code changes from version 3.0.2 to 3.0.3

CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
 
 
 
 
2
- Added compatibility with the new pro options
3
- Added new documentation help
4
- Added legacy filters and functions
5
 
6
 
7
 
8
- Added default image class back
1
 
2
+
3
+
4
+
5
+
6
+
7
+
8
 
9
 
10
 
 
css/feedzy-rss-feeds.css CHANGED
@@ -2,7 +2,7 @@
2
  * feedzy-rss-feeds.css
3
  * Feedzy RSS Feed
4
  * Copyright: (c) 2016 Themeisle, themeisle.com
5
- * Version: 3.0.2
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
2
  * feedzy-rss-feeds.css
3
  * Feedzy RSS Feed
4
  * Copyright: (c) 2016 Themeisle, themeisle.com
5
+ * Version: 3.0.3
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
css/form.css CHANGED
@@ -722,3 +722,8 @@ img {
722
  .feedzy-template-style2 {
723
  background: url(../img/feedzy-style2-template.jpg) no-repeat bottom center;
724
  }
 
 
 
 
 
722
  .feedzy-template-style2 {
723
  background: url(../img/feedzy-style2-template.jpg) no-repeat bottom center;
724
  }
725
+
726
+ input[disabled],
727
+ select[disabled] {
728
+ cursor: not-allowed;
729
+ }
feedzy-rss-feed.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Feedzy RSS Feeds Lite
16
  * Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
17
  * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
18
- * Version: 3.0.2
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
@@ -23,12 +23,10 @@
23
  * Text Domain: feedzy-rss-feeds
24
  * Domain Path: /languages
25
  */
26
-
27
  // If this file is called directly, abort.
28
  if ( ! defined( 'WPINC' ) ) {
29
  die;
30
  }
31
-
32
  /**
33
  * The code that runs during plugin activation.
34
  * This action is documented in includes/feedzy-rss-feeds-activator.php
@@ -49,7 +47,6 @@ function deactivate_feedzy_rss_feeds() {
49
 
50
  register_activation_hook( __FILE__, 'activate_feedzy_rss_feeds' );
51
  register_deactivation_hook( __FILE__, 'deactivate_feedzy_rss_feeds' );
52
-
53
  /**
54
  * The core plugin class that is used to define internationalization,
55
  * admin-specific hooks, and public-facing site hooks.
@@ -58,36 +55,37 @@ register_deactivation_hook( __FILE__, 'deactivate_feedzy_rss_feeds' );
58
  */
59
  function feedzy_rss_feeds_autoload( $class ) {
60
  $namespaces = array( 'Feedzy_Rss_Feeds' );
61
-
62
  foreach ( $namespaces as $namespace ) {
63
  if ( substr( $class, 0, strlen( $namespace ) ) == $namespace ) {
64
  $filename = plugin_dir_path( __FILE__ ) . 'includes/' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
65
  if ( is_readable( $filename ) ) {
66
  require_once $filename;
 
67
  return true;
68
  }
69
-
70
  $filename = plugin_dir_path( __FILE__ ) . 'includes/abstract/' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
71
  if ( is_readable( $filename ) ) {
72
  require_once $filename;
 
73
  return true;
74
  }
75
-
76
  $filename = plugin_dir_path( __FILE__ ) . 'includes/admin/' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
77
  if ( is_readable( $filename ) ) {
78
  require_once $filename;
 
79
  return true;
80
  }
81
  }
82
  }
83
  if ( is_readable( plugin_dir_path( __FILE__ ) . 'includes/admin/feedzy-wp-widget.php' ) ) {
84
  require_once plugin_dir_path( __FILE__ ) . 'includes/admin/feedzy-wp-widget.php';
 
85
  return true;
86
  }
 
87
  return false;
88
  }
89
 
90
-
91
  /**
92
  * Begins execution of the plugin.
93
  *
@@ -101,12 +99,9 @@ function run_feedzy_rss_feeds() {
101
  define( 'FEEDZY_BASEFILE', __FILE__ );
102
  define( 'FEEDZY_ABSURL', plugins_url( '/', __FILE__ ) );
103
  define( 'FEEDZY_ABSPATH', dirname( __FILE__ ) );
104
-
105
- $plugin = new Feedzy_Rss_Feeds();
106
- $plugin->run();
107
-
108
  }
109
 
110
  spl_autoload_register( 'feedzy_rss_feeds_autoload' );
111
-
112
  run_feedzy_rss_feeds();
15
  * Plugin Name: Feedzy RSS Feeds Lite
16
  * Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
17
  * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
18
+ * Version: 3.0.3
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
23
  * Text Domain: feedzy-rss-feeds
24
  * Domain Path: /languages
25
  */
 
26
  // If this file is called directly, abort.
27
  if ( ! defined( 'WPINC' ) ) {
28
  die;
29
  }
 
30
  /**
31
  * The code that runs during plugin activation.
32
  * This action is documented in includes/feedzy-rss-feeds-activator.php
47
 
48
  register_activation_hook( __FILE__, 'activate_feedzy_rss_feeds' );
49
  register_deactivation_hook( __FILE__, 'deactivate_feedzy_rss_feeds' );
 
50
  /**
51
  * The core plugin class that is used to define internationalization,
52
  * admin-specific hooks, and public-facing site hooks.
55
  */
56
  function feedzy_rss_feeds_autoload( $class ) {
57
  $namespaces = array( 'Feedzy_Rss_Feeds' );
 
58
  foreach ( $namespaces as $namespace ) {
59
  if ( substr( $class, 0, strlen( $namespace ) ) == $namespace ) {
60
  $filename = plugin_dir_path( __FILE__ ) . 'includes/' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
61
  if ( is_readable( $filename ) ) {
62
  require_once $filename;
63
+
64
  return true;
65
  }
 
66
  $filename = plugin_dir_path( __FILE__ ) . 'includes/abstract/' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
67
  if ( is_readable( $filename ) ) {
68
  require_once $filename;
69
+
70
  return true;
71
  }
 
72
  $filename = plugin_dir_path( __FILE__ ) . 'includes/admin/' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
73
  if ( is_readable( $filename ) ) {
74
  require_once $filename;
75
+
76
  return true;
77
  }
78
  }
79
  }
80
  if ( is_readable( plugin_dir_path( __FILE__ ) . 'includes/admin/feedzy-wp-widget.php' ) ) {
81
  require_once plugin_dir_path( __FILE__ ) . 'includes/admin/feedzy-wp-widget.php';
82
+
83
  return true;
84
  }
85
+
86
  return false;
87
  }
88
 
 
89
  /**
90
  * Begins execution of the plugin.
91
  *
99
  define( 'FEEDZY_BASEFILE', __FILE__ );
100
  define( 'FEEDZY_ABSURL', plugins_url( '/', __FILE__ ) );
101
  define( 'FEEDZY_ABSPATH', dirname( __FILE__ ) );
102
+ $feedzy = new Feedzy_Rss_Feeds();
103
+ $feedzy->run();
 
 
104
  }
105
 
106
  spl_autoload_register( 'feedzy_rss_feeds_autoload' );
 
107
  run_feedzy_rss_feeds();
form/form.php CHANGED
@@ -38,8 +38,10 @@ $html_parts = Feedzy_Rss_Feeds_Ui_Lang::get_form_elements();
38
  foreach ( $section['elements'] as $name => $props ) {
39
  $element = '';
40
  $disabled = '';
 
41
  if ( isset( $props['disabled'] ) && $props['disabled'] ) {
42
  $disabled = 'disabled="true"';
 
43
  }
44
  switch ( $props['type'] ) {
45
  case 'select':
@@ -86,7 +88,7 @@ $html_parts = Feedzy_Rss_Feeds_Ui_Lang::get_form_elements();
86
  $output .= '
87
  <div class="row feedzy_element_' . $name . '">
88
  <div class="column column-50">
89
- <label for="' . $name . '">' . $props['label'] . '</label>
90
  </div>
91
  <div class="column column-50">
92
  ' . $element . '
38
  foreach ( $section['elements'] as $name => $props ) {
39
  $element = '';
40
  $disabled = '';
41
+ $badge = '';
42
  if ( isset( $props['disabled'] ) && $props['disabled'] ) {
43
  $disabled = 'disabled="true"';
44
+ $badge = '<small class="feedzy_pro_tag">' . __( 'Premium', 'feedzy-rss-feeds' ) . '</small>';
45
  }
46
  switch ( $props['type'] ) {
47
  case 'select':
88
  $output .= '
89
  <div class="row feedzy_element_' . $name . '">
90
  <div class="column column-50">
91
+ <label for="' . $name . '">' . $props['label'] . $badge . '</label>
92
  </div>
93
  <div class="column column-50">
94
  ' . $element . '
includes/abstract/feedzy-rss-feeds-admin-abstract.php CHANGED
@@ -317,12 +317,17 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
317
  * @since 3.0.0
318
  * @access public
319
  * @param boolean $continue A boolean to stop the script.
320
- * @param array $keywords_title The keywords for title.
321
  * @param object $item The feed item.
322
  * @param string $feedURL The feed URL.
323
  * @return boolean
324
  */
325
- public function feedzy_feed_item_keywords_title( $continue, $keywords_title, $item, $feedURL ) {
 
 
 
 
 
326
  if ( ! empty( $keywords_title ) ) {
327
  $continue = false;
328
  foreach ( $keywords_title as $keyword ) {
@@ -334,21 +339,6 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
334
  return $continue;
335
  }
336
 
337
- /**
338
- * Insert cover picture to main rss feed content
339
- *
340
- * @since 3.0.0
341
- * @access public
342
- * @param string $content The item feed content.
343
- * @return string
344
- */
345
- public function feedzy_insert_thumbnail_rss( $content ) {
346
- global $post;
347
- if ( has_post_thumbnail( $post->ID ) ) {
348
- $content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail' ) . '' . $content;
349
- }
350
- return $content;
351
- }
352
 
353
  /**
354
  * Include cover picture (medium) to rss feed enclosure
@@ -456,6 +446,10 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
456
  $sc['keywords_title'] = rtrim( $sc['keywords_title'], ',' );
457
  $sc['keywords_title'] = array_map( 'trim', explode( ',', $sc['keywords_title'] ) );
458
  }
 
 
 
 
459
 
460
  if ( ! empty( $sc['summarylength'] ) && ! ctype_digit( $sc['summarylength'] ) ) {
461
  $sc['summarylength'] = '';
@@ -633,7 +627,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
633
  $items = apply_filters( 'feedzy_feed_items', $feed->get_items(), $feedURL );
634
  $feed_items = array();
635
  foreach ( (array) $items as $item ) {
636
- $continue = apply_filters( 'feedzy_item_keyword', true, $sc['keywords_title'], $item, $feedURL );
637
  if ( $continue == true ) {
638
  // Count items
639
  if ( $count >= $sc['max'] ) {
317
  * @since 3.0.0
318
  * @access public
319
  * @param boolean $continue A boolean to stop the script.
320
+ * @param array $sc The shortcode attributes.
321
  * @param object $item The feed item.
322
  * @param string $feedURL The feed URL.
323
  * @return boolean
324
  */
325
+ public function feedzy_feed_item_keywords_title( $continue, $sc, $item, $feedURL ) {
326
+ if ( feedzy_is_new() && ! feedzy_is_pro() ) {
327
+ return true;
328
+ }
329
+
330
+ $keywords_title = $sc['keywords_title'];
331
  if ( ! empty( $keywords_title ) ) {
332
  $continue = false;
333
  foreach ( $keywords_title as $keyword ) {
339
  return $continue;
340
  }
341
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
342
 
343
  /**
344
  * Include cover picture (medium) to rss feed enclosure
446
  $sc['keywords_title'] = rtrim( $sc['keywords_title'], ',' );
447
  $sc['keywords_title'] = array_map( 'trim', explode( ',', $sc['keywords_title'] ) );
448
  }
449
+ if ( ! empty( $sc['keywords_ban'] ) ) {
450
+ $sc['keywords_ban'] = rtrim( $sc['keywords_ban'], ',' );
451
+ $sc['keywords_ban'] = array_map( 'trim', explode( ',', $sc['keywords_ban'] ) );
452
+ }
453
 
454
  if ( ! empty( $sc['summarylength'] ) && ! ctype_digit( $sc['summarylength'] ) ) {
455
  $sc['summarylength'] = '';
627
  $items = apply_filters( 'feedzy_feed_items', $feed->get_items(), $feedURL );
628
  $feed_items = array();
629
  foreach ( (array) $items as $item ) {
630
+ $continue = apply_filters( 'feedzy_item_keyword', true, $sc, $item, $feedURL );
631
  if ( $continue == true ) {
632
  // Count items
633
  if ( $count >= $sc['max'] ) {
includes/admin/feedzy-rss-feeds-admin.php CHANGED
@@ -116,7 +116,7 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
116
  if ( strpos( $file, 'feedzy-rss-feed.php' ) !== false ) {
117
  $new_links = array(
118
  'doc' => '<a href="http://docs.themeisle.com/article/277-feedzy-rss-feeds-hooks" target="_blank" title="' . __( 'Documentation and examples', 'feedzy-rss-feeds' ) . '">' . __( 'Documentation and examples', 'feedzy-rss-feeds' ) . '</a>',
119
- 'more_plugins' => '<a href="http://themeisle.com/wordpress-plugins/" target="_blank" title="' . __( 'More Plugins', 'feedzy-rss-feeds' ) . '">' . __( 'More Plugins', 'feedzy-rss-feeds' ) . '</a>',
120
  );
121
 
122
  $links = array_merge( $links, $new_links );
116
  if ( strpos( $file, 'feedzy-rss-feed.php' ) !== false ) {
117
  $new_links = array(
118
  'doc' => '<a href="http://docs.themeisle.com/article/277-feedzy-rss-feeds-hooks" target="_blank" title="' . __( 'Documentation and examples', 'feedzy-rss-feeds' ) . '">' . __( 'Documentation and examples', 'feedzy-rss-feeds' ) . '</a>',
119
+ 'more_features' => '<a href="https://themeisle.com/plugins/feedzy-rss-feeds/" target="_blank" title="' . __( 'More Plugins', 'feedzy-rss-feeds' ) . '">' . __( 'More Features', 'feedzy-rss-feeds' ) . '<i class="dashicons dashicons-unlock"></i></a>',
120
  );
121
 
122
  $links = array_merge( $links, $new_links );
includes/admin/feedzy-rss-feeds-options.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The Options main wrapper class.
4
+ *
5
+ * @link http://themeisle.com
6
+ * @since 3.0.3
7
+ *
8
+ * @package feedzy-rss-feeds
9
+ * @subpackage feedzy-rss-feeds/includes/admin
10
+ */
11
+ if ( ! class_exists( 'Feedy_Rss_Feeds_Options' ) ) {
12
+ /**
13
+ * Singleton class for options wrapper
14
+ */
15
+ class Feedzy_Rss_Feeds_Options {
16
+
17
+ /**
18
+ * The main instance var.
19
+ *
20
+ * @var Feedzy_Rss_Feeds_Options The one Feedy_Rss_Feeds_Options istance.
21
+ * @since 3.0.3
22
+ */
23
+ private static $instance;
24
+
25
+ /**
26
+ * The main options array.
27
+ *
28
+ * @var array The options array.
29
+ * @since 3.0.3
30
+ */
31
+ private $options;
32
+
33
+ /**
34
+ * Init the main singleton instance class.
35
+ *
36
+ * @return Feedzy_Rss_Feeds_Options Return the instance class
37
+ */
38
+ public static function instance() {
39
+ if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Feedzy_Rss_Feeds_Options ) ) {
40
+ self::$instance = new Feedzy_Rss_Feeds_Options;
41
+ self::$instance->init();
42
+ }
43
+
44
+ return self::$instance;
45
+ }
46
+
47
+ /**
48
+ * Init the default values of the options class.
49
+ */
50
+ public function init() {
51
+ self::$instance->options = get_option( Feedzy_Rss_Feeds::get_plugin_name() );
52
+ }
53
+
54
+ /**
55
+ * Get the key option value from DB.
56
+ *
57
+ * @param string $key The key name of the option.
58
+ *
59
+ * @return bool|mixed The value of the option
60
+ */
61
+ public function get_var( $key ) {
62
+ if ( isset( self::$instance->options[ $key ] ) ) {
63
+ return self::$instance->options[ $key ];
64
+ }
65
+
66
+ return false;
67
+ }
68
+
69
+ /**
70
+ * Setter method for updating the options array.
71
+ *
72
+ * @param string $key The name of option.
73
+ * @param string $value The value of the option.
74
+ *
75
+ * @return bool|mixed The value of the option.
76
+ */
77
+ public function set_var( $key, $value = '' ) {
78
+ self::$instance->options[ $key ] = apply_filters( 'feedzy_pre_set_option_' . $key, $value );
79
+
80
+ return update_option( Feedzy_Rss_Feeds::get_plugin_name(), self::$instance->options );
81
+
82
+ }
83
+ }
84
+ }
includes/admin/feedzy-rss-feeds-ui-lang.php CHANGED
@@ -229,6 +229,14 @@ class Feedzy_Rss_Feeds_Ui_Lang {
229
  'placeholder' => __( '(eg: news, sports etc.)', 'feedzy-rss-feeds' ),
230
  'type' => 'text',
231
  'value' => '',
 
 
 
 
 
 
 
 
232
  ),
233
  ),
234
  ),
@@ -276,7 +284,7 @@ class Feedzy_Rss_Feeds_Ui_Lang {
276
  'description' => __( 'Get access to more options and customizations with full version of Feedzy RSS Feeds . Use existing templates or extend them and make them your own.', 'feedzy-rss-feeds' ) . '<br/>' . '<a href=" https://themeisle.com/plugins/feedzy-rss-feeds/" target="_blank"><small>' . __( 'See more features of Feedzy RSS Feeds ', 'feedzy-rss-feeds' ) . '</small></a>',
277
  'elements' => array(
278
  'price' => array(
279
- 'label' => __( 'Should we display the price from the feed if it is available?', 'feedzy-rss-feeds' ) . '<small class="feedzy_pro_tag">' . __( 'Premium', 'feedzy-rss-feeds' ) . '</small>',
280
  'type' => 'select',
281
  'disabled' => true,
282
  'value' => '',
@@ -296,21 +304,21 @@ class Feedzy_Rss_Feeds_Ui_Lang {
296
  ),
297
  ),
298
  'referral_url' => array(
299
- 'label' => __( 'Referral URL parameters (w/o "?").', 'feedzy-rss-feeds' ) . '<small class="feedzy_pro_tag">' . __( 'Premium', 'feedzy-rss-feeds' ) . '</small>',
300
  'placeholder' => __( '(eg. promo_code=feedzy_is_awesome)', 'feedzy-rss-feeds' ),
301
  'type' => 'text',
302
  'disabled' => true,
303
  'value' => '',
304
  ),
305
  'columns' => array(
306
- 'label' => __( 'How many columns we should use to display the feed items', 'feedzy-rss-feeds' ) . '<small class="feedzy_pro_tag">' . __( 'Premium', 'feedzy-rss-feeds' ) . '</small>',
307
  'placeholder' => __( '(eg. 1, 2, ..., 6)', 'feedzy-rss-feeds' ),
308
  'type' => 'number',
309
  'disabled' => true,
310
  'value' => '1',
311
  ),
312
  'template' => array(
313
- 'label' => __( 'Template to use when displaying the feed.', 'feedzy-rss-feeds' ) . '<small class="feedzy_pro_tag">' . __( 'Premium', 'feedzy-rss-feeds' ) . '</small>',
314
  'type' => 'radio',
315
  'disabled' => true,
316
  'value' => '',
229
  'placeholder' => __( '(eg: news, sports etc.)', 'feedzy-rss-feeds' ),
230
  'type' => 'text',
231
  'value' => '',
232
+ 'disabled' => feedzy_is_new(),
233
+ ),
234
+ 'keywords_ban' => array(
235
+ 'label' => __( 'Exclude items if title or content contains specific keyword(s) (comma-separated list/case sensitive). ', 'feedzy-rss-feeds' ),
236
+ 'placeholder' => __( '(eg: politics, gossip etc.)', 'feedzy-rss-feeds' ),
237
+ 'type' => 'text',
238
+ 'value' => '',
239
+ 'disabled' => true,
240
  ),
241
  ),
242
  ),
284
  'description' => __( 'Get access to more options and customizations with full version of Feedzy RSS Feeds . Use existing templates or extend them and make them your own.', 'feedzy-rss-feeds' ) . '<br/>' . '<a href=" https://themeisle.com/plugins/feedzy-rss-feeds/" target="_blank"><small>' . __( 'See more features of Feedzy RSS Feeds ', 'feedzy-rss-feeds' ) . '</small></a>',
285
  'elements' => array(
286
  'price' => array(
287
+ 'label' => __( 'Should we display the price from the feed if it is available?', 'feedzy-rss-feeds' ),
288
  'type' => 'select',
289
  'disabled' => true,
290
  'value' => '',
304
  ),
305
  ),
306
  'referral_url' => array(
307
+ 'label' => __( 'Referral URL parameters (w/o "?").', 'feedzy-rss-feeds' ),
308
  'placeholder' => __( '(eg. promo_code=feedzy_is_awesome)', 'feedzy-rss-feeds' ),
309
  'type' => 'text',
310
  'disabled' => true,
311
  'value' => '',
312
  ),
313
  'columns' => array(
314
+ 'label' => __( 'How many columns we should use to display the feed items', 'feedzy-rss-feeds' ),
315
  'placeholder' => __( '(eg. 1, 2, ..., 6)', 'feedzy-rss-feeds' ),
316
  'type' => 'number',
317
  'disabled' => true,
318
  'value' => '1',
319
  ),
320
  'template' => array(
321
+ 'label' => __( 'Template to use when displaying the feed.', 'feedzy-rss-feeds' ),
322
  'type' => 'radio',
323
  'disabled' => true,
324
  'value' => '',
includes/admin/feedzy-rss-feeds-upgrader.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The Options main wrapper class.
4
+ *
5
+ * @link http://themeisle.com
6
+ * @since 3.0.3
7
+ *
8
+ * @package feedzy-rss-feeds
9
+ * @subpackage feedzy-rss-feeds/includes/admin
10
+ */
11
+ if ( ! class_exists( 'Feedzy_Rss_Feeds_Upgrader' ) ) {
12
+ /**
13
+ * Class Feedzy_Rss_Feeds_Upgrader for upgrading processes
14
+ */
15
+ class Feedzy_Rss_Feeds_Upgrader {
16
+ /**
17
+ * Store the database version of the plugin.
18
+ *
19
+ * @var string $db_version Version from the database of the plugin.
20
+ */
21
+ public $db_version;
22
+
23
+ /**
24
+ * Stores the plugin php version.
25
+ *
26
+ * @var string $php_version The plugin php version
27
+ */
28
+ public $php_version;
29
+
30
+ /**
31
+ * Feedzy_Rss_Feeds_Upgrader constructor.
32
+ */
33
+ public function __construct() {
34
+ $php_version = Feedzy_Rss_Feeds::get_version();
35
+ $db_version = feedzy_options()->get_var( 'db_version' );
36
+ if ( $db_version === false ) {
37
+ feedzy_options()->set_var( 'db_version', $php_version );
38
+ $this->db_version = $php_version;
39
+ } else {
40
+ if ( feedzy_options()->get_var( 'is_new' ) === false ) {
41
+ feedzy_options()->set_var( 'is_new', 'no' );
42
+ }
43
+ $this->db_version = $db_version;
44
+ }
45
+ $this->php_version = $php_version;
46
+ }
47
+
48
+ /**
49
+ * Check if we need to run an upgrade or not.
50
+ */
51
+ public function check() {
52
+ if ( version_compare( $this->db_version, $this->php_version ) === - 1 ) {
53
+ do_action( 'feedzy_upgrade_to_' . self::version_to_hook( $this->php_version ), $this->db_version );
54
+ }
55
+ }
56
+
57
+ /**
58
+ * Normalize version to be used in hooks.
59
+ *
60
+ * @param string $version In format 2.0.0.
61
+ *
62
+ * @return string Version format 2_0_0.
63
+ */
64
+ public static function version_to_hook( $version ) {
65
+ return str_replace( '.', '_', $version );
66
+ }
67
+ }
68
+ }
includes/feedzy-rss-feeds-activator.php CHANGED
@@ -22,14 +22,18 @@
22
  class Feedzy_Rss_Feeds_Activator {
23
 
24
  /**
25
- * Short Description. (use period)
26
  *
27
- * Long Description.
28
  *
29
  * @since 3.0.0
30
  * @access public
31
  */
32
  public static function activate() {
 
 
 
 
33
 
34
  }
35
 
22
  class Feedzy_Rss_Feeds_Activator {
23
 
24
  /**
25
+ * Plugin activation action.
26
  *
27
+ * Triggers the plugin activation action on plugin activate.
28
  *
29
  * @since 3.0.0
30
  * @access public
31
  */
32
  public static function activate() {
33
+ $options = get_option( Feedzy_Rss_Feeds::get_plugin_name(), array() );
34
+ if ( ! isset( $options['is_new'] ) ) {
35
+ update_option( Feedzy_Rss_Feeds::get_plugin_name(), array( 'is_new' => 'yes' ) );
36
+ }
37
 
38
  }
39
 
includes/feedzy-rss-feeds-feed-tweaks.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The file that alter the main blog feed
4
+ *
5
+ * @link http://themeisle.com
6
+ * @since 3.0.0
7
+ *
8
+ * @package feedzy-rss-feeds
9
+ * @subpackage feedzy-rss-feeds/includes
10
+ */
11
+ /**
12
+ *
13
+ * Insert cover picture to main rss feed content
14
+ *
15
+ * @since 3.0.0
16
+ * @access public
17
+ *
18
+ * @param string $content The item feed content.
19
+ *
20
+ * @return string
21
+ */
22
+ // @codingStandardsIgnoreStart
23
+ function feedzy_insert_thumbnail_RSS( $content ) {
24
+ // @codingStandardsIgnoreEnd
25
+ global $post;
26
+ if ( has_post_thumbnail( $post->ID ) ) {
27
+ $content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail' ) . '' . $content;
28
+ }
29
+
30
+ return $content;
31
+ }
32
+
33
+ // Alter the main blog feed to insert the thumbnail image.
34
+ add_filter( 'the_excerpt_rss', 'feedzy_insert_thumbnail_RSS' );
35
+ add_filter( 'the_content_feed', 'feedzy_insert_thumbnail_RSS' );
36
+ /**
37
+ * The helper method for options wrapper
38
+ *
39
+ * @return Feedzy_Rss_Feeds_Options
40
+ */
41
+ function feedzy_options() {
42
+ return Feedzy_Rss_Feeds_Options::instance();
43
+ }
44
+
45
+ /**
46
+ * Check if the user is before 3.0.3 or not.
47
+ *
48
+ * @return bool If the users is before 3.0.3 or after
49
+ */
50
+ function feedzy_is_new() {
51
+ return feedzy_options()->get_var( 'is_new' ) === 'yes';
52
+ }
53
+
54
+ /**
55
+ * Check if the user is pro or not.
56
+ *
57
+ * @return bool If the users is pro or not
58
+ */
59
+ function feedzy_is_pro() {
60
+ return defined( 'FEEDZY_PRO_ABSPATH' );
61
+ }
includes/feedzy-rss-feeds.php CHANGED
@@ -29,32 +29,38 @@
29
  class Feedzy_Rss_Feeds {
30
 
31
  /**
32
- * The loader that's responsible for maintaining and registering all hooks that power
33
- * the plugin.
34
  *
35
  * @since 3.0.0
36
  * @access protected
37
- * @var Feedzy_Rss_Feeds_Loader $loader Maintains and registers all hooks for the plugin.
38
  */
39
- protected $loader;
40
-
41
  /**
42
- * The unique identifier of this plugin.
43
  *
44
  * @since 3.0.0
45
  * @access protected
46
- * @var string $plugin_name The string used to uniquely identify this plugin.
47
  */
48
- protected $plugin_name;
49
-
50
  /**
51
- * The current version of the plugin.
 
52
  *
53
  * @since 3.0.0
54
  * @access protected
55
- * @var string $version The current version of the plugin.
 
 
 
 
 
 
 
 
56
  */
57
- protected $version;
58
 
59
  /**
60
  * Define the core functionality of the plugin.
@@ -67,10 +73,8 @@ class Feedzy_Rss_Feeds {
67
  * @access public
68
  */
69
  public function __construct() {
70
-
71
- $this->plugin_name = 'feedzy-rss-feeds';
72
- $this->version = '3.0.2';
73
-
74
  $this->load_dependencies();
75
  $this->set_locale();
76
  $this->define_admin_hooks();
@@ -95,11 +99,9 @@ class Feedzy_Rss_Feeds {
95
  */
96
  private function load_dependencies() {
97
 
98
- /**
99
- * The class responsible for orchestrating the actions and filters of the
100
- * core plugin.
101
- */
102
  $this->loader = new Feedzy_Rss_Feeds_Loader();
 
103
 
104
  }
105
 
@@ -113,13 +115,11 @@ class Feedzy_Rss_Feeds {
113
  * @access private
114
  */
115
  private function set_locale() {
116
-
117
  /**
118
  * The class responsible for defining internationalization functionality
119
  * of the plugin.
120
  */
121
  $plugin_i18n = new Feedzy_Rss_Feeds_i18n();
122
-
123
  $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
124
 
125
  }
@@ -135,37 +135,21 @@ class Feedzy_Rss_Feeds {
135
  $plugin_ui = new Feedzy_Rss_Feeds_Ui( $this->get_plugin_name(), $this->get_version(), $this->loader );
136
  $this->loader->add_action( 'init', $plugin_ui, 'register_init' );
137
  $this->loader->add_filter( 'mce_external_languages', $plugin_ui, 'feedzy_add_tinymce_lang', 10, 1 );
138
-
139
  $plugin_admin = new Feedzy_Rss_Feeds_Admin( $this->get_plugin_name(), $this->get_version() );
140
-
141
- $this->loader->add_filter( 'plugin_row_meta', $plugin_admin ,'feedzy_filter_plugin_row_meta', 10, 2 );
142
  $this->loader->add_filter( 'feedzy_default_image', $plugin_admin, 'feedzy_define_default_image' );
143
- $this->loader->add_filter( 'feedzy_default_error', $plugin_admin ,'feedzy_default_error_notice', 9, 2 );
144
  $this->loader->add_filter( 'feedzy_item_attributes', $plugin_admin, 'feedzy_add_item_padding', 10, 2 );
145
- $this->loader->add_filter( 'feedzy_item_attributes', $plugin_admin, 'feedzy_classes_item' ,99,5 );
 
146
  $this->loader->add_filter( 'feedzy_summary_input', $plugin_admin, 'feedzy_summary_input_filter', 9, 3 );
147
  $this->loader->add_filter( 'feedzy_item_keyword', $plugin_admin, 'feedzy_feed_item_keywords_title', 9, 4 );
148
- $this->loader->add_filter( 'the_excerpt_rss', $plugin_admin, 'feedzy_insert_thumbnail_rss' );
149
- $this->loader->add_filter( 'the_content_feed', $plugin_admin, 'feedzy_insert_thumbnail_rss' );
150
  add_shortcode( 'feedzy-rss', array( $plugin_admin, 'feedzy_rss' ) );
151
-
152
- $this->loader->add_action( 'wp_ajax_get_tinymce_form', $plugin_admin, 'get_tinymce_form' );
153
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
154
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
155
-
156
  $plugin_widget = new feedzy_wp_widget( $plugin_admin );
157
  $this->loader->add_action( 'widgets_init', $plugin_widget, 'registerWidget', 10 );
158
-
159
- }
160
-
161
- /**
162
- * Run the loader to execute all of the hooks with WordPress.
163
- *
164
- * @since 3.0.0
165
- * @access public
166
- */
167
- public function run() {
168
- $this->loader->run();
169
  }
170
 
171
  /**
@@ -176,30 +160,40 @@ class Feedzy_Rss_Feeds {
176
  * @access public
177
  * @return string The name of the plugin.
178
  */
179
- public function get_plugin_name() {
180
- return $this->plugin_name;
181
  }
182
 
183
  /**
184
- * The reference to the class that orchestrates the hooks with the plugin.
185
  *
186
  * @since 3.0.0
187
  * @access public
188
- * @return Feedzy_Rss_Feeds_Loader Orchestrates the hooks of the plugin.
189
  */
190
- public function get_loader() {
191
- return $this->loader;
192
  }
193
 
194
  /**
195
- * Retrieve the version number of the plugin.
 
 
 
 
 
 
 
 
 
 
196
  *
197
  * @since 3.0.0
198
  * @access public
199
- * @return string The version number of the plugin.
200
  */
201
- public function get_version() {
202
- return $this->version;
203
  }
204
 
205
  }
29
  class Feedzy_Rss_Feeds {
30
 
31
  /**
32
+ * The unique identifier of this plugin.
 
33
  *
34
  * @since 3.0.0
35
  * @access protected
36
+ * @var string $plugin_name The string used to uniquely identify this plugin.
37
  */
38
+ protected static $plugin_name;
 
39
  /**
40
+ * The current version of the plugin.
41
  *
42
  * @since 3.0.0
43
  * @access protected
44
+ * @var string $version The current version of the plugin.
45
  */
46
+ protected static $version;
 
47
  /**
48
+ * The loader that's responsible for maintaining and registering all hooks that power
49
+ * the plugin.
50
  *
51
  * @since 3.0.0
52
  * @access protected
53
+ * @var Feedzy_Rss_Feeds_Loader $loader Maintains and registers all hooks for the plugin.
54
+ */
55
+ protected $loader;
56
+ /**
57
+ * The class responsible for all upgrading proceses.
58
+ *
59
+ * @since 3.0.3
60
+ * @access protected
61
+ * @var Feedzy_Rss_Feeds_Upgrader $upgrader Responsible for the upgrading processes.
62
  */
63
+ protected $upgrader;
64
 
65
  /**
66
  * Define the core functionality of the plugin.
73
  * @access public
74
  */
75
  public function __construct() {
76
+ self::$plugin_name = 'feedzy-rss-feeds';
77
+ self::$version = '3.0.3';
 
 
78
  $this->load_dependencies();
79
  $this->set_locale();
80
  $this->define_admin_hooks();
99
  */
100
  private function load_dependencies() {
101
 
102
+ include_once FEEDZY_ABSPATH . '/includes/feedzy-rss-feeds-feed-tweaks.php';
 
 
 
103
  $this->loader = new Feedzy_Rss_Feeds_Loader();
104
+ $this->upgrader = new Feedzy_Rss_Feeds_Upgrader();
105
 
106
  }
107
 
115
  * @access private
116
  */
117
  private function set_locale() {
 
118
  /**
119
  * The class responsible for defining internationalization functionality
120
  * of the plugin.
121
  */
122
  $plugin_i18n = new Feedzy_Rss_Feeds_i18n();
 
123
  $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
124
 
125
  }
135
  $plugin_ui = new Feedzy_Rss_Feeds_Ui( $this->get_plugin_name(), $this->get_version(), $this->loader );
136
  $this->loader->add_action( 'init', $plugin_ui, 'register_init' );
137
  $this->loader->add_filter( 'mce_external_languages', $plugin_ui, 'feedzy_add_tinymce_lang', 10, 1 );
 
138
  $plugin_admin = new Feedzy_Rss_Feeds_Admin( $this->get_plugin_name(), $this->get_version() );
139
+ $this->loader->add_filter( 'plugin_row_meta', $plugin_admin, 'feedzy_filter_plugin_row_meta', 10, 2 );
 
140
  $this->loader->add_filter( 'feedzy_default_image', $plugin_admin, 'feedzy_define_default_image' );
141
+ $this->loader->add_filter( 'feedzy_default_error', $plugin_admin, 'feedzy_default_error_notice', 9, 2 );
142
  $this->loader->add_filter( 'feedzy_item_attributes', $plugin_admin, 'feedzy_add_item_padding', 10, 2 );
143
+ $this->loader->add_filter( 'feedzy_item_attributes', $plugin_admin, 'feedzy_classes_item', 99, 5 );
144
+ $this->loader->add_filter( 'feedzy_register_options', $plugin_admin, 'register_options' );
145
  $this->loader->add_filter( 'feedzy_summary_input', $plugin_admin, 'feedzy_summary_input_filter', 9, 3 );
146
  $this->loader->add_filter( 'feedzy_item_keyword', $plugin_admin, 'feedzy_feed_item_keywords_title', 9, 4 );
 
 
147
  add_shortcode( 'feedzy-rss', array( $plugin_admin, 'feedzy_rss' ) );
148
+ $this->loader->add_action( 'wp_ajax_get_tinymce_form', $plugin_admin, 'get_tinymce_form' );
 
149
  $this->loader->add_action( 'wp_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
150
  $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
 
151
  $plugin_widget = new feedzy_wp_widget( $plugin_admin );
152
  $this->loader->add_action( 'widgets_init', $plugin_widget, 'registerWidget', 10 );
 
 
 
 
 
 
 
 
 
 
 
153
  }
154
 
155
  /**
160
  * @access public
161
  * @return string The name of the plugin.
162
  */
163
+ public static function get_plugin_name() {
164
+ return self::$plugin_name;
165
  }
166
 
167
  /**
168
+ * Retrieve the version number of the plugin.
169
  *
170
  * @since 3.0.0
171
  * @access public
172
+ * @return string The version number of the plugin.
173
  */
174
+ public static function get_version() {
175
+ return self::$version;
176
  }
177
 
178
  /**
179
+ * Run the loader to execute all of the hooks with WordPress.
180
+ *
181
+ * @since 3.0.0
182
+ * @access public
183
+ */
184
+ public function run() {
185
+ $this->loader->run();
186
+ }
187
+
188
+ /**
189
+ * The reference to the class that orchestrates the hooks with the plugin.
190
  *
191
  * @since 3.0.0
192
  * @access public
193
+ * @return Feedzy_Rss_Feeds_Loader Orchestrates the hooks of the plugin.
194
  */
195
+ public function get_loader() {
196
+ return $this->loader;
197
  }
198
 
199
  }
languages/feedzy-rss-feeds.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Feedzy RSS Feeds Lite 3.0.1\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
7
- "POT-Creation-Date: 2017-01-06 10:05:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,19 +24,23 @@ msgstr ""
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
 
 
 
 
27
  #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:51
28
  msgid "Sorry, this feed is currently unavailable or does not exists anymore."
29
  msgstr ""
30
 
31
- #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:559
32
  msgid "by"
33
  msgstr ""
34
 
35
- #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:564
36
  msgid "on"
37
  msgstr ""
38
 
39
- #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:566
40
  msgid "at"
41
  msgstr ""
42
 
@@ -48,6 +52,10 @@ msgstr ""
48
  msgid "More Plugins"
49
  msgstr ""
50
 
 
 
 
 
51
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:53
52
  msgid "Feedzy Lite"
53
  msgstr ""
@@ -104,24 +112,24 @@ msgstr ""
104
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:152
105
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:189
106
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:208
107
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:244
108
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:285
109
  msgid "Auto"
110
  msgstr ""
111
 
112
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:132
113
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:193
114
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:212
115
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:248
116
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:289
117
  msgid "Yes"
118
  msgstr ""
119
 
120
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:136
121
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:197
122
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:216
123
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:252
124
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:293
125
  msgid "No"
126
  msgstr ""
127
 
@@ -184,88 +192,91 @@ msgstr ""
184
  msgid "(eg: news, sports etc.)"
185
  msgstr ""
186
 
 
 
 
 
 
 
187
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:236
 
 
 
 
188
  msgid "Item Image Options"
189
  msgstr ""
190
 
191
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:239
192
  msgid "Should we display the first image of the content if it is available?"
193
  msgstr ""
194
 
195
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:258
196
  msgid "Default thumbnail URL if no image is found."
197
  msgstr ""
198
 
199
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:259
200
  msgid "Image URL"
201
  msgstr ""
202
 
203
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:263
204
  msgid "Select from Gallery"
205
  msgstr ""
206
 
207
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:267
208
  msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
209
  msgstr ""
210
 
211
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:268
212
  msgid "(eg: 150)"
213
  msgstr ""
214
 
215
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:275
216
  msgid "PRO Options"
217
  msgstr ""
218
 
219
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:276
220
  msgid ""
221
  "Get access to more options and customizations with full version of Feedzy "
222
  "RSS Feeds . Use existing templates or extend them and make them your own."
223
  msgstr ""
224
 
225
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:276
226
  msgid "See more features of Feedzy RSS Feeds "
227
  msgstr ""
228
 
229
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:279
230
  msgid "Should we display the price from the feed if it is available?"
231
  msgstr ""
232
 
233
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:279
234
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:299
235
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:306
236
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:313
237
- msgid "Premium"
238
- msgstr ""
239
-
240
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:299
241
  msgid "Referral URL parameters (w/o \"?\")."
242
  msgstr ""
243
 
244
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:300
245
  msgid "(eg. promo_code=feedzy_is_awesome)"
246
  msgstr ""
247
 
248
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:306
249
  msgid "How many columns we should use to display the feed items"
250
  msgstr ""
251
 
252
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:307
253
  msgid "(eg. 1, 2, ..., 6)"
254
  msgstr ""
255
 
256
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:313
257
  msgid "Template to use when displaying the feed."
258
  msgstr ""
259
 
260
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:319
261
  msgid "Default"
262
  msgstr ""
263
 
264
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:323
265
  msgid "Style 1"
266
  msgstr ""
267
 
268
- #: includes/admin/feedzy-rss-feeds-ui-lang.php:327
269
  msgid "Style 2"
270
  msgstr ""
271
 
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Feedzy RSS Feeds Lite 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
7
+ "POT-Creation-Date: 2017-01-10 14:42:23+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
+ #: form/form.php:44
28
+ msgid "Premium"
29
+ msgstr ""
30
+
31
  #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:51
32
  msgid "Sorry, this feed is currently unavailable or does not exists anymore."
33
  msgstr ""
34
 
35
+ #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:553
36
  msgid "by"
37
  msgstr ""
38
 
39
+ #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:558
40
  msgid "on"
41
  msgstr ""
42
 
43
+ #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:560
44
  msgid "at"
45
  msgstr ""
46
 
52
  msgid "More Plugins"
53
  msgstr ""
54
 
55
+ #: includes/admin/feedzy-rss-feeds-admin.php:119
56
+ msgid "More Features"
57
+ msgstr ""
58
+
59
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:53
60
  msgid "Feedzy Lite"
61
  msgstr ""
112
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:152
113
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:189
114
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:208
115
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:252
116
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:293
117
  msgid "Auto"
118
  msgstr ""
119
 
120
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:132
121
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:193
122
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:212
123
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:256
124
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:297
125
  msgid "Yes"
126
  msgstr ""
127
 
128
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:136
129
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:197
130
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:216
131
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:260
132
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:301
133
  msgid "No"
134
  msgstr ""
135
 
192
  msgid "(eg: news, sports etc.)"
193
  msgstr ""
194
 
195
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:235
196
+ msgid ""
197
+ "Exclude items if title or content contains specific keyword(s) "
198
+ "(comma-separated list/case sensitive). "
199
+ msgstr ""
200
+
201
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:236
202
+ msgid "(eg: politics, gossip etc.)"
203
+ msgstr ""
204
+
205
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:244
206
  msgid "Item Image Options"
207
  msgstr ""
208
 
209
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:247
210
  msgid "Should we display the first image of the content if it is available?"
211
  msgstr ""
212
 
213
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:266
214
  msgid "Default thumbnail URL if no image is found."
215
  msgstr ""
216
 
217
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:267
218
  msgid "Image URL"
219
  msgstr ""
220
 
221
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:271
222
  msgid "Select from Gallery"
223
  msgstr ""
224
 
225
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:275
226
  msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
227
  msgstr ""
228
 
229
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:276
230
  msgid "(eg: 150)"
231
  msgstr ""
232
 
233
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:283
234
  msgid "PRO Options"
235
  msgstr ""
236
 
237
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:284
238
  msgid ""
239
  "Get access to more options and customizations with full version of Feedzy "
240
  "RSS Feeds . Use existing templates or extend them and make them your own."
241
  msgstr ""
242
 
243
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:284
244
  msgid "See more features of Feedzy RSS Feeds "
245
  msgstr ""
246
 
247
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:287
248
  msgid "Should we display the price from the feed if it is available?"
249
  msgstr ""
250
 
251
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:307
 
 
 
 
 
 
 
252
  msgid "Referral URL parameters (w/o \"?\")."
253
  msgstr ""
254
 
255
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:308
256
  msgid "(eg. promo_code=feedzy_is_awesome)"
257
  msgstr ""
258
 
259
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:314
260
  msgid "How many columns we should use to display the feed items"
261
  msgstr ""
262
 
263
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:315
264
  msgid "(eg. 1, 2, ..., 6)"
265
  msgstr ""
266
 
267
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:321
268
  msgid "Template to use when displaying the feed."
269
  msgstr ""
270
 
271
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:327
272
  msgid "Default"
273
  msgstr ""
274
 
275
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:331
276
  msgid "Style 1"
277
  msgstr ""
278
 
279
+ #: includes/admin/feedzy-rss-feeds-ui-lang.php:335
280
  msgid "Style 2"
281
  msgstr ""
282
 
readme.txt CHANGED
@@ -31,14 +31,16 @@ The plugin uses the SimplePie php CLASS natively included in WordPress. SimplePi
31
  FEEDZY RSS Feeds therefore supports any additional library and uses only the bare minimum to ensure good performance (minimalistic CSS + cache). This will ensure compatibility with any hosting provider that supports WordPress, but if for any reason it doesn't work for yours feel free to <a href="http://themeisle.com/contact/" rel="nofollow">contact us</a>.
32
 
33
 
34
- = ** See how Feedzy can integrate with your website ** =
35
 
36
- * [Shop feed – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
37
- * [Large image square grid – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/2-columns-large-images-square-grid/)
38
- * [Square grid template 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/square-template/)
39
- * [Round grid templates – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/round-grid-template/)
40
- * [Standard grid layout2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/grid-layout-feed-items/)
41
- * [Blog layout1 column layout](https://demo.themeisle.com/feedzy-rss-feeds/blog-layout/)
 
 
42
 
43
 
44
  You may use this plugin in your widgets and your pages and reuse the shortcode + widget several times within the same page.
@@ -128,6 +130,23 @@ Yes it is.
128
 
129
  You have to check first if your feed is valid. Please test it here: https://validator.w3.org/feed/
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
 
132
  == Screenshots ==
133
 
@@ -139,6 +158,10 @@ You have to check first if your feed is valid. Please test it here: https://vali
139
 
140
  == Changelog ==
141
 
 
 
 
 
142
  = 3.0.2 - 06/01/2017 =
143
  * Fixed default class back
144
 
31
  FEEDZY RSS Feeds therefore supports any additional library and uses only the bare minimum to ensure good performance (minimalistic CSS + cache). This will ensure compatibility with any hosting provider that supports WordPress, but if for any reason it doesn't work for yours feel free to <a href="http://themeisle.com/contact/" rel="nofollow">contact us</a>.
32
 
33
 
34
+ = See how Feedzy can integrate with your website =
35
 
36
+
37
+
38
+ * [Shop feed3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
39
+ * [Large image square grid – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/2-columns-large-images-square-grid/)
40
+ * [Square grid template3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/square-template/)
41
+ * [Round grid templates 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/round-grid-template/)
42
+ * [Standard grid layout – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/grid-layout-feed-items/)
43
+ * [Blog layout – 1 column layout](https://demo.themeisle.com/feedzy-rss-feeds/blog-layout/)
44
 
45
 
46
  You may use this plugin in your widgets and your pages and reuse the shortcode + widget several times within the same page.
130
 
131
  You have to check first if your feed is valid. Please test it here: https://validator.w3.org/feed/
132
 
133
+ = Other useful custom codes =
134
+
135
+ [How to change cache lifetime for a specific feed]( http://docs.themeisle.com/article/547-how-to-change-cache-lifetime-for-a-specific-feed )
136
+ [How to change thumbs size and aspect ratio]( http://docs.themeisle.com/article/551-how-to-change-thumbs-size-and-aspect-ratio )
137
+ [What hooks and filters are available in Feedzy]( http://docs.themeisle.com/article/540-what-hooks-and-filters-are-available-in-feedzy )
138
+ [How to change the blacklist image name]( http://docs.themeisle.com/article/552-how-to-change-the-blacklist-image-name )
139
+ [How to decode item title]( http://docs.themeisle.com/article/548-how-to-decode-item-title-with )
140
+ [How to remove featured image from blog feed]( http://docs.themeisle.com/article/554-how-to-remove-featured-image-from-blog-feed )
141
+ [How to keep html in feed items content]( http://docs.themeisle.com/article/542-how-to-keep-html-in-feed-items-content )
142
+ [How to remove plugin css]( http://docs.themeisle.com/article/545-how-to-remove-plugin-css )
143
+ [How to use your own inline css]( http://docs.themeisle.com/article/546-how-to-use-your-own-inline-css )
144
+ [How to remove links]( http://docs.themeisle.com/article/541-how-to-remove-links )
145
+ [How to add a read more link]( http://docs.themeisle.com/article/544-how-to-add-a-read-more-link )
146
+ [How to remove time from publication date]( http://docs.themeisle.com/article/553-how-to-remove-time-from-publication-date )
147
+ [How to handle publication date and author content]( http://docs.themeisle.com/article/549-how-to-handle-time-and-date-content )
148
+ [How to display items in a random order]( http://docs.themeisle.com/article/550-how-to-display-items-in-a-random-order )
149
+ [How to remove the end hellip]( http://docs.themeisle.com/article/543-how-to-remove-the-end-hellip )
150
 
151
  == Screenshots ==
152
 
158
 
159
  == Changelog ==
160
 
161
+ = 3.0.3 - 06/01/2017 =
162
+ * Fixed blog feed feature image filter
163
+ * Improved documentation and examples
164
+
165
  = 3.0.2 - 06/01/2017 =
166
  * Fixed default class back
167