The earlier gadget projects I developed have utilized third-party web services from a variety of sources:
- Google Maps for geographic data
- Google Docs spreadsheet as XML datasource
- IP-Geolocation (IP address->Country) service from HostIP.Info
- User profile and gaming statistics as XML feeds from Xfire.
Although Google addressed this problem by providing the _IG_FetchXMLContent function, it lacks support for https, SOAP and POST. It looks like the newer gadget.io.makeRequest function is intended to address these deficiencies. However, the availability of the gadget.io.* functions in Google's production servers is yet forthcoming.
I decided not to hold my breath..
KT-Gadget is a widget front-end to KnowledgeTree - an open-source document management system. To access KnowledgeTree's SOAP services, I had to deploy another application to receive the requests from Google's _IG_FetchXMLContent calls, make the corresponding SOAP requests, and generate the appropriate XML output. Two basic functions are implemented: login and get_folder_contents. The functions are based on PHP, the same language that was used to develop KnowlegeTree.
After pushing the login button, the gadget will indicate the progress of the subsequent operations:
- Logging in
- Fetching Documents
- Sorting Documents
I plan to implement two more functions: download_document and perform_document_workflow_transition. We don't want work to pile up, do we? Other nice-to-have features: watch all accessible folders and sub-folders; show number of documents per folder; folder and document colors based on certain thresholds like document count, age, metadata contents (priority, etc); automatic refresh.
But don't hold your breath...
No comments:
Post a Comment