Version Description
- New: jQuery ticker script is not loaded locally.
- Fix: Minor style adjustments to the admin widget.
Download this release
Release Info
Developer | vaakash |
Plugin | Super RSS Reader |
Version | 2.8 |
Comparing to | |
See all releases |
Code changes from version 2.7 to 2.8
- admin/css/style.css +2 -2
- public/js/jquery.easy-ticker.min.js +2 -0
- readme.txt +13 -10
- super-rss-reader.php +21 -21
admin/css/style.css
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
.srr_coffee {
|
17 |
border: 1px solid #4CAF50;
|
18 |
border-radius: 3px;
|
19 |
-
padding: 10px
|
20 |
background: url(../images/coffee.svg) 12px 10px no-repeat;
|
21 |
background-size: 7%;
|
22 |
position: relative;
|
@@ -30,7 +30,7 @@
|
|
30 |
position: absolute;
|
31 |
top: 12px;
|
32 |
right: 5px;
|
33 |
-
width:
|
34 |
}
|
35 |
.srr_coffee_wrap p{
|
36 |
display: inline-block;
|
16 |
.srr_coffee {
|
17 |
border: 1px solid #4CAF50;
|
18 |
border-radius: 3px;
|
19 |
+
padding: 10px 220px 10px 60px;
|
20 |
background: url(../images/coffee.svg) 12px 10px no-repeat;
|
21 |
background-size: 7%;
|
22 |
position: relative;
|
30 |
position: absolute;
|
31 |
top: 12px;
|
32 |
right: 5px;
|
33 |
+
width: 205px;
|
34 |
}
|
35 |
.srr_coffee_wrap p{
|
36 |
display: inline-block;
|
public/js/jquery.easy-ticker.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
/* jQuery - Easy Ticker - Plugin v2.0 www.aakashweb.com (c) 2014 Aakash Chakravarthy MIT License. */
|
2 |
+
;(function($,h,i,j){var k="easyTicker",defaults={direction:'up',easing:'swing',speed:'slow',interval:2000,height:'auto',visible:0,mousePause:1,controls:{up:'',down:'',toggle:'',playText:'Play',stopText:'Stop'}};function EasyTicker(f,g){var s=this;s.opts=$.extend({},defaults,g);s.elem=$(f);s.targ=$(f).children(':first-child');s.timer=0;s.mHover=0;s.winFocus=1;init();start();$([h,i]).off('focus.jqet').on('focus.jqet',function(){s.winFocus=1}).off('blur.jqet').on('blur.jqet',function(){s.winFocus=0});if(s.opts.mousePause==1){s.elem.mouseenter(function(){s.timerTemp=s.timer;stop()}).mouseleave(function(){if(s.timerTemp!==0)start()})}$(s.opts.controls.up).on('click',function(e){e.preventDefault();moveDir('up')});$(s.opts.controls.down).on('click',function(e){e.preventDefault();moveDir('down')});$(s.opts.controls.toggle).on('click',function(e){e.preventDefault();if(s.timer==0)start();else stop()});function init(){s.elem.children().css('margin',0).children().css('margin',0);s.elem.css({position:'relative',height:s.opts.height,overflow:'hidden'});s.targ.css({'position':'absolute','margin':0});setInterval(function(){adjHeight()},100)}function start(){s.timer=setInterval(function(){if(s.winFocus==1){move(s.opts.direction)}},s.opts.interval);$(s.opts.controls.toggle).addClass('et-run').html(s.opts.controls.stopText)}function stop(){clearInterval(s.timer);s.timer=0;$(s.opts.controls.toggle).removeClass('et-run').html(s.opts.controls.playText)}function move(a){var b,eq,appType;if(!s.elem.is(':visible'))return;if(a=='up'){b=':first-child';eq='-=';appType='appendTo'}else{b=':last-child';eq='+=';appType='prependTo'}var c=s.targ.children(b);var d=c.outerHeight();s.targ.stop(true,true).animate({'top':eq+d+"px"},s.opts.speed,s.opts.easing,function(){c.hide()[appType](s.targ).fadeIn();s.targ.css('top',0);adjHeight()})}function moveDir(a){stop();if(a=='up')move('up');else move('down')}function fullHeight(){var a=0;var b=s.elem.css('display');s.elem.css('display','block');s.targ.children().each(function(){a+=$(this).outerHeight()});s.elem.css({'display':b,'height':a})}function visHeight(a){var b=0;s.targ.children(':lt('+s.opts.visible+')').each(function(){b+=$(this).outerHeight()});if(a==1){s.elem.stop(true,true).animate({height:b},s.opts.speed)}else{s.elem.css('height',b)}}function adjHeight(){if(s.opts.height=='auto'&&s.opts.visible!=0){anim=arguments.callee.caller.name=='init'?0:1;visHeight(anim)}else if(s.opts.height=='auto'){fullHeight()}}return{up:function(){moveDir('up')},down:function(){moveDir('down')},start:start,stop:stop,options:s.opts}}$.fn[k]=function(a){return this.each(function(){if(!$.data(this,k)){$.data(this,k,new EasyTicker(this,a))}})}})(jQuery,window,document);
|
readme.txt
CHANGED
@@ -6,14 +6,15 @@ Tags: rss, feeds, widget, ticker, feed, twitter, admin, plugin, posts, page, thu
|
|
6 |
License: GPLv2 or later
|
7 |
Donate Link: https://www.paypal.me/vaakash
|
8 |
Requires at least: 2.8
|
9 |
-
|
10 |
-
|
|
|
11 |
|
12 |
An RSS widget plugin to display feeds with news ticker effect in multiple tabbed feeds, thumbnails, customizable color themes and more
|
13 |
|
14 |
== Description ==
|
15 |
|
16 |
-
Super RSS Reader is jQuery based RSS reader widget, which displays the RSS feeds in the widget in an attractive way. It uses the jQuery easy ticker plugin to add a news ticker like effect to the RSS feeds. Multiple RSS feeds can be added for a single widget and they get
|
17 |
|
18 |
The plugin is fully customizable with external styles and with some inbuilt color styles. It acts as a perfect replacement for the default RSS widget in WordPress.
|
19 |
|
@@ -33,10 +34,9 @@ The plugin is fully customizable with external styles and with some inbuilt colo
|
|
33 |
|
34 |
= Resources =
|
35 |
|
36 |
-
* [Documentation](https://www.aakashweb.com/
|
37 |
-
* [FAQs](https://www.aakashweb.com/
|
38 |
-
* [Support](https://www.aakashweb.com/forum/)
|
39 |
-
* [Report Bugs](https://www.aakashweb.com/forum/)
|
40 |
|
41 |
== Installation ==
|
42 |
|
@@ -50,7 +50,7 @@ Download and upload the latest version of Super RSS Reader,
|
|
50 |
|
51 |
== Frequently Asked Questions ==
|
52 |
|
53 |
-
= RSS feed is not refreshing =
|
54 |
|
55 |
Super RSS Reader uses WordPress's default feed reading module. By default WordPress caches the RSS feed for 12 hours.
|
56 |
|
@@ -98,6 +98,10 @@ The size of the ticker library is only 2.74 KB.
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
|
|
101 |
= 2.7 =
|
102 |
* New: Support for "no follow" attribute in links.
|
103 |
* Fix: Readme with updated FAQ.
|
@@ -153,5 +157,4 @@ Version 2.0 is a major and recommended upgrade for previous version users.
|
|
153 |
== Credits ==
|
154 |
|
155 |
* RSS feed reading engine is the inbuilt WordPress's engine
|
156 |
-
* The news ticker effect is powered by the [jQuery Easy ticker plugin](https://www.aakashweb.com/jquery-plugins/easy-ticker/)
|
157 |
-
* Default color styles by Aakash Chakravarthy.
|
6 |
License: GPLv2 or later
|
7 |
Donate Link: https://www.paypal.me/vaakash
|
8 |
Requires at least: 2.8
|
9 |
+
Requires PHP: 5.3
|
10 |
+
Tested up to: 5.3.2
|
11 |
+
Stable tag: 2.8
|
12 |
|
13 |
An RSS widget plugin to display feeds with news ticker effect in multiple tabbed feeds, thumbnails, customizable color themes and more
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
+
Super RSS Reader is jQuery based RSS reader widget, which displays the RSS feeds in the widget in an attractive way. It uses the jQuery easy ticker plugin to add a news ticker like effect to the RSS feeds. Multiple RSS feeds can be added for a single widget and they get separated in tabs.
|
18 |
|
19 |
The plugin is fully customizable with external styles and with some inbuilt color styles. It acts as a perfect replacement for the default RSS widget in WordPress.
|
20 |
|
34 |
|
35 |
= Resources =
|
36 |
|
37 |
+
* [Documentation](https://www.aakashweb.com/docs/super-rss-reader-doc/)
|
38 |
+
* [FAQs](https://www.aakashweb.com/docs/super-rss-reader-doc/faq/)
|
39 |
+
* [Support/Report bugs](https://www.aakashweb.com/forum/discuss/wordpress-plugins/super-rss-reader/)
|
|
|
40 |
|
41 |
== Installation ==
|
42 |
|
50 |
|
51 |
== Frequently Asked Questions ==
|
52 |
|
53 |
+
= My RSS feed is not refreshing ! =
|
54 |
|
55 |
Super RSS Reader uses WordPress's default feed reading module. By default WordPress caches the RSS feed for 12 hours.
|
56 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 2.8 =
|
102 |
+
* New: jQuery ticker script is not loaded locally.
|
103 |
+
* Fix: Minor style adjustments to the admin widget.
|
104 |
+
|
105 |
= 2.7 =
|
106 |
* New: Support for "no follow" attribute in links.
|
107 |
* Fix: Readme with updated FAQ.
|
157 |
== Credits ==
|
158 |
|
159 |
* RSS feed reading engine is the inbuilt WordPress's engine
|
160 |
+
* The news ticker effect is powered by the [jQuery Easy ticker plugin](https://www.aakashweb.com/jquery-plugins/easy-ticker/)
|
|
super-rss-reader.php
CHANGED
@@ -3,17 +3,17 @@
|
|
3 |
* Plugin Name: Super RSS Reader
|
4 |
* Plugin URI: https://www.aakashweb.com/wordpress-plugins/super-rss-reader/
|
5 |
* Author URI: https://www.aakashweb.com/
|
6 |
-
* Description: Super RSS Reader is jQuery based RSS reader widget, which displays the RSS feeds in the widget in an attractive way. It uses the jQuery easy ticker plugin to add a news ticker like effect to the RSS feeds. Multiple RSS feeds can be added for a single widget and they get separated in tabs.
|
7 |
* Author: Aakash Chakravarthy
|
8 |
-
* Version: 2.
|
9 |
*/
|
10 |
|
11 |
-
define('SRR_VERSION', '2.
|
12 |
define('SRR_URL', plugin_dir_url( __FILE__ ));
|
13 |
|
14 |
// Include the required scripts & styles
|
15 |
function srr_public_scripts(){
|
16 |
-
wp_enqueue_script('jquery-easy-ticker-js', '
|
17 |
wp_enqueue_script('super-rss-reader-js', SRR_URL . 'public/js/script.min.js', array( 'jquery' ));
|
18 |
wp_enqueue_style('super-rss-reader-css', SRR_URL . 'public/css/style.min.css');
|
19 |
}
|
@@ -311,7 +311,7 @@ class super_rss_reader_widget extends WP_Widget{
|
|
311 |
return $instance;
|
312 |
}
|
313 |
|
314 |
-
//
|
315 |
public function form($instance){
|
316 |
|
317 |
$instance = wp_parse_args((array) $instance, srr_defaults());
|
@@ -454,25 +454,25 @@ class super_rss_reader_widget extends WP_Widget{
|
|
454 |
<div class="srr_coffee">
|
455 |
<p>Thank you for using Super RSS Reader. If you found it useful, please buy me a coffee !</p>
|
456 |
<div class="srr_coffee_wrap">
|
457 |
-
<
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
</div>
|
473 |
</div>
|
474 |
|
475 |
-
<p><a href="
|
476 |
|
477 |
<?php
|
478 |
}
|
3 |
* Plugin Name: Super RSS Reader
|
4 |
* Plugin URI: https://www.aakashweb.com/wordpress-plugins/super-rss-reader/
|
5 |
* Author URI: https://www.aakashweb.com/
|
6 |
+
* Description: Super RSS Reader is jQuery based RSS reader widget, which displays the RSS feeds in the widget in an attractive way. It uses the jQuery easy ticker plugin to add a news ticker like effect to the RSS feeds. Multiple RSS feeds can be added for a single widget and they get separated in tabs.
|
7 |
* Author: Aakash Chakravarthy
|
8 |
+
* Version: 2.8
|
9 |
*/
|
10 |
|
11 |
+
define('SRR_VERSION', '2.8');
|
12 |
define('SRR_URL', plugin_dir_url( __FILE__ ));
|
13 |
|
14 |
// Include the required scripts & styles
|
15 |
function srr_public_scripts(){
|
16 |
+
wp_enqueue_script('jquery-easy-ticker-js', SRR_URL . 'public/js/jquery.easy-ticker.min.js', array( 'jquery', 'super-rss-reader-js' ));
|
17 |
wp_enqueue_script('super-rss-reader-js', SRR_URL . 'public/js/script.min.js', array( 'jquery' ));
|
18 |
wp_enqueue_style('super-rss-reader-css', SRR_URL . 'public/css/style.min.css');
|
19 |
}
|
311 |
return $instance;
|
312 |
}
|
313 |
|
314 |
+
// Widget form
|
315 |
public function form($instance){
|
316 |
|
317 |
$instance = wp_parse_args((array) $instance, srr_defaults());
|
454 |
<div class="srr_coffee">
|
455 |
<p>Thank you for using Super RSS Reader. If you found it useful, please buy me a coffee !</p>
|
456 |
<div class="srr_coffee_wrap">
|
457 |
+
<select class="srr_coffee_amt">
|
458 |
+
<option value="2">$2</option>
|
459 |
+
<option value="3">$3</option>
|
460 |
+
<option value="4">$4</option>
|
461 |
+
<option value="5">$5</option>
|
462 |
+
<option value="6" selected="selected">$6</option>
|
463 |
+
<option value="7">$7</option>
|
464 |
+
<option value="8">$8</option>
|
465 |
+
<option value="9">$9</option>
|
466 |
+
<option value="10">$10</option>
|
467 |
+
<option value="11">$11</option>
|
468 |
+
<option value="12">$12</option>
|
469 |
+
<option value="">Custom</option>
|
470 |
+
</select>
|
471 |
+
<a class="button button-primary srr_coffee_btn" href="https://www.paypal.me/vaakash/6" data-link="https://www.paypal.me/vaakash/" target="_blank">Buy me a coffee !</a>
|
472 |
</div>
|
473 |
</div>
|
474 |
|
475 |
+
<p><a href="https://www.aakashweb.com/docs/super-rss-reader-doc/faq/" target="_blank">FAQ</a> | <a href="https://www.aakashweb.com/forum/discuss/wordpress-plugins/super-rss-reader/" target="_blank">Report issue</a> | <a href="https://wordpress.org/support/plugin/super-rss-reader/reviews/?rate=5#new-post" target="_blank">Rate 5 stars & review</a> | v<?php echo SRR_VERSION; ?></p>
|
476 |
|
477 |
<?php
|
478 |
}
|