This is a widget which you can cut and paste onto any webpage on the web.
You can log onto your own account from here and view and manipulate your files.
Login pass
If you want to sign up for a new account, it's a single function call as simple as
clicking here.
The account you create if you click the above link is automatically a widgetop login as well.
Not only that, all the current apps in the online demo account will appear in the new accounts program folder.
This simple script shows how the filesystem can be accessed from any webpage, and fetches both the folders and files using two simple JS functions.
Just view source on this page for the entirety of the source for this mini-app.
If you want to have some fun, doubleclick the files, especially those found in the 'programs' folder..
This is a very simple example, it's not listing any metadata, but it's supported, and with some effort, it's really quite simple to write far more advanced
interfaces, like your own file explorer.
»The function xin.getfolders(path, callback) gets the folders as an array and returns it to the callback function.
»The function xin.getfiles(path, callback) gets the files as an array and returns it to the callback function.
»Both also returns an array of filetype extensions as images, created, last created, size and type of file (if file and not folder) in that order.
»A widget with the icon specified in the file, (see "Create apps") returns this image.
»More information here.
If you write a widget for widgetplus, the base directory will automatically be assigned to that users account - default is 'demo', as on this page.
If you try to specify any account that you are not currently under, you will be refused access even with the right credentials / login info.
You can dynamically find out where you are by checking the value of the variable xin.pass.