Where is var ul defined? My guess is that the script is puking on the line
reading ul.appendChild(li). It may process all of the entries but never
display them because it doesn't know what ul is, but I would guess it just
errors out on the first iteration.

If that's not the problem (i.e., you've defined ul somewhere that we're not
seeing), then you're going to want to provide a link to the page so we can
take a closer look with some debugging tools and such.

jg

On Sat, Apr 6, 2013 at 6:40 PM, Phil Ryan <[email protected]>wrote:

> Hi,
> I dont think i'm too far off, so any help much appreciated. Im using this
> JS file to place my blog feed into an area on my main website. This is the
> JS file:
>
> google.load("feeds", "1");
>
> function initialize() {
>   var feed = new google.feeds.Feed("
> http://feeds.feedburner.com/TheUsualShutterSpecsPhotographyBlog";);
> feed.setNumEntries(3);
> feed.setResultFormat(google.feeds.Feed.JSON_FORMAT);
>   feed.load(function(result) {
>     if (!result.error) {
>       var container = $("#tumblr-feed");
> $(result.feed.entries).each(function(index,entry) {
> var li = document.createElement("li");
> var a = document.createElement("a");
> a.setAttribute('href', entry.link);
> a.appendChild(document.createTextNode(entry.title));
> li.appendChild(a);
> ul.appendChild(li);
> });
> }
> }
> google.setOnLoadCallback(initialize);
>
>
> ...but it's not showing up!
> 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
> [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/msg/google-ajax-search-api/-/0W0ZPNZd4BMJ
> 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
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 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