5 messages in com.googlegroups.bloggerdevRe: AtomPerson| From | Sent On | Attachments |
|---|---|---|
| Jenx880 | 16 Jan 2008 20:32 | |
| Jeff Scudder | 18 Jan 2008 10:46 | |
| Thomas A. Jenkins | 18 Jan 2008 10:54 | |
| Jenx880 | 22 Jan 2008 08:18 | |
| Jeff Scudder | 24 Jan 2008 14:34 |
| Subject: | Re: AtomPerson![]() |
|---|---|
| From: | Jeff Scudder (j....@google.com) |
| Date: | 01/18/2008 10:46:38 AM |
| List: | com.googlegroups.bloggerdev |
On Jan 16, 8:33 pm, Jenx880 <jenk...@gmail.com> wrote:
In my insert new blog post I add use the api to add the poster name to the atomfeedentry. When I look at the query the result that is returned in the person collection is only one as it was before. The new poster was not added to the collection. However I dont want to add persons to the collection as I have a few going to post and need it for an "Authors" field for each individual post. Each post should only have one author and I dont cate if it stores it in index position 0 each time overwriting the previous name. Why is this not adding? Am I doing what I need to be doing?
Thanks
AtomPerson person = new AtomPerson(); person.Name = bp.PostAuthor.ToString(); newPost.Authors.Add(person); AtomEntry createdEntry = service.Insert(u, newPost);
I'm sorry Jenx880, but I'm not sure I understand what you are trying to do. (Maybe I need to drink some more coffee :) Did you want to change the author on an existing blog post? Or, was the problem that the server's response to the insert request contained a different author than the one you sent?
Thank you,
Jeff




