Hi Kim, you're making a good point. The URL returned in the feed is outdated, but is actually getting redirected to the newer one you also see in Picasa Web. However, the "psc=" parameter is actually wrong. It should be "psc=S" (for Self), since you are doing a tag search on a specific user (and not Globally), the URL should point you to the tag search results for the specific user and not the community search. Hardcoding the other URL for now is fine (until we fixed this little bug), but if you want to show this URL for other than the authenticated user's account, you should use the form
http://picasaweb.google.com/lh/view?uname= <userid>&isOwner=false&tags=<tagname>&psc=F the 'F' for the psc parameter stands for Foreign search corpus -Detlev On Mon, Oct 18, 2010 at 11:02 AM, tiede <[email protected]> wrote: > Hi all, > > I have a question regarding the tag api. > > I have made an application that uses the tag api and calls the > http://picasaweb.google.com/data/feed/api/user/<userid>?kind=tag url > through the python client. > I get lots of entries which is great but the links for an entry seems > to be wrong. An entry has two links: self and alternate. > > The self link points to the data link on the atom item itself. > > The alternate points to a link on the given format: > http://picasaweb.google.com/lh/searchbrowse?q= > <tagname>&psc=G&uname=<userid>&filter=0 > > That seems to be the wrong url and at least not the url that the > picasa webapp uses, which is http://picasaweb.google.com/lh/view?uname= > <userid>&isOwner=true&tags=<tagname> > > When I want to display a url for each tag and the question is - should > I hardcode it to the one that the picasa webapp uses? > > Cheers > > Kim > > -- > 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]<google-picasa-data-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-picasa-data-api?hl=en. > > -- 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.
