jewelfox: A portrait of a female anthropomorphic fox, with a pink jewelled pendant and a cute overbite. (Default)
Jewelfox ([personal profile] jewelfox) wrote in [site community profile] dw_dev2013-10-19 06:05 pm
Entry tags:

How I creates teh apps??

Dreamwidth apparently no longer uses authenticated RSS for its reading page. So if I want to create an app (for, say, Windows Phone) that lets you keep up with your Dreamwidth reading, I need to create an XMLRPC client.

Here's the part where I try to figure out how to do so.

This DW Github link is for an "XMLRPC transport that supports DW::Request".

And this DW Github link seems to have all the functions for displaying Dreamwidth content, including the inbox and (on line 284) your reading page.

So if I want to write an app that shows your reading page, I figure out how to use XMLRPC + DW::Request to send a getreadpage request? And then it returns your "entries" so I figure out how to parse that on the receiving end? And then I basically do the same thing for stuff like your inbox and posting, I guess ... right?

Can anyone clarify this process for me?

sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)

[personal profile] sophie 2013-10-19 10:27 pm (UTC)(link)
DW::Request is a module on the server side; if you're writing an app, you don't need to worry about it. What you will need is the XML-RPC protocol documentation, which unfortunately isn't complete and also doesn't really help on how to get *started* with XML-RPC.

What language will you be writing your app in? There are probably libraries you can use that will do XML-RPC for you.

[personal profile] delladea 2013-10-22 10:34 pm (UTC)(link)
A while back I made a thing: DreamwidthAPI

It is a piece of a client I was writing in C# to use with Mono libraries, but it should work just fine in Visual Studio. I have some usage examples on a different computer I'll have access to tonight or tomorrow.