Permalink
Browse files

Go documentation

  • Loading branch information...
1 parent 5139b0f commit 60725f705289453ed43c463e6c8e448145baae08 @pyronicide committed Feb 29, 2012
Showing with 28 additions and 0 deletions.
  1. +28 −0 README.md
View
@@ -0,0 +1,28 @@
+# Integration
+
+There are three pieces of code you need to add to your web page.
+
+## HTML Element
+
+ <div id="fling_uploader"></div>
+
+Put this in your page's HTML where you'd like it to show up.
+
+## Script
+
+ <script src="http://source/assets/uploader.js"></script>
+
+## Config
+
+ <script type="text/javascript">
+ fling.config.announce = "http://localhost:9050/announce"
+ </script>
+
+When an upload is complete, you'll be notified of it at the url you set
+`fling.config.announce` to.
+
+## Server
+
+After a user's fully uploaded their file, you will be notified at the location
+you've configured. This request will be a list of URLs that you can download
+from.

0 comments on commit 60725f7

Please sign in to comment.