I think you're missing a step. You use the findFeeds function, which will
return an array of feeds that you can then fetch to get entries. But you're
skipping the part where you load a feed.

You need to reconfigure your findFeeds call so that it calls a function
that will work through the array of feeds returned and load them each in
turn using google.feeds.load.

jg



On Thu, Dec 26, 2013 at 3:29 PM, Jaideep Reddy <[email protected]> wrote:

> When I use entry.puiblishedDate getting "undefined" error message, can you
> please help if there is any other way to get the date of the article
> published
>
> <script type="text/javascript">
>         google.load("feeds", "1");
>
>         function OnLoad() {
>             var query = 'Century 21';
>             google.feeds.findFeeds(query, findDone);
>         }
>
>         function findDone(result) {
>              if (!result.error) {
>                 var content = document.getElementById('content');
>                 var html = '';
>                 for (var i = 0; i < result.entries.length; i++)
> {
>                     var entry = result.entries[i];
>                     html += '<p><a href="' + entry.link + '"
> style=display:block;color:Blue;width:900px;font-size=small target=_blank>'
> + entry.title + entry.publishedDate + '</a></p>';
>                 }
>                 content.innerHTML = html;
>             }
>         }
>         google.setOnLoadCallback(OnLoad);
>     </script>
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> To view this message on the web, visit
>
> https://groups.google.com/d/msgid/google-ajax-search-api/e6678766-e08b-4efd-bb97-b052119188ce%40googlegroups.com
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
Church!
http://www.debraheightswesleyan.org

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/CAF4cwg-ZQ0XujOwu8mTErh1EvjL2J5kWsytPohJP3MG%3DyE%2BpnA%40mail.gmail.com
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to