I'm trying to upload photos using the java libraries, and I have a problem 
with titles and comments getting split. Although the title or comment I'm 
passing into the API has no line breaks, when it appears in picasa (and 
Google+) it gets a line break inserted in order to wrap at 72 characters (or 
therabouts). Sometimes the line break gets inserted between asterisks which 
stops text from appearing in bold in Google+.

This isn't just the web browser soft wrapping my text, as if I go into 
picasa and edit the title or comment then I can delete the line break in 
order to get it all back on one line.

Here's some of the code I'm using:

URL photoUrl = new URL("https://picasaweb.google.com/data/feed/api/user/"; + 
userid + "/albumid/" + album.getGphotoId() + "/photoid/" + 
returnedPhoto.getGphotoId());
CommentEntry commentEntry = new CommentEntry();
commentEntry.setContent(new HtmlTextConstruct(comment));
myService.insert(photoUrl, commentEntry);

Has anyone else come across this? Am I doing something wrong? Is there a 
flag I need to set to prevent these line breaks?

James

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/8CL_CKqjteoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to