ShieldofChaos
01-29-2012, 06:26 AM
1) Script Title:
gAjax RSS Feeds Displayer
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
3) Describe problem:
I have gotten everything working for this script. However there is a weird problem whereby the RSS feeds on my website will sometime not get updated UNLESS I visit my actual RSS feeds URL.
Is this intended or is this a bug? If you need, I can provide you my sample website that the RSS feeds reside inside.
Additional Information:
I am using a modified javascript version of the RSS feeds displayer done by jscheuer1 at this forum help page, http://www.dynamicdrive.com/forums/showthread.php?t=67155. The modified version of the javascript basically display the author of the RSS feeds.
Besides the modified javascript, these are the HTML codes that I used on my website,
<script type="text/javascript" src="http://www.google.com/jsapi?key=API code removed by me">
</script>
<script type="text/javascript" src="http://shadowinc.zymichost.com/rss/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:#666666;
font-size: 100%;
}
#example1 a{ /*CSS specific to demo 3*/
color: #D80101;
text-decoration: none;
font-weight: bold;
}
#example1 p{ /*CSS specific to demo 3*/
margin-bottom: 20px;
}
</style>
<script type="text/javascript">
var newsfeed=new gfeedfetcher("example1", "example1class", "_new")
newsfeed.addFeed("Sample", "URL Removed by Me") //Specify "label" plus URL to RSS feed
newsfeed.displayoptions("datetime author description") //show the specified additional fields
newsfeed.setentrycontainer("p") //Display each entry as a paragraph
newsfeed.filterfeed(10, "date") //Show 8 entries, sort by date
newsfeed.init() //Always call this last
</script>
Thanks!
gAjax RSS Feeds Displayer
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
3) Describe problem:
I have gotten everything working for this script. However there is a weird problem whereby the RSS feeds on my website will sometime not get updated UNLESS I visit my actual RSS feeds URL.
Is this intended or is this a bug? If you need, I can provide you my sample website that the RSS feeds reside inside.
Additional Information:
I am using a modified javascript version of the RSS feeds displayer done by jscheuer1 at this forum help page, http://www.dynamicdrive.com/forums/showthread.php?t=67155. The modified version of the javascript basically display the author of the RSS feeds.
Besides the modified javascript, these are the HTML codes that I used on my website,
<script type="text/javascript" src="http://www.google.com/jsapi?key=API code removed by me">
</script>
<script type="text/javascript" src="http://shadowinc.zymichost.com/rss/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:#666666;
font-size: 100%;
}
#example1 a{ /*CSS specific to demo 3*/
color: #D80101;
text-decoration: none;
font-weight: bold;
}
#example1 p{ /*CSS specific to demo 3*/
margin-bottom: 20px;
}
</style>
<script type="text/javascript">
var newsfeed=new gfeedfetcher("example1", "example1class", "_new")
newsfeed.addFeed("Sample", "URL Removed by Me") //Specify "label" plus URL to RSS feed
newsfeed.displayoptions("datetime author description") //show the specified additional fields
newsfeed.setentrycontainer("p") //Display each entry as a paragraph
newsfeed.filterfeed(10, "date") //Show 8 entries, sort by date
newsfeed.init() //Always call this last
</script>
Thanks!