Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42220

xml-rpc post

$
0
0
Hi,
I am using VB.NET & XML-RPC and posting data to WordPress normally.
How to attach web or local image this post?
Thanks.


PHP Code:

Dim newBlogPost As blogInfo Nothing
        newBlogPost
.title "The Title"
        
newBlogPost.description "The Post Body Text"
        
Dim categories CType(XmlRpcProxyGen.Create(GetType(IgetCatList)), IgetCatList)
        
Dim clientProtocol CType(categoriesXmlRpcClientProtocol)
        
clientProtocol.Url "http://site.com/xmlrpc.php"
        
Dim result As String Nothing
        result 
""
        
Try
            
result categories.NewPage(1"admin""password"newBlogPost1)
            
MessageBox.Show("Posted to Blog successfullly! Post ID : " result)
            
txtpost.Text ""
            
txtTitle.Text ""
        
Catch ex As Exception
            MessageBox
.Show(ex.Message)
        
End Try 


Viewing all articles
Browse latest Browse all 42220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>