Thank you Jeremy. I eventually got it figured!
In my Google Feed API script I have the following modified line: var feed = new google.feeds.Feed(feedURL); And I defined "feedURL" on a php page on my site: <script language=javascript> var feedURL; var feedURL = 'http://' + "<?php echo $current_user->user_login; ?>" + '.prolifeplanet.com/feed/'; </script> thanks for your help though! On Mar 28, 1:11 pm, Jeremy Geerdes <[email protected]> wrote: > 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: > [email protected] > > 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 > > [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 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
