The dynamic feed control displays feed entry titles in a list form, and then 
flashes more detailed information on a slideshow-like thing. I am assuming 
you're talking about altering the list. If that is indeed the case, then you 
need to download the gfdynamicfeedcontrol.js file and alter the code on and 
around line 406 appropriately. Something like this (starting on line 404) would 
probable work:

    var theDate = new Date(entries[i].publishedDate);
    var link = this.createLink_(entries[i].link,
                                [theDate.getDays(), theDate.getMonth()+1, 
theDate.getFullYear()].join('/') + " - " + entries[i].title,
                                this.options.linkTarget);

Of course, you would need to alter the order of the date elements if you wanted 
MDY, etc.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrgeer...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On May 3, 2012, at 10:40 AM, Trevor wrote:

> I'm not a programmer. I'm trying to help someone make a small change
> to their website. They currently have the following code to display
> recent news releases.
> 
>  <script type="text/javascript">
>    function LoadDynamicFeedControl() {
>      var myfeed = [{title: 'XXX', url: 'XXX'}];
>      var options = {stacked : true, horizontal : false, numResults :
> 8, title : "Recent"}
>      new GFdynamicFeedControl(myfeed, 'feed-control', options);    }
> 
>    google.load('feeds', '1');
>    google.setOnLoadCallback(LoadDynamicFeedControl);
>  </script>
> 
> It works great and displays the 8 most recent press releases with the
> title hyperlinked to the actual release. Now they want to add the date
> that the news release was published in the results like so (05/03/2012
> - Most Recent Press Release Blah Blah Blah). I'm sure it's a super
> simple thing for an experienced programmer to do but I can't figure
> out the proper formatting. I've read through the documentation and
> tried various samples I've found but nothing seems to work. I'd really
> appreciate some help. Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> google-ajax-search-api@googlegroups.com
> To unsubscribe from this group, send email to
> google-ajax-search-api+unsubscr...@googlegroups.com
> To view this message on the web, visit
> http://groups.google.com/group/google-ajax-search-api?hl=en_US
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax-search-api@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsubscr...@googlegroups.com
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to