Some More Progress on Last.fm OpenSocial Widget for Wikidot.com!

2007 Dec 06 - Gabrys

The very first quick, dirty and non-working OpenSocial Last.fm player is almost working on my computer. Many functions are totally to reimplement, but we have now the strict idea how it should work now. The most vital functions for us, that we need to implement are:

  • opensocial.WikidotContainer.prototype.requestData — the biggest thing to do
    • we need some logic, that will query the database for the values
    • there is some place for caching the results here
      • I think we can preload some frequentlyUsed data like friends of the owner of the application
  • _IG_AdjustIFrameHeight — have a look at (this)
  • _IG_FetchContent
    • this basically should send a HTTP request and call a callback function with the response as the parameter
      • the only problem is that we can't send this data from JavaScript because of XSS protection
        • we need some proxy with the help on the server side
  • _IG_Prefs and g/setting AppData within opensocial
    • need some permission-checking and server-side storage
      • probably this can be achieved with the use of opensocial.WikidotContainer.prototype.requestData — need to check

It seems to make a big sense for me now. The very beta public version (supporting at least Last.fm player :D) should be launched very soon. Look forward to it!

Backlinks

Recent Posts

Comments

Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License