joomlaworks / simple-rss-feed-reader Goto Github PK
View Code? Open in Web Editor NEWSimple RSS Feed Reader
Home Page: https://www.joomlaworks.net/extensions/free-premium/simple-rss-feed-reader
License: GNU General Public License v2.0
Simple RSS Feed Reader
Home Page: https://www.joomlaworks.net/extensions/free-premium/simple-rss-feed-reader
License: GNU General Public License v2.0
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?
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');
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);
Module installs and is functional on the backend, but on the front end, the page with the module results in a 500 error.
The option " Maximum items to fetch per feed" has no effect. More information at http://www.joomlaworks.net/forum/simple-rss-feed-reader/40968-why-does-it-fetch-so-much-items
I have 2 issues with the cacing of my feeds.
they never update, I have to manually ftp in or use joomla cache delete to remove the old files before they will update.
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.
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
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.