plimfec
11-27-2007, 02:59 PM
1) Script Title: gAjax RSS Feeds Displayer
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
I used the script (example 2) in this page: http://www.thaumas.nl/dagacties/indexex.htm and tested it in Opera and IE7.
I sorted by label and in both Opera and IE the labels are alphabetically listed. So that's okay, but the strange thing is that in IE - after refreshing the page - the feeds seem to wander around, now and then linking to the wrong label.
So the labels stay alphabetically listed, but the feeds are listed in a different order after several refreshes.
- I didn't edit the gfeedfetcher.js
- The code of the html-page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="http://www.google.com/jsapi?key=filled in the right api code here">
</script>
<script type="text/javascript" src="gfeedfetcher.js">
/***********************************************
* gAjax RSS Feeds Displayer- (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<style type="text/css">
.labelfield{ /*CSS for label field in general*/
color:brown;
font-size: 90%;
}
.datefield{ /*CSS for date field in general*/
color:gray;
font-size: 90%;
}
#example1 li{ /*CSS specific to demo 1*/
margin-bottom: 4px;
}
#example2 div{ /*CSS specific to demo 2*/
margin-bottom: 5px;
}
#example2 div a{ /*CSS specific to demo 2*/
text-decoration: none;
}
#example3 a{ /*CSS specific to demo 3*/
color: #D80101;
text-decoration: none;
font-weight: bold;
}
#example3 p{ /*CSS specific to demo 3*/
margin-bottom: 2px;
}
code{ /*CSS for insructions*/
color: red;
}
</style>
</head>
<body>
<h3>Example 2: (Two RSS feeds, 6 entries, "<code>label"</code>, "<code>datetime</code>", and "<code>snippet</code>" fields enabled, sort by <code>label</code>)</h3>
<script type="text/javascript">
var socialfeed=new gfeedfetcher("example2", "example2class", "_new")
socialfeed.addFeed("1DayFly", "http://www.1dayfly.nl/rss.asp") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("Dagactie", "http://www.dagactie.nl/dagactie.xml") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("Hotbrandz", "http://www.hotbrandz.com/feed") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("iBOOD", "http://www.ibood.com/site/nl/ibood.xml") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("MassaIsKassa", "http://www.massaiskassa.nl/rss/massaiskassa.php") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("Nobisbrand", "http://www.nobisbrand.com/rss") //Specify "label" plus URL to RSS feed
socialfeed.displayoptions("label datetime snippet") //show the specified additional fields
socialfeed.setentrycontainer("div") //Display each entry as a DIV
socialfeed.filterfeed(6, "label") //Show 6 entries, sort by label
socialfeed.init() //Always call this last
</script>
<br /><br />
</body>
</html>
Thanks in advance for looking at this.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
I used the script (example 2) in this page: http://www.thaumas.nl/dagacties/indexex.htm and tested it in Opera and IE7.
I sorted by label and in both Opera and IE the labels are alphabetically listed. So that's okay, but the strange thing is that in IE - after refreshing the page - the feeds seem to wander around, now and then linking to the wrong label.
So the labels stay alphabetically listed, but the feeds are listed in a different order after several refreshes.
- I didn't edit the gfeedfetcher.js
- The code of the html-page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="http://www.google.com/jsapi?key=filled in the right api code here">
</script>
<script type="text/javascript" src="gfeedfetcher.js">
/***********************************************
* gAjax RSS Feeds Displayer- (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<style type="text/css">
.labelfield{ /*CSS for label field in general*/
color:brown;
font-size: 90%;
}
.datefield{ /*CSS for date field in general*/
color:gray;
font-size: 90%;
}
#example1 li{ /*CSS specific to demo 1*/
margin-bottom: 4px;
}
#example2 div{ /*CSS specific to demo 2*/
margin-bottom: 5px;
}
#example2 div a{ /*CSS specific to demo 2*/
text-decoration: none;
}
#example3 a{ /*CSS specific to demo 3*/
color: #D80101;
text-decoration: none;
font-weight: bold;
}
#example3 p{ /*CSS specific to demo 3*/
margin-bottom: 2px;
}
code{ /*CSS for insructions*/
color: red;
}
</style>
</head>
<body>
<h3>Example 2: (Two RSS feeds, 6 entries, "<code>label"</code>, "<code>datetime</code>", and "<code>snippet</code>" fields enabled, sort by <code>label</code>)</h3>
<script type="text/javascript">
var socialfeed=new gfeedfetcher("example2", "example2class", "_new")
socialfeed.addFeed("1DayFly", "http://www.1dayfly.nl/rss.asp") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("Dagactie", "http://www.dagactie.nl/dagactie.xml") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("Hotbrandz", "http://www.hotbrandz.com/feed") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("iBOOD", "http://www.ibood.com/site/nl/ibood.xml") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("MassaIsKassa", "http://www.massaiskassa.nl/rss/massaiskassa.php") //Specify "label" plus URL to RSS feed
socialfeed.addFeed("Nobisbrand", "http://www.nobisbrand.com/rss") //Specify "label" plus URL to RSS feed
socialfeed.displayoptions("label datetime snippet") //show the specified additional fields
socialfeed.setentrycontainer("div") //Display each entry as a DIV
socialfeed.filterfeed(6, "label") //Show 6 entries, sort by label
socialfeed.init() //Always call this last
</script>
<br /><br />
</body>
</html>
Thanks in advance for looking at this.