FEEDZY RSS Feeds Lite - Version 3.1.0

Version Description

  • 17/05/2017 =
  • Added feed categories for grouping urls.
  • Added support for feed to post feature.
  • Fixed regex for jpeg image ( Reported by @piccart )
  • Added filter for author url ( Thanks to @piccart )
Download this release

Release Info

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

Code changes from version 3.0.12 to 3.1.0

CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
 
2
- ### v3.0.12 - 2017-04-24
3
  **Changes:**
4
-
 
 
 
 
5
  ### v3.0.12 - 2017-04-24
6
  **Changes:**
7
  - Fixed svn commit.
1
 
2
+ ### v3.1.0 - 2017-05-17
3
  **Changes:**
4
+ - Added feed to post compatibility
5
+ - Added categories to group urls
6
+ - Added filter for author url
7
+ - Fixed regex for jpeg images.
8
+
9
  ### v3.0.12 - 2017-04-24
10
  **Changes:**
11
  - Fixed svn commit.
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.12
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
@@ -427,3 +427,100 @@ i.mce-i-feedzy-icon {
427
  clear: both;
428
  }
429
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  * feedzy-rss-feeds.css
3
  * Feedzy RSS Feed
4
  * Copyright: (c) 2016 Themeisle, themeisle.com
5
+ * Version: 3.1.0
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
427
  clear: both;
428
  }
429
  }
430
+
431
+ /* The switch - the box around the slider */
432
+ .feedzy-switch {
433
+ display: inline-block;
434
+ position: relative;
435
+ width: 30px;
436
+ height: 18px;
437
+ margin-left: 20px;
438
+ }
439
+
440
+ /* Hide default HTML checkbox */
441
+ .feedzy-switch input {
442
+ display: none;
443
+ }
444
+
445
+ /* The slider */
446
+ .feedzy-tracking sup {
447
+ vertical-align: 3px;
448
+ }
449
+
450
+ .feedzy-track {
451
+ position: absolute;
452
+ top: 0;
453
+ right: 0;
454
+ bottom: 0;
455
+ left: 0;
456
+ background-color: #ccc;
457
+ cursor: pointer;
458
+ -webkit-transition: 0.4s;
459
+ transition: 0.4s;
460
+ }
461
+
462
+ .feedzy-track:before {
463
+ position: absolute;
464
+ bottom: 1.5px;
465
+ left: 2px;
466
+ width: 15px;
467
+ height: 15px;
468
+ background-color: white;
469
+ content: "";
470
+ -webkit-transition: 0.4s;
471
+ transition: 0.4s;
472
+ }
473
+
474
+ input:checked + .feedzy-track {
475
+ background-color: #0085ba;
476
+ }
477
+
478
+ input:focus + .feedzy-track {
479
+ -webkit-box-shadow: 0 0 1px #0085ba;
480
+ box-shadow: 0 0 1px #0085ba;
481
+ }
482
+
483
+ input:checked + .feedzy-track:before {
484
+ -webkit-transform: translateX(11px);
485
+ -ms-transform: translateX(11px);
486
+ transform: translateX(11px);
487
+ }
488
+
489
+ /* Rounded sliders */
490
+ .feedzy-track.visualizer-round {
491
+ border-radius: 34px;
492
+ }
493
+
494
+ .feedzy-track.visualizer-round:before {
495
+ border-radius: 50%;
496
+ }
497
+
498
+ .feedzy-tracking p small sup {
499
+ margin-left: -3px;
500
+ }
501
+
502
+ .feedzy-tracking p {
503
+ padding-left: 14px;
504
+ color: #23282d;
505
+ font-size: 12px;
506
+ line-height: 12px;
507
+ text-align: left;
508
+ }
509
+
510
+ .feedzy-tracking span {
511
+ margin-left: 10px;
512
+ color: #23282d;
513
+ background: none;
514
+ font-size: 14px;
515
+ font-weight: bold;
516
+ }
517
+
518
+ /* More features - icon */
519
+ .more-features-icon {
520
+ width: 17px;
521
+ height: 17px;
522
+ margin-left: 4px;
523
+ color: #ffca54;
524
+ font-size: 17px;
525
+ vertical-align: -3px;
526
+ }
feedzy-rss-feed.php CHANGED
@@ -15,13 +15,15 @@
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.12
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
22
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
23
  * Text Domain: feedzy-rss-feeds
24
  * Domain Path: /languages
 
 
25
  */
26
  // If this file is called directly, abort.
27
  if ( ! defined( 'WPINC' ) ) {
@@ -98,8 +100,14 @@ function run_feedzy_rss_feeds() {
98
  define( 'FEEDZY_BASEFILE', __FILE__ );
99
  define( 'FEEDZY_ABSURL', plugins_url( '/', __FILE__ ) );
100
  define( 'FEEDZY_ABSPATH', dirname( __FILE__ ) );
 
101
  $feedzy = Feedzy_Rss_Feeds::instance();
102
  $feedzy->run();
 
 
 
 
 
103
  }
104
 
105
  spl_autoload_register( 'feedzy_rss_feeds_autoload' );
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.1.0
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
22
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
23
  * Text Domain: feedzy-rss-feeds
24
  * Domain Path: /languages
25
+ * WordPress Available: yes
26
+ * Requires License: no
27
  */
28
  // If this file is called directly, abort.
29
  if ( ! defined( 'WPINC' ) ) {
100
  define( 'FEEDZY_BASEFILE', __FILE__ );
101
  define( 'FEEDZY_ABSURL', plugins_url( '/', __FILE__ ) );
102
  define( 'FEEDZY_ABSPATH', dirname( __FILE__ ) );
103
+ define( 'FEEDZY_UPSELL_LINK', 'https://themeisle.com/plugins/feedzy-rss-feeds/' );
104
  $feedzy = Feedzy_Rss_Feeds::instance();
105
  $feedzy->run();
106
+ $vendor_file = FEEDZY_ABSPATH . '/vendor/autoload_52.php';
107
+ if ( is_readable( $vendor_file ) ) {
108
+ require_once $vendor_file;
109
+ ThemeIsle_SDK_Loader::init_product( FEEDZY_BASEFILE );
110
+ }
111
  }
112
 
113
  spl_autoload_register( 'feedzy_rss_feeds_autoload' );
img/features-affiliate-ready.jpg ADDED
Binary file
img/features-caching.jpg ADDED
Binary file
img/features-feed-to-post.jpg ADDED
Binary file
img/features-templates.jpg ADDED
Binary file
img/features-widgets-support.jpg ADDED
Binary file
includes/abstract/feedzy-rss-feeds-admin-abstract.php CHANGED
@@ -180,6 +180,39 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
180
  }
181
  }
182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  /**
184
  * Main shortcode function
185
  *
@@ -192,59 +225,12 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
192
  * @return mixed
193
  */
194
  public function feedzy_rss( $atts, $content = '' ) {
195
- // Load SimplePie if not already
196
- if ( ! class_exists( 'SimplePie' ) ) {
197
- require_once( ABSPATH . WPINC . '/feed.php' );
198
- }
199
  $sc = $this->get_short_code_attributes( $atts );
200
- $feedURL = $this->get_feed_url( $sc['feeds'] );
201
- // Load SimplePie Instance
202
- $feed = fetch_feed( $feedURL );
203
- // TODO report error when is an error loading the feed
204
- if ( is_wp_error( $feed ) ) {
205
- // Fallback for different edge cases.
206
- if ( is_array( $feedURL ) ) {
207
- $feedURL = array_map( 'html_entity_decode', $feedURL );
208
- } else {
209
- $feedURL = html_entity_decode( $feedURL );
210
- }
211
- $feed = fetch_feed( $feedURL );
212
- if ( is_wp_error( $feed ) ) {
213
- return '';
214
- }
215
  }
216
- $feed->set_sanitize_class( 'SimplePie_Sanitize' );
217
- $feed->sanitize = new SimplePie_Sanitize();
218
- $feed->enable_cache( true );
219
- $feed->enable_order_by_date( true );
220
- $feed->set_cache_class( 'WP_Feed_Cache' );
221
- $feed->set_file_class( 'WP_SimplePie_File' );
222
- $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 7200, $feedURL ) );
223
- do_action_ref_array( 'wp_feed_options', array( $feed, $feedURL ) );
224
- $feed->strip_comments( true );
225
- $feed->strip_htmltags( array(
226
- 'base',
227
- 'blink',
228
- 'body',
229
- 'doctype',
230
- 'embed',
231
- 'font',
232
- 'form',
233
- 'frame',
234
- 'frameset',
235
- 'html',
236
- 'iframe',
237
- 'input',
238
- 'marquee',
239
- 'meta',
240
- 'noscript',
241
- 'object',
242
- 'param',
243
- 'script',
244
- 'style',
245
- ) );
246
- $feed->init();
247
- $feed->handle_content_type();
248
  $sc = $this->sanitize_attr( $sc, $feedURL );
249
  $content = $this->render_content( $sc, $feed, $content, $feedURL );
250
 
@@ -295,31 +281,80 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
295
  }
296
 
297
  /**
298
- * Get the feed url based on the feeds passed from the shortcode attribute.
299
  *
300
- * @since 3.0.0
301
- * @access public
302
  *
303
- * @param string $feeds The feeds from the shortcode attribute.
 
 
 
 
 
 
 
 
 
 
304
  *
305
- * @return array|mixed
 
 
306
  */
307
- public function get_feed_url( $feeds ) {
308
- $feedURL = '';
309
- if ( ! empty( $feeds ) ) {
310
- $feeds = rtrim( $feeds, ',' );
311
- $feeds = explode( ',', $feeds );
312
- $feedURL = array();
313
- // Remove SSL from HTTP request to prevent fetching errors
314
- foreach ( $feeds as $feed ) {
315
- $feedURL[] = preg_replace( '/^https:/i', 'http:', $feed );
 
 
 
 
 
316
  }
317
- if ( count( $feedURL ) === 1 ) {
318
- $feedURL = $feedURL[0];
 
319
  }
320
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
 
322
- return $feedURL;
323
  }
324
 
325
  /**
@@ -377,40 +412,23 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
377
  * @return string
378
  */
379
  public function render_content( $sc, $feed, $content = '', $feedURL ) {
380
- $count = 0;
381
- $sizes = array(
382
- 'width' => $sc['size'],
383
  'height' => $sc['size'],
384
  );
385
- $sizes = apply_filters( 'feedzy_thumb_sizes', $sizes, $feedURL );
386
- // Display the error message
387
- if ( $feed->error() ) {
388
- $content .= apply_filters( 'feedzy_default_error', $feed->error(), $feedURL );
389
- }
390
  $feed_title['use_title'] = false;
391
  if ( $sc['feed_title'] == 'yes' ) {
392
  $feed_title = $this->get_feed_title_filter( $feed );
393
  $feed_title['use_title'] = true;
394
  }
395
- $count = 0;
396
- $items = apply_filters( 'feedzy_feed_items', $feed->get_items(), $feedURL );
397
- $feed_items = array();
398
- foreach ( (array) $items as $item ) {
399
- if ( trim( $item->get_title() ) != '' ) {
400
- $continue = apply_filters( 'feedzy_item_keyword', true, $sc, $item, $feedURL );
401
- if ( $continue == true ) {
402
- // Count items
403
- if ( $count >= $sc['max'] ) {
404
- break;
405
- }
406
- $itemAttr = apply_filters( 'feedzy_item_attributes', $itemAttr = '', $sizes, $item, $feedURL, $sc );
407
- $feed_items[ $count ] = $this->get_feed_item_filter( $sc, $sizes, $item, $feedURL );
408
- $feed_items[ $count ]['itemAttr'] = $itemAttr;
409
- $count ++;
410
- }
411
- }
412
  }
413
- $content = '<div class="feedzy-rss">';
 
414
  if ( $feed_title['use_title'] ) {
415
  $content .= '<div class="rss_header">';
416
  $content .= '<h2><a href="' . $feed->get_permalink() . '" class="rss_title">' . html_entity_decode( $feed->get_title() ) . '</a> <span class="rss_description"> ' . $feed->get_description() . '</span></h2>';
@@ -466,6 +484,71 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
466
  );
467
  }
468
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
469
  /**
470
  * Retrive the filter item array
471
  *
@@ -529,7 +612,9 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
529
  }
530
  if ( $authorName ) {
531
  $domain = parse_url( $newLink );
532
- $contentMeta .= __( 'by', 'feedzy-rss-feeds' ) . ' <a href="http://' . $domain['host'] . '" target="' . $sc['target'] . '" title="' . $domain['host'] . '" >' . $authorName . '</a> ';
 
 
533
  }
534
  }
535
  if ( $metaArgs['date'] ) {
@@ -560,10 +645,13 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
560
  'item_url_target' => $sc['target'],
561
  'item_url_title' => $item->get_title(),
562
  'item_img' => $contentThumb,
 
563
  'item_title' => $contentTitle,
564
  'item_content_class' => 'rss_content',
565
  'item_content_style' => '',
566
  'item_meta' => $contentMeta,
 
 
567
  'item_description' => $contentSummary,
568
  );
569
  $itemArray = apply_filters( 'feedzy_item_filter', $itemArray, $item );
@@ -595,13 +683,13 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
595
  }
596
  }
597
  if ( $thumbnail = $enclosure->embed() ) {
598
- $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/i';
599
  if ( preg_match( $pattern, $thumbnail, $matches ) ) {
600
  $theThumbnail = $matches[0];
601
  }
602
  }
603
  foreach ( (array) $enclosure->get_link() as $thumbnail ) {
604
- $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpe|JPE|jpeg|JPEG|gif|GIF|png|PNG)/i';
605
  $imgsrc = $thumbnail;
606
  if ( preg_match( $pattern, $imgsrc, $matches ) ) {
607
  $theThumbnail = $matches[0];
@@ -787,4 +875,59 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
787
  public function get_tinymce_form() {
788
  die( include FEEDZY_ABSPATH . '/form/form.php' );
789
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
790
  }
180
  }
181
  }
182
 
183
+ /**
184
+ * Utility method to check if source is a URL's string
185
+ * or if is a post type slug.
186
+ *
187
+ * @since 3.0.12
188
+ * @access public
189
+ *
190
+ * @param string $src The feeds source string.
191
+ *
192
+ * @return bool|string
193
+ */
194
+ public function process_feed_source( $src ) {
195
+ $regex = '((https?|ftp)\:\/\/)?'; // Contains Protocol
196
+ $regex .= '([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?'; // Uses User and Pass
197
+ $regex .= '([a-z0-9-.]*)\.([a-z]{2,3})'; // Has Host or IP
198
+ $regex .= '(\:[0-9]{2,5})?'; // Uses Port
199
+ $regex .= '(\/([a-z0-9+\$_-]\.?)+)*\/?'; // Has Path
200
+ $regex .= '(\?[a-z+&\$_.-][a-z0-9;:@&%=+\/\$_.-]*)?'; // Has GET Query
201
+ $regex .= '(#[a-z_.-][a-z0-9+\$_.-]*)?'; // Uses Anchor
202
+ if ( preg_match( "/^$regex$/", $src ) ) {
203
+ // If it matches Regex ( it's not a slug ) so return the sources.
204
+ return $src;
205
+ } else {
206
+ $src = trim( $src );
207
+ if ( $post = get_page_by_path( $src, OBJECT, 'feedzy_categories' ) ) {
208
+ return trim( preg_replace( '/\s+/', ' ', get_post_meta( $post->ID, 'feedzy_category_feed', true ) ) );
209
+ } else {
210
+ return $src;
211
+ }
212
+ }
213
+
214
+ }
215
+
216
  /**
217
  * Main shortcode function
218
  *
225
  * @return mixed
226
  */
227
  public function feedzy_rss( $atts, $content = '' ) {
 
 
 
 
228
  $sc = $this->get_short_code_attributes( $atts );
229
+ $feedURL = $this->normalize_urls( $sc['feeds'] );
230
+ $feed = $this->fetch_feed( $feedURL );
231
+ if ( is_string( $feed ) ) {
232
+ return $feed;
 
 
 
 
 
 
 
 
 
 
 
233
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
234
  $sc = $this->sanitize_attr( $sc, $feedURL );
235
  $content = $this->render_content( $sc, $feed, $content, $feedURL );
236
 
281
  }
282
 
283
  /**
284
+ * Validate feeds attribute.
285
  *
286
+ * @param string $raw Url or list of urls.
 
287
  *
288
+ * @return mixed|void Urls of the feeds.
289
+ */
290
+ public function normalize_urls( $raw ) {
291
+ $feeds = apply_filters( 'feedzy_process_feed_source', $raw );
292
+ $feedURL = apply_filters( 'feedzy_get_feed_url', $feeds );
293
+
294
+ return $feedURL;
295
+ }
296
+
297
+ /**
298
+ * Fetch the content feed from a group of urls.
299
  *
300
+ * @param array $feedURL The feeds urls to fetch content from.
301
+ *
302
+ * @return SimplePie|string|void|WP_Error The feed resource.
303
  */
304
+ public function fetch_feed( $feedURL ) {
305
+ // Load SimplePie if not already
306
+ if ( ! class_exists( 'SimplePie' ) ) {
307
+ require_once( ABSPATH . WPINC . '/feed.php' );
308
+ }
309
+ // Load SimplePie Instance
310
+ $feed = fetch_feed( $feedURL );
311
+ // Report error when is an error loading the feed
312
+ if ( is_wp_error( $feed ) ) {
313
+ // Fallback for different edge cases.
314
+ if ( is_array( $feedURL ) ) {
315
+ $feedURL = array_map( 'html_entity_decode', $feedURL );
316
+ } else {
317
+ $feedURL = html_entity_decode( $feedURL );
318
  }
319
+ $feed = fetch_feed( $feedURL );
320
+ if ( is_wp_error( $feed ) ) {
321
+ return __( 'An error occured for when trying to retrieve feeds! Check the URL\'s provided as feed sources.', 'feedzy-rss-feeds' );
322
  }
323
  }
324
+ $feed->set_sanitize_class( 'SimplePie_Sanitize' );
325
+ $feed->sanitize = new SimplePie_Sanitize();
326
+ $feed->enable_cache( true );
327
+ $feed->enable_order_by_date( true );
328
+ $feed->set_cache_class( 'WP_Feed_Cache' );
329
+ $feed->set_file_class( 'WP_SimplePie_File' );
330
+ $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 7200, $feedURL ) );
331
+ do_action_ref_array( 'wp_feed_options', array( $feed, $feedURL ) );
332
+ $feed->strip_comments( true );
333
+ $feed->strip_htmltags( array(
334
+ 'base',
335
+ 'blink',
336
+ 'body',
337
+ 'doctype',
338
+ 'embed',
339
+ 'font',
340
+ 'form',
341
+ 'frame',
342
+ 'frameset',
343
+ 'html',
344
+ 'iframe',
345
+ 'input',
346
+ 'marquee',
347
+ 'meta',
348
+ 'noscript',
349
+ 'object',
350
+ 'param',
351
+ 'script',
352
+ 'style',
353
+ ) );
354
+ $feed->init();
355
+ $feed->handle_content_type();
356
 
357
+ return $feed;
358
  }
359
 
360
  /**
412
  * @return string
413
  */
414
  public function render_content( $sc, $feed, $content = '', $feedURL ) {
415
+ $count = 0;
416
+ $sizes = array(
417
+ 'width' => $sc['size'],
418
  'height' => $sc['size'],
419
  );
420
+ $sizes = apply_filters( 'feedzy_thumb_sizes', $sizes, $feedURL );
 
 
 
 
421
  $feed_title['use_title'] = false;
422
  if ( $sc['feed_title'] == 'yes' ) {
423
  $feed_title = $this->get_feed_title_filter( $feed );
424
  $feed_title['use_title'] = true;
425
  }
426
+ // Display the error message
427
+ if ( $feed->error() ) {
428
+ $content .= apply_filters( 'feedzy_default_error', $feed->error(), $feedURL );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429
  }
430
+ $feed_items = apply_filters( 'feedzy_get_feed_array', array(), $sc, $feed, $feedURL, $sizes );
431
+ $content = '<div class="feedzy-rss">';
432
  if ( $feed_title['use_title'] ) {
433
  $content .= '<div class="rss_header">';
434
  $content .= '<h2><a href="' . $feed->get_permalink() . '" class="rss_title">' . html_entity_decode( $feed->get_title() ) . '</a> <span class="rss_description"> ' . $feed->get_description() . '</span></h2>';
484
  );
485
  }
486
 
487
+ /**
488
+ * Get the feed url based on the feeds passed from the shortcode attribute.
489
+ *
490
+ * @since 3.0.0
491
+ * @access public
492
+ *
493
+ * @param string $feeds The feeds from the shortcode attribute.
494
+ *
495
+ * @return array|mixed
496
+ */
497
+ public function get_feed_url( $feeds ) {
498
+ $feedURL = '';
499
+ if ( ! empty( $feeds ) ) {
500
+ $feeds = rtrim( $feeds, ',' );
501
+ $feeds = explode( ',', $feeds );
502
+ $feedURL = array();
503
+ // Remove SSL from HTTP request to prevent fetching errors
504
+ foreach ( $feeds as $feed ) {
505
+ $feedURL[] = preg_replace( '/^https:/i', 'http:', $feed );
506
+ }
507
+ if ( count( $feedURL ) === 1 ) {
508
+ $feedURL = $feedURL[0];
509
+ }
510
+ }
511
+
512
+ return $feedURL;
513
+ }
514
+
515
+ /**
516
+ * Utility method to return feed in array format
517
+ * before content render.
518
+ *
519
+ * @since 3.0.12
520
+ * @access public
521
+ *
522
+ * @param array $feed_items The feed items array.
523
+ * @param array $sc The short code attributes.
524
+ * @param object $feed The feed object.
525
+ * @param string $feedURL The feed URL source/s.
526
+ * @param array $sizes Sizes array.
527
+ *
528
+ * @return array
529
+ */
530
+ public function get_feed_array( $feed_items = array(), $sc, $feed, $feedURL, $sizes ) {
531
+ $count = 0;
532
+ $items = apply_filters( 'feedzy_feed_items', $feed->get_items(), $feedURL );
533
+ foreach ( (array) $items as $item ) {
534
+ if ( trim( $item->get_title() ) != '' ) {
535
+ $continue = apply_filters( 'feedzy_item_keyword', true, $sc, $item, $feedURL );
536
+ if ( $continue == true ) {
537
+ // Count items
538
+ if ( $count >= $sc['max'] ) {
539
+ break;
540
+ }
541
+ $itemAttr = apply_filters( 'feedzy_item_attributes', $itemAttr = '', $sizes, $item, $feedURL, $sc );
542
+ $feed_items[ $count ] = $this->get_feed_item_filter( $sc, $sizes, $item, $feedURL );
543
+ $feed_items[ $count ]['itemAttr'] = $itemAttr;
544
+ $count ++;
545
+ }
546
+ }
547
+ }
548
+
549
+ return $feed_items;
550
+ }
551
+
552
  /**
553
  * Retrive the filter item array
554
  *
612
  }
613
  if ( $authorName ) {
614
  $domain = parse_url( $newLink );
615
+ $authorURL = 'http://' . $domain['host'];
616
+ $authorURL = apply_filters( 'feedzy_author_url', $authorURL, $feedURL );
617
+ $contentMeta .= __( 'by', 'feedzy-rss-feeds' ) . ' <a href="http://' . $authorURL . '" target="' . $sc['target'] . '" title="' . $domain['host'] . '" >' . $authorName . '</a> ';
618
  }
619
  }
620
  if ( $metaArgs['date'] ) {
645
  'item_url_target' => $sc['target'],
646
  'item_url_title' => $item->get_title(),
647
  'item_img' => $contentThumb,
648
+ 'item_img_path' => $this->feedzy_retrieve_image( $item ),
649
  'item_title' => $contentTitle,
650
  'item_content_class' => 'rss_content',
651
  'item_content_style' => '',
652
  'item_meta' => $contentMeta,
653
+ 'item_date' => $item->get_date( 'U' ),
654
+ 'item_author' => $item->get_author(),
655
  'item_description' => $contentSummary,
656
  );
657
  $itemArray = apply_filters( 'feedzy_item_filter', $itemArray, $item );
683
  }
684
  }
685
  if ( $thumbnail = $enclosure->embed() ) {
686
+ $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpeg|JPEG|jpe|JPE|gif|GIF|png|PNG)/i';
687
  if ( preg_match( $pattern, $thumbnail, $matches ) ) {
688
  $theThumbnail = $matches[0];
689
  }
690
  }
691
  foreach ( (array) $enclosure->get_link() as $thumbnail ) {
692
+ $pattern = '/https?:\/\/.*\.(?:jpg|JPG|jpeg|JPEG|jpe|JPE|gif|GIF|png|PNG)/i';
693
  $imgsrc = $thumbnail;
694
  if ( preg_match( $pattern, $imgsrc, $matches ) ) {
695
  $theThumbnail = $matches[0];
875
  public function get_tinymce_form() {
876
  die( include FEEDZY_ABSPATH . '/form/form.php' );
877
  }
878
+
879
+ /**
880
+ * Method used to render upsell page.
881
+ *
882
+ * @since 3.0.12
883
+ * @access public
884
+ */
885
+ public function render_upsell() {
886
+ $this->load_layout( 'feedzy-upsell' );
887
+ }
888
+
889
+ /**
890
+ * Method used to render pages
891
+ *
892
+ * @since 3.0.12
893
+ * @access public
894
+ *
895
+ * @param string $layout_name The name of the layout.
896
+ *
897
+ * @return mixed
898
+ */
899
+ public function load_layout( $layout_name ) {
900
+ wp_enqueue_style( 'feedzy-upsell', FEEDZY_ABSURL . '/includes/layouts/css/upsell.css' );
901
+ include( FEEDZY_ABSPATH . '/includes/layouts/' . $layout_name . '.php' );
902
+ }
903
+
904
+ /**
905
+ * Utility method to insert before specific key
906
+ * in an associative array.
907
+ *
908
+ * @since 3.0.12
909
+ * @access public
910
+ *
911
+ * @param string $key The key before to insert.
912
+ * @param array $array The array in which to insert the new key.
913
+ * @param string $new_key The new key name.
914
+ * @param mixed $new_value The new key value.
915
+ *
916
+ * @return array|bool
917
+ */
918
+ protected function array_insert_before( $key, &$array, $new_key, $new_value ) {
919
+ if ( array_key_exists( $key, $array ) ) {
920
+ $new = array();
921
+ foreach ( $array as $k => $value ) {
922
+ if ( $k === $key ) {
923
+ $new[ $new_key ] = $new_value;
924
+ }
925
+ $new[ $k ] = $value;
926
+ }
927
+
928
+ return $new;
929
+ }
930
+
931
+ return false;
932
+ }
933
  }
includes/admin/feedzy-rss-feeds-admin.php CHANGED
@@ -25,34 +25,34 @@
25
  class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
26
 
27
  /**
28
- * The ID of this plugin.
29
  *
30
  * @since 3.0.0
31
- * @access private
32
- * @var string $plugin_name The ID of this plugin.
33
  */
34
- private $plugin_name;
35
-
36
  /**
37
- * The version of this plugin.
38
  *
39
  * @since 3.0.0
40
- * @access protected
41
- * @var string $version The current version of this plugin.
42
  */
43
- protected $version;
44
 
45
  /**
46
  * Initialize the class and set its properties.
47
  *
48
  * @since 3.0.0
49
  * @access public
50
- * @param string $plugin_name The name of this plugin.
51
- * @param string $version The version of this plugin.
 
52
  */
53
  public function __construct( $plugin_name, $version ) {
54
  $this->plugin_name = $plugin_name;
55
- $this->version = $version;
56
  }
57
 
58
  /**
@@ -62,7 +62,6 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
62
  * @access public
63
  */
64
  public function enqueue_styles() {
65
-
66
  /**
67
  * This function is provided for demonstration purposes only.
68
  *
@@ -74,7 +73,6 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
74
  * between the defined hooks and the functions defined in this
75
  * class.
76
  */
77
-
78
  wp_enqueue_style( $this->plugin_name, FEEDZY_ABSURL . 'css/feedzy-rss-feeds.css', array(), $this->version, 'all' );
79
  }
80
 
@@ -100,28 +98,297 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
100
 
101
  }
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  /**
104
  * The custom plugin_row_meta function
105
  * Adds additional links on the plugins page for this plugin
106
  *
107
  * @since 3.0.0
108
  * @access public
109
- * @param array $links The array having default links for the plugin.
110
- * @param string $file The name of the plugin file.
 
111
  *
112
  * @return array
113
  */
114
  public function feedzy_filter_plugin_row_meta( $links, $file ) {
115
-
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 );
123
  }
124
 
125
  return $links;
126
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
25
  class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
26
 
27
  /**
28
+ * The version of this plugin.
29
  *
30
  * @since 3.0.0
31
+ * @access protected
32
+ * @var string $version The current version of this plugin.
33
  */
34
+ protected $version;
 
35
  /**
36
+ * The ID of this plugin.
37
  *
38
  * @since 3.0.0
39
+ * @access private
40
+ * @var string $plugin_name The ID of this plugin.
41
  */
42
+ private $plugin_name;
43
 
44
  /**
45
  * Initialize the class and set its properties.
46
  *
47
  * @since 3.0.0
48
  * @access public
49
+ *
50
+ * @param string $plugin_name The name of this plugin.
51
+ * @param string $version The version of this plugin.
52
  */
53
  public function __construct( $plugin_name, $version ) {
54
  $this->plugin_name = $plugin_name;
55
+ $this->version = $version;
56
  }
57
 
58
  /**
62
  * @access public
63
  */
64
  public function enqueue_styles() {
 
65
  /**
66
  * This function is provided for demonstration purposes only.
67
  *
73
  * between the defined hooks and the functions defined in this
74
  * class.
75
  */
 
76
  wp_enqueue_style( $this->plugin_name, FEEDZY_ABSURL . 'css/feedzy-rss-feeds.css', array(), $this->version, 'all' );
77
  }
78
 
98
 
99
  }
100
 
101
+ /**
102
+ * Ajax endpoint for url tracking.
103
+ *
104
+ * @since 3.0.12
105
+ * @access public
106
+ */
107
+ public function track_url() {
108
+ check_admin_referer( 'feedzy-track', 'nonce' );
109
+ $status = $_POST['status'];
110
+ if ( $status == 'yes' ) {
111
+ update_option( 'feedzy_logger_flag', 'yes' );
112
+ } else {
113
+ update_option( 'feedzy_logger_flag', 'no' );
114
+ }
115
+ wp_send_json_success( array(
116
+ 'status' => $status,
117
+ ) );
118
+ }
119
+
120
+ /**
121
+ * Adds tracking box to the edit screen
122
+ *
123
+ * @since 3.0.12
124
+ * @access public
125
+ */
126
+ public function enable_tracking() {
127
+ $checked = get_option( 'feedzy_logger_flag', 'no' ) === 'yes' ? 'checked' : '';
128
+ ?>
129
+ <div class="feedzy-tracking"><label class="feedzy-switch" style="display: inline-block;"><input type="checkbox"
130
+ onchange="return toggel_track();" <?php echo $checked; ?>>
131
+ <div class="feedzy-track visualizer-round"></div>
132
+ </label><span><?php _e( 'Enable Tracking', 'feedzy-rss-feeds' ); ?> <sup>*</sup></span>
133
+ <p>
134
+ <small><sup>*</sup><?php _e( 'Allow Themeisle to anonymously track how this plugin is used and help us make the
135
+ plugin better. No sensitive data is tracked.', 'feedzy-rss-feeds' ); ?>
136
+ </small>
137
+ </p>
138
+ </div>
139
+ <script type="text/javascript">
140
+ function toggel_track() {
141
+
142
+ var check_status = jQuery('.feedzy-switch input').is(':checked');
143
+
144
+ var data = {
145
+ 'action': 'track_url',
146
+ 'nonce': '<?php echo wp_create_nonce( 'feedzy-track' ); ?>',
147
+ 'status': ( check_status ) ? 'yes' : 'no'
148
+ };
149
+
150
+ // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
151
+ jQuery.post(ajaxurl, data, function (response) {
152
+ console.log(response);
153
+ });
154
+
155
+ return true;
156
+ }
157
+ </script>
158
+ <?php
159
+ }
160
+
161
+ /**
162
+ * Method to register custom post type for
163
+ * Feedzy RSS Feeds Categories.
164
+ *
165
+ * @since 3.0.12
166
+ * @access public
167
+ */
168
+ public function register_post_type() {
169
+ $labels = array(
170
+ 'name' => __( 'Feed Categories', 'feedzy-rss-feeds' ),
171
+ 'singular_name' => __( 'Feed Category', 'feedzy-rss-feeds' ),
172
+ 'add_new' => __( 'Add Category', 'feedzy-rss-feeds' ),
173
+ 'add_new_item' => __( 'Add Category', 'feedzy-rss-feeds' ),
174
+ 'edit_item' => __( 'Edit Category', 'feedzy-rss-feeds' ),
175
+ 'new_item' => __( 'New Feed Category', 'feedzy-rss-feeds' ),
176
+ 'view_item' => __( 'View Category', 'feedzy-rss-feeds' ),
177
+ 'search_items' => __( 'Search Category', 'feedzy-rss-feeds' ),
178
+ 'not_found' => __( 'No categories found', 'feedzy-rss-feeds' ),
179
+ 'not_found_in_trash' => __( 'No categories in the trash', 'feedzy-rss-feeds' ),
180
+ );
181
+ $supports = array(
182
+ 'title',
183
+ );
184
+ $args = array(
185
+ 'labels' => $labels,
186
+ 'supports' => $supports,
187
+ 'public' => true,
188
+ 'exclude_from_search' => true,
189
+ 'publicly_queryable' => false,
190
+ 'show_in_nav_menus' => false,
191
+ 'capability_type' => 'post',
192
+ 'rewrite' => array( 'slug' => 'feedzy-category' ),
193
+ 'show_in_menu' => 'feedzy-admin-menu',
194
+ 'register_meta_box_cb' => array( $this, 'add_feedzy_post_type_metaboxes' ),
195
+ );
196
+ $args = apply_filters( 'feedzy_post_type_args', $args );
197
+ register_post_type( 'feedzy_categories', $args );
198
+ }
199
+
200
+ /**
201
+ * Method to add a meta box to `feedzy_categories`
202
+ * custom post type.
203
+ *
204
+ * @since 3.0.12
205
+ * @access public
206
+ */
207
+ public function add_feedzy_post_type_metaboxes() {
208
+ add_meta_box( 'feedzy_category_feeds', __( 'Category Feeds', 'feedzy-rss-feeds' ), array(
209
+ $this,
210
+ 'feedzy_category_feed',
211
+ ), 'feedzy_categories', 'normal', 'high' );
212
+ if ( ! class_exists( 'Feedzy_Rss_Feeds_Pro' ) ) {
213
+ add_meta_box(
214
+ 'feedzy_categories_enable_tracking', __( 'Contribute to Feedzy RSS Feeds', 'feedzy-rss-feeds' ),
215
+ array(
216
+ $this,
217
+ 'enable_tracking',
218
+ ),
219
+ 'feedzy_categories', 'side'
220
+ );
221
+ }
222
+ }
223
+
224
+ /**
225
+ * Meta box callback function to display a textarea
226
+ * inside the custom post edit page.
227
+ *
228
+ * @since 3.0.12
229
+ * @access public
230
+ * @return mixed
231
+ */
232
+ public function feedzy_category_feed() {
233
+ global $post;
234
+ $nonce = wp_create_nonce( FEEDZY_BASEFILE );
235
+ $feed = get_post_meta( $post->ID, 'feedzy_category_feed', true );
236
+ $output = '
237
+ <input type="hidden" name="feedzy_category_meta_noncename" id="feedzy_category_meta_noncename" value="' . $nonce . '" />
238
+ <textarea name="feedzy_category_feed" rows="15" class="widefat" placeholder="' . __( 'Place your URL\'s here followed by a comma.', 'feedzy-rss-feeds' ) . '" >' . $feed . '</textarea>
239
+ ';
240
+ echo $output;
241
+ }
242
+
243
+ /**
244
+ * Utility method to save metabox data to
245
+ * custom post type.
246
+ *
247
+ * @since 3.0.12
248
+ * @access public
249
+ *
250
+ * @param integer $post_id The active post ID.
251
+ * @param object $post The post object.
252
+ *
253
+ * @return mixed|integer
254
+ */
255
+ public function save_feedzy_post_type_meta( $post_id, $post ) {
256
+ if (
257
+ empty( $_POST ) ||
258
+ ( isset( $_POST['feedzy_category_meta_noncename'] ) && ! wp_verify_nonce( $_POST['feedzy_category_meta_noncename'], FEEDZY_BASEFILE ) ) ||
259
+ ! current_user_can( 'edit_post', $post_id )
260
+ ) {
261
+ return $post_id;
262
+ }
263
+ $category_meta['feedzy_category_feed'] = array();
264
+ if ( isset( $_POST['feedzy_category_feed'] ) ) {
265
+ $category_meta['feedzy_category_feed'] = $_POST['feedzy_category_feed'];
266
+ }
267
+ if ( $post->post_type == 'revision' ) {
268
+ return true;
269
+ } else {
270
+ foreach ( $category_meta as $key => $value ) {
271
+ $value = implode( ',', (array) $value );
272
+ if ( get_post_meta( $post_id, $key, false ) ) {
273
+ update_post_meta( $post_id, $key, $value );
274
+ } else {
275
+ add_post_meta( $post_id, $key, $value );
276
+ }
277
+ if ( ! $value ) {
278
+ delete_post_meta( $post_id, $key );
279
+ }
280
+ }
281
+
282
+ return true;
283
+ }
284
+ }
285
+
286
+ /**
287
+ * Method for adding `slug` column to post type
288
+ * table and internalize the `title`. Used for
289
+ * table head.
290
+ *
291
+ * @since 3.0.12
292
+ * @access public
293
+ *
294
+ * @param array $columns The default columns array.
295
+ *
296
+ * @return array
297
+ */
298
+ public function feedzy_category_columns( $columns ) {
299
+ $columns['title'] = __( 'Category Title', 'feedzy-rss-feeds' );
300
+ if ( $new_columns = $this->array_insert_before( 'date', $columns, 'slug', __( 'Slug', 'feedzy-rss-feeds' ) ) ) {
301
+ $columns = $new_columns;
302
+ } else {
303
+ $columns['slug'] = __( 'Slug', 'feedzy-rss-feeds' );
304
+ }
305
+
306
+ return $columns;
307
+ }
308
+
309
+ /**
310
+ * Method for displaying post type data in custom
311
+ * added columns.
312
+ *
313
+ * @since 3.0.12
314
+ * @access public
315
+ *
316
+ * @param string $column The column string.
317
+ * @param integer $post_id The active post ID.
318
+ *
319
+ * @return mixed
320
+ */
321
+ public function manage_feedzy_category_columns( $column, $post_id ) {
322
+ global $post;
323
+ switch ( $column ) {
324
+ case 'slug' :
325
+ $slug = $post->post_name;
326
+ if ( empty( $slug ) ) {
327
+ echo __( 'Undefined', 'feedzy-rss-feeds' );
328
+ } else {
329
+ echo '<code>' . $slug . '</code>';
330
+ }
331
+ break;
332
+ default :
333
+ break;
334
+ }
335
+ }
336
+
337
  /**
338
  * The custom plugin_row_meta function
339
  * Adds additional links on the plugins page for this plugin
340
  *
341
  * @since 3.0.0
342
  * @access public
343
+ *
344
+ * @param array $links The array having default links for the plugin.
345
+ * @param string $file The name of the plugin file.
346
  *
347
  * @return array
348
  */
349
  public function feedzy_filter_plugin_row_meta( $links, $file ) {
 
350
  if ( strpos( $file, 'feedzy-rss-feed.php' ) !== false ) {
351
  $new_links = array(
352
+ '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>',
353
+ 'more_features' => '<a href="' . FEEDZY_UPSELL_LINK . '" target="_blank" title="' . __( 'More Plugins', 'feedzy-rss-feeds' ) . '">' . __( 'More Features', 'feedzy-rss-feeds' ) . '<i class="dashicons dashicons-unlock more-features-icon"></i></a>',
354
  );
 
355
  $links = array_merge( $links, $new_links );
356
  }
357
 
358
  return $links;
359
  }
360
+
361
+ /**
362
+ * Method to register pages for admin menu.
363
+ *
364
+ * @since 3.0.12
365
+ * @access public
366
+ */
367
+ public function feedzy_menu_pages() {
368
+ $svg_base64_icon = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NTAuMzkiIGhlaWdodD0iODUwLjM5Ij48cGF0aCBmaWxsPSIjREIzOTM5IiBkPSJNNDI1LjIgMkMxOTAuMzYgMiAwIDE5MS45MiAwIDQyNi4yYzAgMjM0LjI3IDE5MC4zNyA0MjQuMiA0MjUuMiA0MjQuMiAyMzQuODIgMCA0MjUuMi0xODkuOTMgNDI1LjItNDI0LjJDODUwLjQgMTkxLjkgNjYwIDIgNDI1LjIgMnptLTQ2LjU1IDY2OC42NmgtOTEuNTh2LTU3LjFMMjM3LjUgNTY0LjFoLTU3LjI2di05MS4yNGg5NS4yNWwxMDMuMTUgMTAyLjh2OTV6bTE1Mi41MiAwSDQzOS42di0xMzMuM0wzMTMuODUgNDExLjk0aC0xMzMuNnYtOTEuMzZIMzUxLjdMNTMxLjE4IDQ5OS42djE3MS4wNnptMTUyLjU1IDBoLTkxLjU4VjQ2MS4yTDM5MC4wNiAyNTkuNzRIMTgwLjI0di05MS4zNmgyNDcuOGwyNTUuNjggMjU1LjA3djI0Ny4yMnoiLz48L3N2Zz4=';
369
+ add_menu_page( __( 'Feedzy RSS Feeds', 'feedzy-rss-feeds' ), __( 'Feedzy RSS', 'feedzy-rss-feeds' ), 'manage_options', 'feedzy-admin-menu', '', $svg_base64_icon, 98.7666 );
370
+ if ( ! class_exists( 'Feedzy_Rss_Feeds_Pro' ) ) {
371
+ add_submenu_page( 'feedzy-admin-menu', __( 'More Features', 'feedzy-rss-feeds' ), __( 'More Features', 'feedzy-rss-feeds' ) . '<span class="dashicons
372
+ dashicons-star-filled more-features-icon"></span>', 'manage_options', 'feedzy-admin-menu-pro-upsell', array(
373
+ $this,
374
+ 'render_upsell',
375
+ ) );
376
+ } else {
377
+ $is_business = apply_filters( 'feedzy_is_business_filter', false );
378
+ if ( $is_business != false ) {
379
+ add_submenu_page( 'feedzy-admin-menu', __( 'Import Posts', 'feedzy-rss-feeds' ), __( 'Import Posts', 'feedzy-rss-feeds' ), 'manage_options', 'edit.php?post_type=feedzy_imports' );
380
+ }
381
+ }
382
+ }
383
+
384
+ /**
385
+ * Track the feedzy rss feeds usage.
386
+ *
387
+ * @since 3.0.12
388
+ * @access public
389
+ * @return bool Either we should track or not.
390
+ */
391
+ public function check_logger() {
392
+ return ( get_option( 'feedzy_logger_flag', 'no' ) === 'yes' );
393
+ }
394
  }
includes/admin/feedzy-rss-feeds-ui-lang.php CHANGED
@@ -49,7 +49,7 @@ class Feedzy_Rss_Feeds_Ui_Lang {
49
  public function __construct() {
50
  $this->strings = array(
51
  'popup_url' => wp_nonce_url( 'admin-ajax.php', 'feedzy_ajax_token', 'feedzy_request_form_token' ),
52
- 'pro_url' => ' https://themeisle.com/plugins/feedzy-rss-feeds/',
53
  'plugin_label' => __( 'Feedzy Lite', 'feedzy-rss-feeds' ),
54
  'plugin_title' => __( 'Insert Feedzy RSS Feeds Shortcode', 'feedzy-rss-feeds' ),
55
  'image_button' => __( 'Use Image', 'feedzy-rss-feeds' ),
@@ -269,7 +269,7 @@ class Feedzy_Rss_Feeds_Ui_Lang {
269
  ),
270
  'section_pro' => array(
271
  'title' => __( 'PRO Options', 'feedzy-rss-feeds' ),
272
- '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>',
273
  'elements' => array(
274
  'price' => array(
275
  'label' => __( 'Should we display the price from the feed if it is available?', 'feedzy-rss-feeds' ),
49
  public function __construct() {
50
  $this->strings = array(
51
  'popup_url' => wp_nonce_url( 'admin-ajax.php', 'feedzy_ajax_token', 'feedzy_request_form_token' ),
52
+ 'pro_url' => FEEDZY_UPSELL_LINK,
53
  'plugin_label' => __( 'Feedzy Lite', 'feedzy-rss-feeds' ),
54
  'plugin_title' => __( 'Insert Feedzy RSS Feeds Shortcode', 'feedzy-rss-feeds' ),
55
  'image_button' => __( 'Use Image', 'feedzy-rss-feeds' ),
269
  ),
270
  'section_pro' => array(
271
  'title' => __( 'PRO Options', 'feedzy-rss-feeds' ),
272
+ '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="' . FEEDZY_UPSELL_LINK . '" target="_blank"><small>' . __( 'See more features of Feedzy RSS Feeds ', 'feedzy-rss-feeds' ) . '</small></a>',
273
  'elements' => array(
274
  'price' => array(
275
  'label' => __( 'Should we display the price from the feed if it is available?', 'feedzy-rss-feeds' ),
includes/feedzy-rss-feeds.php CHANGED
@@ -48,7 +48,7 @@ class Feedzy_Rss_Feeds {
48
  /**
49
  * The main instance var.
50
  *
51
- * @var Feedzy_Rss_Feeds The one Feedzy_Rss_Feeds istance.
52
  * @since 3.0.4
53
  */
54
  private static $instance;
@@ -70,7 +70,7 @@ class Feedzy_Rss_Feeds {
70
  */
71
  protected $upgrader;
72
  /**
73
- * The class responsible for all admin proceses.
74
  *
75
  * @since 3.0.3
76
  * @access protected
@@ -104,7 +104,7 @@ class Feedzy_Rss_Feeds {
104
  */
105
  public function init() {
106
  self::$plugin_name = 'feedzy-rss-feeds';
107
- self::$version = '3.0.12';
108
  self::$instance->load_dependencies();
109
  self::$instance->set_locale();
110
  self::$instance->define_admin_hooks();
@@ -182,11 +182,22 @@ class Feedzy_Rss_Feeds {
182
  * of the plugin.
183
  *
184
  * @since 3.0.0
 
185
  * @access private
186
  */
187
  private function define_admin_hooks() {
188
  $plugin_ui = new Feedzy_Rss_Feeds_Ui( self::$instance->get_plugin_name(), self::$instance->get_version(), self::$instance->loader );
189
  self::$instance->loader->add_action( 'init', $plugin_ui, 'register_init' );
 
 
 
 
 
 
 
 
 
 
190
  self::$instance->loader->add_filter( 'mce_external_languages', $plugin_ui, 'feedzy_add_tinymce_lang', 10, 1 );
191
  self::$instance->loader->add_filter( 'plugin_row_meta', self::$instance->admin, 'feedzy_filter_plugin_row_meta', 10, 2 );
192
  self::$instance->loader->add_filter( 'feedzy_default_image', self::$instance->admin, 'feedzy_define_default_image' );
@@ -196,6 +207,9 @@ class Feedzy_Rss_Feeds {
196
  self::$instance->loader->add_filter( 'feedzy_register_options', self::$instance->admin, 'register_options' );
197
  self::$instance->loader->add_filter( 'feedzy_summary_input', self::$instance->admin, 'feedzy_summary_input_filter', 9, 3 );
198
  self::$instance->loader->add_filter( 'feedzy_item_keyword', self::$instance->admin, 'feedzy_feed_item_keywords_title', 9, 4 );
 
 
 
199
  add_shortcode( 'feedzy-rss', array( self::$instance->admin, 'feedzy_rss' ) );
200
  self::$instance->loader->add_action( 'wp_ajax_get_tinymce_form', self::$instance->admin, 'get_tinymce_form' );
201
  self::$instance->loader->add_action( 'wp_enqueue_scripts', self::$instance->admin, 'enqueue_styles' );
48
  /**
49
  * The main instance var.
50
  *
51
+ * @var Feedzy_Rss_Feeds The one Feedzy_Rss_Feeds instance.
52
  * @since 3.0.4
53
  */
54
  private static $instance;
70
  */
71
  protected $upgrader;
72
  /**
73
+ * The class responsible for all admin processes.
74
  *
75
  * @since 3.0.3
76
  * @access protected
104
  */
105
  public function init() {
106
  self::$plugin_name = 'feedzy-rss-feeds';
107
+ self::$version = '3.1.0';
108
  self::$instance->load_dependencies();
109
  self::$instance->set_locale();
110
  self::$instance->define_admin_hooks();
182
  * of the plugin.
183
  *
184
  * @since 3.0.0
185
+ * @updated 3.0.12
186
  * @access private
187
  */
188
  private function define_admin_hooks() {
189
  $plugin_ui = new Feedzy_Rss_Feeds_Ui( self::$instance->get_plugin_name(), self::$instance->get_version(), self::$instance->loader );
190
  self::$instance->loader->add_action( 'init', $plugin_ui, 'register_init' );
191
+ self::$instance->loader->add_action( 'init', self::$instance->admin, 'register_post_type' );
192
+ self::$instance->loader->add_action( 'save_post', self::$instance->admin, 'save_feedzy_post_type_meta', 1, 2 );
193
+
194
+ self::$instance->loader->add_action( 'manage_feedzy_categories_posts_custom_column', self::$instance->admin, 'manage_feedzy_category_columns', 10, 2 );
195
+ self::$instance->loader->add_filter( 'manage_feedzy_categories_posts_columns', self::$instance->admin, 'feedzy_category_columns' );
196
+
197
+ self::$instance->loader->add_filter( 'feedzy_rss_feeds_logger_flag', self::$instance->admin, 'check_logger', 10, 2 );
198
+ self::$instance->loader->add_action( 'wp_ajax_track_url', self::$instance->admin, 'track_url' );
199
+
200
+ self::$instance->loader->add_action( 'admin_menu', self::$instance->admin, 'feedzy_menu_pages' );
201
  self::$instance->loader->add_filter( 'mce_external_languages', $plugin_ui, 'feedzy_add_tinymce_lang', 10, 1 );
202
  self::$instance->loader->add_filter( 'plugin_row_meta', self::$instance->admin, 'feedzy_filter_plugin_row_meta', 10, 2 );
203
  self::$instance->loader->add_filter( 'feedzy_default_image', self::$instance->admin, 'feedzy_define_default_image' );
207
  self::$instance->loader->add_filter( 'feedzy_register_options', self::$instance->admin, 'register_options' );
208
  self::$instance->loader->add_filter( 'feedzy_summary_input', self::$instance->admin, 'feedzy_summary_input_filter', 9, 3 );
209
  self::$instance->loader->add_filter( 'feedzy_item_keyword', self::$instance->admin, 'feedzy_feed_item_keywords_title', 9, 4 );
210
+ self::$instance->loader->add_filter( 'feedzy_get_feed_array', self::$instance->admin, 'get_feed_array', 10, 5 );
211
+ self::$instance->loader->add_filter( 'feedzy_process_feed_source', self::$instance->admin, 'process_feed_source', 10, 1 );
212
+ self::$instance->loader->add_filter( 'feedzy_get_feed_url', self::$instance->admin, 'get_feed_url', 10, 1 );
213
  add_shortcode( 'feedzy-rss', array( self::$instance->admin, 'feedzy_rss' ) );
214
  self::$instance->loader->add_action( 'wp_ajax_get_tinymce_form', self::$instance->admin, 'get_tinymce_form' );
215
  self::$instance->loader->add_action( 'wp_enqueue_scripts', self::$instance->admin, 'enqueue_styles' );
includes/layouts/css/upsell.css ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * upsell.css
3
+ * Feedzy RSS Feed Upsell Style
4
+ *
5
+ * @since 3.0.12
6
+ * @package feedzy-rss-feeds
7
+ */
8
+
9
+ #pro-features .pro-features-header {
10
+ -webkit-box-sizing: border-box;
11
+ box-sizing: border-box;
12
+ padding: 20px 30px 30px;
13
+ border-top: 5px solid #252b37;
14
+ background: #fff;
15
+ }
16
+
17
+ #pro-features .logo {
18
+ display: inline-block;
19
+ margin: 0 0 0 20px;
20
+ padding: 0 0 0 70px;
21
+ color: #3c3c3c;
22
+ background: url(../../../img/feedzy.svg) no-repeat left center;
23
+ background-size: 48px;
24
+ font-family: "Open Sans", sans-serif;
25
+ font-size: 28px;
26
+ font-weight: 700;
27
+ line-height: 60px;
28
+ letter-spacing: -1px;
29
+ }
30
+
31
+ #pro-features .slogan {
32
+ display: inline-block;
33
+ margin: 0 0 0 8px;
34
+ padding: 0;
35
+ color: #858585;
36
+ font-family: "Open Sans", sans-serif;
37
+ font-size: 17px;
38
+ line-height: 1;
39
+ vertical-align: 4px;
40
+ }
41
+
42
+ #pro-features .slogan a {
43
+ color: #858585;
44
+ font-weight: 600;
45
+ font-style: italic;
46
+ text-decoration: none;
47
+ -webkit-transition: all 0.250s ease-in-out;
48
+ transition: all 0.250s ease-in-out;
49
+ }
50
+
51
+ #pro-features .slogan a:hover {
52
+ color: #ff6160;
53
+ }
54
+
55
+ #pro-features .slogan a:focus {
56
+ outline: none;
57
+ -webkit-box-shadow: none;
58
+ box-shadow: none;
59
+ }
60
+
61
+ #pro-features .header-btns {
62
+ float: right;
63
+ margin: 7px 20px;
64
+ text-align: right;
65
+ }
66
+
67
+ #pro-features .header-btns .buy-now {
68
+ display: inline-block;
69
+ margin-top: 2px;
70
+ margin-right: 5px;
71
+ padding: 15px 25px;
72
+ border-radius: 3px;
73
+ border-radius: 3px;
74
+ color: #fff;
75
+ background: #e33b3f;
76
+ font-family: "Open Sans", sans-serif;
77
+ font-size: 18px;
78
+ font-weight: bold;
79
+ text-decoration: none;
80
+ text-transform: uppercase;
81
+ -webkit-transition: all 0.250s ease-in-out;
82
+ transition: all 0.250s ease-in-out;
83
+ }
84
+
85
+ #pro-features .header-btns .buy-now:hover {
86
+ background: #252b37;
87
+ }
88
+
89
+ #pro-features .header-btns .buy-now .dashicons {
90
+ padding-right: 3px;
91
+ }
92
+
93
+ #pro-features {
94
+ padding: 0;
95
+ }
96
+
97
+ #pro-features .pro-features-content {
98
+ width: 100%;
99
+ padding: 0;
100
+ }
101
+
102
+ #pro-features .pro-features-header,
103
+ #pro-features .pro-feature {
104
+ display: table;
105
+ float: left;
106
+ -webkit-box-sizing: border-box;
107
+ box-sizing: border-box;
108
+ width: 100%;
109
+ margin: 30px 0 0;
110
+ padding: 30px;
111
+ background-color: #fff;
112
+ -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
113
+ box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
114
+ }
115
+
116
+ #pro-features .pro-feature .pro-feature-features,
117
+ #pro-features .pro-feature .pro-feature-image {
118
+ display: table-cell;
119
+ margin: 0;
120
+ vertical-align: middle;
121
+ }
122
+
123
+ #pro-features .pro-feature .pro-feature-features {
124
+ -webkit-box-sizing: border-box;
125
+ box-sizing: border-box;
126
+ padding: 0 0 20px;
127
+ }
128
+
129
+ #pro-features .pro-feature .pro-feature-image {
130
+ width: 470px;
131
+ }
132
+
133
+ #pro-features .pro-feature .pro-feature-features h2 {
134
+ margin: 0 0 20px;
135
+ font-size: 28px;
136
+ font-weight: 700;
137
+ line-height: 1.2;
138
+ }
139
+
140
+ #pro-features .pro-feature .pro-feature-features h4 {
141
+ margin: 0 0 10px;
142
+ font-size: 24px;
143
+ }
144
+
145
+ #pro-features .pro-feature .pro-feature-features p {
146
+ margin: 0 0 15px;
147
+ font-size: 18px;
148
+ line-height: 1.5;
149
+ }
150
+
151
+ #pro-features .pro-feature .pro-feature-image img {
152
+ width: 100%;
153
+ height: auto;
154
+ }
155
+
156
+ @media screen and (min-width: 768px) {
157
+ #pro-features {
158
+ padding: 0 15px;
159
+ }
160
+ }
161
+
162
+ @media screen and (min-width: 1200px) {
163
+ #pro-features .pro-feature {
164
+ padding: 30px 60px;
165
+ }
166
+
167
+ #pro-features .pro-feature .pro-feature-features {
168
+ padding: 0 30px 0 0;
169
+ }
170
+
171
+ #pro-features .pro-feature .pro-feature-features h2 {
172
+ font-size: 30px;
173
+ }
174
+
175
+ #pro-features .pro-feature .pro-feature-features p {
176
+ font-size: 20px;
177
+ }
178
+ }
179
+
180
+ @media screen and (min-width: 1500px) {
181
+ #pro-features .pro-feature .pro-feature-features {
182
+ padding: 0 120px 0 0;
183
+ }
184
+ }
185
+
186
+ @media screen and (max-width: 1100px) {
187
+ #pro-features {
188
+ text-align: center;
189
+ }
190
+
191
+ #pro-features .logo {
192
+ margin-left: 0;
193
+ }
194
+
195
+ #pro-features .header-btns {
196
+ display: block;
197
+ float: none;
198
+ margin: 10px 0 0;
199
+ text-align: center;
200
+ }
201
+ }
202
+
203
+ @media screen and (max-width: 1200px) {
204
+ #pro-features .pro-feature .pro-feature-features,
205
+ #pro-features .pro-feature .pro-feature-image {
206
+ display: block;
207
+ }
208
+
209
+ #pro-features .pro-feature .pro-feature-image {
210
+ display: inline-block;
211
+ max-width: 100%;
212
+ margin: 0 auto 30px;
213
+ }
214
+
215
+ #pro-features .slogan {
216
+ display: none;
217
+ }
218
+ }
includes/layouts/feedzy-upsell.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ Layout For Upsell Page of Feedzy RSS Feeds
3
+
4
+ @since 3.0.12
5
+ @package feedzy-rss-feeds
6
+ -->
7
+ <div id="pro-features">
8
+
9
+ <div class="pro-features-header">
10
+ <p class="logo">Feedzy RSS Feeds PRO</p>
11
+ <span class="slogan">by <a
12
+ href="https://themeisle.com/">ThemeIsle</a></span>
13
+ <div class="header-btns">
14
+
15
+ <a target="_blank" href="<?php echo FEEDZY_UPSELL_LINK; ?>" class="buy-now"><span
16
+ class="dashicons dashicons-cart"></span> Buy now</a>
17
+ </div>
18
+ </div><!-- .pro-features-header -->
19
+
20
+ <div class="pro-features-content">
21
+
22
+ <div class="pro-feature">
23
+ <div class="pro-feature-features">
24
+ <h2>Feed to post</h2>
25
+ <p>Insert into your site, content from various RSS sources. Feedzy will automatically filter the feed items and place the content wherever you want in your WordPress instance with no hassle.</p>
26
+ </div>
27
+ <div class="pro-feature-image">
28
+ <img src="<?php echo FEEDZY_ABSURL; ?>/img/features-feed-to-post.jpg" alt="Feed to post">
29
+ </div>
30
+ </div>
31
+ <div class="pro-feature">
32
+ <div class="pro-feature-features">
33
+ <h2>Feed templates</h2>
34
+ <p>Use the style that best fits your website design with three available templates. For product related
35
+ feeds, the plugin fetches and displays the price separately.</p>
36
+ </div>
37
+ <div class="pro-feature-image">
38
+ <img src="<?php echo FEEDZY_ABSURL; ?>/img/features-templates.jpg" alt="Feed templates">
39
+ </div>
40
+ </div>
41
+ <div class="pro-feature">
42
+ <div class="pro-feature-features">
43
+ <h2>Affiliate ready</h2>
44
+ <p>Make some extra money by featuring affiliate links on your site. Feedzy RSS plugin automatically
45
+ includes your referral/affiliate ID to the feed links.</p>
46
+ </div>
47
+ <div class="pro-feature-image">
48
+ <img src="<?php echo FEEDZY_ABSURL; ?>/img/features-affiliate-ready.jpg" alt="Affiliate ready">
49
+ </div>
50
+ </div>
51
+
52
+
53
+
54
+ </div><!-- .pro-features-content -->
55
+
56
+ </div>
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.9\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
7
- "POT-Creation-Date: 2017-04-12 12:55:41+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,90 +24,233 @@ msgstr ""
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:57
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:532
 
 
 
 
 
 
 
 
36
  msgid "by"
37
  msgstr ""
38
 
39
- #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:538
 
40
  msgid "on"
41
  msgstr ""
42
 
43
- #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:540
 
44
  msgid "at"
45
  msgstr ""
46
 
47
- #: includes/admin/feedzy-rss-feeds-admin.php:118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  msgid "Documentation and examples"
49
  msgstr ""
50
 
51
- #: includes/admin/feedzy-rss-feeds-admin.php:119
 
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 ""
62
 
 
63
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:54
64
  msgid "Insert Feedzy RSS Feeds Shortcode"
65
  msgstr ""
66
 
 
67
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:55
68
  msgid "Use Image"
69
  msgstr ""
70
 
 
71
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:56
72
  msgid "Insert Shortcode"
73
  msgstr ""
74
 
 
75
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:57
76
  msgid "Cancel"
77
  msgstr ""
78
 
 
79
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:58
80
  msgid "Get Feedzy RSS Feeds Premium"
81
  msgstr ""
82
 
 
83
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:108
84
  msgid "Feed Source"
85
  msgstr ""
86
 
 
87
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:111
88
  msgid "The feed(s) URL (comma-separated list)."
89
  msgstr ""
90
 
 
91
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:111
92
  msgid "Check feed before insert."
93
  msgstr ""
94
 
 
95
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:112
96
  msgid "Feed URL"
97
  msgstr ""
98
 
 
99
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:117
100
  msgid "Number of items to display."
101
  msgstr ""
102
 
 
103
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:118
104
  msgid "(eg: 5)"
105
  msgstr ""
106
 
 
107
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:123
108
  msgid "Should we display the RSS title?"
109
  msgstr ""
110
 
 
 
 
 
 
111
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:128
112
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:185
113
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:200
@@ -116,6 +259,11 @@ msgstr ""
116
  msgid "Yes"
117
  msgstr ""
118
 
 
 
 
 
 
119
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:132
120
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:189
121
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:204
@@ -124,170 +272,213 @@ msgstr ""
124
  msgid "No"
125
  msgstr ""
126
 
 
127
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:140
128
  msgid "Item Options"
129
  msgstr ""
130
 
 
131
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:143
132
  msgid "Links may be opened in the same window or a new tab."
133
  msgstr ""
134
 
 
 
135
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:148
136
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:240
137
  msgid "Auto"
138
  msgstr ""
139
 
 
140
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:152
141
  msgid "_blank"
142
  msgstr ""
143
 
 
144
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:156
145
  msgid "_self"
146
  msgstr ""
147
 
 
148
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:160
149
  msgid "_parent"
150
  msgstr ""
151
 
 
152
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:164
153
  msgid "_top"
154
  msgstr ""
155
 
 
156
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:168
157
  msgid "framename"
158
  msgstr ""
159
 
 
160
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:174
161
  msgid "Trim the title of the item after X characters."
162
  msgstr ""
163
 
 
 
164
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:175
165
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:212
166
  msgid "(eg: 160)"
167
  msgstr ""
168
 
 
169
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:180
170
  msgid "Should we display the date of publication and the author name?"
171
  msgstr ""
172
 
 
173
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:195
174
  msgid "Should we display a description (abstract) of the retrieved item?"
175
  msgstr ""
176
 
 
177
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:210
178
  msgid "Crop description (summary) of the element after X characters."
179
  msgstr ""
180
 
 
181
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:216
182
  msgid ""
183
  "Only display item if title contains specific keyword(s) (comma-separated "
184
  "list/case sensitive)."
185
  msgstr ""
186
 
 
187
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:217
188
  msgid "(eg: news, sports etc.)"
189
  msgstr ""
190
 
 
191
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:223
192
  msgid ""
193
  "Exclude items if title or content contains specific keyword(s) "
194
  "(comma-separated list/case sensitive). "
195
  msgstr ""
196
 
 
197
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:224
198
  msgid "(eg: politics, gossip etc.)"
199
  msgstr ""
200
 
 
201
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:232
202
  msgid "Item Image Options"
203
  msgstr ""
204
 
 
205
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:235
206
  msgid "Should we display the first image of the content if it is available?"
207
  msgstr ""
208
 
 
209
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:254
210
  msgid "Default thumbnail URL if no image is found."
211
  msgstr ""
212
 
 
213
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:255
214
  msgid "Image URL"
215
  msgstr ""
216
 
 
217
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:259
218
  msgid "Select from Gallery"
219
  msgstr ""
220
 
 
221
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:263
222
  msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
223
  msgstr ""
224
 
 
225
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:264
226
  msgid "(eg: 150)"
227
  msgstr ""
228
 
 
229
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:271
230
  msgid "PRO Options"
231
  msgstr ""
232
 
 
233
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:272
234
  msgid ""
235
  "Get access to more options and customizations with full version of Feedzy "
236
  "RSS Feeds . Use existing templates or extend them and make them your own."
237
  msgstr ""
238
 
 
239
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:272
240
  msgid "See more features of Feedzy RSS Feeds "
241
  msgstr ""
242
 
 
243
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:275
244
  msgid "Should we display the price from the feed if it is available?"
245
  msgstr ""
246
 
 
247
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:291
248
  msgid "Referral URL parameters (w/o \"?\")."
249
  msgstr ""
250
 
 
251
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:292
252
  msgid "(eg. promo_code=feedzy_is_awesome)"
253
  msgstr ""
254
 
 
255
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:298
256
  msgid "How many columns we should use to display the feed items"
257
  msgstr ""
258
 
 
259
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:299
260
  msgid "(eg. 1, 2, ..., 6)"
261
  msgstr ""
262
 
 
263
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:305
264
  msgid "Template to use when displaying the feed."
265
  msgstr ""
266
 
 
267
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:311
268
  msgid "Default"
269
  msgstr ""
270
 
 
271
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:315
272
  msgid "Style 1"
273
  msgstr ""
274
 
 
275
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:319
276
  msgid "Style 2"
277
  msgstr ""
278
 
279
- #: includes/admin/feedzy-wp-widget.php:40
280
- msgid "Feedzy RSS Feeds"
281
- msgstr ""
282
-
283
  #: includes/admin/feedzy-wp-widget.php:83
284
  msgid "Widget Title"
285
  msgstr ""
286
 
 
287
  #: includes/admin/feedzy-wp-widget.php:87
288
  msgid "Intro text"
289
  msgstr ""
290
 
 
 
 
 
 
 
 
291
  #. Plugin Name of the plugin/theme
292
  msgid "Feedzy RSS Feeds Lite"
293
  msgstr ""
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Feedzy RSS Feeds Lite 3.1.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
7
+ "POT-Creation-Date: 2017-05-17 11:58:32+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
+ #: dist/form/form.php:44 form/form.php:44
28
  msgid "Premium"
29
  msgstr ""
30
 
31
+ #: dist/includes/abstract/feedzy-rss-feeds-admin-abstract.php:57
32
  #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:57
33
  msgid "Sorry, this feed is currently unavailable or does not exists anymore."
34
  msgstr ""
35
 
36
+ #: dist/includes/abstract/feedzy-rss-feeds-admin-abstract.php:247
37
+ #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:321
38
+ msgid ""
39
+ "An error occured for when trying to retrieve feeds! Check the URL's "
40
+ "provided as feed sources."
41
+ msgstr ""
42
+
43
+ #: dist/includes/abstract/feedzy-rss-feeds-admin-abstract.php:588
44
+ #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:617
45
  msgid "by"
46
  msgstr ""
47
 
48
+ #: dist/includes/abstract/feedzy-rss-feeds-admin-abstract.php:594
49
+ #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:623
50
  msgid "on"
51
  msgstr ""
52
 
53
+ #: dist/includes/abstract/feedzy-rss-feeds-admin-abstract.php:596
54
+ #: includes/abstract/feedzy-rss-feeds-admin-abstract.php:625
55
  msgid "at"
56
  msgstr ""
57
 
58
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:132
59
+ #: includes/admin/feedzy-rss-feeds-admin.php:132
60
+ msgid "Enable Tracking"
61
+ msgstr ""
62
+
63
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:134
64
+ #: includes/admin/feedzy-rss-feeds-admin.php:134
65
+ msgid ""
66
+ "Allow Themeisle to anonymously track how this plugin is used and help us "
67
+ "make the\n"
68
+ "\t\t\t\t\tplugin better. No sensitive data is tracked."
69
+ msgstr ""
70
+
71
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:170
72
+ #: includes/admin/feedzy-rss-feeds-admin.php:170
73
+ msgid "Feed Categories"
74
+ msgstr ""
75
+
76
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:171
77
+ #: includes/admin/feedzy-rss-feeds-admin.php:171
78
+ msgid "Feed Category"
79
+ msgstr ""
80
+
81
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:172
82
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:173
83
+ #: includes/admin/feedzy-rss-feeds-admin.php:172
84
+ #: includes/admin/feedzy-rss-feeds-admin.php:173
85
+ msgid "Add Category"
86
+ msgstr ""
87
+
88
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:174
89
+ #: includes/admin/feedzy-rss-feeds-admin.php:174
90
+ msgid "Edit Category"
91
+ msgstr ""
92
+
93
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:175
94
+ #: includes/admin/feedzy-rss-feeds-admin.php:175
95
+ msgid "New Feed Category"
96
+ msgstr ""
97
+
98
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:176
99
+ #: includes/admin/feedzy-rss-feeds-admin.php:176
100
+ msgid "View Category"
101
+ msgstr ""
102
+
103
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:177
104
+ #: includes/admin/feedzy-rss-feeds-admin.php:177
105
+ msgid "Search Category"
106
+ msgstr ""
107
+
108
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:178
109
+ #: includes/admin/feedzy-rss-feeds-admin.php:178
110
+ msgid "No categories found"
111
+ msgstr ""
112
+
113
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:179
114
+ #: includes/admin/feedzy-rss-feeds-admin.php:179
115
+ msgid "No categories in the trash"
116
+ msgstr ""
117
+
118
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:207
119
+ #: includes/admin/feedzy-rss-feeds-admin.php:207
120
+ msgid "Category Feeds"
121
+ msgstr ""
122
+
123
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:213
124
+ #: includes/admin/feedzy-rss-feeds-admin.php:213
125
+ msgid "Contribute to Feedzy RSS Feeds"
126
+ msgstr ""
127
+
128
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:237
129
+ #: includes/admin/feedzy-rss-feeds-admin.php:237
130
+ msgid "Place your URL's here followed by a comma."
131
+ msgstr ""
132
+
133
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:298
134
+ #: includes/admin/feedzy-rss-feeds-admin.php:298
135
+ msgid "Category Title"
136
+ msgstr ""
137
+
138
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:299
139
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:302
140
+ #: includes/admin/feedzy-rss-feeds-admin.php:299
141
+ #: includes/admin/feedzy-rss-feeds-admin.php:302
142
+ msgid "Slug"
143
+ msgstr ""
144
+
145
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:326
146
+ #: includes/admin/feedzy-rss-feeds-admin.php:326
147
+ msgid "Undefined"
148
+ msgstr ""
149
+
150
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:351
151
+ #: includes/admin/feedzy-rss-feeds-admin.php:351
152
  msgid "Documentation and examples"
153
  msgstr ""
154
 
155
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:352
156
+ #: includes/admin/feedzy-rss-feeds-admin.php:352
157
  msgid "More Plugins"
158
  msgstr ""
159
 
160
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:352
161
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:370
162
+ #: includes/admin/feedzy-rss-feeds-admin.php:352
163
+ #: includes/admin/feedzy-rss-feeds-admin.php:370
164
  msgid "More Features"
165
  msgstr ""
166
 
167
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:368
168
+ #: dist/includes/admin/feedzy-wp-widget.php:40
169
+ #: includes/admin/feedzy-rss-feeds-admin.php:368
170
+ #: includes/admin/feedzy-wp-widget.php:40
171
+ msgid "Feedzy RSS Feeds"
172
+ msgstr ""
173
+
174
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:368
175
+ #: includes/admin/feedzy-rss-feeds-admin.php:368
176
+ msgid "Feedzy RSS"
177
+ msgstr ""
178
+
179
+ #: dist/includes/admin/feedzy-rss-feeds-admin.php:378
180
+ #: includes/admin/feedzy-rss-feeds-admin.php:378
181
+ msgid "Import Posts"
182
+ msgstr ""
183
+
184
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:53
185
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:53
186
  msgid "Feedzy Lite"
187
  msgstr ""
188
 
189
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:54
190
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:54
191
  msgid "Insert Feedzy RSS Feeds Shortcode"
192
  msgstr ""
193
 
194
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:55
195
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:55
196
  msgid "Use Image"
197
  msgstr ""
198
 
199
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:56
200
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:56
201
  msgid "Insert Shortcode"
202
  msgstr ""
203
 
204
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:57
205
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:57
206
  msgid "Cancel"
207
  msgstr ""
208
 
209
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:58
210
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:58
211
  msgid "Get Feedzy RSS Feeds Premium"
212
  msgstr ""
213
 
214
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:108
215
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:108
216
  msgid "Feed Source"
217
  msgstr ""
218
 
219
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:111
220
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:111
221
  msgid "The feed(s) URL (comma-separated list)."
222
  msgstr ""
223
 
224
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:111
225
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:111
226
  msgid "Check feed before insert."
227
  msgstr ""
228
 
229
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:112
230
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:112
231
  msgid "Feed URL"
232
  msgstr ""
233
 
234
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:117
235
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:117
236
  msgid "Number of items to display."
237
  msgstr ""
238
 
239
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:118
240
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:118
241
  msgid "(eg: 5)"
242
  msgstr ""
243
 
244
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:123
245
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:123
246
  msgid "Should we display the RSS title?"
247
  msgstr ""
248
 
249
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:128
250
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:185
251
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:200
252
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:244
253
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:281
254
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:128
255
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:185
256
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:200
259
  msgid "Yes"
260
  msgstr ""
261
 
262
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:132
263
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:189
264
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:204
265
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:248
266
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:285
267
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:132
268
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:189
269
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:204
272
  msgid "No"
273
  msgstr ""
274
 
275
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:140
276
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:140
277
  msgid "Item Options"
278
  msgstr ""
279
 
280
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:143
281
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:143
282
  msgid "Links may be opened in the same window or a new tab."
283
  msgstr ""
284
 
285
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:148
286
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:240
287
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:148
288
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:240
289
  msgid "Auto"
290
  msgstr ""
291
 
292
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:152
293
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:152
294
  msgid "_blank"
295
  msgstr ""
296
 
297
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:156
298
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:156
299
  msgid "_self"
300
  msgstr ""
301
 
302
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:160
303
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:160
304
  msgid "_parent"
305
  msgstr ""
306
 
307
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:164
308
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:164
309
  msgid "_top"
310
  msgstr ""
311
 
312
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:168
313
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:168
314
  msgid "framename"
315
  msgstr ""
316
 
317
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:174
318
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:174
319
  msgid "Trim the title of the item after X characters."
320
  msgstr ""
321
 
322
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:175
323
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:212
324
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:175
325
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:212
326
  msgid "(eg: 160)"
327
  msgstr ""
328
 
329
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:180
330
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:180
331
  msgid "Should we display the date of publication and the author name?"
332
  msgstr ""
333
 
334
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:195
335
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:195
336
  msgid "Should we display a description (abstract) of the retrieved item?"
337
  msgstr ""
338
 
339
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:210
340
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:210
341
  msgid "Crop description (summary) of the element after X characters."
342
  msgstr ""
343
 
344
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:216
345
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:216
346
  msgid ""
347
  "Only display item if title contains specific keyword(s) (comma-separated "
348
  "list/case sensitive)."
349
  msgstr ""
350
 
351
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:217
352
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:217
353
  msgid "(eg: news, sports etc.)"
354
  msgstr ""
355
 
356
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:223
357
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:223
358
  msgid ""
359
  "Exclude items if title or content contains specific keyword(s) "
360
  "(comma-separated list/case sensitive). "
361
  msgstr ""
362
 
363
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:224
364
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:224
365
  msgid "(eg: politics, gossip etc.)"
366
  msgstr ""
367
 
368
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:232
369
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:232
370
  msgid "Item Image Options"
371
  msgstr ""
372
 
373
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:235
374
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:235
375
  msgid "Should we display the first image of the content if it is available?"
376
  msgstr ""
377
 
378
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:254
379
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:254
380
  msgid "Default thumbnail URL if no image is found."
381
  msgstr ""
382
 
383
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:255
384
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:255
385
  msgid "Image URL"
386
  msgstr ""
387
 
388
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:259
389
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:259
390
  msgid "Select from Gallery"
391
  msgstr ""
392
 
393
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:263
394
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:263
395
  msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
396
  msgstr ""
397
 
398
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:264
399
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:264
400
  msgid "(eg: 150)"
401
  msgstr ""
402
 
403
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:271
404
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:271
405
  msgid "PRO Options"
406
  msgstr ""
407
 
408
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:272
409
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:272
410
  msgid ""
411
  "Get access to more options and customizations with full version of Feedzy "
412
  "RSS Feeds . Use existing templates or extend them and make them your own."
413
  msgstr ""
414
 
415
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:272
416
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:272
417
  msgid "See more features of Feedzy RSS Feeds "
418
  msgstr ""
419
 
420
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:275
421
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:275
422
  msgid "Should we display the price from the feed if it is available?"
423
  msgstr ""
424
 
425
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:291
426
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:291
427
  msgid "Referral URL parameters (w/o \"?\")."
428
  msgstr ""
429
 
430
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:292
431
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:292
432
  msgid "(eg. promo_code=feedzy_is_awesome)"
433
  msgstr ""
434
 
435
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:298
436
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:298
437
  msgid "How many columns we should use to display the feed items"
438
  msgstr ""
439
 
440
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:299
441
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:299
442
  msgid "(eg. 1, 2, ..., 6)"
443
  msgstr ""
444
 
445
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:305
446
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:305
447
  msgid "Template to use when displaying the feed."
448
  msgstr ""
449
 
450
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:311
451
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:311
452
  msgid "Default"
453
  msgstr ""
454
 
455
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:315
456
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:315
457
  msgid "Style 1"
458
  msgstr ""
459
 
460
+ #: dist/includes/admin/feedzy-rss-feeds-ui-lang.php:319
461
  #: includes/admin/feedzy-rss-feeds-ui-lang.php:319
462
  msgid "Style 2"
463
  msgstr ""
464
 
465
+ #: dist/includes/admin/feedzy-wp-widget.php:83
 
 
 
466
  #: includes/admin/feedzy-wp-widget.php:83
467
  msgid "Widget Title"
468
  msgstr ""
469
 
470
+ #: dist/includes/admin/feedzy-wp-widget.php:87
471
  #: includes/admin/feedzy-wp-widget.php:87
472
  msgid "Intro text"
473
  msgstr ""
474
 
475
+ #: dist/vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php:453
476
+ #: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php:453
477
+ msgid ""
478
+ "Updating this theme will lose any customizations you have made. Cancel to "
479
+ "stop, OK to update."
480
+ msgstr ""
481
+
482
  #. Plugin Name of the plugin/theme
483
  msgid "Feedzy RSS Feeds Lite"
484
  msgstr ""
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: themeisle,codeinwp
3
  Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress, widget, importer, XML, ATOM, API, parser
4
  Requires at least: 3.7
5
- Tested up to: 4.7
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -17,6 +17,7 @@ FEEDZY RSS Feeds is a small and lightweight RSS aggregator plugin. Fast and very
17
 
18
  > **Time-saving features available in the FULL version:**
19
  >
 
20
  > * Multiple templates for feed items
21
  > * Automatically build affiliate links
22
  > * Parse price from product feeds
@@ -29,12 +30,16 @@ FEEDZY RSS Feeds is a small and lightweight RSS aggregator plugin. Fast and very
29
 
30
  The plugin uses the SimplePie php CLASS natively included in WordPress. SimplePie is a RSS parser that can read the information contained in a feed, process it, and finally display it.
31
 
 
 
 
32
  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>.
33
 
34
 
35
  = See how Feedzy can integrate with your website =
36
 
37
  * [Shop feed – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
 
38
  * [Large image square grid – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/2-columns-large-images-square-grid/)
39
  * [Square grid template – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/square-template/)
40
  * [Round grid templates – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/round-grid-template/)
@@ -98,6 +103,7 @@ By activating this plugin, your cover picture will be inserted into your RSS fee
98
  * feedzy_default_image
99
  * feedzy_default_error
100
  * feedzy_item_filter
 
101
  * feedzy_item_url_filter
102
  * feedzy_feed_timestamp
103
  * shortcode_atts_feedzy_default
@@ -175,9 +181,15 @@ http://docs.themeisle.com/article/543-how-to-remove-the-end-hellip
175
  = How to display items in a random order =
176
  http://docs.themeisle.com/article/550-how-to-display-items-in-a-random-order
177
 
 
 
 
178
  = How to display RSS feed time and date in local time =
179
  http://docs.themeisle.com/article/567-how-to-display-rss-feed-time-and-date-in-local-time
180
 
 
 
 
181
  == Screenshots ==
182
 
183
  1. Simple example
@@ -188,6 +200,12 @@ http://docs.themeisle.com/article/567-how-to-display-rss-feed-time-and-date-in-l
188
 
189
  == Changelog ==
190
 
 
 
 
 
 
 
191
  = 3.0.10 - 24/04/2017 =
192
  * Fixed wrong image regex.
193
  * Fixed image compression.
2
  Contributors: themeisle,codeinwp
3
  Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress, widget, importer, XML, ATOM, API, parser
4
  Requires at least: 3.7
5
+ Tested up to: 4.7.5
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
17
 
18
  > **Time-saving features available in the FULL version:**
19
  >
20
+ > * Convert feed items to WordPress posts/pages/any
21
  > * Multiple templates for feed items
22
  > * Automatically build affiliate links
23
  > * Parse price from product feeds
30
 
31
  The plugin uses the SimplePie php CLASS natively included in WordPress. SimplePie is a RSS parser that can read the information contained in a feed, process it, and finally display it.
32
 
33
+ **Using the latest version you can now group feeds into categories and reuse them across your content without worrying of their url**
34
+
35
+
36
  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>.
37
 
38
 
39
  = See how Feedzy can integrate with your website =
40
 
41
  * [Shop feed – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
42
+ * [Feed categories – 1 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/group-feeds-categories/)
43
  * [Large image square grid – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/2-columns-large-images-square-grid/)
44
  * [Square grid template – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/square-template/)
45
  * [Round grid templates – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/round-grid-template/)
103
  * feedzy_default_image
104
  * feedzy_default_error
105
  * feedzy_item_filter
106
+ * feedzy_author_url
107
  * feedzy_item_url_filter
108
  * feedzy_feed_timestamp
109
  * shortcode_atts_feedzy_default
181
  = How to display items in a random order =
182
  http://docs.themeisle.com/article/550-how-to-display-items-in-a-random-order
183
 
184
+ = How to sort items alphabetically by their title =
185
+ http://docs.themeisle.com/article/633-how-to-sort-feed-items-by-title
186
+
187
  = How to display RSS feed time and date in local time =
188
  http://docs.themeisle.com/article/567-how-to-display-rss-feed-time-and-date-in-local-time
189
 
190
+ = How to change author url =
191
+ http://docs.themeisle.com/article/636-how-to-change-author-url
192
+
193
  == Screenshots ==
194
 
195
  1. Simple example
200
 
201
  == Changelog ==
202
 
203
+ = 3.1.0 - 17/05/2017 =
204
+ * Added feed categories for grouping urls.
205
+ * Added support for feed to post feature.
206
+ * Fixed regex for jpeg image ( Reported by @piccart )
207
+ * Added filter for author url ( Thanks to @piccart )
208
+
209
  = 3.0.10 - 24/04/2017 =
210
  * Fixed wrong image regex.
211
  * Fixed image compression.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitac72c2e383e027bbade1b2d60ae7732f::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit1ab4b5c4638c8aecf421507f8571639f::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit884b5af5a29373c48f3dedac4f504cab::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit1a088dcd21d9a5f47e8a1d0f8ab468e1::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php CHANGED
@@ -105,7 +105,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
105
  $invalid_string = apply_filters( $this->product->get_key() . '_lc_invalid_string', 'Invalid' );
106
  $license_message = apply_filters( $this->product->get_key() . '_lc_license_message', 'Enter your license from %s purchase history in order to get %s updates' );
107
 
108
- echo '<p ><input ' . ( ( $status === 'valid' ) ? ( 'style="border:1px solid #7ad03a; "' ) : '' ) . ' type="text" id="' . $this->product->get_key() . '_license" name="' . $this->product->get_key() . '_license" value="' . $value . '" /><a ' . ( ( $status === 'valid' ) ? ( 'style="color:#fff;background: #7ad03a; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px; -webkit-border-radius: 3px;border-radius: 3px; ">' . $valid_string ) : ( 'style="color:#fff;background: #dd3d36; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px; -webkit-border-radius: 3px;border-radius: 3px; ">' . $invalid_string ) ) . ' </a>&nbsp;&nbsp;&nbsp;<button name="' . $this->product->get_key() . '_btn_trigger" ' . ( ( $status === 'valid' ) ? ( ' class="button button-primary">' . $deactivate_string ) : ( ' class="button button-primary" value="yes" type="submit" >' . $activate_string ) ) . ' </button></p><p class="description">' . sprintf( $license_message, '<a href="' . $this->product->get_store_url() . '">' . $this->product->get_store_url() . '</a> ', $this->product->get_type() ) . '</p>';
109
 
110
  }
111
 
@@ -307,8 +307,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
307
  $api_params = array(
308
  'edd_action' => 'check_license',
309
  'license' => $license,
310
- 'item_name' => urlencode( $this->product->get_name() ),
311
- 'url' => urlencode( home_url() ),
312
  );
313
  // Call the custom API.
314
  $response = wp_remote_get( add_query_arg( $api_params, $this->product->get_store_url() ), array(
@@ -368,8 +368,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
368
  $license = $_POST[ $this->product->get_key() . '_license' ];
369
  $api_params = array(
370
  'license' => $license,
371
- 'item_name' => urlencode( $this->product->get_name() ),
372
- 'url' => urlencode( home_url() ),
373
  );
374
  if ( $status != 'valid' ) {
375
  // data to send in our API request
@@ -509,7 +509,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
509
  'name' => $this->product->get_name(),
510
  'slug' => $this->product->get_slug(),
511
  'author' => $this->product->get_store_name(),
512
- 'url' => urlencode( home_url() ),
513
  );
514
  $response = wp_remote_post( $this->product->get_store_url(), array(
515
  'timeout' => 15,
@@ -594,10 +594,10 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
594
  $api_params = array(
595
  'edd_action' => 'get_version',
596
  'license' => $this->license_key,
597
- 'name' => urlencode( $this->product->get_name() ),
598
- 'slug' => urlencode( $this->product->get_slug() ),
599
  'author' => $this->product->get_store_name(),
600
- 'url' => urlencode( home_url() ),
601
  );
602
  $request = wp_remote_post( $this->product->get_store_url(), array(
603
  'timeout' => 15,
105
  $invalid_string = apply_filters( $this->product->get_key() . '_lc_invalid_string', 'Invalid' );
106
  $license_message = apply_filters( $this->product->get_key() . '_lc_license_message', 'Enter your license from %s purchase history in order to get %s updates' );
107
 
108
+ echo '<p ><input ' . ( ( $status === 'valid' ) ? ( 'style="border:1px solid #7ad03a; "' ) : '' ) . ' type="text" id="' . $this->product->get_key() . '_license" name="' . $this->product->get_key() . '_license" value="' . $value . '" /><a ' . ( ( $status === 'valid' ) ? ( 'style="color:#fff;background: #7ad03a; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px; -webkit-border-radius: 3px;border-radius: 3px; ">' . $valid_string ) : ( 'style="color:#fff;background: #dd3d36; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px; -webkit-border-radius: 3px;border-radius: 3px; ">' . $invalid_string ) ) . ' </a>&nbsp;&nbsp;&nbsp;<button name="' . $this->product->get_key() . '_btn_trigger" ' . ( ( $status === 'valid' ) ? ( ' class="button button-primary">' . $deactivate_string ) : ( ' class="button button-primary" value="yes" type="submit" >' . $activate_string ) ) . ' </button></p><p class="description">' . sprintf( $license_message, '<a href="' . $this->product->get_store_url() . '">' . $this->product->get_store_name() . '</a> ', $this->product->get_type() ) . '</p>';
109
 
110
  }
111
 
307
  $api_params = array(
308
  'edd_action' => 'check_license',
309
  'license' => $license,
310
+ 'item_name' => rawurlencode( $this->product->get_name() ),
311
+ 'url' => rawurlencode( home_url() ),
312
  );
313
  // Call the custom API.
314
  $response = wp_remote_get( add_query_arg( $api_params, $this->product->get_store_url() ), array(
368
  $license = $_POST[ $this->product->get_key() . '_license' ];
369
  $api_params = array(
370
  'license' => $license,
371
+ 'item_name' => rawurlencode( $this->product->get_name() ),
372
+ 'url' => rawurlencode( home_url() ),
373
  );
374
  if ( $status != 'valid' ) {
375
  // data to send in our API request
509
  'name' => $this->product->get_name(),
510
  'slug' => $this->product->get_slug(),
511
  'author' => $this->product->get_store_name(),
512
+ 'url' => rawurlencode( home_url() ),
513
  );
514
  $response = wp_remote_post( $this->product->get_store_url(), array(
515
  'timeout' => 15,
594
  $api_params = array(
595
  'edd_action' => 'get_version',
596
  'license' => $this->license_key,
597
+ 'name' => rawurlencode( $this->product->get_name() ),
598
+ 'slug' => rawurlencode( $this->product->get_slug() ),
599
  'author' => $this->product->get_store_name(),
600
+ 'url' => rawurlencode( home_url() ),
601
  );
602
  $request = wp_remote_post( $this->product->get_store_url(), array(
603
  'timeout' => 15,
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitac72c2e383e027bbade1b2d60ae7732f
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitac72c2e383e027bbade1b2d60ae7732f
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitac72c2e383e027bbade1b2d60ae7732f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitac72c2e383e027bbade1b2d60ae7732f', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit1ab4b5c4638c8aecf421507f8571639f
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit1ab4b5c4638c8aecf421507f8571639f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit1ab4b5c4638c8aecf421507f8571639f', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit884b5af5a29373c48f3dedac4f504cab {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit884b5af5a29373c48f3dedac4f504cab {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit884b5af5a29373c48f3dedac4f504cab', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit884b5af5a29373c48f3dedac4f504cab', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit1a088dcd21d9a5f47e8a1d0f8ab468e1 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit1a088dcd21d9a5f47e8a1d0f8ab468e1', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit1a088dcd21d9a5f47e8a1d0f8ab468e1', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
vendor/composer/installed.json CHANGED
@@ -39,15 +39,15 @@
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
- "reference": "beb20b65c6916d14e2222d40252a48faa440e72e"
43
  },
44
  "dist": {
45
  "type": "zip",
46
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/beb20b65c6916d14e2222d40252a48faa440e72e",
47
- "reference": "beb20b65c6916d14e2222d40252a48faa440e72e",
48
  "shasum": ""
49
  },
50
- "time": "2017-03-30 15:34:04",
51
  "type": "library",
52
  "installation-source": "source",
53
  "autoload": {
39
  "source": {
40
  "type": "git",
41
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
42
+ "reference": "154eeed18afdaeafface47acffa8426764c68308"
43
  },
44
  "dist": {
45
  "type": "zip",
46
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/154eeed18afdaeafface47acffa8426764c68308",
47
+ "reference": "154eeed18afdaeafface47acffa8426764c68308",
48
  "shasum": ""
49
  },
50
+ "time": "2017-05-12 14:50:37",
51
  "type": "library",
52
  "installation-source": "source",
53
  "autoload": {