Giter Club home page Giter Club logo

simple-rss-feed-reader's Introduction

Simple RSS Feed Reader

Adding RSS/Atom syndicated content inside your Joomla website is now super-easy and simple with the "Simple RSS Feed Reader" module from JoomlaWorks. All you have to do is add a few feeds to the module parameters, publish the module in some position and that's it! You can even publish multiple feeds at the same time (meaning in the same module instance) and have them display combined!

The "Simple RSS Feed Reader" module is based on the same feed parsing engine that powers JoomlaReader.com, the most popular Joomla news aggregator in the Joomla Community.

The feeds are stored inside your Joomla site's cache folder and refreshed in a specific time interval, which you set in the module's parameters. This feed cache is different to Joomla's cache, as you may need to have your site refreshed every 5 minutes, but have the feeds the module retrieves stored longer than 5 minutes.

NOTABLE FEATURES

  • one input box for feeds enables you to add unlimited feeds per module instance
  • combine multiple feeds into one output list
  • show or hide the first image inside each feed content
  • extract and resize remote images for more layout control
  • there's an additional option to serve resized images using a remote image resizing service (Images.weserv.nl - powered by CloudFlare's CDN) for fast loading times and without stressing your server
  • additional content options include pre-text, post-text and a custom link option at the bottom of the feeds block
  • MVC templating is standard - the module comes pre-packed with 3 sub-templates that will fit most sites - they also serve as a great starting point if you want to create your own
  • a special 3rd template (which was added in v3.8.0) allows for rendering any YouTube Playlist's feed as a list of videos (requires the use of the AllVideos plugin - also free)
  • one input box for feeds enables you to add unlimited sources to your module
  • after you install the module, add one or more feed sources in the related box under "Fetch Options" and simply adjust the "Feed Content Options" in the module parameters.

GETTING STARTED

After you install the module, add one or more feed sources in the related box under "Fetch Options" and simply adjust the "Feed Content Options" in the module parameters. Then publish into some module position.

STYLING

The module comes with 3 sub-templates, which should be sufficient for most websites. If you want more control, you can simply override both the generated HTML and CSS, using MVC template overrides within your Joomla template. Or you can create new folders inside your template's /html/mod_jw_srfr/ folder and just select the new ones in the module's parameters.

The compact template is inspired by https://joomlareader.com.

DEMO

Demo for "default" sub-template: https://demo.joomlaworks.net (right column) or https://demo2.joomlaworks.net (right column)

COMPATIBILITY

"Simple RSS Feed Reader" is fully compatible with Joomla versions 1.5, 2.5 & 3.x on servers running PHP 5 or 7. Although untested, it should function without any issues on PHP 8 as well.

LICENSE

"Simple RSS Feed Reader" is a Joomla module developed by JoomlaWorks, released under the GNU General Public License.

LEARN MORE

Visit the "Simple RSS Feed Reader" product page at: https://www.joomlaworks.net/extensions/free/simple-rss-feed-reader

simple-rss-feed-reader's People

Contributors

cheesegrits avatar fevangelou avatar kavadas avatar kricore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-rss-feed-reader's Issues

Code to set the Time Zone of the module

Even though there are multiple request to solve this issue, none of them worked for us, so we hacked modules/mod_jw_srfr/helper.php like this after line 49

date_default_timezone_set('America/Caracas');

Setting this value before this line has no effect.

Instead of setting the time- zone like this, it can be read from /configuration.php

cc @fevangelou

Problem with links of the form http:/namesite/rss.xml

Sorry for my English. For a long time already I have a problem of sending rss news, which uses a non-traditional link. And now more in detail.

There is a site with rss tape of the form http:/namesite/rss.xml
If you add this link to Simple RSS Feed Reader, then he writes
**Failed loading XML... attributes construct error Couldn't find end of Start Tag rss line 1 Extra content at the end of the document**

If the address is removed in the .xml line, to which the module references, then just an error occurs. The news itself is still not displayed
**Failed loading XML...**

This is logical, since the rss feed to http:/namesite/rss simply does not exist.

How it is possible to solve this problem that rss a tape of a kind http: /namesite/rss.xml, was also perceived by the module?

php7.1 fatal error in helper.php

Fatal error: Only variables can be passed by reference in /modules/mod_jw_srfr/helper.php on line 303

Getting this error when trying to load the page using php 7.1b3 but it works fine in php 7.09

Failed loading XML... error parsing attribute name attributes construct error Couldn't find end of Start Tag line 1 Extra content at the end of the document

Was receiving this error.
Failed loading XML... error parsing attribute name attributes construct error Couldn't find end of Start Tag line 1 Extra content at the end of the document

I found that this was causing the error, some times extra spaces were being added and causing the above message.
<rss version="2.0"xmlns:atom="http://www.w3.org/2005/Atom">

To fix it I modified the helper file to clean up the url with a preg_replace there is probably a better way with regex but this was fast and worked out of the box for me.

helper.php about line 268

// cleanup the content received
            $repurl= array('<rss version="2.0"xmlns:atom="http://www.w3.org/2005/Atom">');
            $goodurl= array('<rss version="2.0"xmlns:atom="http://www.w3.org/2005/Atom">' =>'<rss version="2.0">');

            $fgcOutput = preg_replace("#(\n|\r|\s\s+|<!--(.*?)-->)#s", "", $fgcOutput);
            $fgcOutput = preg_replace("#(\t)#s", " ", $fgcOutput);

            $fgcOutput = str_replace($repurl, $goodurl, $fgcOutput);

setlocale and multilingual date-time

A useful feature for non-English sites would be a method to detect(from feed) or set the language(in module) and append the feed encoding.

EX:
setlocale(LC_TIME, 'fr_FR.utf8');

cache issues

I have 2 issues with the cacing of my feeds.

  1. they never update, I have to manually ftp in or use joomla cache delete to remove the old files before they will update.

  2. Joomla cache clear - the info - number of files and size - is always wrong size because the files iare in a sub directory.

By moving the cached files to mod_jw_srfr (not the cache feed subfolder) I was able to fix both of these issues.

Joomla 4 Support

Module installs and is functional on the backend, but on the front end, the page with the module results in a 500 error.

Segmentation fault (11) on Ubuntu 14.04, Apache 2

I'm getting a segmentation fault with simple-rss-feed-reader on a Joomla installation in my test server, that is working correctly in my developing server.

Can you hep me to figure out what I may be doing wrong? The cache directory is properly configured, but I only get a blank page when going to the main page and this error in the apache log:

[Tue Aug 11 12:03:26.700044 2015] [core:notice] [pid 1464] AH00051: child pid 5708 exit signal Segmentation fault (11), possible coredump in /etc/apache2

If I un-publish the module everything works again

This is the server information

PHP Version 5.5.9-1ubuntu4.11
PHP Built On Linux 3.16.0-45-generic #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 x86_64
Database Version 5.5.44-0ubuntu0.14.04.1
Database Collation latin1_swedish_ci
PHP Version 5.5.9-1ubuntu4.11
Web Server Apache/2.4.7 (Ubuntu)
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.4.1 Stable [ Ember ] 21-March-2015 20:30 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.