It's really tough to tell what's going on without being able to see the complete Javascript. Particularly, what is the PHP echoing for userLoginName? But also, the first thought that I had when looking at this was this: are the user feeds actually public such that Google's servers will be able to actually access them? Because if they're not public, then there is no way that the script will ever work using Google's Feeds API.
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 Mar 28, 2012, at 12:32 PM, Andy Moore wrote: > hi all - > > You're familiar with the below script, right? > > var feed = new google.feeds.Feed("http://USER.prolifeplanet.com/ > feed/"); > > I have a defined a var which I want to use in place of "USER" (see > above) > > var userLoginName; > userLoginName ="<?php echo $current_user->user_login; ?>" > > I've tried this: > > var feed = new google.feeds.Feed("http://" + userLoginName + > ".prolifeplanet.com/feed/"); > > but not too surprisingly, it didn't work. > > ideas on how to get this working? > > any help appreciated! > > -- > 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