11 messages in com.googlegroups.google-picasa-data-apiRe: finding "normal" web-url trough t...| From | Sent On | Attachments |
|---|---|---|
| nhui...@gmail.com | 15 Jan 2008 18:04 | |
| Ryan Boyd (Google) | 15 Jan 2008 18:31 | |
| Ryan Boyd (Google) | 15 Jan 2008 18:35 | |
| nhui...@gmail.com | 16 Jan 2008 01:41 | |
| kwylez | 16 Jan 2008 05:46 | |
| nhui...@gmail.com | 16 Jan 2008 13:26 | |
| Ryan Boyd (Google) | 16 Jan 2008 13:59 | |
| kwylez | 17 Jan 2008 04:37 | |
| kwylez | 17 Jan 2008 05:07 | |
| nhui...@gmail.com | 17 Jan 2008 13:42 | |
| Bob | 29 Jan 2008 14:18 |
| Subject: | Re: finding "normal" web-url trough the API (using ZEND framework)![]() |
|---|---|
| From: | kwylez (kwy...@gmail.com) |
| Date: | 01/17/2008 04:37:05 AM |
| List: | com.googlegroups.google-picasa-data-api |
I will get my documentation together and post them. I welcome any feedback. Since I have only used the classes for my own personal use they haven't been beat up that much. I will let you know when they are posted.
-Cory
On Jan 16, 3:59 pm, "Ryan Boyd (Google)" <api....@google.com> wrote:
Hi Cory,
If you've already published these on your site/blog or something, it would
be great if you could provide a pointer on the Tips and Tricks wiki page for
other users to
see:http://groups.google.com/group/Google-Picasa-Data-API/web/tops-and-tr...
I'd certainly like to add some higher level functionality to the open source client library to make some things a bit easier, and I'd appreciate hearing your suggestions for improvement. Ideally, I'd like to figure out how to add helpful functionality into the existing service classes and data model classes, but am open to hearing what others think.
Cheers, -Ryan
On Jan 16, 2008 5:46 AM, kwylez <kwy...@gmail.com> wrote:
Nanne, When I started working with the ZF and doing exactly what you are doing I ended up writing my own helper classes for Picasa (basically wrapping the ZF classes) to help simplify getting the attributes. If you would like I can send them to you.
-Cory
I"m fairly new to the Google API game: I was busy trying to come up with a google-feed parser when luckily someone kicked me towards the API :). now I'm using the ZEND-php framework, and i can successfully request an album list, including title and summary etc etc...
One problem, I can't find a really clear description of where to find what data. There are numerous lists of available methods etc, but i couldn't find any real explanation of what info comes from where. And that is probably the base for the following question:
I can find the title (as you can see below), and i use that to make the album feed. Not the cleanest way, but i thought it would work. just link tohttp://www.picasaweb.com/USERNAME/ALBUMNAME... well, problem is that when there is whitespace, an "-" or probably some other things in the album name, they get removed in the URL. So this method doesn't work :(.
Can anybody point me to the place i can find the link? I've been looking into the method "getLink()" ofcourse, but this gives me a BIG array, that does contain the right information i guess, but i'm not keen on parsing that array -> i would rather just use the correct method.
Abbreviated and anonymized code:
$service = new Zend_Gdata_Photos(); $userFeed = $service->getUserFeed("USERNAME"); foreach ($userFeed as $entry) { if ($entry instanceof Zend_Gdata_Photos_AlbumEntry) {
//this doesn't work. echo('<a href='http://picasaweb.google.com/".$userFeed->getTitle() . "/" . $entry->getTitle() ."'>".$entry->getTitle()."</a>');
//loads of info :) dirty hack? print_r($entry->getLink());
} }
If someone could help me i would be grateful :)




