Page 1 of 1

News Feed Ticker

Posted: Mon Jul 22, 2019 6:05 pm
by va3ts
I was able to get data from http://www.southgatearc.org/sarc.rss using the RSS Parser but I'm having trouble with the News feed ticker.
I have made up a test page with both on it.

https://gbarc.ca/newsfeedtest.php

The trouble with the parser is that it doesn't like to be responsive, even if I put it on a layer.
I have a screenshot of the ticker properties page but I don't see where I could upload that

thanks

Re: News Feed Ticker

Posted: Mon Jul 22, 2019 6:16 pm
by Pablo
I think the configured data retrieval method is incorrect.
The selected option cannot be used to get data from another server.
Please use one of the (PHP) proxies.
See the help for more details.

Re: News Feed Ticker

Posted: Mon Jul 22, 2019 6:43 pm
by va3ts
I changed it to "load data through proxy", actually I tried both methods, no real change, I am using php 7.1, I looked at directadmin, if there is a setting there to enable "file_get_contents", it doesn't just jump out ....

Re: News Feed Ticker

Posted: Mon Jul 22, 2019 8:05 pm
by Pablo
It looks like there is a conflict somewhere. Can you please remove all other scripts/ objects from the page?

Re: News Feed Ticker

Posted: Mon Jul 22, 2019 9:38 pm
by va3ts
All other objects removed, just the ticker left, nothing else ...Tom
p.s. I asked my isp about proxies and cURL, no response as yet

Re: News Feed Ticker

Posted: Tue Jul 23, 2019 4:08 am
by va3ts
My isp has enabled cURL for my domain, I configured the news ticker to use cURL but alas it did not work. It's getting late now, will look at it again tomorrow .... https://gbarc.ca/info.php

Re: News Feed Ticker

Posted: Wed Jul 31, 2019 1:04 pm
by va3ts
I placed a generic google news feed but it still does not display, what am I doing wrong here?

Re: News Feed Ticker

Posted: Wed Jul 31, 2019 3:24 pm
by Pablo
You will need to enable: allow_url_include
This is currently off, which means that you cannot access RSS feeds on another server

https://hoststud.com/resources/how-to-d ... hp-ini.36/

If this does not work then you will need to contact your webhost to enable this.

Re: News Feed Ticker

Posted: Wed Jul 31, 2019 4:21 pm
by va3ts
I seem to be able to access the feed using rss parser, but besides that, is it a security mistake to allow_url_fopen = on and allow_url_include = on ?

Re: News Feed Ticker

Posted: Wed Jul 31, 2019 4:51 pm
by Pablo
rss parser uses old/ deprecated code, WWB uses CURL or file_get_contents().
However for this to work, your server needs to be configured correctly.
Without 'allow_url_include', you cannot access data from another website.