8 messages in com.googlegroups.bloggerdev[bloggerDev] Re: The Javascript Blogg...| From | Sent On | Attachments |
|---|---|---|
| Auran | 03 Jun 2008 13:49 | |
| Austin (Google) | 03 Jun 2008 17:31 | |
| Auran | 03 Jun 2008 21:55 | |
| Auran | 22 Jul 2008 09:00 | |
| Auran | 22 Jul 2008 09:47 | |
| Trevor Johns | 23 Jul 2008 00:22 | |
| Auran | 07 Aug 2008 08:51 | |
| Auran | 21 Aug 2008 12:35 |
| Subject: | [bloggerDev] Re: The Javascript Blogger Data API sample code.![]() |
|---|---|
| From: | Trevor Johns (tjo...@google.com) |
| Date: | 07/23/2008 12:22:08 AM |
| List: | com.googlegroups.bloggerdev |
Hi Auran, Your error is here:
myservice.insertEntry(newEntry,handleMyInsertedEntry,errorHandler);
That line should be:
feedRoot.feed.insertEntry(newEntry,handleMyInsertedEntry,errorHandler);
As for the missing documentation, could you give me some examples of things that are in the v1.1 documentation but not in the v1.2 docs?
-- Trevor Johns
On Tue, Jul 22, 2008 at 9:47 AM, Auran <aura...@gmail.com> wrote:
*hit enter before completing the post :-P. This is the continuation of the above post*
To retrieve the entry post link of a blog entry do:
var entryPostLink = blogentry.getEntryPostLink().getHref();
To create a post on this blog the insertIntoMyFeed function can be rewritten as
function insertIntoMyFeed(feedRoot) { var newEntry = new google.gdata.blogger.BlogPostEntry({ authors: [{name: "Elizabeth Bennet",email: "l....@gmail.com"}], title: {type: 'text', text: 'Quite disagreeable'}, content: { type: 'text', text: 'I met Mr. Bingley\'s friend Mr.Darcy this evening. I found him quite disagreeable.' } }); myservice.insertEntry(newEntry,handleMyInsertedEntry,<optionally an Error handler function>); }
However the point of concern still remains that I can't get the sample code to work. Any insight into this would be appreciated.
Thanks Auran
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Blogger Data API" group.
To post to this group, send email to blog...@googlegroups.com
To unsubscribe from this group, send email to
blog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---




