We have a website for which we would like to create a widget - similar to a 'twitter' widget that displays your latest tweets. This widget simply displays some images and text from a user's profile on a remote server. If the widget is clicked, it should link back to the user's profile and open it in a new tab.
- We would like the server side code (that the Ajax requests) to be written in python-django; it should be packaged as an individual 'App' that can easily be plugged into any django project. This includes a database model for the widget (with fields indicating what text and images the widget should grab), the respective 'views' that the widget will request (and which will return the proper json/xml).
- The server side code should also include a basic 'form', which allows a user to put in a URL and a widget will automatically be generated for that page. It should present code that a user can copy and paste into the html of his page, and the widget will work 'out of the box'. Similarly, the widget should only work on the page for which it was generated (not any other pages besides the URL page that was entered).