How to Post New feeds to google blogger using google service...

[email protected]
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
I tried this below code but is retuns error with URL which i provided. I 
worked from many days but its not working and i posted this issue in many 
forams but they reffer only blogger help links.. Could you help me to what 
is the process to Post new feeds to Google Blogger...


string blogId = "xxxxxxxxxxxx";
            Service service = new Service();
            service.setUserCredentials(username, password);
            AtomEntry newPost = new AtomEntry();
            newPost.Title.Text = "Marriage!";
            newPost.Content = new AtomContent();
            newPost.Content.Content = "<div 
xmlns='http://www.w3.org/1999/xhtml'>" +
                "<p>Mr. Darcy has <em>proposed marriage</em> to me!</p>" +
                "<p>He is the last man on earth I would ever desire to 
marry.</p>" +
                "<p>Whatever shall I do?</p>" +
                "</div>";
            newPost.Content.Type = "xhtml";
            newPost.IsDraft = true;


            Uri blogFeedUri = new Uri("https://www.blogger.com/feeds/" + 
blogId + "/posts/default/");
            AtomEntry createdEntry = service.Insert(blogFeedUri, newPost);

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.