Aug 29 2007

C# blog client

Posted by admin under .NET

Here I will give you the C# Windows Forms sourcecode for a (simple, yet functioning) blog client. Before you say - "why should I ever want one of these, I like my blogging tool admin GUI", or "I use Windows Live Writer", the the application you get the code for here is noway near Live Writer. But, I say, having the code needed for blog posting is really useful. Being able to say, from your batch routine, posting status update directly to a blog is just one way making use of it. 

Lets start by looking at some screenshots:

 

 

after starting it up. Just enter your blog rpc url, user id and password and now you click connect.

 

 

Now the posting part turns visible. So just enter some stuff here and click publish

 

 

And hopefully the article will be imported to your wordpress installation. Please note - you might have some trouble with time (articles being posted in future so to speak) - log in to Wordpress admin GUI and look at timezone settings.

 

More notes: This app is really, really basic and implements NO error handling at all.

 

Some good stuff I used for it:
http://www.xml-rpc.net/ of course for the XML RPC infrastructire so to speak

 

MetaWebLog API XML RPC client implementation/

 

I will later add more functionality, such as categopry handling etc.

kick it on DotNetKicks.com

Attachments