FEEDZY RSS Feeds Lite - Version 1.6.1

Version Description

  • Serbian Translation
  • Media upload on TinyMCE popup for default thumb
Download this release

Release Info

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

Code changes from version 1.6 to 1.6.1

css/feedzy-rss-feeds.css CHANGED
@@ -32,6 +32,30 @@
32
  font-size: 0.9em;
33
  font-style:italic;
34
  }
 
 
35
  i.mce-i-feedzy-icon {
36
  background-image: url('../img/feedzy.svg');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
32
  font-size: 0.9em;
33
  font-style:italic;
34
  }
35
+
36
+ /*TinyMce UI button*/
37
  i.mce-i-feedzy-icon {
38
  background-image: url('../img/feedzy.svg');
39
+ }
40
+ .mce-feedzy-media {
41
+ padding-right: 25px;
42
+ -webkit-box-sizing: border-box;
43
+ -moz-box-sizing: border-box;
44
+ box-sizing: border-box;
45
+ height: 32px;
46
+ }
47
+ .mce-feedzy-media-button {
48
+ cursor: pointer;
49
+ width: 28px;
50
+ height: 28px;
51
+ display: block;
52
+ -webkit-font-smoothing: antialiased;
53
+ float: right;
54
+ background-color: #F7F7F7;
55
+ border: 1px solid #DDD;
56
+ font-size: 30px;
57
+ color: #777;
58
+ position: relative;
59
+ line-height: 28px;
60
+ text-align: center;
61
  }
feedzy-rss-feed.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: FEEDZY RSS Feeds is a small and lightweight plugin. Fast and easy to use, it aggregates RSS feeds into your WordPress site through simple shortcodes.
6
  * Author: Brice CAPOBIANCO
7
  * Author URI: http://b-website.com/
8
- * Version: 1.6
9
  * Text Domain: feedzy_rss_translate
10
  * Domain Path: /langs
11
  */
@@ -44,9 +44,9 @@ if ( ! function_exists( 'feedzy_meta_links' ) ) {
44
  function feedzy_meta_links( $links, $file ) {
45
  if ( strpos( $file, 'feedzy-rss-feed.php' ) !== false ) {
46
  $links[0] = '<a href="http://b-website.com/" target="_blank"><img src="' . plugins_url('img/icon-bweb.png', __FILE__ ) . '" style="margin-bottom: -4px;" alt="b*web"/></a>&nbsp;&nbsp;'. $links[0];
47
- $links = array_merge( $links, array( '<a href="http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie" target="_blank" title="'. __( 'Documentation and examples', 'feedzy_rss_translate' ) .'"><strong style="color:#db3939">'. __( 'Documentation and examples', 'feedzy_rss_translate' ) .'</strong></a>' ) );
48
- $links = array_merge( $links, array( '<a href="http://b-website.com/category/plugins" target="_blank" title="'. __( 'More b*web Plugins', 'feedzy_rss_translate' ) .'">'. __( 'More b*web Plugins', 'feedzy_rss_translate' ) .'</a>' ) );
49
- $links = array_merge( $links, array( '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7Z6YVM63739Y8" target="_blank" title="'. __( 'Donate', 'feedzy_rss_translate' ) .'"><strong>'. __( 'Donate', 'feedzy_rss_translate' ) .'</strong></a>' ) );
50
  }
51
  return $links;
52
  }
@@ -415,4 +415,4 @@ function feedzy_include_thumbnail_RSS (){
415
  }
416
  }
417
  //add_action('rss_item', 'feedzy_include_thumbnail_RSS');
418
- //add_action('rss2_item', 'feedzy_include_thumbnail_RSS');
5
  * Description: FEEDZY RSS Feeds is a small and lightweight plugin. Fast and easy to use, it aggregates RSS feeds into your WordPress site through simple shortcodes.
6
  * Author: Brice CAPOBIANCO
7
  * Author URI: http://b-website.com/
8
+ * Version: 1.6.1
9
  * Text Domain: feedzy_rss_translate
10
  * Domain Path: /langs
11
  */
44
  function feedzy_meta_links( $links, $file ) {
45
  if ( strpos( $file, 'feedzy-rss-feed.php' ) !== false ) {
46
  $links[0] = '<a href="http://b-website.com/" target="_blank"><img src="' . plugins_url('img/icon-bweb.png', __FILE__ ) . '" style="margin-bottom: -4px;" alt="b*web"/></a>&nbsp;&nbsp;'. $links[0];
47
+ $links[] = '<a href="http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie" target="_blank" title="'. __( 'Documentation and examples', 'feedzy_rss_translate' ) .'"><strong style="color:#db3939">'. __( 'Documentation and examples', 'feedzy_rss_translate' ) .'</strong></a>';
48
+ $links[] = '<a href="http://b-website.com/category/plugins" target="_blank" title="'. __( 'More b*web Plugins', 'feedzy_rss_translate' ) .'">'. __( 'More b*web Plugins', 'feedzy_rss_translate' ) .'</a>';
49
+ $links[] = '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7Z6YVM63739Y8" target="_blank" title="'. __( 'Donate', 'feedzy_rss_translate' ) .'"><strong>'. __( 'Donate', 'feedzy_rss_translate' ) .'</strong></a>';
50
  }
51
  return $links;
52
  }
415
  }
416
  }
417
  //add_action('rss_item', 'feedzy_include_thumbnail_RSS');
418
+ //add_action('rss2_item', 'feedzy_include_thumbnail_RSS');
feedzy-rss-feeds-ui.php CHANGED
@@ -13,7 +13,8 @@ function feedzy_add_mce_button() {
13
  add_filter( 'mce_buttons', 'feedzy_register_mce_button' );
14
 
15
  // Load stylesheet for tinyMCE button only
16
- wp_enqueue_style( 'feedzy-rss-feeds', plugin_dir_url( __FILE__ ) . 'css/feedzy-rss-feeds.css', array(), NULL, NULL);
 
17
  }
18
 
19
  }
@@ -34,7 +35,7 @@ add_filter( 'mce_external_languages', 'feedzy_add_tinymce_lang', 10, 1 );
34
  * Load custom js options - TinyMCE API
35
  ***************************************************************/
36
  function feedzy_tinymce_plugin( $plugin_array ) {
37
- $plugin_array['feedzy_mce_button'] = plugin_dir_url( __FILE__ ) . '/js/feedzy-rss-feeds-ui.js';
38
  return $plugin_array;
39
  }
40
 
13
  add_filter( 'mce_buttons', 'feedzy_register_mce_button' );
14
 
15
  // Load stylesheet for tinyMCE button only
16
+ wp_enqueue_style( 'feedzy-rss-feeds', plugin_dir_url( __FILE__ ) . 'css/feedzy-rss-feeds.css', array(), NULL, NULL );
17
+ wp_enqueue_script( 'feedzy-rss-feeds-ui-scripts', plugin_dir_url( __FILE__ ) . 'js/feedzy-rss-feeds-ui-scripts.js', array( 'jquery' ), NULL );
18
  }
19
 
20
  }
35
  * Load custom js options - TinyMCE API
36
  ***************************************************************/
37
  function feedzy_tinymce_plugin( $plugin_array ) {
38
+ $plugin_array[ 'feedzy_mce_button' ] = plugin_dir_url( __FILE__ ) . '/js/feedzy-rss-feeds-ui-mce.js';
39
  return $plugin_array;
40
  }
41
 
js/{feedzy-rss-feeds-ui.js → feedzy-rss-feeds-ui-mce.js} RENAMED
@@ -91,6 +91,7 @@
91
  {
92
  type: 'textbox',
93
  name: 'defaultimg',
 
94
  label: editor.getLang('feedzy_tinymce_plugin.defaultimg'),
95
  value: ''
96
  },
91
  {
92
  type: 'textbox',
93
  name: 'defaultimg',
94
+ classes : 'feedzy-media', //necessary to call the media library
95
  label: editor.getLang('feedzy_tinymce_plugin.defaultimg'),
96
  value: ''
97
  },
js/feedzy-rss-feeds-ui-scripts.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Plugin Name: FEEDZY RSS Feeds by b*web
3
+ * Plugin URI: http://b-website.com/
4
+ * Author: Brice CAPOBIANCO
5
+ */
6
+ jQuery(document).ready(function($) {
7
+
8
+ function feedzyMediaLibrary(){
9
+ $('i.mce-i-feedzy-icon').live('click', function(){
10
+ setTimeout(function() {
11
+ $('.mce-feedzy-media').after( "<span class='mce-feedzy-media-button'>+</span>" );
12
+ }, 100);
13
+ });
14
+
15
+ $('.mce-feedzy-media-button').live('click', function(){
16
+ var $this = $(this);
17
+ var wireframe;
18
+ if (wireframe) {
19
+ wireframe.open();
20
+ return;
21
+ }
22
+
23
+ wireframe = wp.media.frames.wireframe = wp.media({
24
+ /*title: 'Media Library Title',
25
+ button: {
26
+ text: 'Media Library Button Title'
27
+ },*/
28
+ multiple: false
29
+ });
30
+
31
+ wireframe.on('select', function() {
32
+ attachment = wireframe.state().get('selection').first().toJSON();
33
+ $this.parent().find('.mce-feedzy-media').val(attachment.url);
34
+ });
35
+
36
+ wireframe.open();
37
+ });
38
+ };
39
+ feedzyMediaLibrary();
40
+
41
+ });
langs/feedzy_rss_translate-sr_RS.mo ADDED
Binary file
langs/feedzy_rss_translate-sr_RS.po ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: FEEDZY RSS Feeds by b*web v1.5.2\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2014-12-01 20:36+0100\n"
7
+ "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n>1;\n"
13
+ "X-Generator: Poedit 1.5.4\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
16
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
17
+ "X-Textdomain-Support: yes\n"
18
+ "Language: fr_FR\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ feedzy_rss_translate
22
+ #: feedzy-rss-feed.php:188
23
+ msgid "Sorry, this feed is currently unavailable or does not exists anymore."
24
+ msgstr "Žao nam je, ovo polje trenutno nije dostupno ili više ne postoji."
25
+
26
+ # @ feedzy_rss_translate
27
+ #: feedzy-rss-feed.php:336
28
+ msgid "Posted by"
29
+ msgstr "Objavio"
30
+
31
+ # @ feedzy_rss_translate
32
+ #: feedzy-rss-feed.php:345
33
+ msgid "on"
34
+ msgstr "na"
35
+
36
+ # @ feedzy_rss_translate
37
+ #: feedzy-rss-feed.php:345
38
+ msgid "at"
39
+ msgstr "u"
40
+
41
+ # @ feedzy_rss_translate
42
+ #: feedzy-rss-feed.php:47
43
+ msgid "Documentation and examples"
44
+ msgstr "Dokumentacija i primeri"
45
+
46
+ # @ feedzy_rss_translate
47
+ #: feedzy-rss-feed.php:48
48
+ msgid "More b*web Plugins"
49
+ msgstr "Više b*web Plugin-ova"
50
+
51
+ # @ feedzy_rss_translate
52
+ #: feedzy-rss-feed.php:49
53
+ msgid "Donate"
54
+ msgstr "Donirajte"
55
+
56
+ # @ feedzy_rss_translate
57
+ #: feedzy-rss-feeds-ui-lang.php:11
58
+ msgid "Insert FEEDZY RSS Feeds Shortcode"
59
+ msgstr "Unesite FEEDZY RSS Feeds Shortcode"
60
+
61
+ # @ feedzy_rss_translate
62
+ #: feedzy-rss-feeds-ui-lang.php:13
63
+ msgid "Number of items to display."
64
+ msgstr "Broj stavki za prikazivanje"
65
+
66
+ # @ feedzy_rss_translate
67
+ #: feedzy-rss-feeds-ui-lang.php:15
68
+ msgid "Links may be opened in the same window or a new tab."
69
+ msgstr "Linkovi mogu biti otvoreni u istom prozoru ili u novom tabulatoru."
70
+
71
+ # @ feedzy_rss_translate
72
+ #: feedzy-rss-feeds-ui-lang.php:16
73
+ msgid "Trim the title of the item after X characters."
74
+ msgstr "Skratite naslov stavke posle X karaktera."
75
+
76
+ # @ feedzy_rss_translate
77
+ #: feedzy-rss-feeds-ui-lang.php:17
78
+ msgid "Should we display the date of publication and the author name?"
79
+ msgstr "Treba li da prikažemo datum publikacije i ime autora?"
80
+
81
+ # @ feedzy_rss_translate
82
+ #: feedzy-rss-feeds-ui-lang.php:18
83
+ msgid "Should we display a description (abstract) of the retrieved item?"
84
+ msgstr "Treba li da prikažemo opis (siže) dobavljene stavke?"
85
+
86
+ # @ feedzy_rss_translate
87
+ #: feedzy-rss-feeds-ui-lang.php:19
88
+ msgid "Crop description (summary) of the element after X characters."
89
+ msgstr "Kropuj opis (siže) elementa posle X karaktera."
90
+
91
+ # @ feedzy_rss_translate
92
+ #: feedzy-rss-feeds-ui-lang.php:20
93
+ msgid "Should we display the first image of the content if it is available?"
94
+ msgstr "Treba li da prikažemo prvu sliku sadržaja ako je raspoloživa?"
95
+
96
+ # @ feedzy_rss_translate
97
+ #: feedzy-rss-feeds-ui-lang.php:21
98
+ msgid "Default thumbnail URL if no image is found."
99
+ msgstr "URL podrazumevane sličice ako nije pronađena nijedna slika."
100
+
101
+ # @ feedzy_rss_translate
102
+ #: feedzy-rss-feeds-ui-lang.php:22
103
+ msgid "Thumblails dimension. Do not include \"px\". Eg: 150"
104
+ msgstr "Dimenzije sličice. Nemojte unositi \"px\". Npr. 150"
105
+
106
+ # @ feedzy_rss_translate
107
+ #: feedzy-rss-feeds-ui-lang.php:23
108
+ msgid ""
109
+ "Only display item if title contains specific keyword(s) (comma-separated "
110
+ "list/case sensitive)."
111
+ msgstr ""
112
+ "Prikaži stavku samo ako naslov sadrži specifične ključne reči (odvojene "
113
+ "zarezima/osetljive na velika i mala slova)."
114
+
115
+ # @ feedzy_rss_translate
116
+ #: feedzy-rss-feeds-ui-lang.php:24
117
+ msgid "Do not specify"
118
+ msgstr "Nemoj određivati"
119
+
120
+ # @ feedzy_rss_translate
121
+ #: feedzy-rss-feeds-ui-lang.php:25
122
+ msgid "No"
123
+ msgstr "Ne"
124
+
125
+ # @ feedzy_rss_translate
126
+ #: feedzy-rss-feeds-ui-lang.php:26
127
+ msgid "Yes"
128
+ msgstr "Da"
129
+
130
+ # @ feedzy_rss_translate
131
+ #: feedzy-rss-feeds-ui-lang.php:12
132
+ msgid "The feed(s) URL (comma-separated list)."
133
+ msgstr "URL feed-ova (odvojenih zarezima ako je lista)."
134
+
135
+ # @ feedzy_rss_translate
136
+ #: feedzy-rss-feeds-ui-lang.php:14
137
+ msgid "Should we display the RSS title?"
138
+ msgstr "Treba li da prikažemo RSS naslov?"
139
+
140
+ # @ feedzy_rss_translate
141
+ #. translators: plugin header field 'Name'
142
+ #: feedzy-rss-feed.php:0
143
+ msgid "FEEDZY RSS Feeds by b*web"
144
+ msgstr "FEEDZY RSS Feeds, autor b*web"
145
+
146
+ # @ feedzy_rss_translate
147
+ #. translators: plugin header field 'Description'
148
+ #: feedzy-rss-feed.php:0
149
+ msgid ""
150
+ "FEEDZY RSS Feeds is a small and lightweight plugin. Fast and easy to use, it "
151
+ "aggregates RSS feeds into your WordPress site through simple shortcodes."
152
+ msgstr ""
153
+ "FEEDZY RSS Feeds je mali i lagan plugin. Brz i jednostavan za upotrebu, "
154
+ "sakuplja RSS feed-ove na vaš WordPress site uz pomoć jednostavnih shortcode-"
155
+ "ova."
156
+
157
+ # @ feedzy_rss_translate
158
+ #. translators: plugin header field 'Author'
159
+ #: feedzy-rss-feed.php:0
160
+ msgid "Brice CAPOBIANCO"
161
+ msgstr "Brice CAPOBIANCO"
162
+
163
+ # @ feedzy_rss_translate
164
+ #. translators: plugin header field 'AuthorURI'
165
+ #: feedzy-rss-feed.php:0
166
+ msgid "http://b-website.com/"
167
+ msgstr "http://b-website.com/"
168
+
169
+ # @ feedzy_rss_translate
170
+ #. translators: plugin header field 'Version'
171
+ #: feedzy-rss-feed.php:0
172
+ msgid "1.5.2"
173
+ msgstr "1.5.2"
174
+
175
+ # @ feedzy_rss_translate
176
+ #. translators: plugin header field 'PluginURI'
177
+ #: feedzy-rss-feed.php:0
178
+ msgid "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
179
+ msgstr "http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress
5
  Requires at least: 3.7
6
  Tested up to: 4.0
7
- Stable tag: 1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -23,12 +23,6 @@ You may use this plugin in your widgets and your pages and reuse the shortcode s
23
 
24
  By activating this plugin, your cover picture will be inserted into your RSS feeds. By doing so, you'll make it will easier for external sites to retrieve images from your feeds.
25
 
26
- BETA - need your feed back ;)
27
- add_action('rss_item', 'feedzy_include_thumbnail_RSS');
28
- add_action('rss2_item', 'feedzy_include_thumbnail_RSS')
29
-
30
- Plugin is now using the TinyMCE API to improve UI and makes it easy to insert shortcodes!
31
-
32
 
33
  [CHECK OUT THE DEMO](http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie "Try It!")
34
 
@@ -51,6 +45,8 @@ Plugin is now using the TinyMCE API to improve UI and makes it easy to insert sh
51
  * size
52
  * keywords_title
53
 
 
 
54
 
55
  = Basic example =
56
 
@@ -65,6 +61,13 @@ Plugin is now using the TinyMCE API to improve UI and makes it easy to insert sh
65
 
66
  [FULL DOCUMENTATION AND EXAMPLES](http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie "Documentation & examples")
67
 
 
 
 
 
 
 
 
68
 
69
 
70
  == Installation ==
@@ -88,6 +91,11 @@ Yes it is.
88
  == Changelog ==
89
 
90
 
 
 
 
 
 
91
  = 1.6 =
92
  * Minor CSS fix
93
  * Add actions: add_action('rss_item', 'feedzy_include_thumbnail_RSS'); & add_action('rss2_item', 'feedzy_include_thumbnail_RSS')
4
  Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress
5
  Requires at least: 3.7
6
  Tested up to: 4.0
7
+ Stable tag: 1.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
23
 
24
  By activating this plugin, your cover picture will be inserted into your RSS feeds. By doing so, you'll make it will easier for external sites to retrieve images from your feeds.
25
 
 
 
 
 
 
 
26
 
27
  [CHECK OUT THE DEMO](http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie "Try It!")
28
 
45
  * size
46
  * keywords_title
47
 
48
+ **Plugin is now using the TinyMCE API to improve UI and makes it easy to insert shortcodes!**
49
+
50
 
51
  = Basic example =
52
 
61
 
62
  [FULL DOCUMENTATION AND EXAMPLES](http://b-website.com/feedzy-rss-feeds-wordpress-plugin-using-simplepie "Documentation & examples")
63
 
64
+ = Languages =
65
+
66
+ * English
67
+ * French
68
+ * Serbian [Borisa Djuraskovic](http://www.webhostinghub.com/ "Borisa Djuraskovic")
69
+
70
+ Become a translator and send me your translation! [Contact-me](http://b-website.com/contact "Contact")
71
 
72
 
73
  == Installation ==
91
  == Changelog ==
92
 
93
 
94
+ = 1.6.1 =
95
+ * Serbian Translation
96
+ * Media upload on TinyMCE popup for default thumb
97
+
98
+
99
  = 1.6 =
100
  * Minor CSS fix
101
  * Add actions: add_action('rss_item', 'feedzy_include_thumbnail_RSS'); & add_action('rss2_item', 'feedzy_include_thumbnail_RSS')