4 days ago my java application write as published a post on my blog.
Now all post are post as draft.
Something change?
Here my code fer posting:
String POSTS_FEED_URI_SUFFIX = "/posts/default";
Entry myEntry = new Entry();
myEntry.setTitle(new PlainTextConstruct(title));
myEntry.setContent(new PlainTextConstruct(content));
Person author = new Person(authorName, null, userName);
myEntry.getAuthors().add(author);
myEntry.setDraft(Boolean.FALSE);
URL postUrl = new URL(feedUri + POSTS_FEED_URI_SUFFIX);
return myService.insert(postUrl, myEntry);
Tnx all for help!
(sorry for multi post, i had a problem with firefox)