Results 1 to 6 of 6

Thread: Help with RSS Display Boxes

  1. #1
    Join Date
    Nov 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Help with RSS Display Boxes

    1) Script Title: RSS Display Boxes

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ybox/index.htm

    3) Describe problem: No RSS content is displaying.

    I have set everything up and there are no RSS feeds showing up at all on demo.htm. I checked for SimplePie compatibility and it said I'm OK.

    Here's the link:
    http://donatello-restaurant.com/popc...roses/demo.htm

    What am I doing wrong? I know I have to edit the line in the rssdisplaybox.js from this:
    var rssoutputscript="rssbox/main.php"

    to this
    rssoutputscript="http://www.donatello-restaurant.com/popcornandroses/"+window.location.hostname+"rssbox/main.php"
    (Is this connection right?)

    So what do I need to do to make this work? I'm gonna need a step by step explanation.

    I'm using Yahoo as a host. Does that make a difference? I can't really change chmod permission...unless you guys know how.

    Thanks in advance.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Right now the path you're specifying to main.php inside your .js file is based on this line:

    Code:
    var rssoutputscript="rssbox/main.php"
    The other line is commented out ("//" preceeding it), so it's not used. That's fine, as based on the above, it assumes main.php is located here, which from what I can tell it is indeed:

    Code:
    http://donatello-restaurant.com/popcornandroses/rssbox/main.php
    Now what is a problem is that when I try to go to that URL above, all I get is a blank page. This tells me Simpiepie isn't running properly on your server for some reason. When you call main.php with no parameters, you should get the output:

    Code:
    Error: Can't find requested RSS in list.
    Did you remember to chmod 777 the cache directory used by the script? If that doesn't help, inside main.php, right after the opening <? tag, try adding the line in red to enable error debugging:

    Code:
    <?
    error_reporting(E_ALL);
    Now run main.php again in your browser, and see what error message gets output.
    DD Admin

  3. #3
    Join Date
    Nov 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Just a blank field. I did plug the script in right and I'm still getting a blank field.

    http://donatello-restaurant.com/popc...ssbox/main.php

    So now what?

    Then again, how do I chmod a folder on Yahoo?

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Inside your RSS cache directory, do you see any files deposited in there? If not, it means the permissions aren't correct. It's possible Yahoo doesn't allow a directory to be chmod 777, in which you may want to try chmod 775 instead and see if that suffices.
    DD Admin

  5. #5
    Join Date
    Nov 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    How do I do that?

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Do you mean how to chomd directories? First, did you check to see if any files are currently in your cache folder? They should be automatically generated files, which if there are would indicate your cache directory already has the correct permissions. As far as how to chmod directories, if you use a FTP program to connect to your server, you'd simply right click on the directory in question, then select the chmod/modify permissions option. I'm not sure if Yahoo lets you upload files using a FTP program, however.
    DD Admin

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
  •