PDA

View Full Version : HTTPS home page not allowing RSS feed to work



stock20
05-03-2017, 09:14 PM
1) Script Title: gAjax RSS Feeds Displayer v2.2

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

3) Describe problem: My RSS feeds are not working on my home page after I changed my site to all HTTPS (ex. https://www.colonialstock.com). Any ideas why and how to fix this? I use dynamic drive for my feed display code.

jscheuer1
05-04-2017, 04:25 AM
Well I'm thinking that instead of attempting to host the YUI script on your server (which you might be able to do, but I kind of doubt it - you may just have an encoding issue), you should be trying to connect with it on the SSL partition of the Yahoo server. Unfortunately, that appears to be down at the moment. But, once/if they get that fixed, you should be able to go with:


<!-- RSS FEED -->
<script src="https://yui.yahooapis.com/3.18.1/build/yui/yui-min.js"></script>
<script type="text/javascript" src="js/gfeedfetcher.js"></script>
<!-- /RSS FEED -->

instead of (what you currently have):


<!-- RSS FEED -->
<script src="js/yui-min.js"></script>
<script type="text/javascript" src="js/gfeedfetcher.js"></script>
<!-- /RSS FEED -->

But as I say, their SSL version of yui seems to be currently unavailable. It's not a 404 though, so there's hope. But there's no guarantee they intend offering an SSL version of yui.

The only other solution I can think of within the confines of this general approach would be a rewrite of the code to make use of their direct query method which does support SSL.

There are other feed scripts though, but they require PHP. If you do have PHP, they're relatively easy to port to SSL.

jscheuer1
05-04-2017, 05:09 AM
OK, I have a solution. Get rid of:


<script src="js/yui-min.js"></script>

entirely. And use this script instead of gfeedfetcher.js:

6172

The browser cache may need to be cleared and/or the page refreshed to see changes.
Any questions or problems, let me know.