mirror of https://github.com/perkeep/perkeep.git
nodeattr: rename Content to CamliContent, since Content also exists.
Change-Id: I305ca3cecf9b223a125fb9207966995c9dbf83b8
This commit is contained in:
parent
997d8241b9
commit
d0fbfd9751
|
@ -262,7 +262,7 @@ func (r *run) importPhoto(albumNode *importer.Object, photo picago.Photo, client
|
|||
}
|
||||
|
||||
attrs := []string{
|
||||
nodeattr.Content, fileRef.String(),
|
||||
nodeattr.CamliContent, fileRef.String(),
|
||||
"picasaId", photo.ID,
|
||||
nodeattr.Title, photo.Title,
|
||||
"caption", photo.Summary,
|
||||
|
|
|
@ -36,12 +36,11 @@ const (
|
|||
// Well-defined ones are documented in doc/schema/claims/attributes.txt.
|
||||
Type = "camliNodeType"
|
||||
|
||||
// Content is "camliContent", the blobref of the permanode's content.
|
||||
// CamliContent is "camliContent", the blobref of the permanode's content.
|
||||
// For files or images, the camliContent is fileref (the blobref of
|
||||
// the "file" schema blob).
|
||||
Content = "camliContent"
|
||||
CamliContent = "camliContent"
|
||||
|
||||
Latitude = "latitude"
|
||||
Latitude = "latitude"
|
||||
Longitude = "longitude"
|
||||
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue