feedzirra-redis 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +0 -1
- data/Gemfile.lock +0 -2
- data/VERSION +1 -1
- data/feedzirra-redis.gemspec +2 -4
- data/lib/feedzirra-redis.rb +9 -8
- data/test/fixtures/monkeys.atom +313 -0
- data/test/fixtures/monkeys_new.atom +157 -157
- data/test/helper.rb +0 -5
- data/test/test_feedzirra-redis.rb +31 -10
- metadata +3 -13
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -20,7 +20,6 @@ GEM
|
|
20
20
|
json (~> 1.4.6)
|
21
21
|
stringex (~> 1.2.0)
|
22
22
|
uuidtools (~> 2.1.2)
|
23
|
-
fakeweb (1.3.0)
|
24
23
|
fastercsv (1.5.4)
|
25
24
|
feedzirra (0.0.24)
|
26
25
|
activesupport (>= 2.3.8)
|
@@ -55,7 +54,6 @@ PLATFORMS
|
|
55
54
|
DEPENDENCIES
|
56
55
|
bundler (~> 1.0.0)
|
57
56
|
dm-redis-adapter
|
58
|
-
fakeweb
|
59
57
|
feedzirra
|
60
58
|
i18n
|
61
59
|
jeweler (~> 1.6.2)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/feedzirra-redis.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{feedzirra-redis}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Logan Koester"]
|
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
"VERSION",
|
28
28
|
"feedzirra-redis.gemspec",
|
29
29
|
"lib/feedzirra-redis.rb",
|
30
|
+
"test/fixtures/monkeys.atom",
|
30
31
|
"test/fixtures/monkeys_new.atom",
|
31
32
|
"test/fixtures/monkeys_old.atom",
|
32
33
|
"test/helper.rb",
|
@@ -49,7 +50,6 @@ Gem::Specification.new do |s|
|
|
49
50
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
50
51
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
51
52
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
52
|
-
s.add_development_dependency(%q<fakeweb>, [">= 0"])
|
53
53
|
else
|
54
54
|
s.add_dependency(%q<dm-redis-adapter>, [">= 0"])
|
55
55
|
s.add_dependency(%q<feedzirra>, [">= 0"])
|
@@ -58,7 +58,6 @@ Gem::Specification.new do |s|
|
|
58
58
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
59
59
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
60
60
|
s.add_dependency(%q<rcov>, [">= 0"])
|
61
|
-
s.add_dependency(%q<fakeweb>, [">= 0"])
|
62
61
|
end
|
63
62
|
else
|
64
63
|
s.add_dependency(%q<dm-redis-adapter>, [">= 0"])
|
@@ -68,7 +67,6 @@ Gem::Specification.new do |s|
|
|
68
67
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
69
68
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
70
69
|
s.add_dependency(%q<rcov>, [">= 0"])
|
71
|
-
s.add_dependency(%q<fakeweb>, [">= 0"])
|
72
70
|
end
|
73
71
|
end
|
74
72
|
|
data/lib/feedzirra-redis.rb
CHANGED
@@ -29,7 +29,8 @@ module FeedzirraRedis
|
|
29
29
|
|
30
30
|
def add_entries(entries)
|
31
31
|
entries.each do |entry|
|
32
|
-
|
32
|
+
unique_id = entry.id || entry.url
|
33
|
+
redis_entry = Entry.first_or_create( {:guid => unique_id}, {
|
33
34
|
:title => entry.title,
|
34
35
|
:summary => entry.summary,
|
35
36
|
:url => entry.url,
|
@@ -43,19 +44,22 @@ module FeedzirraRedis
|
|
43
44
|
if urls.is_a?(String)
|
44
45
|
feed = Feedzirra::Feed.fetch_and_parse(urls, options)
|
45
46
|
update_redis_from feed
|
46
|
-
|
47
|
+
elsif urls.is_a?(Array)
|
47
48
|
feeds = Feedzirra::Feed.fetch_and_parse(urls, options)
|
48
49
|
redis_feeds = {}
|
49
50
|
feeds.map do |feed|
|
50
51
|
redis_feed = update_redis_from feed
|
51
52
|
redis_feeds.merge!(redis_feed.feed_url => redis_feed)
|
52
53
|
end
|
54
|
+
else
|
55
|
+
raise "Unexpected urls class #{urls.class}"
|
53
56
|
end
|
54
57
|
end
|
55
58
|
|
56
59
|
# Delegate for compatibility
|
57
60
|
def self.update(feeds, options = {})
|
58
|
-
|
61
|
+
feeds.is_a?(Array) ? urls = feeds.map { |f| f.feed_url } : urls = feeds.feed_url
|
62
|
+
self.fetch_and_parse(urls, options)
|
59
63
|
end
|
60
64
|
|
61
65
|
private
|
@@ -67,11 +71,8 @@ module FeedzirraRedis
|
|
67
71
|
:etag => feed.etag,
|
68
72
|
:last_modified => feed.last_modified
|
69
73
|
})
|
70
|
-
feed.entries
|
71
|
-
|
72
|
-
})
|
73
|
-
|
74
|
-
end
|
74
|
+
redis_feed.add_entries(feed.entries)
|
75
|
+
redis_feed.save
|
75
76
|
return redis_feed
|
76
77
|
end
|
77
78
|
end
|
@@ -0,0 +1,313 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<feed xmlns:google="http://base.google.com/ns/1.0" xml:lang="en-US" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns="http://www.w3.org/2005/Atom" xmlns:twitter="http://api.twitter.com/">
|
3
|
+
<id>tag:search.twitter.com,2005:search/monkeys</id>
|
4
|
+
<link type="text/html" href="http://search.twitter.com/search?q=monkeys" rel="alternate"/>
|
5
|
+
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?q=monkeys" rel="self"/>
|
6
|
+
<title>monkeys - Twitter Search</title>
|
7
|
+
<link type="application/opensearchdescription+xml" href="http://search.twitter.com/opensearch.xml" rel="search"/>
|
8
|
+
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?q=monkeys&since_id=93416858476232704" rel="refresh"/>
|
9
|
+
<twitter:warning>since_id removed for pagination.</twitter:warning>
|
10
|
+
<updated>2011-07-19T20:28:09Z</updated>
|
11
|
+
<openSearch:itemsPerPage>15</openSearch:itemsPerPage>
|
12
|
+
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?max_id=93416858476232704&page=2&q=monkeys" rel="next"/>
|
13
|
+
<entry>
|
14
|
+
<id>tag:search.twitter.com,2005:93416858476232704</id>
|
15
|
+
<published>2011-07-19T20:28:09Z</published>
|
16
|
+
<link type="text/html" href="http://twitter.com/Toots_90/statuses/93416858476232704" rel="alternate"/>
|
17
|
+
<title>Can't beat a bit of old school Arctic Monkeys.</title>
|
18
|
+
<content type="html">Can&apos;t beat a bit of old school Arctic <b>Monkeys</b>.</content>
|
19
|
+
<updated>2011-07-19T20:28:09Z</updated>
|
20
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1371302215/016w_normal.jpg" rel="image"/>
|
21
|
+
<twitter:geo>
|
22
|
+
</twitter:geo>
|
23
|
+
<twitter:metadata>
|
24
|
+
<twitter:result_type>recent</twitter:result_type>
|
25
|
+
</twitter:metadata>
|
26
|
+
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
27
|
+
<twitter:lang>en</twitter:lang>
|
28
|
+
<author>
|
29
|
+
<name>Toots_90 (Tabi Jones)</name>
|
30
|
+
<uri>http://twitter.com/Toots_90</uri>
|
31
|
+
</author>
|
32
|
+
</entry>
|
33
|
+
<entry>
|
34
|
+
<id>tag:search.twitter.com,2005:93416857209552896</id>
|
35
|
+
<published>2011-07-19T20:28:09Z</published>
|
36
|
+
<link type="text/html" href="http://twitter.com/MinnetonkaTwin/statuses/93416857209552896" rel="alternate"/>
|
37
|
+
<title>RT @MrBill01: You asked, and yes its true! - http://bit.ly/iyaqwl - I am a #Monkey's #Uncle!!!</title>
|
38
|
+
<content type="html">RT <a href="http://twitter.com/MrBill01">@MrBill01</a>: You asked, and yes its true! - <a href="http://bit.ly/iyaqwl">http://bit.ly/iyaqwl</a> - I am a <a href="http://search.twitter.com/search?q=%23Monkey" onclick="pageTracker._setCustomVar(2, 'result_type', 'recent', 3);pageTracker._trackPageview('/intra/hashtag/#Monkey');">#Monkey</a>&apos;s <a href="http://search.twitter.com/search?q=%23Uncle" onclick="pageTracker._setCustomVar(2, 'result_type', 'recent', 3);pageTracker._trackPageview('/intra/hashtag/#Uncle');">#Uncle</a>!!!</content>
|
39
|
+
<updated>2011-07-19T20:28:09Z</updated>
|
40
|
+
<link type="image/png" href="http://a0.twimg.com/profile_images/1286228873/Laura___Linda_004_normal.JPG" rel="image"/>
|
41
|
+
<twitter:geo>
|
42
|
+
</twitter:geo>
|
43
|
+
<twitter:metadata>
|
44
|
+
<twitter:result_type>recent</twitter:result_type>
|
45
|
+
</twitter:metadata>
|
46
|
+
<twitter:source><a href="http://www.twaitter.com" rel="nofollow">Twaitter</a></twitter:source>
|
47
|
+
<twitter:lang>en</twitter:lang>
|
48
|
+
<author>
|
49
|
+
<name>MinnetonkaTwin (Linda Rogers)</name>
|
50
|
+
<uri>http://twitter.com/MinnetonkaTwin</uri>
|
51
|
+
</author>
|
52
|
+
</entry>
|
53
|
+
<entry>
|
54
|
+
<id>tag:search.twitter.com,2005:93416797512024065</id>
|
55
|
+
<published>2011-07-19T20:27:54Z</published>
|
56
|
+
<link type="text/html" href="http://twitter.com/wizkhalifeh/statuses/93416797512024065" rel="alternate"/>
|
57
|
+
<title>RT @iFucked_Jbarbie: I no longer call girls hoes or bitches. I call them monkeys.</title>
|
58
|
+
<content type="html">RT <a href="http://twitter.com/iFucked_Jbarbie">@iFucked_Jbarbie</a>: I no longer call girls hoes or bitches. I call them <b>monkeys</b>.</content>
|
59
|
+
<updated>2011-07-19T20:27:54Z</updated>
|
60
|
+
<link type="image/png" href="http://a3.twimg.com/profile_images/1380264334/40547_415279834666_768024666_4671457_3435242_n_normal.jpg" rel="image"/>
|
61
|
+
<twitter:geo>
|
62
|
+
</twitter:geo>
|
63
|
+
<twitter:metadata>
|
64
|
+
<twitter:result_type>recent</twitter:result_type>
|
65
|
+
</twitter:metadata>
|
66
|
+
<twitter:source><a href="http://ubersocial.com" rel="nofollow">ÜberSocial for BlackBerry</a></twitter:source>
|
67
|
+
<twitter:lang>en</twitter:lang>
|
68
|
+
<author>
|
69
|
+
<name>wizkhalifeh (Michael Khalifeh)</name>
|
70
|
+
<uri>http://twitter.com/wizkhalifeh</uri>
|
71
|
+
</author>
|
72
|
+
</entry>
|
73
|
+
<entry>
|
74
|
+
<id>tag:search.twitter.com,2005:93416771427635200</id>
|
75
|
+
<published>2011-07-19T20:27:48Z</published>
|
76
|
+
<link type="text/html" href="http://twitter.com/Wonderland_ESA/statuses/93416771427635200" rel="alternate"/>
|
77
|
+
<title>RT @JodiWonderland: Yay!!! Birthday week starts today with rescue Monkeys!!! All my little monkeys taking me to see real little monkeys! Love it!!! Xxxx</title>
|
78
|
+
<content type="html">RT <a href="http://twitter.com/JodiWonderland">@JodiWonderland</a>: Yay!!! Birthday week starts today with rescue <b>Monkeys</b>!!! All my little <b>monkeys</b> taking me to see real little <b>monkeys</b>! Love it!!! Xxxx</content>
|
79
|
+
<updated>2011-07-19T20:27:48Z</updated>
|
80
|
+
<link type="image/png" href="http://a2.twimg.com/profile_images/1434781989/nuevo_avatar_normal.jpg" rel="image"/>
|
81
|
+
<twitter:geo>
|
82
|
+
</twitter:geo>
|
83
|
+
<twitter:metadata>
|
84
|
+
<twitter:result_type>recent</twitter:result_type>
|
85
|
+
</twitter:metadata>
|
86
|
+
<twitter:source><a href="http://www.echofon.com/" rel="nofollow">Echofon</a></twitter:source>
|
87
|
+
<twitter:lang>en</twitter:lang>
|
88
|
+
<author>
|
89
|
+
<name>Wonderland_ESA (Wondies El Salvador)</name>
|
90
|
+
<uri>http://twitter.com/Wonderland_ESA</uri>
|
91
|
+
</author>
|
92
|
+
</entry>
|
93
|
+
<entry>
|
94
|
+
<id>tag:search.twitter.com,2005:93416728360534020</id>
|
95
|
+
<published>2011-07-19T20:27:38Z</published>
|
96
|
+
<link type="text/html" href="http://twitter.com/KlrTwiLuver/statuses/93416728360534020" rel="alternate"/>
|
97
|
+
<title>@SunnySnark @quantumfizzx Just heard from @foundmyedward that 100 Monkeys is inKCMO on Aug 11. What ya say??</title>
|
98
|
+
<content type="html"><a href="http://twitter.com/SunnySnark">@SunnySnark</a> <a href="http://twitter.com/quantumfizzx">@quantumfizzx</a> Just heard from <a href="http://twitter.com/foundmyedward">@foundmyedward</a> that 100 <b>Monkeys</b> is inKCMO on Aug 11. What ya say??</content>
|
99
|
+
<updated>2011-07-19T20:27:38Z</updated>
|
100
|
+
<link type="image/png" href="http://a2.twimg.com/profile_images/1448216508/image_normal.jpg" rel="image"/>
|
101
|
+
<twitter:geo>
|
102
|
+
</twitter:geo>
|
103
|
+
<twitter:metadata>
|
104
|
+
<twitter:result_type>recent</twitter:result_type>
|
105
|
+
</twitter:metadata>
|
106
|
+
<twitter:source><a href="http://twitter.com/#!/download/iphone" rel="nofollow">Twitter for iPhone</a></twitter:source>
|
107
|
+
<twitter:lang>en</twitter:lang>
|
108
|
+
<author>
|
109
|
+
<name>KlrTwiLuver (KlrTwiLuver)</name>
|
110
|
+
<uri>http://twitter.com/KlrTwiLuver</uri>
|
111
|
+
</author>
|
112
|
+
</entry>
|
113
|
+
<entry>
|
114
|
+
<id>tag:search.twitter.com,2005:93416711990165505</id>
|
115
|
+
<published>2011-07-19T20:27:34Z</published>
|
116
|
+
<link type="text/html" href="http://twitter.com/poxamario/statuses/93416711990165505" rel="alternate"/>
|
117
|
+
<title>Arctic Monkeys diz: SHALALALALAAAAAAAA</title>
|
118
|
+
<content type="html">Arctic <b>Monkeys</b> diz: SHALALALALAAAAAAAA</content>
|
119
|
+
<updated>2011-07-19T20:27:34Z</updated>
|
120
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1445779110/100_7524tt_normal.jpg" rel="image"/>
|
121
|
+
<twitter:geo>
|
122
|
+
</twitter:geo>
|
123
|
+
<twitter:metadata>
|
124
|
+
<twitter:result_type>recent</twitter:result_type>
|
125
|
+
</twitter:metadata>
|
126
|
+
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
127
|
+
<twitter:lang>in</twitter:lang>
|
128
|
+
<author>
|
129
|
+
<name>poxamario (M. San)</name>
|
130
|
+
<uri>http://twitter.com/poxamario</uri>
|
131
|
+
</author>
|
132
|
+
</entry>
|
133
|
+
<entry>
|
134
|
+
<id>tag:search.twitter.com,2005:93416678913884161</id>
|
135
|
+
<published>2011-07-19T20:27:26Z</published>
|
136
|
+
<link type="text/html" href="http://twitter.com/CrapSandviche/statuses/93416678913884161" rel="alternate"/>
|
137
|
+
<title>@travisrodgers So NO MOVIES WITH MONKEYS. what about Cowboys vs Aliens. Thanks.</title>
|
138
|
+
<content type="html"><a href="http://twitter.com/travisrodgers">@travisrodgers</a> So NO MOVIES WITH <b>MONKEYS</b>. what about Cowboys vs Aliens. Thanks.</content>
|
139
|
+
<updated>2011-07-19T20:27:26Z</updated>
|
140
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1431201706/RobertCrap2_normal.jpg" rel="image"/>
|
141
|
+
<twitter:geo>
|
142
|
+
</twitter:geo>
|
143
|
+
<twitter:metadata>
|
144
|
+
<twitter:result_type>recent</twitter:result_type>
|
145
|
+
</twitter:metadata>
|
146
|
+
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
147
|
+
<twitter:lang>en</twitter:lang>
|
148
|
+
<author>
|
149
|
+
<name>CrapSandviche (#1 Fan of Neagli)</name>
|
150
|
+
<uri>http://twitter.com/CrapSandviche</uri>
|
151
|
+
</author>
|
152
|
+
</entry>
|
153
|
+
<entry>
|
154
|
+
<id>tag:search.twitter.com,2005:93416625633632256</id>
|
155
|
+
<published>2011-07-19T20:27:13Z</published>
|
156
|
+
<link type="text/html" href="http://twitter.com/cocteaulab/statuses/93416625633632256" rel="alternate"/>
|
157
|
+
<title>RT @juangallagher: Muchas bandas quisieran un Baterista como Matt Helders de los Arctic Monkeys, que bueno es ese cabron.</title>
|
158
|
+
<content type="html">RT <a href="http://twitter.com/juangallagher">@juangallagher</a>: Muchas bandas quisieran un Baterista como Matt Helders de los Arctic <b>Monkeys</b>, que bueno es ese cabron.</content>
|
159
|
+
<updated>2011-07-19T20:27:13Z</updated>
|
160
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1241377562/Copia_de__DSC0028Total_normal.jpg" rel="image"/>
|
161
|
+
<twitter:geo>
|
162
|
+
</twitter:geo>
|
163
|
+
<twitter:metadata>
|
164
|
+
<twitter:result_type>recent</twitter:result_type>
|
165
|
+
</twitter:metadata>
|
166
|
+
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
167
|
+
<twitter:lang>es</twitter:lang>
|
168
|
+
<author>
|
169
|
+
<name>cocteaulab (Jean C. Rivadeneira)</name>
|
170
|
+
<uri>http://twitter.com/cocteaulab</uri>
|
171
|
+
</author>
|
172
|
+
</entry>
|
173
|
+
<entry>
|
174
|
+
<id>tag:search.twitter.com,2005:93416617517662208</id>
|
175
|
+
<published>2011-07-19T20:27:11Z</published>
|
176
|
+
<link type="text/html" href="http://twitter.com/perceptionalize/statuses/93416617517662208" rel="alternate"/>
|
177
|
+
<title>monkeys and copyright... http://huff.to/o6ySUs</title>
|
178
|
+
<content type="html"><b>monkeys</b> and copyright... <a href="http://huff.to/o6ySUs">http://huff.to/o6ySUs</a></content>
|
179
|
+
<updated>2011-07-19T20:27:11Z</updated>
|
180
|
+
<link type="image/png" href="http://a2.twimg.com/profile_images/1184639208/Unbenannt-1_normal.jpg" rel="image"/>
|
181
|
+
<twitter:geo>
|
182
|
+
</twitter:geo>
|
183
|
+
<twitter:metadata>
|
184
|
+
<twitter:result_type>recent</twitter:result_type>
|
185
|
+
</twitter:metadata>
|
186
|
+
<twitter:source><a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></twitter:source>
|
187
|
+
<twitter:lang>en</twitter:lang>
|
188
|
+
<author>
|
189
|
+
<name>perceptionalize (Maria Schreiber)</name>
|
190
|
+
<uri>http://twitter.com/perceptionalize</uri>
|
191
|
+
</author>
|
192
|
+
</entry>
|
193
|
+
<entry>
|
194
|
+
<id>tag:search.twitter.com,2005:93416611993747456</id>
|
195
|
+
<published>2011-07-19T20:27:10Z</published>
|
196
|
+
<link type="text/html" href="http://twitter.com/EvaEvsEva/statuses/93416611993747456" rel="alternate"/>
|
197
|
+
<title>Photoset: fuckyeaharcticmonkeys: http://tumblr.com/xjz3l8gju8</title>
|
198
|
+
<content type="html">Photoset: fuckyeaharcticmonkeys: <a href="http://tumblr.com/xjz3l8gju8">http://tumblr.com/xjz3l8gju8</a></content>
|
199
|
+
<updated>2011-07-19T20:27:10Z</updated>
|
200
|
+
<link type="image/png" href="http://a3.twimg.com/profile_images/1440117754/DSC02724__479x640__normal.jpg" rel="image"/>
|
201
|
+
<twitter:geo>
|
202
|
+
</twitter:geo>
|
203
|
+
<twitter:metadata>
|
204
|
+
<twitter:result_type>recent</twitter:result_type>
|
205
|
+
</twitter:metadata>
|
206
|
+
<twitter:source><a href="http://www.tumblr.com/" rel="nofollow">Tumblr</a></twitter:source>
|
207
|
+
<twitter:lang>fr</twitter:lang>
|
208
|
+
<author>
|
209
|
+
<name>EvaEvsEva (Eva Paula )</name>
|
210
|
+
<uri>http://twitter.com/EvaEvsEva</uri>
|
211
|
+
</author>
|
212
|
+
</entry>
|
213
|
+
<entry>
|
214
|
+
<id>tag:search.twitter.com,2005:93416597934456832</id>
|
215
|
+
<published>2011-07-19T20:27:07Z</published>
|
216
|
+
<link type="text/html" href="http://twitter.com/rachelleannee/statuses/93416597934456832" rel="alternate"/>
|
217
|
+
<title>LOL Kathleen's dream about monkeys</title>
|
218
|
+
<content type="html">LOL Kathleen&apos;s dream about <b>monkeys</b></content>
|
219
|
+
<updated>2011-07-19T20:27:07Z</updated>
|
220
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1432495459/Picture0222_normal.jpg" rel="image"/>
|
221
|
+
<twitter:geo>
|
222
|
+
</twitter:geo>
|
223
|
+
<twitter:metadata>
|
224
|
+
<twitter:result_type>recent</twitter:result_type>
|
225
|
+
</twitter:metadata>
|
226
|
+
<twitter:source><a href="http://twitter.com/devices" rel="nofollow">txt</a></twitter:source>
|
227
|
+
<twitter:lang>en</twitter:lang>
|
228
|
+
<author>
|
229
|
+
<name>rachelleannee (Rachelle A. Rivera)</name>
|
230
|
+
<uri>http://twitter.com/rachelleannee</uri>
|
231
|
+
</author>
|
232
|
+
</entry>
|
233
|
+
<entry>
|
234
|
+
<id>tag:search.twitter.com,2005:93416567165026304</id>
|
235
|
+
<published>2011-07-19T20:26:59Z</published>
|
236
|
+
<link type="text/html" href="http://twitter.com/tfalls13/statuses/93416567165026304" rel="alternate"/>
|
237
|
+
<title>@Cubanaaa_ @bigwilli69 You may act white..but just know that between the both of yall #mixedpeople on us "porch monkeys".</title>
|
238
|
+
<content type="html"><a href="http://twitter.com/Cubanaaa_">@Cubanaaa_</a> <a href="http://twitter.com/bigwilli69">@bigwilli69</a> You may act white..but just know that between the both of yall <a href="http://search.twitter.com/search?q=%23mixedpeople" onclick="pageTracker._setCustomVar(2, 'result_type', 'recent', 3);pageTracker._trackPageview('/intra/hashtag/#mixedpeople');">#mixedpeople</a> on us &quot;porch <b>monkeys</b>&quot;.</content>
|
239
|
+
<updated>2011-07-19T20:26:59Z</updated>
|
240
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1433774027/2SVCbC4R_normal" rel="image"/>
|
241
|
+
<twitter:geo>
|
242
|
+
</twitter:geo>
|
243
|
+
<twitter:metadata>
|
244
|
+
<twitter:result_type>recent</twitter:result_type>
|
245
|
+
</twitter:metadata>
|
246
|
+
<twitter:source><a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a></twitter:source>
|
247
|
+
<twitter:lang>en</twitter:lang>
|
248
|
+
<author>
|
249
|
+
<name>tfalls13 (Trent Falls )</name>
|
250
|
+
<uri>http://twitter.com/tfalls13</uri>
|
251
|
+
</author>
|
252
|
+
</entry>
|
253
|
+
<entry>
|
254
|
+
<id>tag:search.twitter.com,2005:93416537817485312</id>
|
255
|
+
<published>2011-07-19T20:26:52Z</published>
|
256
|
+
<link type="text/html" href="http://twitter.com/andyohara52/statuses/93416537817485312" rel="alternate"/>
|
257
|
+
<title>The three wise monkeys. Not me. Not me and Not me. Cant see Cant hear Cant speak</title>
|
258
|
+
<content type="html">The three wise <b>monkeys</b>. Not me. Not me and Not me. Cant see Cant hear Cant speak</content>
|
259
|
+
<updated>2011-07-19T20:26:52Z</updated>
|
260
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1368528953/63474592352032250_normal.jpg" rel="image"/>
|
261
|
+
<twitter:geo>
|
262
|
+
</twitter:geo>
|
263
|
+
<twitter:metadata>
|
264
|
+
<twitter:result_type>recent</twitter:result_type>
|
265
|
+
</twitter:metadata>
|
266
|
+
<twitter:source><a href="http://www.snaptu.com" rel="nofollow">Snaptu</a></twitter:source>
|
267
|
+
<twitter:lang>en</twitter:lang>
|
268
|
+
<author>
|
269
|
+
<name>andyohara52 (andrew ohara)</name>
|
270
|
+
<uri>http://twitter.com/andyohara52</uri>
|
271
|
+
</author>
|
272
|
+
</entry>
|
273
|
+
<entry>
|
274
|
+
<id>tag:search.twitter.com,2005:93416516598505472</id>
|
275
|
+
<published>2011-07-19T20:26:47Z</published>
|
276
|
+
<link type="text/html" href="http://twitter.com/Mr_Blackett/statuses/93416516598505472" rel="alternate"/>
|
277
|
+
<title>Monkeys are the coolest animals.</title>
|
278
|
+
<content type="html"><b>Monkeys</b> are the coolest animals.</content>
|
279
|
+
<updated>2011-07-19T20:26:47Z</updated>
|
280
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1449526393/b4_normal.jpg" rel="image"/>
|
281
|
+
<twitter:geo>
|
282
|
+
</twitter:geo>
|
283
|
+
<twitter:metadata>
|
284
|
+
<twitter:result_type>recent</twitter:result_type>
|
285
|
+
</twitter:metadata>
|
286
|
+
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
287
|
+
<twitter:lang>en</twitter:lang>
|
288
|
+
<author>
|
289
|
+
<name>Mr_Blackett (Brennon Blackett)</name>
|
290
|
+
<uri>http://twitter.com/Mr_Blackett</uri>
|
291
|
+
</author>
|
292
|
+
</entry>
|
293
|
+
<entry>
|
294
|
+
<id>tag:search.twitter.com,2005:93416506418925568</id>
|
295
|
+
<published>2011-07-19T20:26:45Z</published>
|
296
|
+
<link type="text/html" href="http://twitter.com/muzza299/statuses/93416506418925568" rel="alternate"/>
|
297
|
+
<title>@chiefie @bebe33 @ronindotca timing is everything. NZ's always last on the list. Unless it's in beta. Then we're the test-monkeys.</title>
|
298
|
+
<content type="html"><a href="http://twitter.com/chiefie">@chiefie</a> <a href="http://twitter.com/bebe33">@bebe33</a> <a href="http://twitter.com/ronindotca">@ronindotca</a> timing is everything. NZ&apos;s always last on the list. Unless it&apos;s in beta. Then we&apos;re the test-<b>monkeys</b>.</content>
|
299
|
+
<updated>2011-07-19T20:26:45Z</updated>
|
300
|
+
<link type="image/png" href="http://a3.twimg.com/profile_images/1282082203/muzza299_normal.jpeg" rel="image"/>
|
301
|
+
<twitter:geo>
|
302
|
+
</twitter:geo>
|
303
|
+
<twitter:metadata>
|
304
|
+
<twitter:result_type>recent</twitter:result_type>
|
305
|
+
</twitter:metadata>
|
306
|
+
<twitter:source><a href="http://www.osfoora.com" rel="nofollow">Osfoora for iPhone</a></twitter:source>
|
307
|
+
<twitter:lang>en</twitter:lang>
|
308
|
+
<author>
|
309
|
+
<name>muzza299 (Hugh McCracken)</name>
|
310
|
+
<uri>http://twitter.com/muzza299</uri>
|
311
|
+
</author>
|
312
|
+
</entry>
|
313
|
+
</feed>
|
@@ -5,19 +5,19 @@
|
|
5
5
|
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?q=monkeys" rel="self"/>
|
6
6
|
<title>monkeys - Twitter Search</title>
|
7
7
|
<link type="application/opensearchdescription+xml" href="http://search.twitter.com/opensearch.xml" rel="search"/>
|
8
|
-
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?q=monkeys&since_id=
|
8
|
+
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?q=monkeys&since_id=93416858476232704" rel="refresh"/>
|
9
9
|
<twitter:warning>since_id removed for pagination.</twitter:warning>
|
10
|
-
<updated>2011-07-
|
10
|
+
<updated>2011-07-19T20:28:09Z</updated>
|
11
11
|
<openSearch:itemsPerPage>15</openSearch:itemsPerPage>
|
12
|
-
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?max_id=
|
12
|
+
<link type="application/atom+xml" href="http://search.twitter.com/search.atom?max_id=93416858476232704&page=2&q=monkeys" rel="next"/>
|
13
13
|
<entry>
|
14
|
-
<id>tag:search.twitter.com,2005:
|
15
|
-
<published>2011-07-
|
16
|
-
<link type="text/html" href="http://twitter.com/
|
17
|
-
<title>
|
18
|
-
<content type="html">
|
19
|
-
<updated>2011-07-
|
20
|
-
<link type="image/png" href="http://a1.twimg.com/profile_images/
|
14
|
+
<id>tag:search.twitter.com,2005:93416858476232704</id>
|
15
|
+
<published>2011-07-19T20:28:09Z</published>
|
16
|
+
<link type="text/html" href="http://twitter.com/Toots_90/statuses/93416858476232704" rel="alternate"/>
|
17
|
+
<title>Can't beat a bit of old school Arctic Monkeys.</title>
|
18
|
+
<content type="html">Can&apos;t beat a bit of old school Arctic <b>Monkeys</b>.</content>
|
19
|
+
<updated>2011-07-19T20:28:09Z</updated>
|
20
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1371302215/016w_normal.jpg" rel="image"/>
|
21
21
|
<twitter:geo>
|
22
22
|
</twitter:geo>
|
23
23
|
<twitter:metadata>
|
@@ -26,258 +26,258 @@
|
|
26
26
|
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
27
27
|
<twitter:lang>en</twitter:lang>
|
28
28
|
<author>
|
29
|
-
<name>
|
30
|
-
<uri>http://twitter.com/
|
29
|
+
<name>Toots_90 (Tabi Jones)</name>
|
30
|
+
<uri>http://twitter.com/Toots_90</uri>
|
31
31
|
</author>
|
32
32
|
</entry>
|
33
33
|
<entry>
|
34
|
-
<id>tag:search.twitter.com,2005:
|
35
|
-
<published>2011-07-
|
36
|
-
<link type="text/html" href="http://twitter.com/
|
37
|
-
<title>
|
38
|
-
<content type="html">
|
39
|
-
<updated>2011-07-
|
40
|
-
<link type="image/png" href="http://
|
34
|
+
<id>tag:search.twitter.com,2005:93416857209552896</id>
|
35
|
+
<published>2011-07-19T20:28:09Z</published>
|
36
|
+
<link type="text/html" href="http://twitter.com/MinnetonkaTwin/statuses/93416857209552896" rel="alternate"/>
|
37
|
+
<title>RT @MrBill01: You asked, and yes its true! - http://bit.ly/iyaqwl - I am a #Monkey's #Uncle!!!</title>
|
38
|
+
<content type="html">RT <a href="http://twitter.com/MrBill01">@MrBill01</a>: You asked, and yes its true! - <a href="http://bit.ly/iyaqwl">http://bit.ly/iyaqwl</a> - I am a <a href="http://search.twitter.com/search?q=%23Monkey" onclick="pageTracker._setCustomVar(2, 'result_type', 'recent', 3);pageTracker._trackPageview('/intra/hashtag/#Monkey');">#Monkey</a>&apos;s <a href="http://search.twitter.com/search?q=%23Uncle" onclick="pageTracker._setCustomVar(2, 'result_type', 'recent', 3);pageTracker._trackPageview('/intra/hashtag/#Uncle');">#Uncle</a>!!!</content>
|
39
|
+
<updated>2011-07-19T20:28:09Z</updated>
|
40
|
+
<link type="image/png" href="http://a0.twimg.com/profile_images/1286228873/Laura___Linda_004_normal.JPG" rel="image"/>
|
41
41
|
<twitter:geo>
|
42
42
|
</twitter:geo>
|
43
43
|
<twitter:metadata>
|
44
44
|
<twitter:result_type>recent</twitter:result_type>
|
45
45
|
</twitter:metadata>
|
46
|
-
<twitter:source><a href="http://www.
|
46
|
+
<twitter:source><a href="http://www.twaitter.com" rel="nofollow">Twaitter</a></twitter:source>
|
47
47
|
<twitter:lang>en</twitter:lang>
|
48
48
|
<author>
|
49
|
-
<name>
|
50
|
-
<uri>http://twitter.com/
|
49
|
+
<name>MinnetonkaTwin (Linda Rogers)</name>
|
50
|
+
<uri>http://twitter.com/MinnetonkaTwin</uri>
|
51
51
|
</author>
|
52
52
|
</entry>
|
53
53
|
<entry>
|
54
|
-
<id>tag:search.twitter.com,2005:
|
55
|
-
<published>2011-07-
|
56
|
-
<link type="text/html" href="http://twitter.com/
|
57
|
-
<title>
|
58
|
-
<content type="html">
|
59
|
-
<updated>2011-07-
|
60
|
-
<link type="image/png" href="http://
|
54
|
+
<id>tag:search.twitter.com,2005:93416797512024065</id>
|
55
|
+
<published>2011-07-19T20:27:54Z</published>
|
56
|
+
<link type="text/html" href="http://twitter.com/wizkhalifeh/statuses/93416797512024065" rel="alternate"/>
|
57
|
+
<title>RT @iFucked_Jbarbie: I no longer call girls hoes or bitches. I call them monkeys.</title>
|
58
|
+
<content type="html">RT <a href="http://twitter.com/iFucked_Jbarbie">@iFucked_Jbarbie</a>: I no longer call girls hoes or bitches. I call them <b>monkeys</b>.</content>
|
59
|
+
<updated>2011-07-19T20:27:54Z</updated>
|
60
|
+
<link type="image/png" href="http://a3.twimg.com/profile_images/1380264334/40547_415279834666_768024666_4671457_3435242_n_normal.jpg" rel="image"/>
|
61
61
|
<twitter:geo>
|
62
62
|
</twitter:geo>
|
63
63
|
<twitter:metadata>
|
64
64
|
<twitter:result_type>recent</twitter:result_type>
|
65
65
|
</twitter:metadata>
|
66
|
-
<twitter:source><a href="http://
|
67
|
-
<twitter:lang>
|
66
|
+
<twitter:source><a href="http://ubersocial.com" rel="nofollow">ÜberSocial for BlackBerry</a></twitter:source>
|
67
|
+
<twitter:lang>en</twitter:lang>
|
68
68
|
<author>
|
69
|
-
<name>
|
70
|
-
<uri>http://twitter.com/
|
69
|
+
<name>wizkhalifeh (Michael Khalifeh)</name>
|
70
|
+
<uri>http://twitter.com/wizkhalifeh</uri>
|
71
71
|
</author>
|
72
72
|
</entry>
|
73
73
|
<entry>
|
74
|
-
<id>tag:search.twitter.com,2005:
|
75
|
-
<published>2011-07-
|
76
|
-
<link type="text/html" href="http://twitter.com/
|
77
|
-
<title
|
78
|
-
<content type="html"
|
79
|
-
<updated>2011-07-
|
80
|
-
<link type="image/png" href="http://
|
74
|
+
<id>tag:search.twitter.com,2005:93416771427635200</id>
|
75
|
+
<published>2011-07-19T20:27:48Z</published>
|
76
|
+
<link type="text/html" href="http://twitter.com/Wonderland_ESA/statuses/93416771427635200" rel="alternate"/>
|
77
|
+
<title>RT @JodiWonderland: Yay!!! Birthday week starts today with rescue Monkeys!!! All my little monkeys taking me to see real little monkeys! Love it!!! Xxxx</title>
|
78
|
+
<content type="html">RT <a href="http://twitter.com/JodiWonderland">@JodiWonderland</a>: Yay!!! Birthday week starts today with rescue <b>Monkeys</b>!!! All my little <b>monkeys</b> taking me to see real little <b>monkeys</b>! Love it!!! Xxxx</content>
|
79
|
+
<updated>2011-07-19T20:27:48Z</updated>
|
80
|
+
<link type="image/png" href="http://a2.twimg.com/profile_images/1434781989/nuevo_avatar_normal.jpg" rel="image"/>
|
81
81
|
<twitter:geo>
|
82
82
|
</twitter:geo>
|
83
83
|
<twitter:metadata>
|
84
84
|
<twitter:result_type>recent</twitter:result_type>
|
85
85
|
</twitter:metadata>
|
86
|
-
<twitter:source><a href="http://
|
86
|
+
<twitter:source><a href="http://www.echofon.com/" rel="nofollow">Echofon</a></twitter:source>
|
87
87
|
<twitter:lang>en</twitter:lang>
|
88
88
|
<author>
|
89
|
-
<name>
|
90
|
-
<uri>http://twitter.com/
|
89
|
+
<name>Wonderland_ESA (Wondies El Salvador)</name>
|
90
|
+
<uri>http://twitter.com/Wonderland_ESA</uri>
|
91
91
|
</author>
|
92
92
|
</entry>
|
93
93
|
<entry>
|
94
|
-
<id>tag:search.twitter.com,2005:
|
95
|
-
<published>2011-07-
|
96
|
-
<link type="text/html" href="http://twitter.com/
|
97
|
-
<title
|
98
|
-
<content type="html"
|
99
|
-
<updated>2011-07-
|
100
|
-
<link type="image/png" href="http://
|
94
|
+
<id>tag:search.twitter.com,2005:93416728360534020</id>
|
95
|
+
<published>2011-07-19T20:27:38Z</published>
|
96
|
+
<link type="text/html" href="http://twitter.com/KlrTwiLuver/statuses/93416728360534020" rel="alternate"/>
|
97
|
+
<title>@SunnySnark @quantumfizzx Just heard from @foundmyedward that 100 Monkeys is inKCMO on Aug 11. What ya say??</title>
|
98
|
+
<content type="html"><a href="http://twitter.com/SunnySnark">@SunnySnark</a> <a href="http://twitter.com/quantumfizzx">@quantumfizzx</a> Just heard from <a href="http://twitter.com/foundmyedward">@foundmyedward</a> that 100 <b>Monkeys</b> is inKCMO on Aug 11. What ya say??</content>
|
99
|
+
<updated>2011-07-19T20:27:38Z</updated>
|
100
|
+
<link type="image/png" href="http://a2.twimg.com/profile_images/1448216508/image_normal.jpg" rel="image"/>
|
101
101
|
<twitter:geo>
|
102
102
|
</twitter:geo>
|
103
103
|
<twitter:metadata>
|
104
104
|
<twitter:result_type>recent</twitter:result_type>
|
105
105
|
</twitter:metadata>
|
106
|
-
<twitter:source><a href="http://
|
107
|
-
<twitter:lang>
|
106
|
+
<twitter:source><a href="http://twitter.com/#!/download/iphone" rel="nofollow">Twitter for iPhone</a></twitter:source>
|
107
|
+
<twitter:lang>en</twitter:lang>
|
108
108
|
<author>
|
109
|
-
<name>
|
110
|
-
<uri>http://twitter.com/
|
109
|
+
<name>KlrTwiLuver (KlrTwiLuver)</name>
|
110
|
+
<uri>http://twitter.com/KlrTwiLuver</uri>
|
111
111
|
</author>
|
112
112
|
</entry>
|
113
113
|
<entry>
|
114
|
-
<id>tag:search.twitter.com,2005:
|
115
|
-
<published>2011-07-
|
116
|
-
<link type="text/html" href="http://twitter.com/
|
117
|
-
<title>
|
118
|
-
<content type="html">
|
119
|
-
<updated>2011-07-
|
120
|
-
<link type="image/png" href="http://
|
114
|
+
<id>tag:search.twitter.com,2005:93416711990165505</id>
|
115
|
+
<published>2011-07-19T20:27:34Z</published>
|
116
|
+
<link type="text/html" href="http://twitter.com/poxamario/statuses/93416711990165505" rel="alternate"/>
|
117
|
+
<title>Arctic Monkeys diz: SHALALALALAAAAAAAA</title>
|
118
|
+
<content type="html">Arctic <b>Monkeys</b> diz: SHALALALALAAAAAAAA</content>
|
119
|
+
<updated>2011-07-19T20:27:34Z</updated>
|
120
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1445779110/100_7524tt_normal.jpg" rel="image"/>
|
121
121
|
<twitter:geo>
|
122
122
|
</twitter:geo>
|
123
123
|
<twitter:metadata>
|
124
124
|
<twitter:result_type>recent</twitter:result_type>
|
125
125
|
</twitter:metadata>
|
126
|
-
<twitter:source><a href="http://
|
127
|
-
<twitter:lang>
|
126
|
+
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
127
|
+
<twitter:lang>in</twitter:lang>
|
128
128
|
<author>
|
129
|
-
<name>
|
130
|
-
<uri>http://twitter.com/
|
129
|
+
<name>poxamario (M. San)</name>
|
130
|
+
<uri>http://twitter.com/poxamario</uri>
|
131
131
|
</author>
|
132
132
|
</entry>
|
133
133
|
<entry>
|
134
|
-
<id>tag:search.twitter.com,2005:
|
135
|
-
<published>2011-07-
|
136
|
-
<link type="text/html" href="http://twitter.com/
|
137
|
-
<title
|
138
|
-
<content type="html"
|
139
|
-
<updated>2011-07-
|
140
|
-
<link type="image/png" href="http://
|
134
|
+
<id>tag:search.twitter.com,2005:93416678913884161</id>
|
135
|
+
<published>2011-07-19T20:27:26Z</published>
|
136
|
+
<link type="text/html" href="http://twitter.com/CrapSandviche/statuses/93416678913884161" rel="alternate"/>
|
137
|
+
<title>@travisrodgers So NO MOVIES WITH MONKEYS. what about Cowboys vs Aliens. Thanks.</title>
|
138
|
+
<content type="html"><a href="http://twitter.com/travisrodgers">@travisrodgers</a> So NO MOVIES WITH <b>MONKEYS</b>. what about Cowboys vs Aliens. Thanks.</content>
|
139
|
+
<updated>2011-07-19T20:27:26Z</updated>
|
140
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1431201706/RobertCrap2_normal.jpg" rel="image"/>
|
141
141
|
<twitter:geo>
|
142
142
|
</twitter:geo>
|
143
143
|
<twitter:metadata>
|
144
144
|
<twitter:result_type>recent</twitter:result_type>
|
145
145
|
</twitter:metadata>
|
146
|
-
<twitter:source><a href="http://twitter.com
|
146
|
+
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
147
147
|
<twitter:lang>en</twitter:lang>
|
148
148
|
<author>
|
149
|
-
<name>
|
150
|
-
<uri>http://twitter.com/
|
149
|
+
<name>CrapSandviche (#1 Fan of Neagli)</name>
|
150
|
+
<uri>http://twitter.com/CrapSandviche</uri>
|
151
151
|
</author>
|
152
152
|
</entry>
|
153
153
|
<entry>
|
154
|
-
<id>tag:search.twitter.com,2005:
|
155
|
-
<published>2011-07-
|
156
|
-
<link type="text/html" href="http://twitter.com/
|
157
|
-
<title>RT @
|
158
|
-
<content type="html">RT <a href="http://twitter.com/
|
159
|
-
<updated>2011-07-
|
160
|
-
<link type="image/png" href="http://
|
154
|
+
<id>tag:search.twitter.com,2005:93416625633632256</id>
|
155
|
+
<published>2011-07-19T20:27:13Z</published>
|
156
|
+
<link type="text/html" href="http://twitter.com/cocteaulab/statuses/93416625633632256" rel="alternate"/>
|
157
|
+
<title>RT @juangallagher: Muchas bandas quisieran un Baterista como Matt Helders de los Arctic Monkeys, que bueno es ese cabron.</title>
|
158
|
+
<content type="html">RT <a href="http://twitter.com/juangallagher">@juangallagher</a>: Muchas bandas quisieran un Baterista como Matt Helders de los Arctic <b>Monkeys</b>, que bueno es ese cabron.</content>
|
159
|
+
<updated>2011-07-19T20:27:13Z</updated>
|
160
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1241377562/Copia_de__DSC0028Total_normal.jpg" rel="image"/>
|
161
161
|
<twitter:geo>
|
162
162
|
</twitter:geo>
|
163
163
|
<twitter:metadata>
|
164
164
|
<twitter:result_type>recent</twitter:result_type>
|
165
165
|
</twitter:metadata>
|
166
166
|
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
167
|
-
<twitter:lang>
|
167
|
+
<twitter:lang>es</twitter:lang>
|
168
168
|
<author>
|
169
|
-
<name>
|
170
|
-
<uri>http://twitter.com/
|
169
|
+
<name>cocteaulab (Jean C. Rivadeneira)</name>
|
170
|
+
<uri>http://twitter.com/cocteaulab</uri>
|
171
171
|
</author>
|
172
172
|
</entry>
|
173
173
|
<entry>
|
174
|
-
<id>tag:search.twitter.com,2005:
|
175
|
-
<published>2011-07-
|
176
|
-
<link type="text/html" href="http://twitter.com/
|
177
|
-
<title
|
178
|
-
<content type="html"><
|
179
|
-
<updated>2011-07-
|
180
|
-
<link type="image/png" href="http://
|
174
|
+
<id>tag:search.twitter.com,2005:93416617517662208</id>
|
175
|
+
<published>2011-07-19T20:27:11Z</published>
|
176
|
+
<link type="text/html" href="http://twitter.com/perceptionalize/statuses/93416617517662208" rel="alternate"/>
|
177
|
+
<title>monkeys and copyright... http://huff.to/o6ySUs</title>
|
178
|
+
<content type="html"><b>monkeys</b> and copyright... <a href="http://huff.to/o6ySUs">http://huff.to/o6ySUs</a></content>
|
179
|
+
<updated>2011-07-19T20:27:11Z</updated>
|
180
|
+
<link type="image/png" href="http://a2.twimg.com/profile_images/1184639208/Unbenannt-1_normal.jpg" rel="image"/>
|
181
181
|
<twitter:geo>
|
182
182
|
</twitter:geo>
|
183
183
|
<twitter:metadata>
|
184
184
|
<twitter:result_type>recent</twitter:result_type>
|
185
185
|
</twitter:metadata>
|
186
|
-
<twitter:source><a href="http://
|
187
|
-
<twitter:lang>
|
186
|
+
<twitter:source><a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></twitter:source>
|
187
|
+
<twitter:lang>en</twitter:lang>
|
188
188
|
<author>
|
189
|
-
<name>
|
190
|
-
<uri>http://twitter.com/
|
189
|
+
<name>perceptionalize (Maria Schreiber)</name>
|
190
|
+
<uri>http://twitter.com/perceptionalize</uri>
|
191
191
|
</author>
|
192
192
|
</entry>
|
193
193
|
<entry>
|
194
|
-
<id>tag:search.twitter.com,2005:
|
195
|
-
<published>2011-07-
|
196
|
-
<link type="text/html" href="http://twitter.com/
|
197
|
-
<title>
|
198
|
-
<content type="html">
|
199
|
-
<updated>2011-07-
|
200
|
-
<link type="image/png" href="http://
|
194
|
+
<id>tag:search.twitter.com,2005:93416611993747456</id>
|
195
|
+
<published>2011-07-19T20:27:10Z</published>
|
196
|
+
<link type="text/html" href="http://twitter.com/EvaEvsEva/statuses/93416611993747456" rel="alternate"/>
|
197
|
+
<title>Photoset: fuckyeaharcticmonkeys: http://tumblr.com/xjz3l8gju8</title>
|
198
|
+
<content type="html">Photoset: fuckyeaharcticmonkeys: <a href="http://tumblr.com/xjz3l8gju8">http://tumblr.com/xjz3l8gju8</a></content>
|
199
|
+
<updated>2011-07-19T20:27:10Z</updated>
|
200
|
+
<link type="image/png" href="http://a3.twimg.com/profile_images/1440117754/DSC02724__479x640__normal.jpg" rel="image"/>
|
201
201
|
<twitter:geo>
|
202
202
|
</twitter:geo>
|
203
203
|
<twitter:metadata>
|
204
204
|
<twitter:result_type>recent</twitter:result_type>
|
205
205
|
</twitter:metadata>
|
206
|
-
<twitter:source><a href="http://
|
207
|
-
<twitter:lang>
|
206
|
+
<twitter:source><a href="http://www.tumblr.com/" rel="nofollow">Tumblr</a></twitter:source>
|
207
|
+
<twitter:lang>fr</twitter:lang>
|
208
208
|
<author>
|
209
|
-
<name>
|
210
|
-
<uri>http://twitter.com/
|
209
|
+
<name>EvaEvsEva (Eva Paula )</name>
|
210
|
+
<uri>http://twitter.com/EvaEvsEva</uri>
|
211
211
|
</author>
|
212
212
|
</entry>
|
213
213
|
<entry>
|
214
|
-
<id>tag:search.twitter.com,2005:
|
215
|
-
<published>2011-07-
|
216
|
-
<link type="text/html" href="http://twitter.com/
|
217
|
-
<title>
|
218
|
-
<content type="html">
|
219
|
-
<updated>2011-07-
|
220
|
-
<link type="image/png" href="http://
|
214
|
+
<id>tag:search.twitter.com,2005:93416597934456832</id>
|
215
|
+
<published>2011-07-19T20:27:07Z</published>
|
216
|
+
<link type="text/html" href="http://twitter.com/rachelleannee/statuses/93416597934456832" rel="alternate"/>
|
217
|
+
<title>LOL Kathleen's dream about monkeys</title>
|
218
|
+
<content type="html">LOL Kathleen&apos;s dream about <b>monkeys</b></content>
|
219
|
+
<updated>2011-07-19T20:27:07Z</updated>
|
220
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1432495459/Picture0222_normal.jpg" rel="image"/>
|
221
221
|
<twitter:geo>
|
222
222
|
</twitter:geo>
|
223
223
|
<twitter:metadata>
|
224
224
|
<twitter:result_type>recent</twitter:result_type>
|
225
225
|
</twitter:metadata>
|
226
|
-
<twitter:source><a href="http://
|
226
|
+
<twitter:source><a href="http://twitter.com/devices" rel="nofollow">txt</a></twitter:source>
|
227
227
|
<twitter:lang>en</twitter:lang>
|
228
228
|
<author>
|
229
|
-
<name>
|
230
|
-
<uri>http://twitter.com/
|
229
|
+
<name>rachelleannee (Rachelle A. Rivera)</name>
|
230
|
+
<uri>http://twitter.com/rachelleannee</uri>
|
231
231
|
</author>
|
232
232
|
</entry>
|
233
233
|
<entry>
|
234
|
-
<id>tag:search.twitter.com,2005:
|
235
|
-
<published>2011-07-
|
236
|
-
<link type="text/html" href="http://twitter.com/
|
237
|
-
<title
|
238
|
-
<content type="html"
|
239
|
-
<updated>2011-07-
|
240
|
-
<link type="image/png" href="http://
|
234
|
+
<id>tag:search.twitter.com,2005:93416567165026304</id>
|
235
|
+
<published>2011-07-19T20:26:59Z</published>
|
236
|
+
<link type="text/html" href="http://twitter.com/tfalls13/statuses/93416567165026304" rel="alternate"/>
|
237
|
+
<title>@Cubanaaa_ @bigwilli69 You may act white..but just know that between the both of yall #mixedpeople on us "porch monkeys".</title>
|
238
|
+
<content type="html"><a href="http://twitter.com/Cubanaaa_">@Cubanaaa_</a> <a href="http://twitter.com/bigwilli69">@bigwilli69</a> You may act white..but just know that between the both of yall <a href="http://search.twitter.com/search?q=%23mixedpeople" onclick="pageTracker._setCustomVar(2, 'result_type', 'recent', 3);pageTracker._trackPageview('/intra/hashtag/#mixedpeople');">#mixedpeople</a> on us &quot;porch <b>monkeys</b>&quot;.</content>
|
239
|
+
<updated>2011-07-19T20:26:59Z</updated>
|
240
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1433774027/2SVCbC4R_normal" rel="image"/>
|
241
241
|
<twitter:geo>
|
242
242
|
</twitter:geo>
|
243
243
|
<twitter:metadata>
|
244
244
|
<twitter:result_type>recent</twitter:result_type>
|
245
245
|
</twitter:metadata>
|
246
|
-
<twitter:source><a href="http://twitter.com
|
247
|
-
<twitter:lang>
|
246
|
+
<twitter:source><a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a></twitter:source>
|
247
|
+
<twitter:lang>en</twitter:lang>
|
248
248
|
<author>
|
249
|
-
<name>
|
250
|
-
<uri>http://twitter.com/
|
249
|
+
<name>tfalls13 (Trent Falls )</name>
|
250
|
+
<uri>http://twitter.com/tfalls13</uri>
|
251
251
|
</author>
|
252
252
|
</entry>
|
253
253
|
<entry>
|
254
|
-
<id>tag:search.twitter.com,2005:
|
255
|
-
<published>2011-07-
|
256
|
-
<link type="text/html" href="http://twitter.com/
|
257
|
-
<title>
|
258
|
-
<content type="html">
|
259
|
-
<updated>2011-07-
|
260
|
-
<link type="image/png" href="http://
|
254
|
+
<id>tag:search.twitter.com,2005:93416537817485312</id>
|
255
|
+
<published>2011-07-19T20:26:52Z</published>
|
256
|
+
<link type="text/html" href="http://twitter.com/andyohara52/statuses/93416537817485312" rel="alternate"/>
|
257
|
+
<title>The three wise monkeys. Not me. Not me and Not me. Cant see Cant hear Cant speak</title>
|
258
|
+
<content type="html">The three wise <b>monkeys</b>. Not me. Not me and Not me. Cant see Cant hear Cant speak</content>
|
259
|
+
<updated>2011-07-19T20:26:52Z</updated>
|
260
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1368528953/63474592352032250_normal.jpg" rel="image"/>
|
261
261
|
<twitter:geo>
|
262
262
|
</twitter:geo>
|
263
263
|
<twitter:metadata>
|
264
264
|
<twitter:result_type>recent</twitter:result_type>
|
265
265
|
</twitter:metadata>
|
266
|
-
<twitter:source><a href="http://
|
266
|
+
<twitter:source><a href="http://www.snaptu.com" rel="nofollow">Snaptu</a></twitter:source>
|
267
267
|
<twitter:lang>en</twitter:lang>
|
268
268
|
<author>
|
269
|
-
<name>
|
270
|
-
<uri>http://twitter.com/
|
269
|
+
<name>andyohara52 (andrew ohara)</name>
|
270
|
+
<uri>http://twitter.com/andyohara52</uri>
|
271
271
|
</author>
|
272
272
|
</entry>
|
273
273
|
<entry>
|
274
|
-
<id>tag:search.twitter.com,2005:
|
275
|
-
<published>2011-07-
|
276
|
-
<link type="text/html" href="http://twitter.com/
|
277
|
-
<title
|
278
|
-
<content type="html"><
|
279
|
-
<updated>2011-07-
|
280
|
-
<link type="image/png" href="http://
|
274
|
+
<id>tag:search.twitter.com,2005:93416516598505472</id>
|
275
|
+
<published>2011-07-19T20:26:47Z</published>
|
276
|
+
<link type="text/html" href="http://twitter.com/Mr_Blackett/statuses/93416516598505472" rel="alternate"/>
|
277
|
+
<title>Monkeys are the coolest animals.</title>
|
278
|
+
<content type="html"><b>Monkeys</b> are the coolest animals.</content>
|
279
|
+
<updated>2011-07-19T20:26:47Z</updated>
|
280
|
+
<link type="image/png" href="http://a1.twimg.com/profile_images/1449526393/b4_normal.jpg" rel="image"/>
|
281
281
|
<twitter:geo>
|
282
282
|
</twitter:geo>
|
283
283
|
<twitter:metadata>
|
@@ -286,28 +286,28 @@
|
|
286
286
|
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
|
287
287
|
<twitter:lang>en</twitter:lang>
|
288
288
|
<author>
|
289
|
-
<name>
|
290
|
-
<uri>http://twitter.com/
|
289
|
+
<name>Mr_Blackett (Brennon Blackett)</name>
|
290
|
+
<uri>http://twitter.com/Mr_Blackett</uri>
|
291
291
|
</author>
|
292
292
|
</entry>
|
293
293
|
<entry>
|
294
|
-
<id>tag:search.twitter.com,2005:
|
295
|
-
<published>2011-07-
|
296
|
-
<link type="text/html" href="http://twitter.com/
|
297
|
-
<title
|
298
|
-
<content type="html"
|
299
|
-
<updated>2011-07-
|
300
|
-
<link type="image/png" href="http://
|
294
|
+
<id>tag:search.twitter.com,2005:93416506418925568</id>
|
295
|
+
<published>2011-07-19T20:26:45Z</published>
|
296
|
+
<link type="text/html" href="http://twitter.com/muzza299/statuses/93416506418925568" rel="alternate"/>
|
297
|
+
<title>@chiefie @bebe33 @ronindotca timing is everything. NZ's always last on the list. Unless it's in beta. Then we're the test-monkeys.</title>
|
298
|
+
<content type="html"><a href="http://twitter.com/chiefie">@chiefie</a> <a href="http://twitter.com/bebe33">@bebe33</a> <a href="http://twitter.com/ronindotca">@ronindotca</a> timing is everything. NZ&apos;s always last on the list. Unless it&apos;s in beta. Then we&apos;re the test-<b>monkeys</b>.</content>
|
299
|
+
<updated>2011-07-19T20:26:45Z</updated>
|
300
|
+
<link type="image/png" href="http://a3.twimg.com/profile_images/1282082203/muzza299_normal.jpeg" rel="image"/>
|
301
301
|
<twitter:geo>
|
302
302
|
</twitter:geo>
|
303
303
|
<twitter:metadata>
|
304
304
|
<twitter:result_type>recent</twitter:result_type>
|
305
305
|
</twitter:metadata>
|
306
|
-
<twitter:source><a href="http://www.
|
306
|
+
<twitter:source><a href="http://www.osfoora.com" rel="nofollow">Osfoora for iPhone</a></twitter:source>
|
307
307
|
<twitter:lang>en</twitter:lang>
|
308
308
|
<author>
|
309
|
-
<name>
|
310
|
-
<uri>http://twitter.com/
|
309
|
+
<name>muzza299 (Hugh McCracken)</name>
|
310
|
+
<uri>http://twitter.com/muzza299</uri>
|
311
311
|
</author>
|
312
312
|
</entry>
|
313
313
|
</feed>
|
data/test/helper.rb
CHANGED
@@ -15,11 +15,6 @@ $LOAD_PATH.unshift(File.dirname(__FILE__))
|
|
15
15
|
require 'feedzirra-redis'
|
16
16
|
|
17
17
|
DataMapper.setup(:default, {:adapter => 'redis'})
|
18
|
-
FEED_URL = 'http://search.twitter.com/search.atom?q=monkeys'
|
19
|
-
|
20
|
-
require 'fakeweb'
|
21
|
-
FakeWeb.register_uri( :get, FEED_URL,
|
22
|
-
:body => File.read('test/fixtures/monkeys_old.atom') )
|
23
18
|
|
24
19
|
class Test::Unit::TestCase
|
25
20
|
end
|
@@ -3,9 +3,19 @@ require 'helper'
|
|
3
3
|
class TestFeedzirraRedis < Test::Unit::TestCase
|
4
4
|
include FeedzirraRedis
|
5
5
|
|
6
|
+
# Fakeweb reimplemented with symlinks! :-(
|
7
|
+
def use_feed(feed)
|
8
|
+
real_file = File.join(File.dirname(__FILE__), 'fixtures', "monkeys_#{feed.to_s}.atom")
|
9
|
+
symlink = File.join(File.dirname(__FILE__), 'fixtures', 'monkeys.atom')
|
10
|
+
File.delete symlink if File.symlink? symlink
|
11
|
+
File.symlink real_file, symlink
|
12
|
+
$feed_url = "file://#{symlink}"
|
13
|
+
end
|
14
|
+
|
6
15
|
def setup
|
7
16
|
Feed.all.destroy
|
8
17
|
Entry.all.destroy
|
18
|
+
use_feed(:old)
|
9
19
|
end
|
10
20
|
|
11
21
|
context 'A feed' do
|
@@ -19,34 +29,45 @@ class TestFeedzirraRedis < Test::Unit::TestCase
|
|
19
29
|
|
20
30
|
context 'fetch_and_parse' do
|
21
31
|
should 'create a feed' do
|
22
|
-
Feed.fetch_and_parse(
|
32
|
+
Feed.fetch_and_parse($feed_url)
|
23
33
|
assert Feed.count == 1
|
24
34
|
end
|
25
35
|
|
26
36
|
should 'return a feed object' do
|
27
|
-
feed = Feed.fetch_and_parse(
|
37
|
+
feed = Feed.fetch_and_parse($feed_url)
|
28
38
|
assert feed.kind_of? Feed
|
29
39
|
end
|
30
40
|
|
31
41
|
should 'create some entries' do
|
32
|
-
Feed.fetch_and_parse(
|
42
|
+
Feed.fetch_and_parse($feed_url)
|
33
43
|
assert Feed.first.entries.size >= 0
|
34
44
|
end
|
35
45
|
|
36
46
|
should 'not create a second feed if an existing feed has identical feed_url' do
|
37
|
-
Feed.fetch_and_parse(
|
47
|
+
Feed.fetch_and_parse($feed_url)
|
38
48
|
assert Feed.count == 1
|
39
|
-
Feed.fetch_and_parse(
|
49
|
+
Feed.fetch_and_parse($feed_url)
|
40
50
|
assert Feed.count == 1
|
41
51
|
end
|
42
52
|
|
43
53
|
should 'add more entries for the same feed url' do
|
44
|
-
feed = Feed.fetch_and_parse(
|
54
|
+
feed = Feed.fetch_and_parse($feed_url)
|
55
|
+
puts feed.entries.last.title
|
56
|
+
count_entries = feed.entries.count
|
57
|
+
use_feed(:new)
|
58
|
+
feed = Feed.fetch_and_parse($feed_url)
|
59
|
+
puts feed.entries.last.title
|
60
|
+
assert count_entries < feed.entries.count, "Expected increase from #{count_entries} to #{feed.entries.count} (total entries: #{Entry.count})"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
context 'update' do
|
65
|
+
should 'update a single feed' do
|
66
|
+
feed = Feed.fetch_and_parse($feed_url)
|
45
67
|
count_entries = feed.entries.count
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
assert count_entries < Feed.entries.count
|
68
|
+
use_feed(:new)
|
69
|
+
feed = Feed.update(feed)
|
70
|
+
assert count_entries < feed.entries.count, "Expected increase from #{count_entries} to #{feed.entries.count} (total entries: #{Entry.count})"
|
50
71
|
end
|
51
72
|
end
|
52
73
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: feedzirra-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Logan Koester
|
@@ -90,17 +90,6 @@ dependencies:
|
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: *id007
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: fakeweb
|
95
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
|
-
requirements:
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: "0"
|
101
|
-
type: :development
|
102
|
-
prerelease: false
|
103
|
-
version_requirements: *id008
|
104
93
|
description: Dead simple feed persistance... because you shouldn't need a MySQL server just to include a few RSS items on a page
|
105
94
|
email: lkoester@agoragames.com
|
106
95
|
executables: []
|
@@ -121,6 +110,7 @@ files:
|
|
121
110
|
- VERSION
|
122
111
|
- feedzirra-redis.gemspec
|
123
112
|
- lib/feedzirra-redis.rb
|
113
|
+
- test/fixtures/monkeys.atom
|
124
114
|
- test/fixtures/monkeys_new.atom
|
125
115
|
- test/fixtures/monkeys_old.atom
|
126
116
|
- test/helper.rb
|
@@ -139,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
129
|
requirements:
|
140
130
|
- - ">="
|
141
131
|
- !ruby/object:Gem::Version
|
142
|
-
hash:
|
132
|
+
hash: 2747245717037483256
|
143
133
|
segments:
|
144
134
|
- 0
|
145
135
|
version: "0"
|