PDA

View Full Version : gAjax RSS ticker: always displays invalid date



pufftissue
06-21-2008, 07:06 PM
1) Script Title: gajax rss ticker

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

3) Describe problem:

Basically, I have a valid rss 2.0 feed that I created myself.
I am trying to include the <pubDate> in my feeds, but it just doesn't work.
Always says "invalid date" which I know is something from the Google API. What is the fix?


http://www.richardlumd.com/BIRT/

xml file: (it validates) http://www.richardlumd.com/BIRT/birtFeed.xml

Relevant portion:

<!-- begin Google code-based RSS ticker -->
<h3>Example 1: (Single RSS feed, 10 entries, "<code>date</code>" field enabled, 1 entry per page</h3>

<script type="text/javascript">

var cssfeed=new gfeedrssticker("example1", "example1class", 4000, "_new")
cssfeed.addFeed("BIRT", "http://www.richardlumd.com/BIRT/birtFeed.xml") //Specify "label" plus URL to RSS feed
cssfeed.displayoptions("date") //show the specified additional fields
cssfeed.setentrycontainer("div") //Wrap each entry with a DIV tag
cssfeed.filterfeed(10, "date") //Show 10 entries, sort by date
cssfeed.entries_per_page(1)
cssfeed.init()

</script>

ddadmin
06-22-2008, 01:12 AM
I am seeing the date being output on your page actually (FF3), for example:


New Website Launched [BIRT] Friday, June 20, 2008