divshare 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/License.txt +20 -0
- data/Manifest.txt +35 -0
- data/README.txt +50 -0
- data/Rakefile +4 -0
- data/config/hoe.rb +72 -0
- data/config/requirements.rb +17 -0
- data/lib/divshare.rb +4 -0
- data/lib/divshare/client.rb +192 -0
- data/lib/divshare/divshare_file.rb +112 -0
- data/lib/divshare/errors.rb +11 -0
- data/lib/divshare/post_args.rb +16 -0
- data/lib/divshare/user.rb +13 -0
- data/lib/divshare/version.rb +9 -0
- data/log/debug.log +0 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/test_run_client +59 -0
- data/script/txt2html +74 -0
- data/setup.rb +1585 -0
- data/spec/client_spec.rb +221 -0
- data/spec/divshare_file_spec.rb +186 -0
- data/spec/fixtures/divshare_mock_valid_audio.html +299 -0
- data/spec/fixtures/divshare_mock_valid_video.html +294 -0
- data/spec/post_args_spec.rb +54 -0
- data/spec/spec_helper.rb +153 -0
- data/spec/user_spec.rb +18 -0
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/website.rake +17 -0
- data/website/index.html +93 -0
- data/website/index.txt +39 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +138 -0
- data/website/template.rhtml +48 -0
- metadata +92 -0
data/spec/client_spec.rb
ADDED
@@ -0,0 +1,221 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/spec_helper'
|
2
|
+
require 'divshare/client'
|
3
|
+
include Divshare
|
4
|
+
|
5
|
+
module ClientSpecHelper
|
6
|
+
include DivshareMockXML
|
7
|
+
def new_client
|
8
|
+
Client.new('api_key', 'api_secret')
|
9
|
+
end
|
10
|
+
|
11
|
+
def new_client_with_email_and_password
|
12
|
+
Client.new('api_key', 'api_secret', 'email', 'password')
|
13
|
+
end
|
14
|
+
|
15
|
+
def login(client, api_session_key='123-abcdefghijkl')
|
16
|
+
client.stub!(:login).and_return(api_session_key)
|
17
|
+
client.instance_variable_set(:@api_session_key, client.login)
|
18
|
+
api_session_key
|
19
|
+
end
|
20
|
+
|
21
|
+
# Each setup must declare what @mock_response will return
|
22
|
+
def common_setup(opts={})
|
23
|
+
options = {:login => true, :stub_sign => true}.merge(opts)
|
24
|
+
@client = new_client
|
25
|
+
@api_session_key = login(@client) if options[:login]
|
26
|
+
@files = ['2734485-1fc', '2735059-62d']
|
27
|
+
if opts[:stub_sign]
|
28
|
+
@api_sig = 'api_sig'
|
29
|
+
@client.stub!(:sign).and_return(@api_sig)
|
30
|
+
end
|
31
|
+
@mock_response = mock('response')
|
32
|
+
Net::HTTP.stub!(:post_form).and_return(@mock_response)
|
33
|
+
end
|
34
|
+
|
35
|
+
def basic_post_args(to_merge={})
|
36
|
+
{'api_key' => 'api_key', "api_sig" => @api_sig, "api_session_key" => @api_session_key}.merge(to_merge)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe "A new Divshare Client" do
|
41
|
+
include ClientSpecHelper
|
42
|
+
|
43
|
+
it "should be created with api key and secret only" do
|
44
|
+
new_client.should be_instance_of(Divshare::Client)
|
45
|
+
end
|
46
|
+
|
47
|
+
it "should be created with api key, api_secret, email, and password" do
|
48
|
+
new_client_with_email_and_password.should be_instance_of(Divshare::Client)
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should assign api key, api_secret, email, and password correctly" do
|
52
|
+
client = new_client_with_email_and_password
|
53
|
+
[client.api_key, client.api_secret, client.email, client.password].should == ['api_key', 'api_secret', 'email', 'password']
|
54
|
+
end
|
55
|
+
|
56
|
+
it "should know the proper post url" do
|
57
|
+
new_client.post_url.should == "http://www.divshare.com/api/"
|
58
|
+
end
|
59
|
+
|
60
|
+
# Using string 'api_secret123-abcdefghijklfiles2734485-1fc'
|
61
|
+
it "should generate a correct signature" do
|
62
|
+
api_sig = '0e1c483506dd413808c80183333e1fc2'
|
63
|
+
common_setup(:stub_sign => false)
|
64
|
+
@client.sign("get_files", {"files" => @files.first}).should == api_sig
|
65
|
+
end
|
66
|
+
|
67
|
+
it "should raise Divshare::ConnectionError on timeout" do
|
68
|
+
# Net::HTTP.should_receive(:post_form).once.and_raise
|
69
|
+
Net::HTTP.stub!(:post_form).and_raise(Net::HTTPServerError)
|
70
|
+
lambda { new_client_with_email_and_password.login }.should raise_error(Divshare::ConnectionError)
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
describe "A Divshare Client getting one file" do
|
76
|
+
include ClientSpecHelper
|
77
|
+
before(:each) do
|
78
|
+
common_setup
|
79
|
+
end
|
80
|
+
|
81
|
+
# If it generates a PostArgs object, it's doing the right thing
|
82
|
+
it "should generate arguments for post" do
|
83
|
+
pending("Fix to API that allows correct get_files method")
|
84
|
+
@mock_response.should_receive(:body).and_return(get_one_file_xml)
|
85
|
+
PostArgs.should_receive(:new).with(@client,:get_files,{'files' => @files.first})
|
86
|
+
@client.get_files(@files.first)
|
87
|
+
end
|
88
|
+
|
89
|
+
it "should return an array of one DivshareFile when requesting a file through get_files" do
|
90
|
+
@mock_response.should_receive(:body).and_return(get_one_file_xml)
|
91
|
+
@client.get_files('123456-abc').map {|f| f.class}.should == [DivshareFile]
|
92
|
+
end
|
93
|
+
|
94
|
+
it "should return a DivshareFile when requesting a file through get_file" do
|
95
|
+
@mock_response.should_receive(:body).and_return(get_one_file_xml)
|
96
|
+
@client.get_file('123456-abc').class.should == DivshareFile
|
97
|
+
end
|
98
|
+
|
99
|
+
it "should raise ArgumentError if an array is passed to get_file" do
|
100
|
+
lambda {@client.get_file(['123456-abc'])}.should raise_error(ArgumentError)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
describe "A Divshare Client getting two files" do
|
105
|
+
include ClientSpecHelper
|
106
|
+
before(:each) do
|
107
|
+
common_setup
|
108
|
+
end
|
109
|
+
|
110
|
+
it "should return an array of two DivshareFiles" do
|
111
|
+
mock_response = mock('response')
|
112
|
+
Net::HTTP.stub!(:post_form).and_return(mock_response)
|
113
|
+
mock_response.should_receive(:body).and_return(get_two_files_xml)
|
114
|
+
@client.get_files(['123456-abc', '456789-def']).map {|f| f.class}.should == [DivshareFile, DivshareFile]
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe "A Divshare Client getting user files" do
|
119
|
+
include ClientSpecHelper
|
120
|
+
before(:each) do
|
121
|
+
common_setup
|
122
|
+
@mock_response.should_receive(:body).and_return(get_two_files_xml)
|
123
|
+
end
|
124
|
+
|
125
|
+
it "should return an array of files" do
|
126
|
+
@client.get_user_files.map {|f| f.class }.should == [DivshareFile, DivshareFile]
|
127
|
+
end
|
128
|
+
|
129
|
+
# If it generates a PostArgs object, it's doing the right thing
|
130
|
+
it "should generate arguments for post" do
|
131
|
+
PostArgs.should_receive(:new).with(@client,:get_user_files, {})
|
132
|
+
@client.get_user_files
|
133
|
+
end
|
134
|
+
|
135
|
+
it "should generate arguments for post with limit and offset" do
|
136
|
+
PostArgs.should_receive(:new).with(@client, :get_user_files, {"limit" => 5, "offset" => 2})
|
137
|
+
@client.get_user_files(5, 2)
|
138
|
+
end
|
139
|
+
|
140
|
+
end
|
141
|
+
|
142
|
+
describe "A Divshare Client getting folder files" do
|
143
|
+
include ClientSpecHelper
|
144
|
+
before(:each) do
|
145
|
+
common_setup
|
146
|
+
@mock_response.should_receive(:body).and_return(get_two_files_xml)
|
147
|
+
end
|
148
|
+
|
149
|
+
it "should return an array of files" do
|
150
|
+
@client.get_folder_files('12345').map {|f| f.class }.should == [DivshareFile, DivshareFile]
|
151
|
+
end
|
152
|
+
|
153
|
+
# If it generates a PostArgs object, it's doing the right thing
|
154
|
+
it "should generate arguments for post" do
|
155
|
+
PostArgs.should_receive(:new).with(@client,:get_folder_files, {'folder_id' => '12345'})
|
156
|
+
@client.get_folder_files('12345')
|
157
|
+
end
|
158
|
+
|
159
|
+
it "should generate arguments for post with limit and offset" do
|
160
|
+
PostArgs.should_receive(:new).with(@client, :get_folder_files, {'folder_id' => '12345', "limit" => 5, "offset" => 2})
|
161
|
+
@client.get_folder_files('12345', 5, 2)
|
162
|
+
end
|
163
|
+
|
164
|
+
|
165
|
+
end
|
166
|
+
|
167
|
+
describe "A Divshare Client, creating an upload ticket" do
|
168
|
+
include ClientSpecHelper
|
169
|
+
before(:each) do
|
170
|
+
common_setup
|
171
|
+
@mock_response.should_receive(:body).and_return(get_upload_ticket_xml)
|
172
|
+
end
|
173
|
+
it "should return an upload ticket" do
|
174
|
+
@client.get_upload_ticket.should == '123-abcdefghijkl'
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
describe "A Divshare Client, logging in" do
|
179
|
+
include ClientSpecHelper
|
180
|
+
before(:each) do
|
181
|
+
common_setup(:login => false)
|
182
|
+
@api_session_key = login(new_client)
|
183
|
+
@mock_response.should_receive(:body).and_return(successful_login_xml)
|
184
|
+
end
|
185
|
+
|
186
|
+
it "should login" do
|
187
|
+
@client.login.should == @api_session_key
|
188
|
+
end
|
189
|
+
|
190
|
+
it "should set api session key" do
|
191
|
+
@client.api_session_key.should be_nil
|
192
|
+
@client.login
|
193
|
+
@client.api_session_key.should == @api_session_key
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
describe "A DivshareClient, unsuccessfully logging in" do
|
198
|
+
include ClientSpecHelper
|
199
|
+
it "should raise Divshare::APIError" do
|
200
|
+
common_setup(:login => false)
|
201
|
+
@mock_response.should_receive(:body).and_return(error_xml("Couldn't log in"))
|
202
|
+
lambda {@client.login}.should raise_error(Divshare::APIError)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
describe "A Divshare Client, logging out" do
|
207
|
+
include ClientSpecHelper
|
208
|
+
before(:each) do
|
209
|
+
common_setup
|
210
|
+
@mock_response.should_receive(:body).and_return(successful_logout_xml)
|
211
|
+
end
|
212
|
+
|
213
|
+
it "should logout" do
|
214
|
+
@client.logout.should be_true
|
215
|
+
end
|
216
|
+
|
217
|
+
it "should remove api session key on logout" do
|
218
|
+
@client.logout
|
219
|
+
@client.api_session_key.should be_nil
|
220
|
+
end
|
221
|
+
end
|
@@ -0,0 +1,186 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/spec_helper'
|
2
|
+
require 'divshare/divshare_file'
|
3
|
+
include Divshare
|
4
|
+
|
5
|
+
module DivshareFileSpecHelper
|
6
|
+
include DivshareMockXML
|
7
|
+
end
|
8
|
+
|
9
|
+
describe "A DivshareFile created with an empty file description" do
|
10
|
+
include DivshareFileSpecHelper
|
11
|
+
before(:each) do
|
12
|
+
@xml = Hpricot(get_one_file_xml)/:file
|
13
|
+
@xml_with_blank = @xml.dup
|
14
|
+
(@xml_with_blank.at :file_description).swap("<file_description></file_description>")
|
15
|
+
@file = DivshareFile.new(@xml_with_blank)
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should treat an empty attribute in creation xml as an empty string" do
|
19
|
+
@file.file_description.should == ""
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "A basic DivshareFile", :shared => true do
|
25
|
+
include DivshareFileSpecHelper
|
26
|
+
|
27
|
+
it "should set instance variables at creation" do
|
28
|
+
@file.instance_variables.map {|i| @file.instance_variable_get(i) }.length.should == 10
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
describe "A DivshareFile created without xml" do
|
34
|
+
before(:each) do
|
35
|
+
@file = DivshareFile.new
|
36
|
+
end
|
37
|
+
|
38
|
+
it "should not raise an exception" do
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should set medium to nil" do
|
42
|
+
@file.medium.should be_nil
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should generate a nil embed tag" do
|
46
|
+
@file.embed_tag.should be_nil
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe "An audio DivshareFile" do
|
51
|
+
include DivshareFileSpecHelper
|
52
|
+
before(:each) do
|
53
|
+
@xml = Hpricot(get_one_file_xml)/:file
|
54
|
+
@file_name = "audio.mp3"
|
55
|
+
@xml.at(:file_name).swap("<file_name>#{@file_name}</file_name>")
|
56
|
+
@file = DivshareFile.new(@xml)
|
57
|
+
end
|
58
|
+
it_should_behave_like "A basic DivshareFile"
|
59
|
+
|
60
|
+
it "should know it is audio" do
|
61
|
+
@file.should be_audio
|
62
|
+
end
|
63
|
+
|
64
|
+
it "should not think it is video, image, or document" do
|
65
|
+
@file.should_not be_video
|
66
|
+
@file.should_not be_image
|
67
|
+
@file.should_not be_document
|
68
|
+
end
|
69
|
+
|
70
|
+
it "should generate a good embed tag" do
|
71
|
+
tag = <<-END_OF_TAG
|
72
|
+
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="335" height="47" id="divaudio2">
|
73
|
+
<param name="movie" value="http://www.divshare.com/flash/audio?myId=#{@file.file_id}" />
|
74
|
+
<embed src="http://www.divshare.com/flash/audio?myId=#{@file.file_id}" width="335" height="47" name="divaudio2" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
|
75
|
+
</object>
|
76
|
+
END_OF_TAG
|
77
|
+
@file.embed_tag.should == tag
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe "An image DivshareFile" do
|
82
|
+
include DivshareFileSpecHelper
|
83
|
+
before(:each) do
|
84
|
+
@xml = Hpricot(get_one_file_xml)/:file
|
85
|
+
@file_name = "image.jpg"
|
86
|
+
@xml.at(:file_name).swap("<file_name>#{@file_name}</file_name>")
|
87
|
+
@file = DivshareFile.new(@xml)
|
88
|
+
@fullsize_tag = "http://www.divshare.com/img/#{@file.file_id}"
|
89
|
+
@midsize_tag = "http://www.divshare.com/img/midsize/#{@file.file_id}"
|
90
|
+
@thumb_tag = "http://www.divshare.com/img/thumb/#{@file.file_id}"
|
91
|
+
end
|
92
|
+
it_should_behave_like "A basic DivshareFile"
|
93
|
+
|
94
|
+
it "should know it is an image" do
|
95
|
+
@file.should be_image
|
96
|
+
end
|
97
|
+
|
98
|
+
it "should not think it is video, audio, or document" do
|
99
|
+
@file.should_not be_video
|
100
|
+
@file.should_not be_audio
|
101
|
+
@file.should_not be_document
|
102
|
+
end
|
103
|
+
|
104
|
+
it "should generate a good embed tag for fullsize" do
|
105
|
+
@file.embed_tag(:size => :fullsize).should == @fullsize_tag
|
106
|
+
end
|
107
|
+
|
108
|
+
it "should generate a good embed tag for midsize" do
|
109
|
+
@file.embed_tag(:size => :midsize).should == @midsize_tag
|
110
|
+
end
|
111
|
+
|
112
|
+
it "should generate a good embed tag for thumb" do
|
113
|
+
@file.embed_tag(:size => :thumb).should == @thumb_tag
|
114
|
+
end
|
115
|
+
|
116
|
+
it "should allow for alternate size names" do
|
117
|
+
@file.embed_tag(:size => :fullsize).should == @fullsize_tag
|
118
|
+
@file.embed_tag(:size => :midsize).should == @midsize_tag
|
119
|
+
@file.embed_tag(:size => :thumbnail).should == @thumb_tag
|
120
|
+
end
|
121
|
+
|
122
|
+
it "should generate fullsize tag by default" do
|
123
|
+
@file.embed_tag.should == @fullsize_tag
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
describe "A video DivshareFile" do
|
128
|
+
include DivshareFileSpecHelper
|
129
|
+
before(:each) do
|
130
|
+
@xml = Hpricot(get_one_file_xml)/:file
|
131
|
+
@file_name = "video.mov"
|
132
|
+
@xml.at(:file_name).swap("<file_name>#{@file_name}</file_name>")
|
133
|
+
@file = DivshareFile.new(@xml)
|
134
|
+
end
|
135
|
+
it_should_behave_like "A basic DivshareFile"
|
136
|
+
|
137
|
+
it "should know it is video" do
|
138
|
+
@file.should be_video
|
139
|
+
end
|
140
|
+
|
141
|
+
it "should not think it is audio, image, or document" do
|
142
|
+
@file.should_not be_audio
|
143
|
+
@file.should_not be_image
|
144
|
+
@file.should_not be_document
|
145
|
+
end
|
146
|
+
|
147
|
+
it "should generate a good embed tag" do
|
148
|
+
tag = <<-END_OF_TAG
|
149
|
+
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0" width="425" height="374" id="divflv">
|
150
|
+
<param name="movie" value="http://www.divshare.com/flash/video?myId=#{@file.file_id}" />
|
151
|
+
<param name="allowFullScreen" value="true" />
|
152
|
+
<embed src="http://www.divshare.com/flash/video?myId=#{@file.file_id}" width="425" height="374" name="divflv" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
|
153
|
+
</object>
|
154
|
+
END_OF_TAG
|
155
|
+
@file.embed_tag.should == tag
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
|
160
|
+
describe "A document DivshareFile" do
|
161
|
+
include DivshareFileSpecHelper
|
162
|
+
before(:each) do
|
163
|
+
@xml = Hpricot(get_one_file_xml)/:file
|
164
|
+
@file = DivshareFile.new(@xml)
|
165
|
+
end
|
166
|
+
it_should_behave_like "A basic DivshareFile"
|
167
|
+
|
168
|
+
it "should know it is a document" do
|
169
|
+
@file.should be_document
|
170
|
+
end
|
171
|
+
|
172
|
+
it "should not think it is video, image, or audio" do
|
173
|
+
@file.should_not be_video
|
174
|
+
@file.should_not be_image
|
175
|
+
@file.should_not be_audio
|
176
|
+
end
|
177
|
+
it "should generate a good embed tag" do
|
178
|
+
tag = <<-END_OF_TAG
|
179
|
+
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="560" height="500" id="divdoc">
|
180
|
+
<param name="movie" value="http://www.divshare.com/flash/document/#{@file.file_id}" />
|
181
|
+
<embed src="http://www.divshare.com/flash/document/#{@file.file_id}" width="560" height="500" name="divdoc" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
|
182
|
+
</object>
|
183
|
+
END_OF_TAG
|
184
|
+
@file.embed_tag.should == tag
|
185
|
+
end
|
186
|
+
end
|
@@ -0,0 +1,299 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<HTML xmlns="http://www.w3.org/1999/xhtml">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
|
+
<meta name="description" content="DivShare is a free file hosting service for everyone. No registration required!">
|
7
|
+
<meta name="keywords" content="Big_Man.mp3, free file host, free file hosting, free file sharing, flash mp3 player, photo sharing, photo galleries, image galleries, file host, file sharing, image host, image sharing, upload, free, DivShare">
|
8
|
+
<title>
|
9
|
+
Big_Man.mp3 - DivShare
|
10
|
+
</title>
|
11
|
+
<link rel="stylesheet" href="http://www.divshare.com/styles/v2/global.css">
|
12
|
+
<link rel="stylesheet" href="/styles/v2/download.css">
|
13
|
+
<script src="/scripts/prototype-1_4.js" language="javascript">
|
14
|
+
</script>
|
15
|
+
<script src="/scripts/prototype.js" language="javascript">
|
16
|
+
</script>
|
17
|
+
<script src="/scripts/scriptaculous/scriptaculous.js?load=effects" type="text/javascript">
|
18
|
+
</script>
|
19
|
+
<script type="text/javascript" src="http://www.divshare.com/scripts/scriptaculous/effects.js">
|
20
|
+
</script>
|
21
|
+
<script src="/scripts/global.js" language="javascript">
|
22
|
+
</script>
|
23
|
+
<script language="javascript" type="text/javascript" src="/scripts/download.js">
|
24
|
+
</script>
|
25
|
+
<script language="javascript" type="text/javascript" src="/scripts/swfobject.js">
|
26
|
+
</script>
|
27
|
+
<link href="chrome://firebug/content/highlighter.css" type="text/css" rel="stylesheet">
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<address>Bogus</address>
|
31
|
+
<center>
|
32
|
+
<div id="header">
|
33
|
+
<div class="wrapper">
|
34
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
35
|
+
<tbody>
|
36
|
+
<tr>
|
37
|
+
<td rowspan="2" width="190">
|
38
|
+
<a href="http://www.divshare.com/">
|
39
|
+
<img src="http://www.divshare.com/images/v2/logo.png" alt="DivShare" title="DivShare" class="logo" border="0">
|
40
|
+
</a>
|
41
|
+
</td>
|
42
|
+
<td align="right" valign="middle">
|
43
|
+
</td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<td class="tabs">
|
47
|
+
<ul>
|
48
|
+
<!-- NOTE: These appear in reverse order! -->
|
49
|
+
<li>
|
50
|
+
<a href="http://www.divshare.com/" style="border: medium none ;">
|
51
|
+
home
|
52
|
+
</a>
|
53
|
+
</li>
|
54
|
+
<li>
|
55
|
+
<a href="http://www.divshare.com/page/about">
|
56
|
+
about us
|
57
|
+
</a>
|
58
|
+
</li>
|
59
|
+
<li>
|
60
|
+
<a href="http://www.divshare.com/signup">
|
61
|
+
sign up
|
62
|
+
</a>
|
63
|
+
</li>
|
64
|
+
<li>
|
65
|
+
<a href="http://www.divshare.com/login">
|
66
|
+
log in
|
67
|
+
</a>
|
68
|
+
</li>
|
69
|
+
</ul>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</tbody>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!--wrapper-->
|
76
|
+
</div>
|
77
|
+
<!--header-->
|
78
|
+
<div class="wrapper">
|
79
|
+
<script language="javascript" type="text/javascript">
|
80
|
+
<!--
|
81
|
+
function updateInfo(){ return "updated"; }
|
82
|
+
// -->
|
83
|
+
|
84
|
+
</script>
|
85
|
+
<div style="margin: 5px 0pt 20px; text-align: center;">
|
86
|
+
<script type="text/javascript">
|
87
|
+
<!--
|
88
|
+
google_ad_client = "pub-8392263506318316";
|
89
|
+
google_ad_width = 728;
|
90
|
+
google_ad_height = 90;
|
91
|
+
google_ad_format = "728x90_as";
|
92
|
+
google_ad_type = "text_image";
|
93
|
+
//2007-09-10: DivShare
|
94
|
+
google_ad_channel = "4464379279";
|
95
|
+
google_color_border = "FFFFFF";
|
96
|
+
google_color_bg = "FFFFFF";
|
97
|
+
google_color_link = "0033CC";
|
98
|
+
google_color_text = "7F7F7F";
|
99
|
+
google_color_url = "008000";
|
100
|
+
//-->
|
101
|
+
</script>
|
102
|
+
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
|
103
|
+
|
104
|
+
</script>
|
105
|
+
<iframe name="google_ads_frame" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-8392263506318316&dt=1191219028148&lmt=1191219020&format=728x90_as&output=html&correlator=1191219028123&channel=4464379279&url=http%3A%2F%2Fwww.divshare.com%2Fdownload%2F1718112-5c3&color_bg=FFFFFF&color_text=7F7F7F&color_link=0033CC&color_url=008000&color_border=FFFFFF&ad_type=text_image&cc=100&ga_vid=1280368633.1191210914&ga_sid=1191219028&ga_hid=1120061545&ga_fc=true&flash=9&u_h=900&u_w=1440&u_ah=874&u_aw=1440&u_cd=32&u_tz=-300&u_his=21&u_java=true&u_nplug=7&u_nmime=91" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" frameborder="0" height="90" scrolling="no" width="728">
|
106
|
+
</iframe>
|
107
|
+
</div>
|
108
|
+
<!-- MAIN -->
|
109
|
+
<div style="margin-bottom: 10px;">
|
110
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
111
|
+
<tbody>
|
112
|
+
<tr>
|
113
|
+
<td class="file_td" valign="top">
|
114
|
+
<div class="icon_container" style="background-image: url(/images/icons/file_mp3.gif);">
|
115
|
+
<h2 class="above">
|
116
|
+
Playing Big_Man.mp3...
|
117
|
+
</h2>
|
118
|
+
</div>
|
119
|
+
<!-- icon_container -->
|
120
|
+
<center>
|
121
|
+
<div class="mp3_player_new">
|
122
|
+
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="divaudio2" height="28" width="335">
|
123
|
+
<param name="movie" value="http://www.divshare.com/flash/audio?myId=1718112-5c3">
|
124
|
+
<param name="allowScriptAccess" value="always">
|
125
|
+
<embed src="http://www.divshare.com/flash/audio?myId=1718112-5c3" allowscriptaccess="always" name="divaudio2" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" height="28" width="335">
|
126
|
+
</object>
|
127
|
+
</div>
|
128
|
+
</center>
|
129
|
+
<div class="sider_divider" style="margin-top: 20px; padding-top: 15px; text-align: center; font-size: 9pt;">
|
130
|
+
<script type="text/javascript">
|
131
|
+
<!--
|
132
|
+
google_ad_client = "pub-8392263506318316";
|
133
|
+
google_ad_width = 336;
|
134
|
+
google_ad_height = 280;
|
135
|
+
google_ad_format = "336x280_as";
|
136
|
+
google_ad_type = "text_image";
|
137
|
+
//2007-09-10: DivShare
|
138
|
+
google_ad_channel = "4464379279";
|
139
|
+
google_color_border = "FFFFFF";
|
140
|
+
google_color_bg = "FFFFFF";
|
141
|
+
google_color_link = "0033CC";
|
142
|
+
google_color_text = "7F7F7F";
|
143
|
+
google_color_url = "008000";
|
144
|
+
//-->
|
145
|
+
</script>
|
146
|
+
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
|
147
|
+
|
148
|
+
</script>
|
149
|
+
<iframe name="google_ads_frame" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-8392263506318316&dt=1191219028279&lmt=1191219020&prev_fmts=728x90_as&format=336x280_as&output=html&correlator=1191219028123&channel=4464379279&pv_ch=4464379279%2B&url=http%3A%2F%2Fwww.divshare.com%2Fdownload%2F1718112-5c3&color_bg=FFFFFF&color_text=7F7F7F&color_link=0033CC&color_url=008000&color_border=FFFFFF&ad_type=text_image&cc=100&ga_vid=1280368633.1191210914&ga_sid=1191219028&ga_hid=1120061545&ga_fc=true&flash=9&u_h=900&u_w=1440&u_ah=874&u_aw=1440&u_cd=32&u_tz=-300&u_his=21&u_java=true&u_nplug=7&u_nmime=91" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" frameborder="0" height="280" scrolling="no" width="336">
|
150
|
+
</iframe>
|
151
|
+
</div>
|
152
|
+
</td>
|
153
|
+
<td class="sider_td" valign="top">
|
154
|
+
<div style="line-height: 13pt;">
|
155
|
+
» Downloads: 256
|
156
|
+
<br>
|
157
|
+
» Last DL: Oct. 1, 2007
|
158
|
+
<br>
|
159
|
+
» Uploaded: Aug. 24, 2007
|
160
|
+
<br>
|
161
|
+
» File Size: 1.21
|
162
|
+
<span class="tiny">
|
163
|
+
MB
|
164
|
+
</span>
|
165
|
+
<br>
|
166
|
+
</div>
|
167
|
+
<div style="border-top: 1px dotted rgb(204, 204, 204); margin-top: 8px; padding-top: 10px;">
|
168
|
+
<span class="icon_span" style="background-image: url(/images/icons/files_16/file_mp3.gif); padding-top: 4px; padding-bottom: 4px; font-size: 8pt;">
|
169
|
+
<a href="http://s07.divshare.com/launch.php?f=1718112&s=5c3" class="action" title="Download Original">
|
170
|
+
Download Original
|
171
|
+
</a>
|
172
|
+
</span>
|
173
|
+
</div>
|
174
|
+
<div class="sider_divider">
|
175
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
176
|
+
<tbody>
|
177
|
+
<tr>
|
178
|
+
<td style="padding-bottom: 5px;">
|
179
|
+
<strong>
|
180
|
+
Embed:
|
181
|
+
</strong>
|
182
|
+
</td>
|
183
|
+
<td style="padding: 0pt 0pt 5px 5px;">
|
184
|
+
<input class="center_sharing_text_field" value="<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="335" height="28" id="divaudio2"><param name="movie" value="http://www.divshare.com/flash/audio?myId=1718112-5c3" /><embed src="http://www.divshare.com/flash/audio?myId=1718112-5c3" width="335" height="28" name="divaudio2" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>" onclick="this.select();" style="width: 118px;" type="text">
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td style="padding-bottom: 5px;">
|
189
|
+
<strong>
|
190
|
+
Forum:
|
191
|
+
</strong>
|
192
|
+
</td>
|
193
|
+
<td style="padding: 0pt 0pt 5px 5px;">
|
194
|
+
<input class="center_sharing_text_field" value="[url=http://www.divshare.com/download/1718112-5c3]DivShare File - Big_Man.mp3[/url]" onclick="this.select();" style="width: 118px;" type="text">
|
195
|
+
</td>
|
196
|
+
</tr>
|
197
|
+
<tr>
|
198
|
+
<td>
|
199
|
+
<strong>
|
200
|
+
Link:
|
201
|
+
</strong>
|
202
|
+
</td>
|
203
|
+
<td style="padding-left: 5px;">
|
204
|
+
<input class="center_sharing_text_field" value="http://www.divshare.com/download/1718112-5c3" onclick="this.select();" style="width: 118px;" type="text">
|
205
|
+
</td>
|
206
|
+
</tr>
|
207
|
+
</tbody>
|
208
|
+
</table>
|
209
|
+
</div>
|
210
|
+
<div class="sider_divider">
|
211
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
212
|
+
<tbody>
|
213
|
+
<tr>
|
214
|
+
<td>
|
215
|
+
<strong>
|
216
|
+
Post To:
|
217
|
+
</strong>
|
218
|
+
</td>
|
219
|
+
<td class="post_icon">
|
220
|
+
<a href="javascript:myspace_popup('http://www.divshare.com/scripts/social/post_to_myspace.php?f=1718112&s=5c3');">
|
221
|
+
<img src="/images/icons/myspace_16.gif" alt="MySpace" title="MySpace" border="0">
|
222
|
+
</a>
|
223
|
+
</td>
|
224
|
+
<td class="post_icon">
|
225
|
+
<a href="javascript:fb_popup('http://www.facebook.com/sharer.php?u=http://www.divshare.com/download/1718112-5c3');">
|
226
|
+
<img src="/images/icons/facebook_16.gif" alt="Facebook" title="Facebook" border="0">
|
227
|
+
</a>
|
228
|
+
</td>
|
229
|
+
<td class="post_icon">
|
230
|
+
<a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400'); return false;">
|
231
|
+
<img src="/images/icons/delicious_16.gif" alt="del.icio.us" title="del.icio.us" border="0">
|
232
|
+
</a>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
</tbody>
|
236
|
+
</table>
|
237
|
+
</div>
|
238
|
+
<div class="sider_divider flag_text">
|
239
|
+
Inappropriate content? Report this file to
|
240
|
+
<a href="/page/support">
|
241
|
+
DivShare Support
|
242
|
+
</a>
|
243
|
+
.
|
244
|
+
</div>
|
245
|
+
</td>
|
246
|
+
</tr>
|
247
|
+
</tbody>
|
248
|
+
</table>
|
249
|
+
</div>
|
250
|
+
</div>
|
251
|
+
<!--wrapper-->
|
252
|
+
<div class="buffer">
|
253
|
+
</div>
|
254
|
+
<div id="footer">
|
255
|
+
<a href="http://www.divshare.com/page/about">
|
256
|
+
about us
|
257
|
+
</a>
|
258
|
+
|
|
259
|
+
<a href="http://www.divshare.com/page/support">
|
260
|
+
support
|
261
|
+
</a>
|
262
|
+
|
|
263
|
+
<a href="http://blog.divshare.com">
|
264
|
+
blog
|
265
|
+
</a>
|
266
|
+
|
|
267
|
+
<a href="http://www.divshare.com/integrate">
|
268
|
+
integrate
|
269
|
+
</a>
|
270
|
+
|
|
271
|
+
<a href="http://www.divshare.com/page/terms">
|
272
|
+
terms of use
|
273
|
+
</a>
|
274
|
+
|
|
275
|
+
<a href="http://www.divshare.com/page/privacy">
|
276
|
+
privacy policy
|
277
|
+
</a>
|
278
|
+
|
|
279
|
+
<a href="http://www.divshare.com/direct">
|
280
|
+
divshare direct
|
281
|
+
</a>
|
282
|
+
|
|
283
|
+
<a href="http://www.divshare.com/page/enterprise">
|
284
|
+
enterprise
|
285
|
+
</a>
|
286
|
+
<div class="copyright">
|
287
|
+
Copyright 2007 DivShare Corporation. All Rights Reserved.
|
288
|
+
</div>
|
289
|
+
</div>
|
290
|
+
</center>
|
291
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
292
|
+
|
293
|
+
</script>
|
294
|
+
<script type="text/javascript">
|
295
|
+
_uacct = "UA-1051809-1";
|
296
|
+
urchinTracker();
|
297
|
+
</script>
|
298
|
+
</body>
|
299
|
+
</html>
|