I don't know what happened to my previous post but I'm also very
interested in this problem.
I got it working with album ids but looking for something seo firendly
like the solution descried by gurunars. (.net if possible)
Any ideas?

Many thanks
K

On Sep 9, 11:12 am, gurunars <[email protected]> wrote:
> Hello,
>
> I currently use Django framework and GdataAPI. Now to fetch a list of
> photos for a particularalbumI have to use a view like this:
>
> defalbum(request, album_identifier):
>     client = gdata.photos.service.PhotosService()
>     images = client.GetFeed('/data/feed/api/user/%s/albumid/%s?
> kind=photo' % (GMAIL_USERNAME, str(album_identifier))).entry
>     return render_to_response('picasa_album.html', {'images':images,})
>
> In the code above album_identifier is actually an id of analbumkept
> inside <gphoto:id> tag passed via URL from another page.
>
> The question: is there any way to fetch the photos using a titlename
> property of analbum? Or is it possible to get all the properties of a
> particularalbumif its title is known? Currently I use iteration and
> comparison in order to getalbum'sid if I know itsname. E.g.:
>
> foralbumin albums:
>     ifalbum.name.text == album_name:
>         album_id =album.gphoto_id.text
>         break
>
> But this technique is crappy...
>
> I want to access fetch the images viaalbum'stitle property because
> this way I would be able to use more nice looking URLs on the site.
> Not a freaky combination of digits but a readable string title
> instead. Sth. like:
>
> httP://example.com/photos/AlbumTitle

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to