topsy 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.yardoc/checksums +14 -2
- data/.yardoc/objects/Topsy/Author/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Author/type_i.dat +0 -0
- data/.yardoc/objects/Topsy/Author.dat +0 -0
- data/.yardoc/objects/Topsy/Client/author_info_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/author_search_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/credit_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/get_rate_limit_status_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/handle_response_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/link_post_count_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/link_posts_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/mashup_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/profile_search_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/raise_errors_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/related_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/search_count_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/search_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/stats_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/tags_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/trackbacks_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/trending_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/url_info_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client.dat +0 -0
- data/.yardoc/objects/Topsy/LinkSearchResult/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/LinkSearchResult.dat +0 -0
- data/.yardoc/objects/Topsy/Linkpost/target_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Linkpost/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Linkpost.dat +0 -0
- data/.yardoc/objects/Topsy/LinkpostCount/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/LinkpostCount.dat +0 -0
- data/.yardoc/objects/Topsy/Page/initialize_i.dat +0 -0
- data/.yardoc/objects/Topsy/Page/list_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Page/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Page.dat +0 -0
- data/.yardoc/objects/Topsy/RateLimitInfo/refresh_in_seconds_i.dat +0 -0
- data/.yardoc/objects/Topsy/RateLimitInfo/reset_i.dat +0 -0
- data/.yardoc/objects/Topsy/RateLimitInfo.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/all_time_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/hour_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/month_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/overall_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/this_hour_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/this_month_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/this_week_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/today_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/week_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts.dat +0 -0
- data/.yardoc/objects/Topsy/Stats/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Stats.dat +0 -0
- data/.yardoc/objects/Topsy/Tag/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tag.dat +0 -0
- data/.yardoc/objects/Topsy/Target/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Target.dat +0 -0
- data/.yardoc/objects/Topsy/Trend/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Trend.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet/author_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet/target_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet.dat +0 -0
- data/.yardoc/objects/Topsy/UrlInfo/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/UrlInfo.dat +0 -0
- data/.yardoc/objects/Topsy.dat +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/README.markdown +71 -6
- data/Rakefile +1 -1
- data/TODO +7 -0
- data/VERSION +1 -1
- data/doc/Topsy/Author.html +201 -0
- data/doc/Topsy/Client.html +2096 -0
- data/doc/Topsy/LinkSearchResult.html +152 -0
- data/doc/Topsy/Linkpost.html +209 -0
- data/doc/Topsy/LinkpostCount.html +152 -0
- data/doc/Topsy/Page.html +284 -0
- data/doc/Topsy/RateLimitInfo.html +201 -0
- data/doc/Topsy/SearchCounts.html +91 -0
- data/doc/Topsy/Stats.html +152 -0
- data/doc/Topsy/Tag.html +152 -0
- data/doc/Topsy/Target.html +152 -0
- data/doc/Topsy/Trend.html +152 -0
- data/doc/Topsy/Tweet.html +266 -0
- data/doc/Topsy/UrlInfo.html +152 -0
- data/doc/Topsy.html +112 -0
- data/doc/_index.html +245 -0
- data/doc/class_list.html +177 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +23 -0
- data/doc/css/style.css +263 -0
- data/doc/file.README.html +151 -0
- data/doc/file_list.html +29 -0
- data/doc/index.html +151 -0
- data/doc/js/app.js +91 -0
- data/doc/js/full_list.js +39 -0
- data/doc/js/jquery.js +19 -0
- data/doc/method_list.html +352 -0
- data/doc/top-level-namespace.html +79 -0
- data/lib/topsy/author.rb +23 -0
- data/lib/topsy/client.rb +48 -21
- data/lib/topsy/link_search_result.rb +24 -0
- data/lib/topsy/linkpost.rb +33 -0
- data/lib/topsy/linkpost_count.rb +15 -0
- data/lib/topsy/page.rb +40 -0
- data/lib/topsy/rate_limit_info.rb +18 -0
- data/lib/topsy/search_counts.rb +9 -30
- data/lib/topsy/stats.rb +18 -0
- data/lib/topsy/tag.rb +16 -0
- data/lib/topsy/target.rb +18 -0
- data/lib/topsy/trend.rb +16 -0
- data/lib/topsy/tweet.rb +44 -0
- data/lib/topsy/url_info.rb +21 -0
- data/lib/topsy.rb +36 -4
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/test/fixtures/credit.json +15 -0
- data/test/fixtures/urlinfo.json +2 -2
- data/test/helper.rb +9 -4
- data/test/test_topsy.rb +92 -11
- data/topsy.gemspec +194 -0
- metadata +86 -5
- data/.yardoc/objects/Topsy/SearchCounts/last_hour_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/last_month_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/last_week_i.dat +0 -0
@@ -0,0 +1,266 @@
|
|
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" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Class: Topsy::Tweet</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
<a href="../_index.html">Index (T)</a> »
|
23
|
+
<a href="../Topsy.html" title="Topsy">Topsy</a>
|
24
|
+
»
|
25
|
+
<span class="title">Tweet</span>
|
26
|
+
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="search">
|
30
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
31
|
+
<a id="method_list_link" href="#">Method List</a>
|
32
|
+
<a id ="file_list_link" href="#">File List</a>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<iframe id="search_frame"></iframe>
|
39
|
+
|
40
|
+
<div id="content"><h1>Class: Topsy::Tweet
|
41
|
+
|
42
|
+
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<dl class="box">
|
46
|
+
|
47
|
+
<dt class="r1">Inherits:</dt>
|
48
|
+
<dd class="r1">
|
49
|
+
<span class="inheritName">Hashie::Dash</span>
|
50
|
+
|
51
|
+
<ul class="fullTree">
|
52
|
+
<li>Object</li>
|
53
|
+
|
54
|
+
<li class="next">Hashie::Dash</li>
|
55
|
+
|
56
|
+
<li class="next">Topsy::Tweet</li>
|
57
|
+
|
58
|
+
</ul>
|
59
|
+
<a href="#" class="inheritanceTree">show all</a>
|
60
|
+
|
61
|
+
</dd>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<dt class="r2 last">Defined in:</dt>
|
71
|
+
<dd class="r2 last">lib/topsy/tweet.rb</dd>
|
72
|
+
|
73
|
+
</dl>
|
74
|
+
<div class="clear"></div>
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<h2>Instance Method Summary</h2>
|
81
|
+
|
82
|
+
<ul class="summary">
|
83
|
+
|
84
|
+
<li class="public ">
|
85
|
+
<span class="summary_signature">
|
86
|
+
|
87
|
+
<a href="#author%3D-instance_method" title="#author= (instance method)">- (Object) <strong>author=</strong>(value) </a>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</span>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<span class="summary_desc"></span>
|
100
|
+
|
101
|
+
</li>
|
102
|
+
|
103
|
+
|
104
|
+
<li class="public ">
|
105
|
+
<span class="summary_signature">
|
106
|
+
|
107
|
+
<a href="#target%3D-instance_method" title="#target= (instance method)">- (Object) <strong>target=</strong>(value) </a>
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
</span>
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<span class="summary_desc"></span>
|
120
|
+
|
121
|
+
</li>
|
122
|
+
|
123
|
+
|
124
|
+
<li class="public ">
|
125
|
+
<span class="summary_signature">
|
126
|
+
|
127
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</span>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
<span class="summary_desc"></span>
|
140
|
+
|
141
|
+
</li>
|
142
|
+
|
143
|
+
|
144
|
+
</ul>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
<div id="instance_method_details" class="method_details_list">
|
149
|
+
<h2>Instance Method Details</h2>
|
150
|
+
|
151
|
+
|
152
|
+
<div class="method_details first">
|
153
|
+
<p class="signature first" id="author=-instance_method">
|
154
|
+
|
155
|
+
- (<tt>Object</tt>) <strong>author=</strong>(value)
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
</p><table class="source_code">
|
160
|
+
<tr>
|
161
|
+
<td>
|
162
|
+
<pre class="lines">
|
163
|
+
|
164
|
+
|
165
|
+
27
|
166
|
+
28
|
167
|
+
29
|
168
|
+
30
|
169
|
+
31
|
170
|
+
32
|
171
|
+
33</pre>
|
172
|
+
</td>
|
173
|
+
<td>
|
174
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/tweet.rb', line 27</span>
|
175
|
+
|
176
|
+
<span class='def def kw'>def</span> <span class='author= identifier id'>author=</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
|
177
|
+
<span class='if if kw'>if</span> <span class='value identifier id'>value</span>
|
178
|
+
<span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:author</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='Topsy constant id'>Topsy</span><span class='colon2 op'>::</span><span class='Author constant id'>Author</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
|
179
|
+
<span class='else else kw'>else</span>
|
180
|
+
<span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:author</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='value identifier id'>value</span>
|
181
|
+
<span class='end end kw'>end</span>
|
182
|
+
<span class='end end kw'>end</span>
|
183
|
+
</pre>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
</table>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
<div class="method_details ">
|
190
|
+
<p class="signature " id="target=-instance_method">
|
191
|
+
|
192
|
+
- (<tt>Object</tt>) <strong>target=</strong>(value)
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
</p><table class="source_code">
|
197
|
+
<tr>
|
198
|
+
<td>
|
199
|
+
<pre class="lines">
|
200
|
+
|
201
|
+
|
202
|
+
35
|
203
|
+
36
|
204
|
+
37
|
205
|
+
38
|
206
|
+
39
|
207
|
+
40
|
208
|
+
41</pre>
|
209
|
+
</td>
|
210
|
+
<td>
|
211
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/tweet.rb', line 35</span>
|
212
|
+
|
213
|
+
<span class='def def kw'>def</span> <span class='target= identifier id'>target=</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
|
214
|
+
<span class='if if kw'>if</span> <span class='value identifier id'>value</span>
|
215
|
+
<span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:target</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='Topsy constant id'>Topsy</span><span class='colon2 op'>::</span><span class='Target constant id'>Target</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
|
216
|
+
<span class='else else kw'>else</span>
|
217
|
+
<span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:target</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='value identifier id'>value</span>
|
218
|
+
<span class='end end kw'>end</span>
|
219
|
+
<span class='end end kw'>end</span>
|
220
|
+
</pre>
|
221
|
+
</td>
|
222
|
+
</tr>
|
223
|
+
</table>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div class="method_details ">
|
227
|
+
<p class="signature " id="to_s-instance_method">
|
228
|
+
|
229
|
+
- (<tt>Object</tt>) <strong>to_s</strong>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
</p><table class="source_code">
|
234
|
+
<tr>
|
235
|
+
<td>
|
236
|
+
<pre class="lines">
|
237
|
+
|
238
|
+
|
239
|
+
23
|
240
|
+
24
|
241
|
+
25</pre>
|
242
|
+
</td>
|
243
|
+
<td>
|
244
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/tweet.rb', line 23</span>
|
245
|
+
|
246
|
+
<span class='def def kw'>def</span> <span class='to_s identifier id'>to_s</span>
|
247
|
+
<span class='dstring node'>"Topsy Tweet: #{permalink_url}, #{content}"</span>
|
248
|
+
<span class='end end kw'>end</span>
|
249
|
+
</pre>
|
250
|
+
</td>
|
251
|
+
</tr>
|
252
|
+
</table>
|
253
|
+
</div>
|
254
|
+
|
255
|
+
</div>
|
256
|
+
|
257
|
+
</div>
|
258
|
+
|
259
|
+
<div id="footer">
|
260
|
+
Generated on Wed Jan 6 10:31:54 2010 by
|
261
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
262
|
+
0.5.2 (ruby-1.8.6).
|
263
|
+
</div>
|
264
|
+
|
265
|
+
</body>
|
266
|
+
</html>
|
@@ -0,0 +1,152 @@
|
|
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" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Class: Topsy::UrlInfo</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
<a href="../_index.html">Index (U)</a> »
|
23
|
+
<a href="../Topsy.html" title="Topsy">Topsy</a>
|
24
|
+
»
|
25
|
+
<span class="title">UrlInfo</span>
|
26
|
+
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="search">
|
30
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
31
|
+
<a id="method_list_link" href="#">Method List</a>
|
32
|
+
<a id ="file_list_link" href="#">File List</a>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<iframe id="search_frame"></iframe>
|
39
|
+
|
40
|
+
<div id="content"><h1>Class: Topsy::UrlInfo
|
41
|
+
|
42
|
+
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<dl class="box">
|
46
|
+
|
47
|
+
<dt class="r1">Inherits:</dt>
|
48
|
+
<dd class="r1">
|
49
|
+
<span class="inheritName">Hashie::Mash</span>
|
50
|
+
|
51
|
+
<ul class="fullTree">
|
52
|
+
<li>Object</li>
|
53
|
+
|
54
|
+
<li class="next">Hashie::Mash</li>
|
55
|
+
|
56
|
+
<li class="next">Topsy::UrlInfo</li>
|
57
|
+
|
58
|
+
</ul>
|
59
|
+
<a href="#" class="inheritanceTree">show all</a>
|
60
|
+
|
61
|
+
</dd>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<dt class="r2 last">Defined in:</dt>
|
71
|
+
<dd class="r2 last">lib/topsy/url_info.rb</dd>
|
72
|
+
|
73
|
+
</dl>
|
74
|
+
<div class="clear"></div>
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<h2>Instance Method Summary</h2>
|
81
|
+
|
82
|
+
<ul class="summary">
|
83
|
+
|
84
|
+
<li class="public ">
|
85
|
+
<span class="summary_signature">
|
86
|
+
|
87
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</span>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<span class="summary_desc"></span>
|
100
|
+
|
101
|
+
</li>
|
102
|
+
|
103
|
+
|
104
|
+
</ul>
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<div id="instance_method_details" class="method_details_list">
|
109
|
+
<h2>Instance Method Details</h2>
|
110
|
+
|
111
|
+
|
112
|
+
<div class="method_details first">
|
113
|
+
<p class="signature first" id="to_s-instance_method">
|
114
|
+
|
115
|
+
- (<tt>Object</tt>) <strong>to_s</strong>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
</p><table class="source_code">
|
120
|
+
<tr>
|
121
|
+
<td>
|
122
|
+
<pre class="lines">
|
123
|
+
|
124
|
+
|
125
|
+
16
|
126
|
+
17
|
127
|
+
18</pre>
|
128
|
+
</td>
|
129
|
+
<td>
|
130
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/url_info.rb', line 16</span>
|
131
|
+
|
132
|
+
<span class='def def kw'>def</span> <span class='to_s identifier id'>to_s</span>
|
133
|
+
<span class='dstring node'>"Topsy UrlInfo: #{url}, @#{topsy_trackback_url}, #{trackback_total} total"</span>
|
134
|
+
<span class='end end kw'>end</span>
|
135
|
+
</pre>
|
136
|
+
</td>
|
137
|
+
</tr>
|
138
|
+
</table>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
</div>
|
142
|
+
|
143
|
+
</div>
|
144
|
+
|
145
|
+
<div id="footer">
|
146
|
+
Generated on Wed Jan 6 10:31:54 2010 by
|
147
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
148
|
+
0.5.2 (ruby-1.8.6).
|
149
|
+
</div>
|
150
|
+
|
151
|
+
</body>
|
152
|
+
</html>
|
data/doc/Topsy.html
ADDED
@@ -0,0 +1,112 @@
|
|
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" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Module: Topsy</title>
|
7
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
<a href="_index.html">Index (T)</a> »
|
23
|
+
|
24
|
+
|
25
|
+
<span class="title">Topsy</span>
|
26
|
+
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="search">
|
30
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
31
|
+
<a id="method_list_link" href="#">Method List</a>
|
32
|
+
<a id ="file_list_link" href="#">File List</a>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<iframe id="search_frame"></iframe>
|
39
|
+
|
40
|
+
<div id="content"><h1>Module: Topsy
|
41
|
+
|
42
|
+
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<dl class="box">
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
<dt class="r1 last">Defined in:</dt>
|
54
|
+
<dd class="r1 last">lib/topsy/tag.rb<span class="defines">,<br />
|
55
|
+
lib/topsy/page.rb,<br /> lib/topsy/tweet.rb,<br /> lib/topsy/stats.rb,<br /> lib/topsy/trend.rb,<br /> lib/topsy/author.rb,<br /> lib/topsy/target.rb,<br /> lib/topsy/client.rb,<br /> lib/topsy/linkpost.rb,<br /> lib/topsy/url_info.rb,<br /> lib/topsy/search_counts.rb,<br /> lib/topsy/linkpost_count.rb,<br /> lib/topsy/rate_limit_info.rb,<br /> lib/topsy/link_search_result.rb</span>
|
56
|
+
</dd>
|
57
|
+
|
58
|
+
</dl>
|
59
|
+
<div class="clear"></div>
|
60
|
+
|
61
|
+
<h2>Overview</h2><div class="docstring">
|
62
|
+
<div class="discussion">
|
63
|
+
<p>
|
64
|
+
This is the link_search_result class for the topsy library. A
|
65
|
+
LinkSearchResult has the following attributes:
|
66
|
+
</p>
|
67
|
+
<pre class="code">
|
68
|
+
<span class='string val'>"trackback_permalink"</span> <span class='colon op'>:</span> <span class='string val'>"http://twitter.com/ewerickson/status/3562164195"</span><span class='comma token'>,</span>
|
69
|
+
<span class='string val'>"hits"</span> <span class='colon op'>:</span> <span class='integer val'>38</span><span class='comma token'>,</span>
|
70
|
+
<span class='string val'>"trackback_total"</span> <span class='colon op'>:</span> <span class='integer val'>157</span><span class='comma token'>,</span>
|
71
|
+
<span class='string val'>"topsy_trackback_url"</span> <span class='colon op'>:</span> <span class='string val'>"http://topsy.com/tb/www.redstate.com/erick/2009/08/26/breaking-rumors-surface-that-leon-panetta-is-resigning/"</span><span class='comma token'>,</span>
|
72
|
+
<span class='string val'>"url"</span> <span class='colon op'>:</span> <span class='string val'>"http://www.redstate.com/erick/2009/08/26/breaking-rumors-surface-that-leon-panetta-is-resigning/"</span><span class='comma token'>,</span>
|
73
|
+
<span class='string val'>"content"</span> <span class='colon op'>:</span> <span class='string val'>"Panetta is rumored to have sent a resignation letter to Barack Obama today: http://bit.ly/CDMg9"</span><span class='comma token'>,</span>
|
74
|
+
<span class='string val'>"title"</span> <span class='colon op'>:</span> <span class='string val'>"BREAKING: Rumors Surface That Leon Panetta is Resigning - Erickâs blog - RedState"</span><span class='comma token'>,</span>
|
75
|
+
<span class='string val'>"score"</span> <span class='colon op'>:</span> <span class='integer val'>0</span><span class='integer val'>.75521481</span><span class='comma token'>,</span>
|
76
|
+
<span class='string val'>"highlight"</span> <span class='colon op'>:</span> <span class='string val'>"Panetta is rumored to have sent a resignation letter to
|
77
|
+
<span class=\"highlight-term\">Barack</span> <span class=\"highlight-term\">Obama</span> today: http://bit.ly/CDMg9"</span>
|
78
|
+
</pre>
|
79
|
+
<p>
|
80
|
+
According to the official Topsy doc:
|
81
|
+
http://code.google.com/p/otterapi/wiki/Resources?tm=6#/search
|
82
|
+
</p>
|
83
|
+
|
84
|
+
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
<div class="tags">
|
88
|
+
|
89
|
+
</div><h2>Defined Under Namespace</h2>
|
90
|
+
<p class="children">
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<strong class="classes">Classes:</strong> <a href="Topsy/Author.html" title="Author">Author</a>, <a href="Topsy/Client.html" title="Client">Client</a>, <a href="Topsy/LinkSearchResult.html" title="LinkSearchResult">LinkSearchResult</a>, <a href="Topsy/Linkpost.html" title="Linkpost">Linkpost</a>, <a href="Topsy/LinkpostCount.html" title="LinkpostCount">LinkpostCount</a>, <a href="Topsy/Page.html" title="Page">Page</a>, <a href="Topsy/RateLimitInfo.html" title="RateLimitInfo">RateLimitInfo</a>, <a href="Topsy/SearchCounts.html" title="SearchCounts">SearchCounts</a>, <a href="Topsy/Stats.html" title="Stats">Stats</a>, <a href="Topsy/Tag.html" title="Tag">Tag</a>, <a href="Topsy/Target.html" title="Target">Target</a>, <a href="Topsy/Trend.html" title="Trend">Trend</a>, <a href="Topsy/Tweet.html" title="Tweet">Tweet</a>, <a href="Topsy/UrlInfo.html" title="UrlInfo">UrlInfo</a>
|
96
|
+
|
97
|
+
|
98
|
+
</p>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<div id="footer">
|
106
|
+
Generated on Wed Jan 6 10:31:57 2010 by
|
107
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
108
|
+
0.5.2 (ruby-1.8.6).
|
109
|
+
</div>
|
110
|
+
|
111
|
+
</body>
|
112
|
+
</html>
|