Blogging and News Syndication Software

Blogger API, RSS API, Atom API, and more.
posts - 17, comments - 13, trackbacks - 26

My Links

News

Tortuga Components / Software Tools Home

See Also: Chilkat Software

Article Categories

Archives

Post Categories

Recommended

Blogger 1.0 API Visual Basic Example: Create Post w/ Title

This example creates a new post with title and content:

    ' Create a new post with title.
    Dim b1 As New Blogger1
    b1.Login = "MyLogin"
    b1.Password = "MyPassword"
    b1.ServiceUrl = "http://www.livejournal.com/interface/blogger"
    
    ' Get the blog ID of the 1st blog for this account.
    Dim blogId As String
    success = b1.GetUsersBlogs()
    If (success = 1 And (b1.NumBlogs > 0)) Then
        blogId = b1.GetBlogId(0)
    Else
        MsgBox "Failed to get users blogs!"
    End If
    
    Dim postId As String
    publish = 1
    postId = b1.NewPostWithTitle(blogId, "This is the title", "This is the content", publish)
    
    MsgBox "Post ID = " + postId

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Friday, September 23, 2005 5:32 AM |

Feedback

Gravatar

# re: Blogger 1.0 API Visual Basic Example: Create Post w/ Title

How can I include a hyperlink to the title?
1/1/2007 12:40 PM | Harry
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: