Advogato XML-RPC Interface

Advogato now has an XML-RPC interface available at the URL To test it, try calling one of the test functions below. Tested using Python version 3, for example, try the following:

>>> import xmlrpc.client
>>> server = xmlrpc.client.Server("")
>>> server.test.sumprod(5, 7)

It should return [12, 35].

# find number of blogs for 'sye':
number_of_blogs = server.diary.len('sye')
# find number of blogs for 'sye':
numer_of_blogs = server.diary.len('sye')

# download an example blog:
example_blog = server.diary.get('sye', 5)


my_cookie = server.authenticate('procrasti', '########')
Returns a cookie which is used as the first argument to all methods requiring authentication.

Blog manipulation

print(server.diary.getDates('procrasti', 3))
Return the creation and last updated dates of a blog entry. If the entry has not been updated then the updated date will be the same as the creation date.
update_blog = server.diary.set(my_cookie, -1, 'Hello World')
Set a blog entry. Use -1 as the index to post a new entry, although the value returned by diary.len() is also acceptable.

Obtaining Certs

Returns zero if user does not exist, or one if user does exist.
Returns the certification level of the requested user.

Test functions

this_s = server.test.capitalize(string s)
print(this_s) -- Capitalize a string

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!