The problem is line 30. Move this to just above line 15, and you'll have better results. The problem is that, when called in this manner, the google.load method utilizes a document.write call to write the code for the necessary script element(s). Using document.write after the document has loaded causes serious issues.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Jul 27, 2010, at 6:37 AM, [email protected] wrote: > Hello, > > I have a working site with a google feed here: > http://gtwebpublisher.co.uk/clients/ch/chfoods/reducedtoclear/gtwp_linkspage.htm > > (the feed is under Clearance items on the right). > > However, I'm stuck trying to set up a similar one at > http://freshfish.chfoods.co.uk/today_scatch/test.htm > > Firefox hangs loading, and Safari gives the error > TypeError: Result of expression 'google.feeds' [undefined] is not an > object. > at > www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js:99 > > It looks like it could be an API key problem because of the subdomain > but I've tried with API keys for both chfoods.co.uk and > freshfish.chfoods.co.uk. The docs say that a primary domain API key > should work for subdomains too. > > Any ideas? > Regards > Oliver Kohll > > -- > 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]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
