Version Description
- 06/01/2017 =
- Fixed thumb='auto' behaviour
Download this release
Release Info
Developer | codeinwp |
Plugin | FEEDZY RSS Feeds Lite |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- CHANGELOG.md +4 -2
- css/feedzy-rss-feeds.css +4 -2
- feedzy-rss-feed.php +2 -2
- includes/abstract/feedzy-rss-feeds-admin-abstract.php +1 -5
- includes/admin/feedzy-wp-widget.php +9 -15
- includes/feedzy-rss-feeds-feed-tweaks.php +16 -0
- includes/feedzy-rss-feeds.php +67 -27
- languages/feedzy-rss-feeds.pot +4 -4
- readme.txt +48 -19
CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
|
|
|
|
|
|
|
2 |
-
|
3 |
|
4 |
|
5 |
|
6 |
-
Added compatibility with the new pro options
|
1 |
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
|
7 |
|
8 |
|
|
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.
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
@@ -346,7 +346,9 @@ i.mce-i-feedzy-icon {
|
|
346 |
}
|
347 |
|
348 |
/* Columns */
|
349 |
-
.feedzy-rss .feedzy-rss-col-1
|
|
|
|
|
350 |
/* SCHIMBAT DIN ID in CLASA */
|
351 |
.feedzy-rss .feedzy-rss-col-2,
|
352 |
.feedzy-rss .feedzy-rss-col-3,
|
2 |
* feedzy-rss-feeds.css
|
3 |
* Feedzy RSS Feed
|
4 |
* Copyright: (c) 2016 Themeisle, themeisle.com
|
5 |
+
* Version: 3.0.4
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
346 |
}
|
347 |
|
348 |
/* Columns */
|
349 |
+
.feedzy-rss .feedzy-rss-col-1{
|
350 |
+
width: 96%;
|
351 |
+
}
|
352 |
/* SCHIMBAT DIN ID in CLASA */
|
353 |
.feedzy-rss .feedzy-rss-col-2,
|
354 |
.feedzy-rss .feedzy-rss-col-3,
|
feedzy-rss-feed.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
16 |
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
|
17 |
* Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
|
18 |
-
* Version: 3.0.
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
@@ -99,7 +99,7 @@ function run_feedzy_rss_feeds() {
|
|
99 |
define( 'FEEDZY_BASEFILE', __FILE__ );
|
100 |
define( 'FEEDZY_ABSURL', plugins_url( '/', __FILE__ ) );
|
101 |
define( 'FEEDZY_ABSPATH', dirname( __FILE__ ) );
|
102 |
-
$feedzy =
|
103 |
$feedzy->run();
|
104 |
}
|
105 |
|
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.4
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
99 |
define( 'FEEDZY_BASEFILE', __FILE__ );
|
100 |
define( 'FEEDZY_ABSURL', plugins_url( '/', __FILE__ ) );
|
101 |
define( 'FEEDZY_ABSPATH', dirname( __FILE__ ) );
|
102 |
+
$feedzy = Feedzy_Rss_Feeds::instance();
|
103 |
$feedzy->run();
|
104 |
}
|
105 |
|
includes/abstract/feedzy-rss-feeds-admin-abstract.php
CHANGED
@@ -381,7 +381,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
381 |
'meta' => 'yes', // yes, no
|
382 |
'summary' => 'yes', // strip title
|
383 |
'summarylength' => '', // strip summary after X char
|
384 |
-
'thumb' => '
|
385 |
'default' => '', // default thumb URL if no image found (only if thumb is set to yes or auto)
|
386 |
'size' => '', // thumbs pixel size
|
387 |
'keywords_title' => '', // only display item if title contains specific keywords (comma-separated list/case sensitive)
|
@@ -493,14 +493,12 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
493 |
*/
|
494 |
private function get_feed_item_filter( $sc, $sizes, $item, $feedURL ) {
|
495 |
$itemLink = $item->get_permalink();
|
496 |
-
$newLink = $itemLink;
|
497 |
$newLink = apply_filters( 'feedzy_item_url_filter', $itemLink, $sc );
|
498 |
|
499 |
// Fetch image thumbnail
|
500 |
if ( $sc['thumb'] == 'yes' || $sc['thumb'] == 'auto' ) {
|
501 |
$theThumbnail = $this->feedzy_retrieve_image( $item );
|
502 |
}
|
503 |
-
|
504 |
if ( $sc['thumb'] == 'yes' || $sc['thumb'] == 'auto' ) {
|
505 |
$contentThumb = '';
|
506 |
if ( ( ! empty( $theThumbnail ) && $sc['thumb'] == 'auto' ) || $sc['thumb'] == 'yes' ) {
|
@@ -511,8 +509,6 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
511 |
if ( $sc['thumb'] == 'yes' ) {
|
512 |
$contentThumb .= '<span class="default" style="background-image:url(' . $sc['default'] . ');" alt="' . $item->get_title() . '"></span>';
|
513 |
}
|
514 |
-
} else {
|
515 |
-
$contentThumb .= '<span class="default" style="width:' . $sizes['width'] . 'px; height:' . $sizes['height'] . 'px; background-image:url(' . $sc['default'] . ');" alt="' . $item->get_title() . '"></span>';
|
516 |
}
|
517 |
|
518 |
$contentThumb = apply_filters( 'feedzy_thumb_output', $contentThumb, $feedURL );
|
381 |
'meta' => 'yes', // yes, no
|
382 |
'summary' => 'yes', // strip title
|
383 |
'summarylength' => '', // strip summary after X char
|
384 |
+
'thumb' => 'auto', // yes, no, auto
|
385 |
'default' => '', // default thumb URL if no image found (only if thumb is set to yes or auto)
|
386 |
'size' => '', // thumbs pixel size
|
387 |
'keywords_title' => '', // only display item if title contains specific keywords (comma-separated list/case sensitive)
|
493 |
*/
|
494 |
private function get_feed_item_filter( $sc, $sizes, $item, $feedURL ) {
|
495 |
$itemLink = $item->get_permalink();
|
|
|
496 |
$newLink = apply_filters( 'feedzy_item_url_filter', $itemLink, $sc );
|
497 |
|
498 |
// Fetch image thumbnail
|
499 |
if ( $sc['thumb'] == 'yes' || $sc['thumb'] == 'auto' ) {
|
500 |
$theThumbnail = $this->feedzy_retrieve_image( $item );
|
501 |
}
|
|
|
502 |
if ( $sc['thumb'] == 'yes' || $sc['thumb'] == 'auto' ) {
|
503 |
$contentThumb = '';
|
504 |
if ( ( ! empty( $theThumbnail ) && $sc['thumb'] == 'auto' ) || $sc['thumb'] == 'yes' ) {
|
509 |
if ( $sc['thumb'] == 'yes' ) {
|
510 |
$contentThumb .= '<span class="default" style="background-image:url(' . $sc['default'] . ');" alt="' . $item->get_title() . '"></span>';
|
511 |
}
|
|
|
|
|
512 |
}
|
513 |
|
514 |
$contentThumb = apply_filters( 'feedzy_thumb_output', $contentThumb, $feedURL );
|
includes/admin/feedzy-wp-widget.php
CHANGED
@@ -27,14 +27,6 @@ class feedzy_wp_widget extends WP_Widget {
|
|
27 |
* @var feedzy_wp_widget $instance The instance of the class.
|
28 |
*/
|
29 |
public static $instance;
|
30 |
-
/**
|
31 |
-
* The loader class.
|
32 |
-
*
|
33 |
-
* @since 3.0.0
|
34 |
-
* @access private
|
35 |
-
* @var Feedzy_Rss_Feeds_Admin $plugin_admin The loader class of the plugin.
|
36 |
-
*/
|
37 |
-
private $plugin_admin;
|
38 |
|
39 |
/**
|
40 |
* The feedzy_wp_widget constructor method
|
@@ -44,10 +36,9 @@ class feedzy_wp_widget extends WP_Widget {
|
|
44 |
*
|
45 |
* @param Feedzy_Rss_Feeds_Admin $plugin_admin The Feedzy_Rss_Feeds_Admin object.
|
46 |
*/
|
47 |
-
public function __construct( $plugin_admin ) {
|
48 |
parent::__construct( false, $name = __( 'Feedzy RSS Feeds', 'feedzy-rss-feeds' ) );
|
49 |
-
|
50 |
-
self::$instance = $this;
|
51 |
|
52 |
}
|
53 |
|
@@ -73,7 +64,7 @@ class feedzy_wp_widget extends WP_Widget {
|
|
73 |
* @access public
|
74 |
*/
|
75 |
public function registerWidget() {
|
76 |
-
register_widget(
|
77 |
}
|
78 |
|
79 |
/**
|
@@ -163,12 +154,13 @@ class feedzy_wp_widget extends WP_Widget {
|
|
163 |
return $value;
|
164 |
}
|
165 |
$value = strval( $value );
|
166 |
-
if ( $value == '1' || $value == 'true'
|
167 |
return 'yes';
|
168 |
}
|
169 |
if ( $value == '0' || $value == 'false' || $value == '' ) {
|
170 |
return 'no';
|
171 |
}
|
|
|
172 |
return $value;
|
173 |
|
174 |
}
|
@@ -195,7 +187,7 @@ class feedzy_wp_widget extends WP_Widget {
|
|
195 |
}
|
196 |
$forms_ids = array_keys( $this->get_widget_defaults() );
|
197 |
foreach ( $forms_ids as $key ) {
|
198 |
-
$instance[ $key ] = strip_tags( $new_instance[ $key ] );
|
199 |
}
|
200 |
$instance = apply_filters( 'feedzy_widget_update_filter', $instance, $new_instance );
|
201 |
|
@@ -242,7 +234,9 @@ class feedzy_wp_widget extends WP_Widget {
|
|
242 |
);
|
243 |
$feedzy_widget_shortcode_attributes = apply_filters( 'feedzy_widget_shortcode_attributes_filter', $feedzy_widget_shortcode_attributes, $args, $instance );
|
244 |
// Call the shortcode function
|
245 |
-
|
|
|
|
|
246 |
echo $args['after_widget'];
|
247 |
|
248 |
}
|
27 |
* @var feedzy_wp_widget $instance The instance of the class.
|
28 |
*/
|
29 |
public static $instance;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
/**
|
32 |
* The feedzy_wp_widget constructor method
|
36 |
*
|
37 |
* @param Feedzy_Rss_Feeds_Admin $plugin_admin The Feedzy_Rss_Feeds_Admin object.
|
38 |
*/
|
39 |
+
public function __construct( $plugin_admin = null ) {
|
40 |
parent::__construct( false, $name = __( 'Feedzy RSS Feeds', 'feedzy-rss-feeds' ) );
|
41 |
+
self::$instance = $this;
|
|
|
42 |
|
43 |
}
|
44 |
|
64 |
* @access public
|
65 |
*/
|
66 |
public function registerWidget() {
|
67 |
+
register_widget( 'feedzy_wp_widget' );
|
68 |
}
|
69 |
|
70 |
/**
|
154 |
return $value;
|
155 |
}
|
156 |
$value = strval( $value );
|
157 |
+
if ( $value == '1' || $value == 'true' ) {
|
158 |
return 'yes';
|
159 |
}
|
160 |
if ( $value == '0' || $value == 'false' || $value == '' ) {
|
161 |
return 'no';
|
162 |
}
|
163 |
+
|
164 |
return $value;
|
165 |
|
166 |
}
|
187 |
}
|
188 |
$forms_ids = array_keys( $this->get_widget_defaults() );
|
189 |
foreach ( $forms_ids as $key ) {
|
190 |
+
$instance[ $key ] = strip_tags( isset( $new_instance[ $key ] ) ? $new_instance[ $key ] : '' );
|
191 |
}
|
192 |
$instance = apply_filters( 'feedzy_widget_update_filter', $instance, $new_instance );
|
193 |
|
234 |
);
|
235 |
$feedzy_widget_shortcode_attributes = apply_filters( 'feedzy_widget_shortcode_attributes_filter', $feedzy_widget_shortcode_attributes, $args, $instance );
|
236 |
// Call the shortcode function
|
237 |
+
$plugin_admin = new Feedzy_Rss_Feeds_Admin( Feedzy_Rss_Feeds::get_plugin_name(), Feedzy_Rss_Feeds::get_version() );
|
238 |
+
|
239 |
+
echo $plugin_admin->feedzy_rss( $feedzy_widget_shortcode_attributes );
|
240 |
echo $args['after_widget'];
|
241 |
|
242 |
}
|
includes/feedzy-rss-feeds-feed-tweaks.php
CHANGED
@@ -20,6 +20,11 @@
|
|
20 |
* @return string
|
21 |
*/
|
22 |
// @codingStandardsIgnoreStart
|
|
|
|
|
|
|
|
|
|
|
23 |
function feedzy_insert_thumbnail_RSS( $content ) {
|
24 |
// @codingStandardsIgnoreEnd
|
25 |
global $post;
|
@@ -33,6 +38,17 @@ function feedzy_insert_thumbnail_RSS( $content ) {
|
|
33 |
// Alter the main blog feed to insert the thumbnail image.
|
34 |
add_filter( 'the_excerpt_rss', 'feedzy_insert_thumbnail_RSS' );
|
35 |
add_filter( 'the_content_feed', 'feedzy_insert_thumbnail_RSS' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
/**
|
37 |
* The helper method for options wrapper
|
38 |
*
|
20 |
* @return string
|
21 |
*/
|
22 |
// @codingStandardsIgnoreStart
|
23 |
+
/**
|
24 |
+
* @param string $content
|
25 |
+
*
|
26 |
+
* @return string
|
27 |
+
*/
|
28 |
function feedzy_insert_thumbnail_RSS( $content ) {
|
29 |
// @codingStandardsIgnoreEnd
|
30 |
global $post;
|
38 |
// Alter the main blog feed to insert the thumbnail image.
|
39 |
add_filter( 'the_excerpt_rss', 'feedzy_insert_thumbnail_RSS' );
|
40 |
add_filter( 'the_content_feed', 'feedzy_insert_thumbnail_RSS' );
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Boostrap the plugin view.
|
44 |
+
*
|
45 |
+
* @param array $options The shortcode attributes.
|
46 |
+
*/
|
47 |
+
function feedzy_rss( $options = array() ) {
|
48 |
+
$admin = Feedzy_Rss_Feeds::instance()->get_admin();
|
49 |
+
return $admin->feedzy_rss( $options );
|
50 |
+
}
|
51 |
+
|
52 |
/**
|
53 |
* The helper method for options wrapper
|
54 |
*
|
includes/feedzy-rss-feeds.php
CHANGED
@@ -44,6 +44,14 @@ class Feedzy_Rss_Feeds {
|
|
44 |
* @var string $version The current version of the plugin.
|
45 |
*/
|
46 |
protected static $version;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
/**
|
48 |
* The loader that's responsible for maintaining and registering all hooks that power
|
49 |
* the plugin.
|
@@ -61,6 +69,14 @@ class Feedzy_Rss_Feeds {
|
|
61 |
* @var Feedzy_Rss_Feeds_Upgrader $upgrader Responsible for the upgrading processes.
|
62 |
*/
|
63 |
protected $upgrader;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
/**
|
66 |
* Define the core functionality of the plugin.
|
@@ -72,15 +88,28 @@ class Feedzy_Rss_Feeds {
|
|
72 |
* @since 3.0.0
|
73 |
* @access public
|
74 |
*/
|
75 |
-
public function
|
76 |
self::$plugin_name = 'feedzy-rss-feeds';
|
77 |
self::$version = '3.0.3';
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
|
82 |
}
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
/**
|
85 |
* Load the required dependencies for this plugin.
|
86 |
*
|
@@ -100,8 +129,9 @@ class Feedzy_Rss_Feeds {
|
|
100 |
private function load_dependencies() {
|
101 |
|
102 |
include_once FEEDZY_ABSPATH . '/includes/feedzy-rss-feeds-feed-tweaks.php';
|
103 |
-
|
104 |
-
|
|
|
105 |
|
106 |
}
|
107 |
|
@@ -120,7 +150,7 @@ class Feedzy_Rss_Feeds {
|
|
120 |
* of the plugin.
|
121 |
*/
|
122 |
$plugin_i18n = new Feedzy_Rss_Feeds_i18n();
|
123 |
-
|
124 |
|
125 |
}
|
126 |
|
@@ -132,24 +162,23 @@ class Feedzy_Rss_Feeds {
|
|
132 |
* @access private
|
133 |
*/
|
134 |
private function define_admin_hooks() {
|
135 |
-
$plugin_ui = new Feedzy_Rss_Feeds_Ui(
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
$
|
151 |
-
$plugin_widget
|
152 |
-
$this->loader->add_action( 'widgets_init', $plugin_widget, 'registerWidget', 10 );
|
153 |
}
|
154 |
|
155 |
/**
|
@@ -182,7 +211,7 @@ class Feedzy_Rss_Feeds {
|
|
182 |
* @access public
|
183 |
*/
|
184 |
public function run() {
|
185 |
-
|
186 |
}
|
187 |
|
188 |
/**
|
@@ -193,7 +222,18 @@ class Feedzy_Rss_Feeds {
|
|
193 |
* @return Feedzy_Rss_Feeds_Loader Orchestrates the hooks of the plugin.
|
194 |
*/
|
195 |
public function get_loader() {
|
196 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
}
|
198 |
|
199 |
}
|
44 |
* @var string $version The current version of the plugin.
|
45 |
*/
|
46 |
protected static $version;
|
47 |
+
|
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;
|
55 |
/**
|
56 |
* The loader that's responsible for maintaining and registering all hooks that power
|
57 |
* the plugin.
|
69 |
* @var Feedzy_Rss_Feeds_Upgrader $upgrader Responsible for the upgrading processes.
|
70 |
*/
|
71 |
protected $upgrader;
|
72 |
+
/**
|
73 |
+
* The class responsible for all admin proceses.
|
74 |
+
*
|
75 |
+
* @since 3.0.3
|
76 |
+
* @access protected
|
77 |
+
* @var Feedzy_Rss_Feeds_Admin $admin Responsible for the admin processes.
|
78 |
+
*/
|
79 |
+
protected $admin;
|
80 |
|
81 |
/**
|
82 |
* Define the core functionality of the plugin.
|
88 |
* @since 3.0.0
|
89 |
* @access public
|
90 |
*/
|
91 |
+
public function init() {
|
92 |
self::$plugin_name = 'feedzy-rss-feeds';
|
93 |
self::$version = '3.0.3';
|
94 |
+
self::$instance->load_dependencies();
|
95 |
+
self::$instance->set_locale();
|
96 |
+
self::$instance->define_admin_hooks();
|
97 |
|
98 |
}
|
99 |
|
100 |
+
/**
|
101 |
+
* Init the main singleton instance class.
|
102 |
+
*
|
103 |
+
* @return Feedzy_Rss_Feeds Return the instance class
|
104 |
+
*/
|
105 |
+
public static function instance() {
|
106 |
+
if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Feedzy_Rss_Feeds ) ) {
|
107 |
+
self::$instance = new Feedzy_Rss_Feeds;
|
108 |
+
self::$instance->init();
|
109 |
+
}
|
110 |
+
|
111 |
+
return self::$instance;
|
112 |
+
}
|
113 |
/**
|
114 |
* Load the required dependencies for this plugin.
|
115 |
*
|
129 |
private function load_dependencies() {
|
130 |
|
131 |
include_once FEEDZY_ABSPATH . '/includes/feedzy-rss-feeds-feed-tweaks.php';
|
132 |
+
self::$instance->loader = new Feedzy_Rss_Feeds_Loader();
|
133 |
+
self::$instance->upgrader = new Feedzy_Rss_Feeds_Upgrader();
|
134 |
+
self::$instance->admin = new Feedzy_Rss_Feeds_Admin( self::$instance->get_plugin_name(), self::$instance->get_version() );
|
135 |
|
136 |
}
|
137 |
|
150 |
* of the plugin.
|
151 |
*/
|
152 |
$plugin_i18n = new Feedzy_Rss_Feeds_i18n();
|
153 |
+
self::$instance->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
|
154 |
|
155 |
}
|
156 |
|
162 |
* @access private
|
163 |
*/
|
164 |
private function define_admin_hooks() {
|
165 |
+
$plugin_ui = new Feedzy_Rss_Feeds_Ui( self::$instance->get_plugin_name(), self::$instance->get_version(), self::$instance->loader );
|
166 |
+
self::$instance->loader->add_action( 'init', $plugin_ui, 'register_init' );
|
167 |
+
self::$instance->loader->add_filter( 'mce_external_languages', $plugin_ui, 'feedzy_add_tinymce_lang', 10, 1 );
|
168 |
+
self::$instance->loader->add_filter( 'plugin_row_meta', self::$instance->admin, 'feedzy_filter_plugin_row_meta', 10, 2 );
|
169 |
+
self::$instance->loader->add_filter( 'feedzy_default_image', self::$instance->admin, 'feedzy_define_default_image' );
|
170 |
+
self::$instance->loader->add_filter( 'feedzy_default_error', self::$instance->admin, 'feedzy_default_error_notice', 9, 2 );
|
171 |
+
self::$instance->loader->add_filter( 'feedzy_item_attributes', self::$instance->admin, 'feedzy_add_item_padding', 10, 2 );
|
172 |
+
self::$instance->loader->add_filter( 'feedzy_item_attributes', self::$instance->admin, 'feedzy_classes_item', 99, 5 );
|
173 |
+
self::$instance->loader->add_filter( 'feedzy_register_options', self::$instance->admin, 'register_options' );
|
174 |
+
self::$instance->loader->add_filter( 'feedzy_summary_input', self::$instance->admin, 'feedzy_summary_input_filter', 9, 3 );
|
175 |
+
self::$instance->loader->add_filter( 'feedzy_item_keyword', self::$instance->admin, 'feedzy_feed_item_keywords_title', 9, 4 );
|
176 |
+
add_shortcode( 'feedzy-rss', array( self::$instance->admin, 'feedzy_rss' ) );
|
177 |
+
self::$instance->loader->add_action( 'wp_ajax_get_tinymce_form', self::$instance->admin, 'get_tinymce_form' );
|
178 |
+
self::$instance->loader->add_action( 'wp_enqueue_scripts', self::$instance->admin, 'enqueue_styles' );
|
179 |
+
self::$instance->loader->add_action( 'admin_enqueue_scripts', self::$instance->admin, 'enqueue_styles' );
|
180 |
+
$plugin_widget = new feedzy_wp_widget();
|
181 |
+
self::$instance->loader->add_action( 'widgets_init', $plugin_widget, 'registerWidget', 10 );
|
|
|
182 |
}
|
183 |
|
184 |
/**
|
211 |
* @access public
|
212 |
*/
|
213 |
public function run() {
|
214 |
+
self::$instance->loader->run();
|
215 |
}
|
216 |
|
217 |
/**
|
222 |
* @return Feedzy_Rss_Feeds_Loader Orchestrates the hooks of the plugin.
|
223 |
*/
|
224 |
public function get_loader() {
|
225 |
+
return self::$instance->loader;
|
226 |
+
}
|
227 |
+
|
228 |
+
/**
|
229 |
+
* The reference to the class that run the admin with the plugin.
|
230 |
+
*
|
231 |
+
* @since 3.0.0
|
232 |
+
* @access public
|
233 |
+
* @return Feedzy_Rss_Feeds_Admin Orchestrates the admin of the plugin.
|
234 |
+
*/
|
235 |
+
public function get_admin() {
|
236 |
+
return self::$instance->admin;
|
237 |
}
|
238 |
|
239 |
}
|
languages/feedzy-rss-feeds.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Feedzy RSS Feeds Lite 3.0.3\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
|
7 |
-
"POT-Creation-Date: 2017-01-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -32,15 +32,15 @@ msgstr ""
|
|
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:
|
36 |
msgid "by"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: includes/abstract/feedzy-rss-feeds-admin-abstract.php:
|
40 |
msgid "on"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: includes/abstract/feedzy-rss-feeds-admin-abstract.php:
|
44 |
msgid "at"
|
45 |
msgstr ""
|
46 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Feedzy RSS Feeds Lite 3.0.3\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
|
7 |
+
"POT-Creation-Date: 2017-01-11 11:14:17+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
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:549
|
36 |
msgid "by"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: includes/abstract/feedzy-rss-feeds-admin-abstract.php:554
|
40 |
msgid "on"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: includes/abstract/feedzy-rss-feeds-admin-abstract.php:556
|
44 |
msgid "at"
|
45 |
msgstr ""
|
46 |
|
readme.txt
CHANGED
@@ -20,6 +20,7 @@ FEEDZY RSS Feeds is a small and lightweight RSS aggregator plugin. Fast and very
|
|
20 |
> * Multiple templates for feed items
|
21 |
> * Automatically build affiliate links
|
22 |
> * Parse price from product feeds
|
|
|
23 |
> * Priority email support from the developer of the plugin
|
24 |
> * Support and updates for 12 months
|
25 |
>
|
@@ -33,8 +34,6 @@ FEEDZY RSS Feeds therefore supports any additional library and uses only the bar
|
|
33 |
|
34 |
= See how Feedzy can integrate with your website =
|
35 |
|
36 |
-
|
37 |
-
|
38 |
* [Shop feed – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
|
39 |
* [Large image square grid – 2 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/2-columns-large-images-square-grid/)
|
40 |
* [Square grid template – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/square-template/)
|
@@ -130,23 +129,50 @@ Yes it is.
|
|
130 |
|
131 |
You have to check first if your feed is valid. Please test it here: https://validator.w3.org/feed/
|
132 |
|
133 |
-
=
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
|
151 |
== Screenshots ==
|
152 |
|
@@ -158,6 +184,9 @@ You have to check first if your feed is valid. Please test it here: https://vali
|
|
158 |
|
159 |
== Changelog ==
|
160 |
|
|
|
|
|
|
|
161 |
= 3.0.3 - 06/01/2017 =
|
162 |
* Fixed blog feed feature image filter
|
163 |
* Improved documentation and examples
|
20 |
> * Multiple templates for feed items
|
21 |
> * Automatically build affiliate links
|
22 |
> * Parse price from product feeds
|
23 |
+
> * Blacklist specific keywords from feeds
|
24 |
> * Priority email support from the developer of the plugin
|
25 |
> * Support and updates for 12 months
|
26 |
>
|
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/)
|
129 |
|
130 |
You have to check first if your feed is valid. Please test it here: https://validator.w3.org/feed/
|
131 |
|
132 |
+
= How to change cache lifetime for a specific feed =
|
133 |
+
http://docs.themeisle.com/article/547-how-to-change-cache-lifetime-for-a-specific-feed
|
134 |
+
|
135 |
+
= How to change thumbs size and aspect ratio =
|
136 |
+
http://docs.themeisle.com/article/551-how-to-change-thumbs-size-and-aspect-ratio
|
137 |
+
|
138 |
+
= What hooks and filters are available in Feedzy =
|
139 |
+
http://docs.themeisle.com/article/540-what-hooks-and-filters-are-available-in-feedzy
|
140 |
+
|
141 |
+
= How to change the blacklist image name =
|
142 |
+
http://docs.themeisle.com/article/552-how-to-change-the-blacklist-image-name
|
143 |
+
|
144 |
+
= How to decode item title =
|
145 |
+
http://docs.themeisle.com/article/548-how-to-decode-item-title-with
|
146 |
+
|
147 |
+
= How to remove featured image from blog feed =
|
148 |
+
http://docs.themeisle.com/article/554-how-to-remove-featured-image-from-blog-feed
|
149 |
+
|
150 |
+
= How to keep html in feed items content =
|
151 |
+
http://docs.themeisle.com/article/542-how-to-keep-html-in-feed-items-content
|
152 |
+
|
153 |
+
= How to remove plugin css =
|
154 |
+
http://docs.themeisle.com/article/545-how-to-remove-plugin-css
|
155 |
+
|
156 |
+
= How to remove links =
|
157 |
+
http://docs.themeisle.com/article/541-how-to-remove-links
|
158 |
+
|
159 |
+
= How to add a read more link =
|
160 |
+
http://docs.themeisle.com/article/544-how-to-add-a-read-more-link
|
161 |
+
|
162 |
+
= How to remove time from publication date =
|
163 |
+
http://docs.themeisle.com/article/553-how-to-remove-time-from-publication-date
|
164 |
+
|
165 |
+
= How to handle publication date and author content =
|
166 |
+
http://docs.themeisle.com/article/549-how-to-handle-time-and-date-content
|
167 |
+
|
168 |
+
= How to use your own inline css =
|
169 |
+
http://docs.themeisle.com/article/546-how-to-use-your-own-inline-css
|
170 |
+
|
171 |
+
= How to remove the end hellip =
|
172 |
+
http://docs.themeisle.com/article/543-how-to-remove-the-end-hellip
|
173 |
+
|
174 |
+
= How to display items in a random order =
|
175 |
+
http://docs.themeisle.com/article/550-how-to-display-items-in-a-random-order
|
176 |
|
177 |
== Screenshots ==
|
178 |
|
184 |
|
185 |
== Changelog ==
|
186 |
|
187 |
+
= 3.0.4 - 06/01/2017 =
|
188 |
+
* Fixed thumb='auto' behaviour
|
189 |
+
|
190 |
= 3.0.3 - 06/01/2017 =
|
191 |
* Fixed blog feed feature image filter
|
192 |
* Improved documentation and examples
|