A system.uri value cannot be converted into integer

Diego González <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
Hello, I have the following code:

Imports Google.GData
Imports Google.GData.Client
Imports Google.GData.Extensions
Imports Google.GData.Blogger
Imports System.Net

Module Module1

    Sub Main()

        Dim bService As New Service("blogger", "WordsOfTheDay")
        bService.Credentials = New 
GDataCredentials("[email protected]", "72Alsina")

        Dim bRequest As GDataGAuthRequestFactory = 
DirectCast(bService.RequestFactory, GDataGAuthRequestFactory)

        bRequest.AccountType = "GOOGLE"

        Try
            Dim newPost As New AtomEntry()
            newPost.Title.Text = "TechRepublic test post"
            newPost.Content = New AtomContent()
            newPost.Content.Content = "<div 
xmlns='http://www.w3.org/1999/xhtml'>" + "<p>This is a test 
post!!</p></div>"
            newPost.Content.Type = "xhtml"
            newPost.Updated = New DateTime(2011, 1, 1, 10, 0, 0)
            newPost.Published = New DateTime(2011, 1, 1, 10, 0, 0)


            Dim blogFeedUri As New 
Uri("http://wordsoftheday8.blogspot.com/feeds/posts/default")
            Dim createdEntry As AtomEntry = 
Blogger.BloggerService.Service.Insert(blogFeedUri, newPost)

        Catch ex As System.Exception
            Console.WriteLine("Exception: " + ex.InnerException.ToString())
        End Try

    End Sub

End Module


It's giving two complilation errors in the line:

       Dim createdEntry As AtomEntry = 
Blogger.BloggerService.Service.Insert(blogFeedUri, newPost)

Saying:  "Value of type System.Uri cannpt be converted into Integer", and
              "Value of type Google.Gata.Client.AtomEntry cannot be 
converted into String".

According to the reference variable blogFeedUri should be a system.uri type 
and newPost should be an AtomEntry type, so what can be wrong here?
Any clue?

Thank you in advance.

-- 
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.