Blogging and News Syndication Software

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

My Links

News

Tortuga Components / Software Tools Home

See Also: Chilkat Software

Article Categories

Archives

Post Categories

Recommended

Movable Type API Visual Basic Example

Visual Basic example program using the Tortuga Movable Type ActiveX Component to get information about recent posts and display each post's title, post ID, user ID, and creation date/time.
The Tortuga Beta ActiveX can be downloaded from Tortuga ActiveX
The download contains an ActiveX DLL that needs to be registered using regsvr32.exe. You may then import the "Tortuga ActiveX" into your VB project.
The DLL contains objects for RSS, Atom, Blogger 2.0, Blogger 1.0, MetaWeblog, Technorati, Yahoo! Site Explorer, and Web Search.
Tortuga Components Home


    ' Use the Blogger 1.0 API to get the Blog ID
    Dim b1 As New Blogger1
    b1.Login = "admin"
    b1.Password = "****"
    b1.ServiceUrl = "http://www.something.com/blog/xmlrpc.php"
    b1.GetUsersBlogs
    blogId = b1.GetBlogId(0)
    
    Dim mt As New MovableType
    mt.Login = "admin"
    mt.Password = "****"
    mt.ServiceUrl = "http://www.something.com/blog/xmlrpc.php"
    
    ' Download the 10 most recent posts (uses mt.getRecentPostTitles)
    numReceived = mt.GetRecentPosts(blogId, 10)
    
    ' Display the post ID, user ID, post title, and date for each post.
    NumPosts = mt.NumRecentPosts
    For i = 0 To NumPosts - 1
        List1.AddItem mt.GetRecentPostId(i)
        List1.AddItem mt.GetRecentPostUserId(i)
        List1.AddItem mt.GetRecentPostTitle(i)
        List1.AddItem mt.GetRecentPostDate(i)
        List1.AddItem "----"
    Next
    

Print | posted on Wednesday, October 05, 2005 1:55 PM |

Feedback

Gravatar

# re: Movable Type API Visual Basic Example

Really nice peace of software! Thanks for developing.
10/26/2005 6:38 AM | Mike
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: