Results 1 to 3 of 3

Thread: HTTPS home page not allowing RSS feed to work

  1. #1
    Join Date
    May 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTTPS home page not allowing RSS feed to work

    1) Script Title: gAjax RSS Feeds Displayer v2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...sdisplayer.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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,256
    Thanks
    75
    Thanked 3,395 Times in 3,356 Posts
    Blog Entries
    12

    Default

    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:

    Code:
    <!-- 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):

    Code:
    <!-- 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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,256
    Thanks
    75
    Thanked 3,395 Times in 3,356 Posts
    Blog Entries
    12

    Default

    OK, I have a solution. Get rid of:

    Code:
        <script src="js/yui-min.js"></script>
    entirely. And use this script instead of gfeedfetcher.js:

    gfeedfetcher-cors.js

    The browser cache may need to be cleared and/or the page refreshed to see changes.
    Any questions or problems, let me know.
    Last edited by jscheuer1; 05-09-2017 at 08:27 PM. Reason: add the usual about browser/questions - later, code improvement
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Replies: 9
    Last Post: 05-28-2012, 10:42 PM
  2. Accordion Script working TOO well...not allowing hrefs to work within the divs
    By typhoidtimmy in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 12-23-2009, 10:02 PM
  3. Problem w/Splash Page Script when home page has a swf file on it
    By dnadavid in forum Looking for such a script or service
    Replies: 3
    Last Post: 12-09-2008, 11:47 PM
  4. Replies: 9
    Last Post: 10-24-2007, 12:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •