Stefan Says

Opinions on ASP.NET, ASP, databases etc
posts - 32, comments - 25, trackbacks - 23

Tuesday, June 12, 2007

Posting to blogs with C# code

If you have a couple of blogs you soon get tired of logging in (oh wait, first find the right userid and password) and then clicking some menu buttons to get to the post page.

So I have started to look into a Windows client (create my own of course, heck I'm a developer, am I not) for that. It has been some "fun" trying to get the posting API:s to work and today I added a new one to the list - LiveJournal. I never even knew about it (don't know much more than wordpress and blogspot to be honest) and it was not too easy to get the posting right from the C# client.

However, a quick and dirty solution, turning into concatenating XML parts into a long string, hehe - well not  big biggest moment of pride - but who cares about cred and "slick" solutions...I prefer working solutions.

Read more and get the code here

C# code for posting to livejournal

 

 

 

posted @ Tuesday, June 12, 2007 2:44 PM | Feedback (1)