Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    jmy
    jmy is offline
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need Help Customizing gAjax RSS Ticker

    Hi, this is my first post.

    I would like to alter the gAjax RSS Ticker script that would allow me to display multiple feeds simultaneously, but I'm struggling to do so. An example as to what I want to do can be found here:

    http://www.thecassidyfeed.com/main

    Here are the components to the script that (I believe) need altering:

    main page

    Code:
    <script type="text/javascript">
    
    var newsfeed=new gfeedrssticker("example3", "example3class", 12500, "_new")
    newsfeed.addFeed("BBC", "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml") //Specify "label" plus URL to RSS feed
    newsfeed.addFeed("MSNBC", "http://www.msnbc.msn.com/id/3032091/device/rss/rss.xml") //Specify "label" plus URL to RSS feed
    newsfeed.addFeed("Yahoo News", "http://rss.news.yahoo.com/rss/topstories") //Specify "label" plus URL to RSS feed
    newsfeed.displayoptions("label datetime snippet") //show the specified additional fields
    newsfeed.setentrycontainer("p") //Display each entry as a paragraph
    newsfeed.filterfeed(1, "label") //Show 8 entries, sort by date
    newsfeed.entries_per_page(3)
    newsfeed.init() //Always call this last
    
    </script>
    There are two other scripts: gajaxticker.js and gfeedfetcher.js

    I'm not sure what to do...thanks for any help...

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    JavaScript can not connect to other domains so that is one problem.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adirondacks
    Posts
    516
    Thanks
    4
    Thanked 4 Times in 4 Posts


  •  

    Posting Permissions

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