#2785 RSS Block broke in 4.3 (svn 6931)

v4.3.0
open-works-for-me
nobody
None
5
2011-04-08
2010-02-15
Marc Riley
No

When you try and use the RSS feed in IE, It reports a java script error when you pull down the menu, and never updates the RSS feed link. In Firefox it doesn't really give any errors, but the feeds still return nothing?

Discussion

  • Greg Roach

    Greg Roach - 2010-02-22

    <<It reports a java script error>>

    The actual error message would be really useful......

     
  • Marc Riley

    Marc Riley - 2010-02-25

    Error code from IE:
    Message: 'document.rssform.auth.value' is null or not an object
    Line: 13
    Char: 1
    Code: 0

     
  • Greg Roach

    Greg Roach - 2010-02-25

    It looks like the original RSS code tried to enable http authentication. It didn't work, and some of the broken code wasn't removed.

    Need to delete the couple of references to the auth element in blocks/rss_block.php

     
  • Marc Riley

    Marc Riley - 2010-03-04

    Ok so I got off my but and fixed the RSS feed.

    First trimmed the blocks/rss_block.php to remove the broke auth script,
    then saw that /rss.php was missing a query parser, so i added the following at line 69 (in rss.php):

    if ( isset($_GET['module']) && $_GET['module'] != "" )
    $module = $_GET['module'];

    Also changes the '$SERVER_URL' Var to the new PGV_SERVER_NAME . PGV_SCRIPT_PATH

    New filed attached. :)

     
  • Marc Riley

    Marc Riley - 2011-03-25

    The Differential file attached shows what i changed to get RSS working 85% (It works great for IE, just not my black berry yet!) I added an extra feed for upcoming birthdays, & if you get the RSS link while your logged in it will allow you to see the birthdays & other upcoming dated after you log out, (and from other devices)

    Once you add the RSS block to your page, you will actually get the feed you choose.

    You should probably change the key $IsIn in Rss_block and Function_rss to improve security, as I did after posting this.

    Enjoy

     
  • Marc Riley

    Marc Riley - 2011-04-08

    Dear user,

    Can you please test the provided solution and let us know if this
    solved your issue? We can then either continue working on your
    bug or close it.

    Thanks,

    The PGV team

     
  • Marc Riley

    Marc Riley - 2011-04-08
    • status: open --> open-works-for-me
     
  • Marc Riley

    Marc Riley - 2011-04-08

    This works great! no issued with any RSS programs that I tested. The feeds it creates has been validated from the W3C Feed Validation Service!

    Tested in Firefox, IE 8, Feedreader 3.14, & Blackberry News Feeds.

     
  • Marc Riley

    Marc Riley - 2011-04-08

    DIFF of svn 7035 with Complete RSS patch

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks