prosperwebsolutions.co.uk
8 Bennington Street
Cheltenham, GL50 4ED
T 01242 808413 | online enquiry form

Blog

<November 2008>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

Top Stories

Archives

 Thursday, April 24, 2008

dasBlog API Tutorial

We have been looking around for blogs for a while. We wanted something that would be hosted on .NET platform and something that will run smoothly using XML.  

So we have found dasBlog. This is what our Blog system is using and I have to say it works like a charm. Speed is great, and dasBlog has gave you great access to a portal, which enables you to manipulate your Blog. This way you can really take control in to your hands.

Question is: how do you use das Blog API web service?

I spent hours looking for a little tutorial just showing me how it is done, because I really didn’t have a clue. I am far from new to web services but I just couldn’t find anything. So I have decided to do a Blog post regarding this.

This tutorial will show you how to do a request, and get top 5 posts from your own blog using web service. You can then change your code and make it do different things.

In order to get information from blogger.aspx page, you will need to post information in to it, you will need to use the following XML code for that:

<?xml version=”1.0”encoding=”UTF-8”?>

<methodCall>

<methodName>metaWeblog.getRecentPosts</methodName>

<params>
<param><value><string>178663</string></value></param>
<param><value><string>yourUsername</string></value></param>
<param><value><string>yourPassword</string></value></param>
<param><value><int>5</int></value></param>

</params>

</methodCall>

  • Once you have configured that XML post, you will need to post it to your blogger.aspx page. It is really that simple! There is nothing more I can say…

That is it! I am actualy not going to go in to details of how to do this using ASP.NET in this post. I will be talking more about this in my next post and I will also distribute some open source code.

Written:

Zan Kavtaskin – Director of Prosper Web Solutions . Prosper Web Solutions is a web design Cheltenham

Thursday, April 24, 2008 6:15:42 PM (GMT Standard Time, UTC+00:00)
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
^ Skip To The Top