Changeset 158
- Timestamp:
- Tue Apr 17 02:44:05 2007
- Files:
-
- trunk/plugins/multiexport/libs/pycasaweb.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/plugins/multiexport/libs/pycasaweb.py
r148 r158 256 256 for i in root.getElementsByTagName("item"): 257 257 name = getText(i.getElementsByTagName("title")[0]) # title 258 id = getText(i.getElementsByTagName NS(GPHOTO,"id")[0]) # gphoto:id258 id = getText(i.getElementsByTagName("gphoto:id")[0]) # gphoto:id 258 258 l.append( PicasaAlbum(self.__gc,id,name) ) 259 259 … … 395 395 396 396 if __name__=="__main__": 397 picasa = PycasaWeb("manatlan@gmail.com","xxxx") 397 picasa = PycasaWeb("manatlan@gmail.com","falavard") 398 p="/home/manatlan/Desktop/fotaux/p20060401_090621.jpg" 398 399 399 400 album=picasa.createAlbum("TEST") 400 album.uploadPhoto( "/home/manatlan/Desktop/DSCF1978.JPG")401 album.uploadPhoto(p) 400 401 401 402 for a in picasa.getAlbums(): 402 403 if a.name == "TEST": 403 a.uploadPhoto( "/home/manatlan/Desktop/DSCF1978.JPG")404 a.uploadPhoto(p) 403 404 break 404 405
