Quibbler is a product designed and developed by Indigo Architects. Quibbler is a desktop application which runs on user's machine and provides a intuitive user interface. When internet is available it downloads the news content from News Server (Web Service) and stores the content locally. User can configure to remove old content from the Application [read more].

Quibbler uses Web service and to retrieve data it simply makes a Get call. There are four functions exposed by this service.

  1. First function provides the available Categories (either News, Photo or Video), sample out put XML are uploaded with this documentation.
  2. Second function provides the actual News Content for each Category, it includes, news title, author, pub date, caption, actual news etc.
  3. Third function is used to Register the Application with the News Server, so that Registration of application can be controlled.
  4. Fourth function is used by application to post the usage time. If application is in Offline Mode it stores the usage time in file, and whenever it comes online it post it to the server.

The source code for these web service is not publish, it's very easy to create web services now a days. Following is the function defination for the service

    [WebGet(UriTemplate = "/Subscription/{publication}/{contentType}", ResponseFormat = WebMessageFormat.Xml)]
    Stream Subscription(string publication, string contentType);

    [WebGet(UriTemplate = "/Category/{category}/{datetime}/{maxCount}", ResponseFormat = WebMessageFormat.Xml)]
    Stream Category(string category, string dateTime, string maxCount);

    [WebGet(UriTemplate = "/Register/{userId}/{version}/{applicationType}/{additionalInfo}", ResponseFormat = WebMessageFormat.Xml)]
    Stream Register(string userId, string version, string applicationType, string additionalInfo);

    [WebGet(UriTemplate = "/Usage/{userId}/{date}/{usage}/{additionalInfo}", ResponseFormat = WebMessageFormat.Xml)]
    Stream Usage(string userId, string date, string usage, string additionalInfo);

In application config, there are four service url, following are the sample xml files for each service response

  • Key = CategoryUrl = Sample Available News Category.xml
  • Key = PhotoGalleryUrl = Sample Available PhotoGallery Category.xml
  • Key = VideoGalleryUrl = Sample Available VideoGallery Category.xml
  • Key = RssUrl = Sample Category NewsML.xml

In the RSSUrl, we have added three parameter to request Category Name, Max News Count, and the Synctime, according to these parameter web service use to return the News Items.

Last edited Aug 12, 2010 at 7:01 AM by amarpalsapure, version 3

Comments

No comments yet.