3 messages in com.googlegroups.bloggerdevInserting Posts with Categories
FromSent OnAttachments
Bruno09 Sep 2007 02:24 
Jeff Scudder11 Sep 2007 15:28 
Bruno19 Sep 2007 12:44 
Subject:Inserting Posts with Categories
From:Bruno (brun@gmail.com)
Date:09/09/2007 02:24:28 AM
List:com.googlegroups.bloggerdev

Hello,

Could somebody tell me what I should do to insert/publish/post an entry with categories?

I tried something like this:

Entry entry = entries.get(i); Set<Category> categories = entry.getCategories(); Category a = new Category("testlabel"); categories.add(a); myService.insert(postUrl, entry);

I was expecting that the new post would have the label "testlabel", but no label appeared.

Could somebody tell me what I am doing wrong?

Thanks, Best Regards,