November 7, 2002

I am still working on BlogMan. Though I should have gone on to entry retrieval and posting after doing the blog information retrieval code, I decided to deviate a bit and add multiple user support :-) So I’ve been working on adding the retrieval of user information for a given blog. Of course, this part is a bit clunky in that the BloggerAPI needs a login and password to retrieve information for a user instead of allowing you to retrieve information about all users on a given blog if you are an administrator for that blog. And the UI is kind of cluttered because it is all on one tab called Servers. You define the information for a given server and on the same screen you have a list of blogs for that server and a list of users for any given blog. I just completed the user information retrieval but haven’t tested it yet.

Once that is tested and is proven to be working, I will have to modify the UI so that you can select a given blog *and* a particular user from that blog. Then you should be able to use a synchronize option which allows you to retrieve either all the posts for that user and synchronize those with your local database or retrieve a certain number of recent posts. There are limitations here as well since I have read that Blogger only allows up to a maximum of 20 recent posts to be retrieved whereas B2 allows you to retrieve all posts by the user. I don’t know how Movable Type behaves in this respect. So it’s going to be a fine kettle of fish to sort out all this stuff.

Of course, that brings me to the other thing that I haven’t added yet and am mulling over – server categorization. Currently, each server you add to BlogMan is not categorized as to whether it uses Blogger, MT or B2 etc. Since there seems to be variations on the API support, I probably will need to add a server type/category field. Now my dilemma is as to whether I should have a separate table to hold the server type – this will come in especially handy when/if using different plug-ins for each server – or to hardcode the server types in to a drop down box for the moment. I still haven’t decided and will probably end up hardcoding for the moment since it’s easier :p

Be Sociable, Share!
Tags: General
Posted by Fahim at 5:27 am   Comments (1)