PDA

View Full Version : displaying multiple "mixed" feeds on single page with proper labels



justinmarcus
10-10-2008, 07:48 PM
1) Script Title: gAjax RSS Ticker

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssticker.htm

3) Describe problem: displaying multiple "mixed" feeds on single page with proper labels.

I had the rssticker.js script working on my localhost where I had about 20 feeds displaying from 20 different sources, just lined up and with an ajax fade out feature for each feed. But it seems this will not work on my server (mediatemple) due to security issues. I don't know anything about that or presume to know...but as a result I've changed direction and am trying to do the same with the gAjax RSS ticker script.

I can't figure out how to list (about 20) multiple feeds? I'm sure it's possible...Does anyone have any advice how to point me in the right direction.

Thanks

I just wanted to add something to be more specific:

I would like to display each feed independently. For example: CNN - a single cnn feed at a time, MSNBC - the msnbc feed, FOXnews - the foxnews feed, etc. All presented on the same page.

How do I have to manipulate the code to do this:


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



Here's an example of what I would like to achieve, but obviously not working...

http://www.thecassidyfeed.com/main

Thank you for your assistance...