Research Log of Web Science Students

Computer Science is not simply programming

Introducing Drop.io

with 2 comments

I must say it is REALLY HARD (note: ALL CAPS) to look for an online repository that is free, has an open API, good support, and an active user base. Good thing I discovered Drop.io (which I hope to be my last pitstop in my race (search) for a repository for Projectrix.)

Simply put, Drop.io is like the Bit.ly of file sharing–upload your files, and it will create a short URL (customizable) of your files. Pretty neat, eh?

Here’s a rundown of what I like (and kinda not like) about Drop.io:

It’s API Client is in Javascript

– That means all I need to do is to include the script in the JSP file–I won’t have to deal with the Spring MVC for a bit.

    <html>
      <head>
          <script type="text/javascript" src="[PATH TO THE API CLIENT]"></script>
      </head>
      <body>
        <script>
           var api = new DropioApiClient("[YOUR API KEY]","[FULL PATH TO YOUR XD RECEIVER PAGE]");
           // do stuff with the api here
        </script>
      </body>
    </html>

You are allowed to do 2000 API calls from your given API key

– While this may actually be a downside, for student researchers like us, this is a fair deal. We can do an upgrade anyway once this gets deployed.

It’s secure

– A concern raised by Jeune after learning that the API key will be hard coded in the javascript file is security. Turns out the API key will only be used to track the third party application and check if it is a legitimate one. Creation of each “drop” (that’s how they call your uploads) given the following code will return a token (a.k.a. a session key – Jeune).

var api = new DropioApiClient("[YOUR API KEY]");
    api.createDrop({name:"somedrop",privacy_type:"VIEW"},receive_response);
    function receive_response(response,success) {
      if( success )
        alert("Your drop is: " + response.name);
      else
        alert("Error creating drop: " + response.message);
    };

Maximum upload life is 1 year

– While we can store ratings in Projectrix forever, we cannot do anything about this–the least for now.

The files are not crawlable [sic]

– This is not of our concern as the ratings in Projectrix is what we want to be crawled on. [sic]

Wide and active user base and support groups

– Development of Drop.io, and third party applications that make use of it are growing (and are very active). Therefore, there’s a growing number of people who can help us out.

Advertisements

Written by falloutkee

October 5, 2009 at 2:01 pm

2 Responses

Subscribe to comments with RSS.

  1. This might be a bit of an issue – one year upload life? This may not scale very well. Will have to discuss with Weng later today (hoping that she is ok now).

    rom

    October 5, 2009 at 9:59 pm

    • This is the best we can get now, unfortunately.

      falloutkee

      October 6, 2009 at 1:35 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: