Results 1 to 5 of 5

Thread: Pausing RSS Scroller- can't show links properly in description

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

    Default Pausing RSS Scroller- can't show links properly in description

    1) Script Title: Pausing RSS Scroller

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

    3) Describe problem:

    I want to use this scroller to feature headlines and excerpts from my blog feed including social bookmark links at the end of each item. This has been configured in my feed to be exactly the way I want it, and is in RSS 2.0 format (burned through Feedburner). While all of the text I want is displayed correctly, the HTML is not correctly formed in the descriptions, and looks like this:

    <p>My post summary here...</p>
    <br/><br/><a href="bookmarklink#1">Bookmark link 1</a>...etc

    If I set the Strip HTML variable to "False" in the lastRSS.php script, the feed shows only the test with no active links.

    Here is a link to a test page which runs the script with the strip_html variable set to false in lastRSS.php:

    http://kunoichi.info/rsspausescroller/demo.htm

    I really want to be able to display these active links at the bottom of each feed item. Would anyone please be able to explain to me how this can be achieved?

    In a different "Headlines generator" (provided by Feed2js) I am able to display the feed items the way I would like them to be shown; unfortunately though this is a static widget, and ideally I need the items to scroll as in the Pausing RSS Scroller.

    Any advice would be much appreciated.

    Regards,

    Amanda

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

    Default

    There are some known formatting limitations with this script, as it uses a rather inflexible RSS parser (LastRSS). Can you try using this RSS script instead? It may be able to display that portion of the feed correctly as well.

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

    Default

    Thank you so much for your help, ddadmin! I hadn't realized that the lastRSS script was so limiting. Now I have now successfully created a new headlines box using the gAjax scripts which feature the links beneath each entry, exactly as I wanted them! If you're interested in taking a look, the box is featured in my blog's sidebar here:

    http://www.bloggerbuster.com

    I had looked at this script and had (incorrectly) assumed that I wouldn't have so much control over it. I am so pleased to have got this working.

    There is only one slight thing I would like to change: I would prefer the item date to be on a separate line to the item title. I assume this should be configured in the gajaxscroller.js file, but am unsure how to do this. Any advice on this would be gratefully received.

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

    Default

    Quote Originally Posted by amandaf View Post

    There is only one slight thing I would like to change: I would prefer the item date to be on a separate line to the item title. I assume this should be configured in the gajaxscroller.js file, but am unsure how to do this. Any advice on this would be gratefully received.
    Inside the gfeedfetcher.js, this line and the few lines above it control how each portion of the RSS feed is output:

    Code:
    rssoutput+=this.itemcontainer + itemtitle + " " + itemlabel + " " + itemdate + "\n" + itemdescription + this.itemcontainer.replace("<", "</") + "\n\n"
    So to get the item date to display on its own line, you might do something like this:

    Code:
    rssoutput+=this.itemcontainer + itemtitle + " " + itemlabel + " " + "<br />" + itemdate + "<br />\n" + itemdescription + this.itemcontainer.replace("<", "</") + "\n\n"

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

    Default

    Thank you again, ddadmin!

    This worked a treat when I edited the gajaxscroller.js file. Much appreciation for all your help

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
  •