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 [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-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---