...

View Full Version : Need Help Customizing gAjax RSS Ticker



jmy
10-10-2008, 09:45 PM
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


<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...

A1ien51
10-15-2008, 12:29 AM
JavaScript can not connect to other domains so that is one problem.

Eric

FJbrian
11-06-2008, 12:23 AM
http://code.google.com/apis/ajaxfeeds/documentation/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum