lutrella
01-21-2011, 06:01 AM
I'm trying to figure out if I can have 8 separate rss feeds instance on my site right now I have I'm using the following code on my:
http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
My question s how could I place the code below eight(separate Feeds) times on my site? I'm just changing the feed url, but its replacing the first feed and only shows one feed.
<h3>Example 1: (Single RSS feed, 10 entries, "<code>date</code>" field enabled, sort by <code>title</code>)</h3>
<script type="text/javascript">
var cssfeed=new gfeedfetcher("example1", "example1class", "")
cssfeed.addFeed("CSS Drive", "http://www.cssdrive.com/index.php/news/rss_2.0/") //Specify "label" plus URL to RSS feed
cssfeed.displayoptions("date") //show the specified additional fields
cssfeed.setentrycontainer("li") //Display each entry as a list (li element)
cssfeed.filterfeed(10, "title") //Show 10 entries, sort by date
cssfeed.init() //Always call this last
</script>
http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
My question s how could I place the code below eight(separate Feeds) times on my site? I'm just changing the feed url, but its replacing the first feed and only shows one feed.
<h3>Example 1: (Single RSS feed, 10 entries, "<code>date</code>" field enabled, sort by <code>title</code>)</h3>
<script type="text/javascript">
var cssfeed=new gfeedfetcher("example1", "example1class", "")
cssfeed.addFeed("CSS Drive", "http://www.cssdrive.com/index.php/news/rss_2.0/") //Specify "label" plus URL to RSS feed
cssfeed.displayoptions("date") //show the specified additional fields
cssfeed.setentrycontainer("li") //Display each entry as a list (li element)
cssfeed.filterfeed(10, "title") //Show 10 entries, sort by date
cssfeed.init() //Always call this last
</script>