RSS feed

RSS feed [Paid] 3.1

No permission to buy ($35.00)
@AndyB - Currently the add-on sends its request with no user agent. Some servers will block these requests and the add-on will never be able to populate the table, and since you're suppressing the $rss->load($url); call, the error will never show up in the error log, which makes debugging very difficult.

I highly suggest that you add

PHP:
$opts = array(
                'http' => array(
                    'user_agent' => 'PHP libxml agent',
                )
            );

            $context = stream_context_create($opts);
            libxml_set_streams_context($context);


directly above

PHP:
$rss = new \DOMDocument('1.0', 'utf-8');

in XF/Cron/RSSFeed.php

I also think you should un-suppress the $rss->load($url); call so that issues will populate the error log instead of failing silently.
 
Couple suggestions...

1) Allow for multiple feeds to populate the same widget. If you want to cover a specific "topic's" current news using multiple rss sources is necessary. It would be great is this addon would allow for that.
2) Ability to set a limit on "always viewable" items versus "total limit" items. That way setting a "total limit" higher than the "always viewable" will produce a scrollable widget.

Thanks for the add-on.
 
Getting an allow_url_fopen error with this, Andy. Not wild about enabling this for security reasons. Any advice?
 
Top Bottom