Lines Matching refs:album
63 * Album constructor.
65 * Album object stores information about picasa album.
67 picasa.Album = function(id, title, location, description, link) {
105 * @type {Array.<picasa.Album>}
142 * @type {Array.<picasa.Album>}
290 * @param {Function(Array.<picasa.Album>)} callback Callback.
310 * Returns album object created from entry.
311 * @param {*} entry The feed entry corresponding to album.
312 * @return {picasa.Album} The album object.
321 return new picasa.Album(entry['gphoto$id']['$t'], entry.title['$t'],
326 * Send request to create album.
327 * @param {picasa.Album} album Album to create.
328 * @param {Function(picasa.Album)} callback Callback taking updated album
329 * (for example, with created album id).
331 createAlbum: function(album, callback) {
345 postData += '<title type="text">' + escape(album.title) + '</title>' + eol;
346 postData += '<summary type="text">' + escape(album.description) +
348 postData += '<gphoto:location>' + escape(album.location) +
352 'term="http://schemas.google.com/photos/2007#album"></category>' + eol;
361 * Uploads file to the given album.
362 * @param {picasa.Album} album Album to upload to.
366 uploadFile: function(album, file, callback) {
372 this.userID_ + '/albumid/' + album.id, headers, postData, callback);