Results 1 to 7 of 7

Thread: RSS Display Box reloading blog page.

  1. #1
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default RSS Display Box reloading blog page.

    1) Script Title: RSS Display Box

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

    3) Describe problem: I am able to have it show up within a blog built with textpattern. But gone are the little gif animations indicating that the stories are loading. If there are 13 stories, the page reloads 13 times!

    I know far too little about coding to determine where the trouble is or what I can do to get around it. I love Dynamic Drive! Please help.

  2. #2
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can I get a treat? I just had a successful brainfart.

    Textpattern uses Forms to call up functional parts of the site - I put the RSS Display Boxes in the Footer and just stuck the 'demo.htm' code right in after locking in the location of main.php

    I zapped out the RSS's I didn't want and reformatted the box I did want.

    13 items in the feed kept reloading, reloading 13 times. What I still had in there was the old HTML code for <head> and <body> open and closed. Both of which were not needed. Deleting them from the Form made the reloading go away.

    -S-o-l-v-e-d-.-
    Last edited by BryanA.; 08-29-2007 at 01:51 PM. Reason: not solved yet

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

    Default

    I assume you managed to fix all the problems already then?

  4. #4
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Actually, no. While I got it to stop loading the page, it trips after showing the first two of X feeds.

    Ex. 1 of 13 and hit the "+" to see the second; no trouble. Hit the "+" again and the page reloads back to 1 of 13.

    http://www.dinarius.com/ATF

    I am using the NYTIMES 'default' just redesigned and given a .gif background.
    If you mess with it, you'll see that whatever pattern is in the error is a strange one.

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

    Default

    There may be other issues, but you should first fix the CSS one:

    Code:
    #nytimesid{
    width: 760px;
    height: 36px;
    Either remove the code in red, or give it a large enough value so each entry fits inside the box (ie: 250px).

  6. #6
    Join Date
    Aug 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    WTF? I bumped it up to 144px - more than enough space as you can see - and the damn thing works just fine now.

    I left it 36 because it just ignored me anyway and that was the .gif height.

    I don't suppose you could explain why fixing the height stabilized the code?

    Very grateful, naturally.

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

    Default

    The height shouldn't cause the content to reload, but then again, at the original "36px", I couldn't tell what it was doing, since the content was basically hidden as a result.

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
  •