Exclusive eBooks, Software Solutions, Quality Guaranteed
 
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00

Forums » DragonflyCMS Projects » Syndicated News Feeds » Unable to use "https://" for RSS URL
Unable to use "https://" for RSS URL
For managing multiple RSS/XML feeds.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Management » Syndicated News Feeds

View previous topic :: View next topic  
Author Message
Demetrios
New Poster
New Poster

Offline Offline
Joined: Nov 23, 2015
Posts: 2
Location: Texas
PostPosted: Tue Nov 24, 2015 3:21 am
Post subject: Unable to use "https://" for RSS URL

I came across an issue trying to add a RSS Feed, it seems that the Module does not like "https://" URL's.

After digging into index.inc in modules\Syndicated_News\admin
at Line 179 and Line 180:
if (!ereg('http://', $url)) {
$url = 'http://'.$url;

I changed this to:
if (!ereg('http://|https://', $url)) {
$url = 'http://|https://'.$url;

Also had to make this change at Line 266 and Line 267

URL's with "https://" News Feeds are now being accepted


Demetrios's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/MySQL 5.5/PHP 5.5/Dragonfly CMS 9.4
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Management » Syndicated News Feeds
Page 1 of 1
All times are GMT + 9.5 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum