picasa username hardcoded in picasa_album.module

Stef01 - November 21, 2008 - 10:13
Project:Picasa
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:cyberswat
Status:closed
Description

Hi,

I'm trying to get this module (version 2008-Nov-13) working on my D6.6, but I guess I'll need to have some patience for this DEV to go beta :) Would be great to see it working soon!

I tried an import of an album and it caused a "warning: SimpleXMLElement::__construct()...".
The $data for the xml parse seemed to contain "No album found.".
I searched the code and found this line in picasa_album.module:
$feed = "http://picasaweb.google.com/data/entry/api/user/cyberswat/albumid/$node->albums";
I guess your username "cyberswat" should in fact be "default".

After changing this the error disappeared and the import worked. Now I can see the album cover in Drupal of the imported album, but there are not any photos in it. But I guess this is another issue that needs to be worked on.

#1

cyberswat - November 21, 2008 - 14:44
Assigned to:Anonymous» cyberswat
Status:active» fixed

http://drupal.org/cvs?commit=154292

#2

System Message - December 5, 2008 - 14:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.