Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere. Any file you save to your Dropbox will automatically be copied to all your computers, phones, and even the Dropbox website.
ODS Briefcase offers a new "Dropbox" folder type which provides several additional features, once the ODS system is configured with a registered Dropbox API key and secret pair:
- Specify credentials for authentication against Dropbox, enabling retrieval of any or all of your folders and files, including any associated metadata
- Specify which Sponger Extractor Cartridges and Sponger Meta Cartridges should be run against your Dropbox data
- Save fetched data, metadata, and Sponger output, into a newly created Dropbox-specific RDF Graph in the Virtuoso RDF Quad Store
- Specify other ODS Users or
WebID-based ACLs which should be granted access to your Dropbox data through ODS Briefcase
Here is a sample scenario showing the whole process, from setting the Dropbox API key and secret pair in ODS, to retrieving all Dropbox content to ODS Briefcase.
- A Dropbox user account
- Files and folders (data) stored in your Dropbox Space
- Administrative (DBA) access to a Virtuoso Server instance, on which the following have been installed --
- Browse to <https://www.dropbox.com/developers/apps>, and log in with your existing Dropbox user credentials:
- Agree to the Dropbox Developer Terms and Conditions:
- Click Create an App:
- Enter a name for your Dropbox client application (i.e., your ODS-Briefcase instance) to be known by, e.g., "
MyODSDropbox". A description is also required; put as much or as little as you like. Tick the Full Dropbox check-box, and click Create:
- You will be shown the "Options" page for your new application, including the App key and App secret pair.
(You can copy these now, or come back for them later.
Do be aware that you will need these strings for the steps that follow.) Optionally, add the URI of your ODS host Virtuoso instance as the Website.
If you make any changes on this form, click Update; otherwise, click Cancel to end the application creation process.
- Your new application will show up in the "My apps" list.
- Browse to your Virtuoso + ODS instance,
http://<cname>[:<port>]/ods, e.g., <http://example.com/ods/>, and click Sign In.
- Log in as a Virtuoso+ODS user with Administrator privileges, e.g.,
- Click on Site Settings:
- Click on Login Authentication Keys:
- Select Dropbox API in the API Name menu, provide the App key and App secret you got when you registered the application with Dropbox, and click Add.
- ODS-Briefcase is now configured to use the Dropbox API.
- Browse to your Virtuoso + ODS instance,
http://<cname>[:<port>]/ods, e.g., <http://example.com/ods/>.
- Log in as a Virtuoso+ODS user with normal privileges, e.g.,
- Click to the ODS-Briefcase application:
- Click New Folder from the main Briefcase control strip:
- In the New Folder form, specify a Folder Name, e.g.,
MyDropboxFolder, and set the Folder type to Dropbox:
- Click to the newly visible Dropbox tab:
- All RDF data extracted from and otherwise collected about your Dropbox files will be saved to a named graph, where the default name is constructed from the host ODS instance, the ODS username, and the Briefcase folder name --
http://<host>[:<port>]/DAV/home/<user-name>/<folder-name>#this-- so, in this example, the default graph would be named <http://example.com/ods/demo/MyDropboxFolder#this>. Expert users may wish to change this graph name, but the default is suitable for most users.
- You can also turn on the Virtuoso Sponger, to process your Dropbox files more comprehensively.
When the Sponger is enabled for your folder, you can specify which "Sponger Extractor Cartridges" and "Sponger Meta Cartridges" will be run over the files in your Dropbox.
You can enable all cartridges, but this will introduce some processing overhead.
It's generally best to enable only those cartridges which will be applicable to your files and their content.
For instance, you may know that you'll only be storing Microsoft and Open Office documents here.
Then, click "Authenticate", to connect your new folder to your Dropbox:
- You'll be prompted to enter your Dropbox user's credentials.
Note that this Dropbox user need not be the application owner/"developer" who got the API key earlier.
- Dropbox will prompt for confirmation that you intend to let your application ("MyODSDropbox?") have access to your Dropbox content.
- Your Dropbox user name and associated email address will now be displayed.
Click Create to finish the folder creation process.
- Your new Dropbox-linked folder should now be displayed in your Briefcase resources list:
- Click the folder name to see the resources ODS-Briefcase has found in your Dropbox Dataspace:
- How Linked Data & WebID Deliver Controlled Access to Resources in Google Drive, Microsoft OneDrive (formerly SkyDrive), DropBox, Box.Net, and Amazon S3
- Using ODS-Briefcase to mediate access to data stored on Amazon S3
- Using ODS-Briefcase to mediate access to data stored on Box (a/k/a box.com or box.net)
- Using ODS-Briefcase to mediate access to data stored on Google Drive
- Using ODS-Briefcase to mediate access to data stored on Microsoft OneDrive (formerly SkyDrive)
- Manage different Briefcase type folders in Briefcase
- Virtuoso Sponger
- OpenLink-supplied Virtuoso Sponger Cartridges
- Supported Meta Cartridges in Virtuoso
- Meta Cartridges Usage via REST Request
- Parameterized Examples of Meta Cartridge Usage via REST Request