You're trying to generate the canonical title, which is available in <gphoto:name>, but you don't want to do this. You want to get the album id in <gphoto:id> and use that to retrieve the album.
Cheers, -Jeff On Tue, Mar 31, 2009 at 1:14 PM, Chris Mulholland < chris.mulholl...@gmail.com> wrote: > > Hi, > > I'm trying to retrieve a list of albums for a user and wish to link > through to an album page. > > However, I can only pull back the title (which has spaces) which is > not the correct album name: > > foreach ($userFeed as $userEntry) { > > echo "<a href=\"photos.php?album=".$userEntry->title->text . > "\">".$userEntry->title->text."</a><br />\n"; > } > > > And on photos.php I have: > $query->setAlbumName($album); > > How do I get the actual album url rather than the title? > Do I just strip the whitespace out of it manually? > > Thanks for your help! > > Cheers, > Chris > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to Google-Picasa-Data-API@googlegroups.com To unsubscribe from this group, send email to google-picasa-data-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---